]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/misc_wrap.cpp
Cosmetic cleanup (-1 -> wxID_ANY, TRUE->true).
[wxWidgets.git] / wxPython / src / gtk / misc_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48
49
50 /***********************************************************************
51 * common.swg for wxPython
52 *
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
56 * anyway.
57 *
58 ************************************************************************/
59
60 #include <string.h>
61
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
67 # else
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
70 # endif
71 # else
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
75 # else
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
78 # endif
79 # endif
80 #else
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
83 #endif
84
85 #ifdef SWIG_GLOBAL
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
87 #else
88 #define SWIGRUNTIME(a) static a
89 #endif
90
91
92 #ifdef __cplusplus
93 extern "C" {
94 #endif
95
96 typedef void *(*swig_converter_func)(void *);
97 typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99 typedef struct swig_type_info {
100 const char *name;
101 swig_converter_func converter;
102 const char *str;
103 void *clientdata;
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107 } swig_type_info;
108
109
110 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117
118
119 #ifdef __cplusplus
120 }
121
122 #endif
123
124 /***********************************************************************
125 * pyrun.swg for wxPython
126 *
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
130 * anyway.
131 *
132 ************************************************************************/
133
134
135 #include "Python.h"
136
137 #ifdef __cplusplus
138 extern "C" {
139 #endif
140
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
146
147 /* Flags for pointer conversion */
148
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
151
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
154
155 /* Constant information structure */
156 typedef struct swig_const_info {
157 int type;
158 char *name;
159 long lvalue;
160 double dvalue;
161 void *pvalue;
162 swig_type_info **ptype;
163 } swig_const_info;
164
165
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
190
191
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
193 SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
195
196 SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
201 SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
203
204
205 /* Contract support */
206
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
208
209
210 #ifdef __cplusplus
211 }
212 #endif
213
214
215
216 /* -------- TYPES TABLE (BEGIN) -------- */
217
218 #define SWIGTYPE_p_wxLogChain swig_types[0]
219 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
220 #define SWIGTYPE_p_wxFileHistory swig_types[2]
221 #define SWIGTYPE_p_wxLog swig_types[3]
222 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
223 #define SWIGTYPE_p_wxMenu swig_types[5]
224 #define SWIGTYPE_p_wxEvent swig_types[6]
225 #define SWIGTYPE_p_wxConfigBase swig_types[7]
226 #define SWIGTYPE_p_wxWave swig_types[8]
227 #define SWIGTYPE_p_wxFileType swig_types[9]
228 #define SWIGTYPE_p_wxLogGui swig_types[10]
229 #define SWIGTYPE_p_wxFont swig_types[11]
230 #define SWIGTYPE_p_wxDataFormat swig_types[12]
231 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
232 #define SWIGTYPE_p_wxCaret swig_types[14]
233 #define SWIGTYPE_p_int swig_types[15]
234 #define SWIGTYPE_p_wxSize swig_types[16]
235 #define SWIGTYPE_p_wxClipboard swig_types[17]
236 #define SWIGTYPE_p_wxStopWatch swig_types[18]
237 #define SWIGTYPE_p_wxDC swig_types[19]
238 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
239 #define SWIGTYPE_p_wxIcon swig_types[21]
240 #define SWIGTYPE_p_wxLogStderr swig_types[22]
241 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
242 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
243 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
244 #define SWIGTYPE_p_wxFileDataObject swig_types[26]
245 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
246 #define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
247 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
248 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
249 #define SWIGTYPE_p_wxDataObject swig_types[31]
250 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
251 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
252 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
253 #define SWIGTYPE_p_wxTimerRunner swig_types[35]
254 #define SWIGTYPE_p_wxLogWindow swig_types[36]
255 #define SWIGTYPE_p_wxTimeSpan swig_types[37]
256 #define SWIGTYPE_p_wxArrayString swig_types[38]
257 #define SWIGTYPE_p_wxWindowDisabler swig_types[39]
258 #define SWIGTYPE_p_wxToolTip swig_types[40]
259 #define SWIGTYPE_p_wxDataObjectComposite swig_types[41]
260 #define SWIGTYPE_p_wxFileConfig swig_types[42]
261 #define SWIGTYPE_p_wxSystemSettings swig_types[43]
262 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[44]
263 #define SWIGTYPE_p_wxDataObjectSimple swig_types[45]
264 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
265 #define SWIGTYPE_p_wxRect swig_types[47]
266 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[48]
267 #define SWIGTYPE_p_wxFileTypeInfo swig_types[49]
268 #define SWIGTYPE_p_wxFrame swig_types[50]
269 #define SWIGTYPE_p_wxTimer swig_types[51]
270 #define SWIGTYPE_p_wxMimeTypesManager swig_types[52]
271 #define SWIGTYPE_p_wxPyArtProvider swig_types[53]
272 #define SWIGTYPE_p_wxPyTipProvider swig_types[54]
273 #define SWIGTYPE_p_wxTipProvider swig_types[55]
274 #define SWIGTYPE_p_wxJoystick swig_types[56]
275 #define SWIGTYPE_p_wxSystemOptions swig_types[57]
276 #define SWIGTYPE_p_wxPoint swig_types[58]
277 #define SWIGTYPE_p_wxJoystickEvent swig_types[59]
278 #define SWIGTYPE_p_wxCursor swig_types[60]
279 #define SWIGTYPE_p_wxObject swig_types[61]
280 #define SWIGTYPE_p_wxOutputStream swig_types[62]
281 #define SWIGTYPE_p_wxDateTime swig_types[63]
282 #define SWIGTYPE_p_wxPyDropSource swig_types[64]
283 #define SWIGTYPE_p_wxWindow swig_types[65]
284 #define SWIGTYPE_p_wxString swig_types[66]
285 #define SWIGTYPE_p_wxPyProcess swig_types[67]
286 #define SWIGTYPE_p_wxBitmap swig_types[68]
287 #define SWIGTYPE_p_wxConfig swig_types[69]
288 #define SWIGTYPE_p_wxChar swig_types[70]
289 #define SWIGTYPE_p_wxBusyInfo swig_types[71]
290 #define SWIGTYPE_p_wxPyDropTarget swig_types[72]
291 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[73]
292 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[74]
293 #define SWIGTYPE_p_wxProcessEvent swig_types[75]
294 #define SWIGTYPE_p_wxPyLog swig_types[76]
295 #define SWIGTYPE_p_wxLogNull swig_types[77]
296 #define SWIGTYPE_p_wxColour swig_types[78]
297 #define SWIGTYPE_p_wxConfigPathChanger swig_types[79]
298 #define SWIGTYPE_p_wxPyTimer swig_types[80]
299 #define SWIGTYPE_p_wxDateSpan swig_types[81]
300 static swig_type_info *swig_types[83];
301
302 /* -------- TYPES TABLE (END) -------- */
303
304
305 /*-----------------------------------------------
306 @(target):= _misc.so
307 ------------------------------------------------*/
308 #define SWIG_init init_misc
309
310 #define SWIG_name "_misc"
311
312 #include "wx/wxPython/wxPython.h"
313 #include "wx/wxPython/pyclasses.h"
314 #include "wx/wxPython/pyistream.h"
315
316 DECLARE_DEF_STRING(EmptyString);
317
318
319
320
321
322 DECLARE_DEF_STRING(FileSelectorPromptStr);
323 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr);
324 DECLARE_DEF_STRING(DirSelectorPromptStr);
325
326
327 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
328 PyObject* o2;
329 PyObject* o3;
330
331 if (!target) {
332 target = o;
333 } else if (target == Py_None) {
334 Py_DECREF(Py_None);
335 target = o;
336 } else {
337 if (!PyTuple_Check(target)) {
338 o2 = target;
339 target = PyTuple_New(1);
340 PyTuple_SetItem(target, 0, o2);
341 }
342 o3 = PyTuple_New(1);
343 PyTuple_SetItem(o3, 0, o);
344
345 o2 = target;
346 target = PySequence_Concat(o2, o3);
347 Py_DECREF(o2);
348 Py_DECREF(o3);
349 }
350 return target;
351 }
352
353
354 long wxGetFreeMemory()
355 { PyErr_SetNone(PyExc_NotImplementedError); return 0; }
356
357
358 void wxWakeUpMainThread() {}
359
360
361 bool wxThread_IsMain() {
362 #ifdef WXP_WITH_THREAD
363 return wxThread::IsMain();
364 #else
365 return True;
366 #endif
367 }
368
369
370 int wxCaret_GetBlinkTime() {
371 return wxCaret::GetBlinkTime();
372 }
373
374 void wxCaret_SetBlinkTime(int milliseconds) {
375 wxCaret::SetBlinkTime(milliseconds);
376 }
377
378
379 #include <wx/snglinst.h>
380
381
382 #ifdef __WXMSW__
383 #include <wx/msw/private.h>
384 #include <wx/dynload.h>
385 #endif
386
387
388
389 void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
390 {
391 #ifdef __WXMSW__
392
393 switch (method)
394 {
395 case 1:
396 // This one only partially works. Appears to be an undocumented
397 // "standard" convention that not all widgets adhear to. For
398 // example, for some widgets backgrounds or non-client areas may
399 // not be painted.
400 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
401 break;
402
403 case 2:
404 // This one works much better, except for on XP. On Win2k nearly
405 // all widgets and their children are captured correctly[**]. On
406 // XP with Themes activated most native widgets draw only
407 // partially, if at all. Without themes it works just like on
408 // Win2k.
409 //
410 // ** For example the radio buttons in a wxRadioBox are not its
411 // children by default, but you can capture it via the panel
412 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
413 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
414 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
415 PRF_ERASEBKGND | PRF_OWNED );
416 break;
417
418 case 3:
419 // This one is only defined in the latest SDK and is only
420 // available on XP. MSDN says it is similar to sending WM_PRINT
421 // so I expect that it will work similar to the above. Since it
422 // is avaialble only on XP, it can't be compiled like this and
423 // will have to be loaded dynamically.
424 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
425
426 // fall through
427
428 case 4:
429 // Use PrintWindow if available, or fallback to WM_PRINT
430 // otherwise. Unfortunately using PrintWindow is even worse than
431 // WM_PRINT. For most native widgets nothing is drawn to the dc
432 // at all, with or without Themes.
433 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
434 static bool s_triedToLoad = False;
435 static PrintWindow_t pfnPrintWindow = NULL;
436 if ( !s_triedToLoad )
437 {
438
439 s_triedToLoad = True;
440 wxDynamicLibrary dllUser32(_T("user32.dll"));
441 if ( dllUser32.IsLoaded() )
442 {
443 wxLogNull nolog; // Don't report errors here
444 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
445 }
446 }
447 if (pfnPrintWindow)
448 {
449 printf("Using PrintWindow\n");
450 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
451 }
452 else
453 {
454 printf("Using WM_PRINT\n");
455 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
456 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
457 }
458 }
459 #endif
460 }
461
462
463
464 #include <wx/tipdlg.h>
465
466
467 class wxPyTipProvider : public wxTipProvider {
468 public:
469 wxPyTipProvider(size_t currentTip)
470 : wxTipProvider(currentTip) {}
471
472 DEC_PYCALLBACK_STRING__pure(GetTip);
473 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
474 PYPRIVATE;
475 };
476
477 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
478 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
479
480
481 IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
482
483 wxString Log_TimeStamp(){
484 wxString msg;
485 wxLog::TimeStamp(&msg);
486 return msg;
487 }
488 void wxLog_Destroy(wxLog *self){ delete self; }
489
490 // A wxLog class that can be derived from in wxPython
491 class wxPyLog : public wxLog {
492 public:
493 wxPyLog() : wxLog() {}
494
495 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
496 bool found;
497 wxPyBeginBlockThreads();
498 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
499 PyObject* s = wx2PyString(szString);
500 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
501 Py_DECREF(s);
502 }
503 wxPyEndBlockThreads();
504 if (! found)
505 wxLog::DoLog(level, szString, t);
506 }
507
508 virtual void DoLogString(const wxChar *szString, time_t t) {
509 bool found;
510 wxPyBeginBlockThreads();
511 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
512 PyObject* s = wx2PyString(szString);
513 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
514 Py_DECREF(s);
515 }
516 wxPyEndBlockThreads();
517 if (! found)
518 wxLog::DoLogString(szString, t);
519 }
520
521 PYPRIVATE;
522 };
523
524
525
526
527 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
528
529
530 #include <wx/joystick.h>
531
532
533 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
534 // A C++ stub class for wxJoystick for platforms that don't have it.
535 class wxJoystick : public wxObject {
536 public:
537 wxJoystick(int joystick = wxJOYSTICK1) {
538 wxPyBeginBlockThreads();
539 PyErr_SetString(PyExc_NotImplementedError, "wxJoystick is not available on this platform.");
540 wxPyEndBlockThreads();
541 }
542 wxPoint GetPosition() { return wxPoint(-1,-1); }
543 int GetZPosition() { return -1; }
544 int GetButtonState() { return -1; }
545 int GetPOVPosition() { return -1; }
546 int GetPOVCTSPosition() { return -1; }
547 int GetRudderPosition() { return -1; }
548 int GetUPosition() { return -1; }
549 int GetVPosition() { return -1; }
550 int GetMovementThreshold() { return -1; }
551 void SetMovementThreshold(int threshold) {}
552
553 bool IsOk(void) { return False; }
554 int GetNumberJoysticks() { return -1; }
555 int GetManufacturerId() { return -1; }
556 int GetProductId() { return -1; }
557 wxString GetProductName() { return ""; }
558 int GetXMin() { return -1; }
559 int GetYMin() { return -1; }
560 int GetZMin() { return -1; }
561 int GetXMax() { return -1; }
562 int GetYMax() { return -1; }
563 int GetZMax() { return -1; }
564 int GetNumberButtons() { return -1; }
565 int GetNumberAxes() { return -1; }
566 int GetMaxButtons() { return -1; }
567 int GetMaxAxes() { return -1; }
568 int GetPollingMin() { return -1; }
569 int GetPollingMax() { return -1; }
570 int GetRudderMin() { return -1; }
571 int GetRudderMax() { return -1; }
572 int GetUMin() { return -1; }
573 int GetUMax() { return -1; }
574 int GetVMin() { return -1; }
575 int GetVMax() { return -1; }
576
577 bool HasRudder() { return False; }
578 bool HasZ() { return False; }
579 bool HasU() { return False; }
580 bool HasV() { return False; }
581 bool HasPOV() { return False; }
582 bool HasPOV4Dir() { return False; }
583 bool HasPOVCTS() { return False; }
584
585 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
586 bool ReleaseCapture() { return False; }
587 };
588 #endif
589
590
591 #include <wx/wave.h>
592
593
594 #if !wxUSE_WAVE
595 // A C++ stub class for wxWave for platforms that don't have it.
596 class wxWave : public wxObject
597 {
598 public:
599 wxWave(const wxString& fileName, bool isResource = False) {
600 wxPyBeginBlockThreads();
601 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
602 wxPyEndBlockThreads();
603 }
604 wxWave(int size, const wxByte* data) {
605 wxPyBeginBlockThreads();
606 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
607 wxPyEndBlockThreads();
608 }
609
610 ~wxWave() {}
611
612 bool IsOk() const { return False; }
613 bool Play(bool async = True, bool looped = False) const { return False; }
614 };
615
616 #endif
617
618 wxWave *new_wxWave(wxString const &data){
619 return new wxWave(data.Len(), (wxByte*)data.c_str());
620 }
621
622 #include <wx/mimetype.h>
623
624 PyObject *wxFileType_GetMimeType(wxFileType *self){
625 wxString str;
626 if (self->GetMimeType(&str))
627 return wx2PyString(str);
628 else
629 RETURN_NONE();
630 }
631 PyObject *wxFileType_GetMimeTypes(wxFileType *self){
632 wxArrayString arr;
633 if (self->GetMimeTypes(arr))
634 return wxArrayString2PyList_helper(arr);
635 else
636 RETURN_NONE();
637 }
638 PyObject *wxFileType_GetExtensions(wxFileType *self){
639 wxArrayString arr;
640 if (self->GetExtensions(arr))
641 return wxArrayString2PyList_helper(arr);
642 else
643 RETURN_NONE();
644 }
645 wxIcon *wxFileType_GetIcon(wxFileType *self){
646 wxIconLocation loc;
647 if (self->GetIcon(&loc))
648 return new wxIcon(loc);
649 else
650 return NULL;
651 }
652 PyObject *wxFileType_GetIconInfo(wxFileType *self){
653 wxIconLocation loc;
654 if (self->GetIcon(&loc)) {
655 wxString iconFile = loc.GetFileName();
656 int iconIndex = -1;
657
658
659
660 // Make a tuple and put the values in it
661 wxPyBeginBlockThreads();
662 PyObject* tuple = PyTuple_New(3);
663 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
664 wxT("wxIcon"), True));
665 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
666 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
667 wxPyEndBlockThreads();
668 return tuple;
669 }
670 else
671 RETURN_NONE();
672 }
673 PyObject *wxFileType_GetDescription(wxFileType *self){
674 wxString str;
675 if (self->GetDescription(&str))
676 return wx2PyString(str);
677 else
678 RETURN_NONE();
679 }
680 PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
681 wxString str;
682 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
683 return wx2PyString(str);
684 else
685 RETURN_NONE();
686 }
687 PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
688 wxString str;
689 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
690 return wx2PyString(str);
691 else
692 RETURN_NONE();
693 }
694 PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
695 wxArrayString verbs;
696 wxArrayString commands;
697 if (self->GetAllCommands(&verbs, &commands,
698 wxFileType::MessageParameters(filename, mimetype))) {
699 wxPyBeginBlockThreads();
700 PyObject* tuple = PyTuple_New(2);
701 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
702 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
703 wxPyEndBlockThreads();
704 return tuple;
705 }
706 else
707 RETURN_NONE();
708 }
709 wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
710 return wxFileType::ExpandCommand(command,
711 wxFileType::MessageParameters(filename, mimetype));
712 }
713 PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
714 wxArrayString arr;
715 self->EnumAllFileTypes(arr);
716 return wxArrayString2PyList_helper(arr);
717 }
718
719 #include <wx/artprov.h>
720
721 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
722 static const wxString wxPyART_MENU(wxART_MENU);
723 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
724 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
725 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
726 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
727 static const wxString wxPyART_OTHER(wxART_OTHER);
728 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
729 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
730 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
731 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
732 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
733 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
734 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
735 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
736 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
737 static const wxString wxPyART_GO_UP(wxART_GO_UP);
738 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
739 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
740 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
741 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
742 static const wxString wxPyART_PRINT(wxART_PRINT);
743 static const wxString wxPyART_HELP(wxART_HELP);
744 static const wxString wxPyART_TIP(wxART_TIP);
745 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
746 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
747 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
748 static const wxString wxPyART_FOLDER(wxART_FOLDER);
749 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
750 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
751 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
752 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
753 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
754 static const wxString wxPyART_ERROR(wxART_ERROR);
755 static const wxString wxPyART_QUESTION(wxART_QUESTION);
756 static const wxString wxPyART_WARNING(wxART_WARNING);
757 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
758 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
759 // Python aware wxArtProvider
760 class wxPyArtProvider : public wxArtProvider {
761 public:
762
763 virtual wxBitmap CreateBitmap(const wxArtID& id,
764 const wxArtClient& client,
765 const wxSize& size) {
766 wxBitmap rval = wxNullBitmap;
767 wxPyBeginBlockThreads();
768 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
769 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
770 PyObject* ro;
771 wxBitmap* ptr;
772 PyObject* s1, *s2;
773 s1 = wx2PyString(id);
774 s2 = wx2PyString(client);
775 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
776 Py_DECREF(so);
777 Py_DECREF(s1);
778 Py_DECREF(s2);
779 if (ro) {
780 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
781 rval = *ptr;
782 Py_DECREF(ro);
783 }
784 }
785 wxPyEndBlockThreads();
786 return rval;
787 }
788
789 PYPRIVATE;
790 };
791
792
793
794
795 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
796 PyObject* ret = PyTuple_New(3);
797 if (ret) {
798 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
799 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
800 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
801 }
802 return ret;
803 }
804
805 PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
806 bool cont;
807 long index = 0;
808 wxString value;
809
810 cont = self->GetFirstGroup(value, index);
811 return __EnumerationHelper(cont, value, index);
812 }
813 PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
814 bool cont;
815 wxString value;
816
817 cont = self->GetNextGroup(value, index);
818 return __EnumerationHelper(cont, value, index);
819 }
820 PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
821 bool cont;
822 long index = 0;
823 wxString value;
824
825 cont = self->GetFirstEntry(value, index);
826 return __EnumerationHelper(cont, value, index);
827 }
828 PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
829 bool cont;
830 wxString value;
831
832 cont = self->GetNextEntry(value, index);
833 return __EnumerationHelper(cont, value, index);
834 }
835 long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
836 long rv;
837 self->Read(key, &rv, defaultVal);
838 return rv;
839 }
840 double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
841 double rv;
842 self->Read(key, &rv, defaultVal);
843 return rv;
844 }
845 bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
846 bool rv;
847 self->Read(key, &rv, defaultVal);
848 return rv;
849 }
850
851 #include <wx/datetime.h>
852
853 DECLARE_DEF_STRING2(DateFormatStr, wxT("%c"));
854 DECLARE_DEF_STRING2(TimeSpanFormatStr, wxT("%H:%M:%S"));
855
856
857
858 #define LOCAL_TZ wxDateTime::Local
859
860 wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
861 wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
862 wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
863 wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
864 wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
865 bool wxDateTime___lt__(wxDateTime *self,wxDateTime const &other){ return *self < other; }
866 bool wxDateTime___le__(wxDateTime *self,wxDateTime const &other){ return *self <= other; }
867 bool wxDateTime___gt__(wxDateTime *self,wxDateTime const &other){ return *self > other; }
868 bool wxDateTime___ge__(wxDateTime *self,wxDateTime const &other){ return *self >= other; }
869 bool wxDateTime___eq__(wxDateTime *self,wxDateTime const &other){ return *self == other; }
870 bool wxDateTime___ne__(wxDateTime *self,wxDateTime const &other){ return *self != other; }
871 int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
872 const wxChar* rv;
873 const wxChar* _date = date;
874 rv = self->ParseRfc822Date(_date);
875 if (rv == NULL) return -1;
876 return rv - _date;
877 }
878 int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
879 const wxChar* rv;
880 const wxChar* _date = date;
881 rv = self->ParseFormat(_date, format, dateDef);
882 if (rv == NULL) return -1;
883 return rv - _date;
884 }
885 int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
886 const wxChar* rv;
887 const wxChar* _datetime = datetime;
888 rv = self->ParseDateTime(_datetime);
889 if (rv == NULL) return -1;
890 return rv - _datetime;
891 }
892 int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
893 const wxChar* rv;
894 const wxChar* _date = date;
895 rv = self->ParseDate(_date);
896 if (rv == NULL) return -1;
897 return rv - _date;
898 }
899 int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
900 const wxChar* rv;
901 const wxChar* _time = time;
902 rv = self->ParseTime(_time);
903 if (rv == NULL) return -1;
904 return rv - _time;
905 }
906 wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
907 wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
908 wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
909 wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
910 bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self < other; }
911 bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const &other){ return *self <= other; }
912 bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self > other; }
913 bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const &other){ return *self >= other; }
914 bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const &other){ return *self == other; }
915 bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const &other){ return *self != other; }
916 wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
917 wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
918 wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
919 wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
920 bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const &other){ return *self == other; }
921 bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const &other){ return *self != other; }
922
923 #include <wx/dataobj.h>
924
925 // Create a new class for wxPython to use
926 class wxPyDataObjectSimple : public wxDataObjectSimple {
927 public:
928 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
929 : wxDataObjectSimple(format) {}
930
931 DEC_PYCALLBACK_SIZET__const(GetDataSize);
932 bool GetDataHere(void *buf) const;
933 bool SetData(size_t len, const void *buf) const;
934 PYPRIVATE;
935 };
936
937 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
938
939 bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
940 // We need to get the data for this object and write it to buf. I think
941 // the best way to do this for wxPython is to have the Python method
942 // return either a string or None and then act appropriately with the
943 // C++ version.
944
945 bool rval = False;
946 wxPyBeginBlockThreads();
947 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
948 PyObject* ro;
949 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
950 if (ro) {
951 rval = (ro != Py_None && PyString_Check(ro));
952 if (rval)
953 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
954 Py_DECREF(ro);
955 }
956 }
957 wxPyEndBlockThreads();
958 return rval;
959 }
960
961 bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
962 // For this one we simply need to make a string from buf and len
963 // and send it to the Python method.
964 bool rval = False;
965 wxPyBeginBlockThreads();
966 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
967 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
968 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
969 Py_DECREF(data);
970 }
971 wxPyEndBlockThreads();
972 return rval;
973 }
974
975 // Create a new class for wxPython to use
976 class wxPyTextDataObject : public wxTextDataObject {
977 public:
978 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
979 : wxTextDataObject(text) {}
980
981 DEC_PYCALLBACK_SIZET__const(GetTextLength);
982 DEC_PYCALLBACK_STRING__const(GetText);
983 DEC_PYCALLBACK__STRING(SetText);
984 PYPRIVATE;
985 };
986
987 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
988 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
989 IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
990
991
992 // Create a new class for wxPython to use
993 class wxPyBitmapDataObject : public wxBitmapDataObject {
994 public:
995 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
996 : wxBitmapDataObject(bitmap) {}
997
998 wxBitmap GetBitmap() const;
999 void SetBitmap(const wxBitmap& bitmap);
1000 PYPRIVATE;
1001 };
1002
1003 wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1004 wxBitmap* rval = &wxNullBitmap;
1005 wxPyBeginBlockThreads();
1006 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1007 PyObject* ro;
1008 wxBitmap* ptr;
1009 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1010 if (ro) {
1011 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1012 rval = ptr;
1013 Py_DECREF(ro);
1014 }
1015 }
1016 wxPyEndBlockThreads();
1017 return *rval;
1018 }
1019
1020 void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1021 wxPyBeginBlockThreads();
1022 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1023 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
1024 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1025 Py_DECREF(bo);
1026 }
1027 wxPyEndBlockThreads();
1028 }
1029
1030 void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1031 if (PyString_Check(data)) {
1032 // for Python we just call SetData here since we always need it to make a copy.
1033 self->SetData(PyString_Size(data), PyString_AsString(data));
1034 }
1035 else {
1036 // raise a TypeError if not a string
1037 PyErr_SetString(PyExc_TypeError, "String expected.");
1038 }
1039 }
1040 bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1041 if (PyString_Check(data)) {
1042 return self->SetData(PyString_Size(data), PyString_AsString(data));
1043 }
1044 else {
1045 // raise a TypeError if not a string
1046 PyErr_SetString(PyExc_TypeError, "String expected.");
1047 return False;
1048 }
1049 }
1050 PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1051 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1052 }
1053
1054 class wxMetafileDataObject : public wxDataObjectSimple
1055 {
1056 public:
1057 wxMetafileDataObject() { PyErr_SetNone(PyExc_NotImplementedError); }
1058 };
1059
1060
1061 #include <wx/dnd.h>
1062
1063
1064 class wxPyDropSource : public wxDropSource {
1065 public:
1066 #ifndef __WXGTK__
1067 wxPyDropSource(wxWindow *win = NULL,
1068 const wxCursor &copy = wxNullCursor,
1069 const wxCursor &move = wxNullCursor,
1070 const wxCursor &none = wxNullCursor)
1071 : wxDropSource(win, copy, move, none) {}
1072 #else
1073 wxPyDropSource(wxWindow *win = NULL,
1074 const wxIcon& copy = wxNullIcon,
1075 const wxIcon& move = wxNullIcon,
1076 const wxIcon& none = wxNullIcon)
1077 : wxDropSource(win, copy, move, none) {}
1078 #endif
1079 ~wxPyDropSource() { }
1080
1081 DEC_PYCALLBACK_BOOL_DR(GiveFeedback);
1082 PYPRIVATE;
1083 };
1084
1085 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1086
1087
1088
1089 class wxPyDropTarget : public wxDropTarget {
1090 public:
1091 wxPyDropTarget(wxDataObject *dataObject = NULL)
1092 : wxDropTarget(dataObject) {}
1093
1094 // called when mouse leaves the window: might be used to remove the
1095 // feedback which was given in OnEnter()
1096 DEC_PYCALLBACK__(OnLeave);
1097
1098 // called when the mouse enters the window (only once until OnLeave())
1099 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1100
1101 // called when the mouse moves in the window - shouldn't take long to
1102 // execute or otherwise mouse movement would be too slow
1103 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1104
1105 // called after OnDrop() returns True: you will usually just call
1106 // GetData() from here and, probably, also refresh something to update the
1107 // new data and, finally, return the code indicating how did the operation
1108 // complete (returning default value in case of success and wxDragError on
1109 // failure is usually ok)
1110 DEC_PYCALLBACK_DR_2WXCDR_pure(OnData);
1111
1112 // this function is called when data is dropped at position (x, y) - if it
1113 // returns True, OnData() will be called immediately afterwards which will
1114 // allow to retrieve the data dropped.
1115 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1116
1117 PYPRIVATE;
1118 };
1119
1120 IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1121 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1122 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1123 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1124 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1125
1126
1127
1128 class wxPyTextDropTarget : public wxTextDropTarget {
1129 public:
1130 wxPyTextDropTarget() {}
1131
1132 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1133
1134 DEC_PYCALLBACK__(OnLeave);
1135 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1136 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1137 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1138 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1139
1140 PYPRIVATE;
1141 };
1142
1143 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1144 IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1145 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1146 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1147 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1148 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1149
1150
1151
1152 class wxPyFileDropTarget : public wxFileDropTarget {
1153 public:
1154 wxPyFileDropTarget() {}
1155
1156 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1157
1158 DEC_PYCALLBACK__(OnLeave);
1159 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1160 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1161 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1162 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1163
1164 PYPRIVATE;
1165 };
1166
1167 bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1168 const wxArrayString& filenames) {
1169 bool rval = False;
1170 wxPyBeginBlockThreads();
1171 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1172 PyObject* list = wxArrayString2PyList_helper(filenames);
1173 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1174 Py_DECREF(list);
1175 }
1176 wxPyEndBlockThreads();
1177 return rval;
1178 }
1179
1180
1181
1182 IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1183 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1184 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1185 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1186 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1187
1188
1189
1190
1191 bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1192 #ifdef __cplusplus
1193 extern "C" {
1194 #endif
1195 static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1196 PyObject *resultobj;
1197 int arg1 ;
1198 wxColour result;
1199 char *kwnames[] = {
1200 (char *) "index", NULL
1201 };
1202
1203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetColour",kwnames,&arg1)) goto fail;
1204 {
1205 PyThreadState* __tstate = wxPyBeginAllowThreads();
1206 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1207
1208 wxPyEndAllowThreads(__tstate);
1209 if (PyErr_Occurred()) SWIG_fail;
1210 }
1211 {
1212 wxColour * resultptr;
1213 resultptr = new wxColour((wxColour &) result);
1214 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1215 }
1216 return resultobj;
1217 fail:
1218 return NULL;
1219 }
1220
1221
1222 static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1223 PyObject *resultobj;
1224 int arg1 ;
1225 wxFont result;
1226 char *kwnames[] = {
1227 (char *) "index", NULL
1228 };
1229
1230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetFont",kwnames,&arg1)) goto fail;
1231 {
1232 PyThreadState* __tstate = wxPyBeginAllowThreads();
1233 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1234
1235 wxPyEndAllowThreads(__tstate);
1236 if (PyErr_Occurred()) SWIG_fail;
1237 }
1238 {
1239 wxFont * resultptr;
1240 resultptr = new wxFont((wxFont &) result);
1241 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
1242 }
1243 return resultobj;
1244 fail:
1245 return NULL;
1246 }
1247
1248
1249 static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1250 PyObject *resultobj;
1251 int arg1 ;
1252 int result;
1253 char *kwnames[] = {
1254 (char *) "index", NULL
1255 };
1256
1257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetMetric",kwnames,&arg1)) goto fail;
1258 {
1259 PyThreadState* __tstate = wxPyBeginAllowThreads();
1260 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1261
1262 wxPyEndAllowThreads(__tstate);
1263 if (PyErr_Occurred()) SWIG_fail;
1264 }
1265 resultobj = PyInt_FromLong((long)result);
1266 return resultobj;
1267 fail:
1268 return NULL;
1269 }
1270
1271
1272 static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1273 PyObject *resultobj;
1274 int arg1 ;
1275 bool result;
1276 char *kwnames[] = {
1277 (char *) "index", NULL
1278 };
1279
1280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_HasFeature",kwnames,&arg1)) goto fail;
1281 {
1282 PyThreadState* __tstate = wxPyBeginAllowThreads();
1283 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1284
1285 wxPyEndAllowThreads(__tstate);
1286 if (PyErr_Occurred()) SWIG_fail;
1287 }
1288 resultobj = PyInt_FromLong((long)result);
1289 return resultobj;
1290 fail:
1291 return NULL;
1292 }
1293
1294
1295 static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1296 PyObject *resultobj;
1297 int result;
1298 char *kwnames[] = {
1299 NULL
1300 };
1301
1302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1303 {
1304 PyThreadState* __tstate = wxPyBeginAllowThreads();
1305 result = (int)wxSystemSettings::GetScreenType();
1306
1307 wxPyEndAllowThreads(__tstate);
1308 if (PyErr_Occurred()) SWIG_fail;
1309 }
1310 resultobj = PyInt_FromLong((long)result);
1311 return resultobj;
1312 fail:
1313 return NULL;
1314 }
1315
1316
1317 static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1318 PyObject *resultobj;
1319 int arg1 ;
1320 char *kwnames[] = {
1321 (char *) "screen", NULL
1322 };
1323
1324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_SetScreenType",kwnames,&arg1)) goto fail;
1325 {
1326 PyThreadState* __tstate = wxPyBeginAllowThreads();
1327 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1328
1329 wxPyEndAllowThreads(__tstate);
1330 if (PyErr_Occurred()) SWIG_fail;
1331 }
1332 Py_INCREF(Py_None); resultobj = Py_None;
1333 return resultobj;
1334 fail:
1335 return NULL;
1336 }
1337
1338
1339 static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1340 PyObject *obj;
1341 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1342 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1343 Py_INCREF(obj);
1344 return Py_BuildValue((char *)"");
1345 }
1346 static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1347 PyObject *resultobj;
1348 wxSystemOptions *result;
1349 char *kwnames[] = {
1350 NULL
1351 };
1352
1353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1354 {
1355 PyThreadState* __tstate = wxPyBeginAllowThreads();
1356 result = (wxSystemOptions *)new wxSystemOptions();
1357
1358 wxPyEndAllowThreads(__tstate);
1359 if (PyErr_Occurred()) SWIG_fail;
1360 }
1361 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSystemOptions, 1);
1362 return resultobj;
1363 fail:
1364 return NULL;
1365 }
1366
1367
1368 static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1369 PyObject *resultobj;
1370 wxString *arg1 = 0 ;
1371 wxString *arg2 = 0 ;
1372 bool temp1 = False ;
1373 bool temp2 = False ;
1374 PyObject * obj0 = 0 ;
1375 PyObject * obj1 = 0 ;
1376 char *kwnames[] = {
1377 (char *) "name",(char *) "value", NULL
1378 };
1379
1380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1381 {
1382 arg1 = wxString_in_helper(obj0);
1383 if (arg1 == NULL) SWIG_fail;
1384 temp1 = True;
1385 }
1386 {
1387 arg2 = wxString_in_helper(obj1);
1388 if (arg2 == NULL) SWIG_fail;
1389 temp2 = True;
1390 }
1391 {
1392 PyThreadState* __tstate = wxPyBeginAllowThreads();
1393 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1394
1395 wxPyEndAllowThreads(__tstate);
1396 if (PyErr_Occurred()) SWIG_fail;
1397 }
1398 Py_INCREF(Py_None); resultobj = Py_None;
1399 {
1400 if (temp1)
1401 delete arg1;
1402 }
1403 {
1404 if (temp2)
1405 delete arg2;
1406 }
1407 return resultobj;
1408 fail:
1409 {
1410 if (temp1)
1411 delete arg1;
1412 }
1413 {
1414 if (temp2)
1415 delete arg2;
1416 }
1417 return NULL;
1418 }
1419
1420
1421 static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1422 PyObject *resultobj;
1423 wxString *arg1 = 0 ;
1424 int arg2 ;
1425 bool temp1 = False ;
1426 PyObject * obj0 = 0 ;
1427 char *kwnames[] = {
1428 (char *) "name",(char *) "value", NULL
1429 };
1430
1431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SystemOptions_SetOptionInt",kwnames,&obj0,&arg2)) goto fail;
1432 {
1433 arg1 = wxString_in_helper(obj0);
1434 if (arg1 == NULL) SWIG_fail;
1435 temp1 = True;
1436 }
1437 {
1438 PyThreadState* __tstate = wxPyBeginAllowThreads();
1439 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1440
1441 wxPyEndAllowThreads(__tstate);
1442 if (PyErr_Occurred()) SWIG_fail;
1443 }
1444 Py_INCREF(Py_None); resultobj = Py_None;
1445 {
1446 if (temp1)
1447 delete arg1;
1448 }
1449 return resultobj;
1450 fail:
1451 {
1452 if (temp1)
1453 delete arg1;
1454 }
1455 return NULL;
1456 }
1457
1458
1459 static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1460 PyObject *resultobj;
1461 wxString *arg1 = 0 ;
1462 wxString result;
1463 bool temp1 = False ;
1464 PyObject * obj0 = 0 ;
1465 char *kwnames[] = {
1466 (char *) "name", NULL
1467 };
1468
1469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1470 {
1471 arg1 = wxString_in_helper(obj0);
1472 if (arg1 == NULL) SWIG_fail;
1473 temp1 = True;
1474 }
1475 {
1476 PyThreadState* __tstate = wxPyBeginAllowThreads();
1477 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1478
1479 wxPyEndAllowThreads(__tstate);
1480 if (PyErr_Occurred()) SWIG_fail;
1481 }
1482 {
1483 #if wxUSE_UNICODE
1484 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1485 #else
1486 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1487 #endif
1488 }
1489 {
1490 if (temp1)
1491 delete arg1;
1492 }
1493 return resultobj;
1494 fail:
1495 {
1496 if (temp1)
1497 delete arg1;
1498 }
1499 return NULL;
1500 }
1501
1502
1503 static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1504 PyObject *resultobj;
1505 wxString *arg1 = 0 ;
1506 int result;
1507 bool temp1 = False ;
1508 PyObject * obj0 = 0 ;
1509 char *kwnames[] = {
1510 (char *) "name", NULL
1511 };
1512
1513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1514 {
1515 arg1 = wxString_in_helper(obj0);
1516 if (arg1 == NULL) SWIG_fail;
1517 temp1 = True;
1518 }
1519 {
1520 PyThreadState* __tstate = wxPyBeginAllowThreads();
1521 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1522
1523 wxPyEndAllowThreads(__tstate);
1524 if (PyErr_Occurred()) SWIG_fail;
1525 }
1526 resultobj = PyInt_FromLong((long)result);
1527 {
1528 if (temp1)
1529 delete arg1;
1530 }
1531 return resultobj;
1532 fail:
1533 {
1534 if (temp1)
1535 delete arg1;
1536 }
1537 return NULL;
1538 }
1539
1540
1541 static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1542 PyObject *resultobj;
1543 wxString *arg1 = 0 ;
1544 bool result;
1545 bool temp1 = False ;
1546 PyObject * obj0 = 0 ;
1547 char *kwnames[] = {
1548 (char *) "name", NULL
1549 };
1550
1551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1552 {
1553 arg1 = wxString_in_helper(obj0);
1554 if (arg1 == NULL) SWIG_fail;
1555 temp1 = True;
1556 }
1557 {
1558 PyThreadState* __tstate = wxPyBeginAllowThreads();
1559 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1560
1561 wxPyEndAllowThreads(__tstate);
1562 if (PyErr_Occurred()) SWIG_fail;
1563 }
1564 resultobj = PyInt_FromLong((long)result);
1565 {
1566 if (temp1)
1567 delete arg1;
1568 }
1569 return resultobj;
1570 fail:
1571 {
1572 if (temp1)
1573 delete arg1;
1574 }
1575 return NULL;
1576 }
1577
1578
1579 static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1580 PyObject *obj;
1581 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1582 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1583 Py_INCREF(obj);
1584 return Py_BuildValue((char *)"");
1585 }
1586 static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1587 PyObject *resultobj;
1588 long result;
1589 char *kwnames[] = {
1590 NULL
1591 };
1592
1593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1594 {
1595 PyThreadState* __tstate = wxPyBeginAllowThreads();
1596 result = (long)wxNewId();
1597
1598 wxPyEndAllowThreads(__tstate);
1599 if (PyErr_Occurred()) SWIG_fail;
1600 }
1601 resultobj = PyInt_FromLong((long)result);
1602 return resultobj;
1603 fail:
1604 return NULL;
1605 }
1606
1607
1608 static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1609 PyObject *resultobj;
1610 long arg1 ;
1611 char *kwnames[] = {
1612 (char *) "id", NULL
1613 };
1614
1615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:RegisterId",kwnames,&arg1)) goto fail;
1616 {
1617 PyThreadState* __tstate = wxPyBeginAllowThreads();
1618 wxRegisterId(arg1);
1619
1620 wxPyEndAllowThreads(__tstate);
1621 if (PyErr_Occurred()) SWIG_fail;
1622 }
1623 Py_INCREF(Py_None); resultobj = Py_None;
1624 return resultobj;
1625 fail:
1626 return NULL;
1627 }
1628
1629
1630 static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1631 PyObject *resultobj;
1632 long result;
1633 char *kwnames[] = {
1634 NULL
1635 };
1636
1637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1638 {
1639 PyThreadState* __tstate = wxPyBeginAllowThreads();
1640 result = (long)wxGetCurrentId();
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_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1653 PyObject *resultobj;
1654 char *kwnames[] = {
1655 NULL
1656 };
1657
1658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1659 {
1660 PyThreadState* __tstate = wxPyBeginAllowThreads();
1661 wxBell();
1662
1663 wxPyEndAllowThreads(__tstate);
1664 if (PyErr_Occurred()) SWIG_fail;
1665 }
1666 Py_INCREF(Py_None); resultobj = Py_None;
1667 return resultobj;
1668 fail:
1669 return NULL;
1670 }
1671
1672
1673 static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1674 PyObject *resultobj;
1675 char *kwnames[] = {
1676 NULL
1677 };
1678
1679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
1680 {
1681 PyThreadState* __tstate = wxPyBeginAllowThreads();
1682 wxEndBusyCursor();
1683
1684 wxPyEndAllowThreads(__tstate);
1685 if (PyErr_Occurred()) SWIG_fail;
1686 }
1687 Py_INCREF(Py_None); resultobj = Py_None;
1688 return resultobj;
1689 fail:
1690 return NULL;
1691 }
1692
1693
1694 static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1695 PyObject *resultobj;
1696 bool arg1 = (bool) True ;
1697 long result;
1698 PyObject * obj0 = 0 ;
1699 char *kwnames[] = {
1700 (char *) "resetTimer", NULL
1701 };
1702
1703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
1704 if (obj0) {
1705 arg1 = PyInt_AsLong(obj0) ? true : false;
1706 if (PyErr_Occurred()) SWIG_fail;
1707 }
1708 {
1709 PyThreadState* __tstate = wxPyBeginAllowThreads();
1710 result = (long)wxGetElapsedTime(arg1);
1711
1712 wxPyEndAllowThreads(__tstate);
1713 if (PyErr_Occurred()) SWIG_fail;
1714 }
1715 resultobj = PyInt_FromLong((long)result);
1716 return resultobj;
1717 fail:
1718 return NULL;
1719 }
1720
1721
1722 static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1723 PyObject *resultobj;
1724 int *arg1 = (int *) 0 ;
1725 int *arg2 = (int *) 0 ;
1726 int temp1 ;
1727 int temp2 ;
1728 char *kwnames[] = {
1729 NULL
1730 };
1731
1732 arg1 = &temp1;
1733 arg2 = &temp2;
1734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
1735 {
1736 PyThreadState* __tstate = wxPyBeginAllowThreads();
1737 wxGetMousePosition(arg1,arg2);
1738
1739 wxPyEndAllowThreads(__tstate);
1740 if (PyErr_Occurred()) SWIG_fail;
1741 }
1742 Py_INCREF(Py_None); resultobj = Py_None;
1743 {
1744 PyObject *o = PyInt_FromLong((long) (*arg1));
1745 resultobj = t_output_helper(resultobj,o);
1746 }
1747 {
1748 PyObject *o = PyInt_FromLong((long) (*arg2));
1749 resultobj = t_output_helper(resultobj,o);
1750 }
1751 return resultobj;
1752 fail:
1753 return NULL;
1754 }
1755
1756
1757 static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
1758 PyObject *resultobj;
1759 bool result;
1760 char *kwnames[] = {
1761 NULL
1762 };
1763
1764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
1765 {
1766 PyThreadState* __tstate = wxPyBeginAllowThreads();
1767 result = (bool)wxIsBusy();
1768
1769 wxPyEndAllowThreads(__tstate);
1770 if (PyErr_Occurred()) SWIG_fail;
1771 }
1772 resultobj = PyInt_FromLong((long)result);
1773 return resultobj;
1774 fail:
1775 return NULL;
1776 }
1777
1778
1779 static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
1780 PyObject *resultobj;
1781 wxString result;
1782 char *kwnames[] = {
1783 NULL
1784 };
1785
1786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
1787 {
1788 PyThreadState* __tstate = wxPyBeginAllowThreads();
1789 result = wxNow();
1790
1791 wxPyEndAllowThreads(__tstate);
1792 if (PyErr_Occurred()) SWIG_fail;
1793 }
1794 {
1795 #if wxUSE_UNICODE
1796 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1797 #else
1798 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1799 #endif
1800 }
1801 return resultobj;
1802 fail:
1803 return NULL;
1804 }
1805
1806
1807 static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
1808 PyObject *resultobj;
1809 wxString const &arg1_defvalue = wxPyEmptyString ;
1810 wxString *arg1 = (wxString *) &arg1_defvalue ;
1811 bool result;
1812 bool temp1 = False ;
1813 PyObject * obj0 = 0 ;
1814 char *kwnames[] = {
1815 (char *) "command", NULL
1816 };
1817
1818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
1819 if (obj0) {
1820 {
1821 arg1 = wxString_in_helper(obj0);
1822 if (arg1 == NULL) SWIG_fail;
1823 temp1 = True;
1824 }
1825 }
1826 {
1827 PyThreadState* __tstate = wxPyBeginAllowThreads();
1828 result = (bool)wxShell((wxString const &)*arg1);
1829
1830 wxPyEndAllowThreads(__tstate);
1831 if (PyErr_Occurred()) SWIG_fail;
1832 }
1833 resultobj = PyInt_FromLong((long)result);
1834 {
1835 if (temp1)
1836 delete arg1;
1837 }
1838 return resultobj;
1839 fail:
1840 {
1841 if (temp1)
1842 delete arg1;
1843 }
1844 return NULL;
1845 }
1846
1847
1848 static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
1849 PyObject *resultobj;
1850 char *kwnames[] = {
1851 NULL
1852 };
1853
1854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
1855 {
1856 PyThreadState* __tstate = wxPyBeginAllowThreads();
1857 wxStartTimer();
1858
1859 wxPyEndAllowThreads(__tstate);
1860 if (PyErr_Occurred()) SWIG_fail;
1861 }
1862 Py_INCREF(Py_None); resultobj = Py_None;
1863 return resultobj;
1864 fail:
1865 return NULL;
1866 }
1867
1868
1869 static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
1870 PyObject *resultobj;
1871 int *arg1 = (int *) 0 ;
1872 int *arg2 = (int *) 0 ;
1873 int result;
1874 int temp1 ;
1875 int temp2 ;
1876 char *kwnames[] = {
1877 NULL
1878 };
1879
1880 arg1 = &temp1;
1881 arg2 = &temp2;
1882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
1883 {
1884 PyThreadState* __tstate = wxPyBeginAllowThreads();
1885 result = (int)wxGetOsVersion(arg1,arg2);
1886
1887 wxPyEndAllowThreads(__tstate);
1888 if (PyErr_Occurred()) SWIG_fail;
1889 }
1890 resultobj = PyInt_FromLong((long)result);
1891 {
1892 PyObject *o = PyInt_FromLong((long) (*arg1));
1893 resultobj = t_output_helper(resultobj,o);
1894 }
1895 {
1896 PyObject *o = PyInt_FromLong((long) (*arg2));
1897 resultobj = t_output_helper(resultobj,o);
1898 }
1899 return resultobj;
1900 fail:
1901 return NULL;
1902 }
1903
1904
1905 static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
1906 PyObject *resultobj;
1907 wxString result;
1908 char *kwnames[] = {
1909 NULL
1910 };
1911
1912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
1913 {
1914 PyThreadState* __tstate = wxPyBeginAllowThreads();
1915 result = wxGetOsDescription();
1916
1917 wxPyEndAllowThreads(__tstate);
1918 if (PyErr_Occurred()) SWIG_fail;
1919 }
1920 {
1921 #if wxUSE_UNICODE
1922 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1923 #else
1924 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1925 #endif
1926 }
1927 return resultobj;
1928 fail:
1929 return NULL;
1930 }
1931
1932
1933 static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
1934 PyObject *resultobj;
1935 long result;
1936 char *kwnames[] = {
1937 NULL
1938 };
1939
1940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
1941 {
1942 PyThreadState* __tstate = wxPyBeginAllowThreads();
1943 result = (long)wxGetFreeMemory();
1944
1945 wxPyEndAllowThreads(__tstate);
1946 if (PyErr_Occurred()) SWIG_fail;
1947 }
1948 resultobj = PyInt_FromLong((long)result);
1949 return resultobj;
1950 fail:
1951 return NULL;
1952 }
1953
1954
1955 static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
1956 PyObject *resultobj;
1957 int arg1 ;
1958 bool result;
1959 char *kwnames[] = {
1960 (char *) "wFlags", NULL
1961 };
1962
1963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Shutdown",kwnames,&arg1)) goto fail;
1964 {
1965 PyThreadState* __tstate = wxPyBeginAllowThreads();
1966 result = (bool)wxShutdown((wxShutdownFlags )arg1);
1967
1968 wxPyEndAllowThreads(__tstate);
1969 if (PyErr_Occurred()) SWIG_fail;
1970 }
1971 resultobj = PyInt_FromLong((long)result);
1972 return resultobj;
1973 fail:
1974 return NULL;
1975 }
1976
1977
1978 static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1979 PyObject *resultobj;
1980 int arg1 ;
1981 char *kwnames[] = {
1982 (char *) "secs", NULL
1983 };
1984
1985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Sleep",kwnames,&arg1)) goto fail;
1986 {
1987 PyThreadState* __tstate = wxPyBeginAllowThreads();
1988 wxSleep(arg1);
1989
1990 wxPyEndAllowThreads(__tstate);
1991 if (PyErr_Occurred()) SWIG_fail;
1992 }
1993 Py_INCREF(Py_None); resultobj = Py_None;
1994 return resultobj;
1995 fail:
1996 return NULL;
1997 }
1998
1999
2000 static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2001 PyObject *resultobj;
2002 unsigned long arg1 ;
2003 PyObject * obj0 = 0 ;
2004 char *kwnames[] = {
2005 (char *) "milliseconds", NULL
2006 };
2007
2008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
2009 arg1 = (unsigned long) PyInt_AsLong(obj0);
2010 if (PyErr_Occurred()) SWIG_fail;
2011 {
2012 PyThreadState* __tstate = wxPyBeginAllowThreads();
2013 wxUsleep(arg1);
2014
2015 wxPyEndAllowThreads(__tstate);
2016 if (PyErr_Occurred()) SWIG_fail;
2017 }
2018 Py_INCREF(Py_None); resultobj = Py_None;
2019 return resultobj;
2020 fail:
2021 return NULL;
2022 }
2023
2024
2025 static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2026 PyObject *resultobj;
2027 bool arg1 ;
2028 PyObject * obj0 = 0 ;
2029 char *kwnames[] = {
2030 (char *) "enable", NULL
2031 };
2032
2033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2034 arg1 = PyInt_AsLong(obj0) ? true : false;
2035 if (PyErr_Occurred()) SWIG_fail;
2036 {
2037 PyThreadState* __tstate = wxPyBeginAllowThreads();
2038 wxEnableTopLevelWindows(arg1);
2039
2040 wxPyEndAllowThreads(__tstate);
2041 if (PyErr_Occurred()) SWIG_fail;
2042 }
2043 Py_INCREF(Py_None); resultobj = Py_None;
2044 return resultobj;
2045 fail:
2046 return NULL;
2047 }
2048
2049
2050 static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2051 PyObject *resultobj;
2052 wxString *arg1 = 0 ;
2053 wxString result;
2054 bool temp1 = False ;
2055 PyObject * obj0 = 0 ;
2056 char *kwnames[] = {
2057 (char *) "in", NULL
2058 };
2059
2060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2061 {
2062 arg1 = wxString_in_helper(obj0);
2063 if (arg1 == NULL) SWIG_fail;
2064 temp1 = True;
2065 }
2066 {
2067 PyThreadState* __tstate = wxPyBeginAllowThreads();
2068 result = wxStripMenuCodes((wxString const &)*arg1);
2069
2070 wxPyEndAllowThreads(__tstate);
2071 if (PyErr_Occurred()) SWIG_fail;
2072 }
2073 {
2074 #if wxUSE_UNICODE
2075 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2076 #else
2077 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2078 #endif
2079 }
2080 {
2081 if (temp1)
2082 delete arg1;
2083 }
2084 return resultobj;
2085 fail:
2086 {
2087 if (temp1)
2088 delete arg1;
2089 }
2090 return NULL;
2091 }
2092
2093
2094 static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2095 PyObject *resultobj;
2096 wxString result;
2097 char *kwnames[] = {
2098 NULL
2099 };
2100
2101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2102 {
2103 PyThreadState* __tstate = wxPyBeginAllowThreads();
2104 result = wxGetEmailAddress();
2105
2106 wxPyEndAllowThreads(__tstate);
2107 if (PyErr_Occurred()) SWIG_fail;
2108 }
2109 {
2110 #if wxUSE_UNICODE
2111 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2112 #else
2113 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2114 #endif
2115 }
2116 return resultobj;
2117 fail:
2118 return NULL;
2119 }
2120
2121
2122 static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2123 PyObject *resultobj;
2124 wxString result;
2125 char *kwnames[] = {
2126 NULL
2127 };
2128
2129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2130 {
2131 PyThreadState* __tstate = wxPyBeginAllowThreads();
2132 result = wxGetHostName();
2133
2134 wxPyEndAllowThreads(__tstate);
2135 if (PyErr_Occurred()) SWIG_fail;
2136 }
2137 {
2138 #if wxUSE_UNICODE
2139 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2140 #else
2141 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2142 #endif
2143 }
2144 return resultobj;
2145 fail:
2146 return NULL;
2147 }
2148
2149
2150 static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2151 PyObject *resultobj;
2152 wxString result;
2153 char *kwnames[] = {
2154 NULL
2155 };
2156
2157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2158 {
2159 PyThreadState* __tstate = wxPyBeginAllowThreads();
2160 result = wxGetFullHostName();
2161
2162 wxPyEndAllowThreads(__tstate);
2163 if (PyErr_Occurred()) SWIG_fail;
2164 }
2165 {
2166 #if wxUSE_UNICODE
2167 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2168 #else
2169 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2170 #endif
2171 }
2172 return resultobj;
2173 fail:
2174 return NULL;
2175 }
2176
2177
2178 static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2179 PyObject *resultobj;
2180 wxString result;
2181 char *kwnames[] = {
2182 NULL
2183 };
2184
2185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2186 {
2187 PyThreadState* __tstate = wxPyBeginAllowThreads();
2188 result = wxGetUserId();
2189
2190 wxPyEndAllowThreads(__tstate);
2191 if (PyErr_Occurred()) SWIG_fail;
2192 }
2193 {
2194 #if wxUSE_UNICODE
2195 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2196 #else
2197 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2198 #endif
2199 }
2200 return resultobj;
2201 fail:
2202 return NULL;
2203 }
2204
2205
2206 static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2207 PyObject *resultobj;
2208 wxString result;
2209 char *kwnames[] = {
2210 NULL
2211 };
2212
2213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2214 {
2215 PyThreadState* __tstate = wxPyBeginAllowThreads();
2216 result = wxGetUserName();
2217
2218 wxPyEndAllowThreads(__tstate);
2219 if (PyErr_Occurred()) SWIG_fail;
2220 }
2221 {
2222 #if wxUSE_UNICODE
2223 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2224 #else
2225 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2226 #endif
2227 }
2228 return resultobj;
2229 fail:
2230 return NULL;
2231 }
2232
2233
2234 static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2235 PyObject *resultobj;
2236 wxString result;
2237 char *kwnames[] = {
2238 NULL
2239 };
2240
2241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2242 {
2243 PyThreadState* __tstate = wxPyBeginAllowThreads();
2244 result = wxGetHomeDir();
2245
2246 wxPyEndAllowThreads(__tstate);
2247 if (PyErr_Occurred()) SWIG_fail;
2248 }
2249 {
2250 #if wxUSE_UNICODE
2251 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2252 #else
2253 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2254 #endif
2255 }
2256 return resultobj;
2257 fail:
2258 return NULL;
2259 }
2260
2261
2262 static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2263 PyObject *resultobj;
2264 wxString const &arg1_defvalue = wxPyEmptyString ;
2265 wxString *arg1 = (wxString *) &arg1_defvalue ;
2266 wxString result;
2267 bool temp1 = False ;
2268 PyObject * obj0 = 0 ;
2269 char *kwnames[] = {
2270 (char *) "user", NULL
2271 };
2272
2273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2274 if (obj0) {
2275 {
2276 arg1 = wxString_in_helper(obj0);
2277 if (arg1 == NULL) SWIG_fail;
2278 temp1 = True;
2279 }
2280 }
2281 {
2282 PyThreadState* __tstate = wxPyBeginAllowThreads();
2283 result = wxGetUserHome((wxString const &)*arg1);
2284
2285 wxPyEndAllowThreads(__tstate);
2286 if (PyErr_Occurred()) SWIG_fail;
2287 }
2288 {
2289 #if wxUSE_UNICODE
2290 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2291 #else
2292 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2293 #endif
2294 }
2295 {
2296 if (temp1)
2297 delete arg1;
2298 }
2299 return resultobj;
2300 fail:
2301 {
2302 if (temp1)
2303 delete arg1;
2304 }
2305 return NULL;
2306 }
2307
2308
2309 static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2310 PyObject *resultobj;
2311 unsigned long result;
2312 char *kwnames[] = {
2313 NULL
2314 };
2315
2316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2317 {
2318 PyThreadState* __tstate = wxPyBeginAllowThreads();
2319 result = (unsigned long)wxGetProcessId();
2320
2321 wxPyEndAllowThreads(__tstate);
2322 if (PyErr_Occurred()) SWIG_fail;
2323 }
2324 resultobj = PyInt_FromLong((long)result);
2325 return resultobj;
2326 fail:
2327 return NULL;
2328 }
2329
2330
2331 static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2332 PyObject *resultobj;
2333 char *kwnames[] = {
2334 NULL
2335 };
2336
2337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2338 {
2339 PyThreadState* __tstate = wxPyBeginAllowThreads();
2340 wxTrap();
2341
2342 wxPyEndAllowThreads(__tstate);
2343 if (PyErr_Occurred()) SWIG_fail;
2344 }
2345 Py_INCREF(Py_None); resultobj = Py_None;
2346 return resultobj;
2347 fail:
2348 return NULL;
2349 }
2350
2351
2352 static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2353 PyObject *resultobj;
2354 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2355 wxString *arg1 = (wxString *) &arg1_defvalue ;
2356 wxString const &arg2_defvalue = wxPyEmptyString ;
2357 wxString *arg2 = (wxString *) &arg2_defvalue ;
2358 wxString const &arg3_defvalue = wxPyEmptyString ;
2359 wxString *arg3 = (wxString *) &arg3_defvalue ;
2360 wxString const &arg4_defvalue = wxPyEmptyString ;
2361 wxString *arg4 = (wxString *) &arg4_defvalue ;
2362 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2363 wxString *arg5 = (wxString *) &arg5_defvalue ;
2364 int arg6 = (int) 0 ;
2365 wxWindow *arg7 = (wxWindow *) NULL ;
2366 int arg8 = (int) -1 ;
2367 int arg9 = (int) -1 ;
2368 wxString result;
2369 bool temp1 = False ;
2370 bool temp2 = False ;
2371 bool temp3 = False ;
2372 bool temp4 = False ;
2373 bool temp5 = False ;
2374 PyObject * obj0 = 0 ;
2375 PyObject * obj1 = 0 ;
2376 PyObject * obj2 = 0 ;
2377 PyObject * obj3 = 0 ;
2378 PyObject * obj4 = 0 ;
2379 PyObject * obj6 = 0 ;
2380 char *kwnames[] = {
2381 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2382 };
2383
2384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOiOii:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&arg9)) goto fail;
2385 if (obj0) {
2386 {
2387 arg1 = wxString_in_helper(obj0);
2388 if (arg1 == NULL) SWIG_fail;
2389 temp1 = True;
2390 }
2391 }
2392 if (obj1) {
2393 {
2394 arg2 = wxString_in_helper(obj1);
2395 if (arg2 == NULL) SWIG_fail;
2396 temp2 = True;
2397 }
2398 }
2399 if (obj2) {
2400 {
2401 arg3 = wxString_in_helper(obj2);
2402 if (arg3 == NULL) SWIG_fail;
2403 temp3 = True;
2404 }
2405 }
2406 if (obj3) {
2407 {
2408 arg4 = wxString_in_helper(obj3);
2409 if (arg4 == NULL) SWIG_fail;
2410 temp4 = True;
2411 }
2412 }
2413 if (obj4) {
2414 {
2415 arg5 = wxString_in_helper(obj4);
2416 if (arg5 == NULL) SWIG_fail;
2417 temp5 = True;
2418 }
2419 }
2420 if (obj6) {
2421 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2422 }
2423 {
2424 PyThreadState* __tstate = wxPyBeginAllowThreads();
2425 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2426
2427 wxPyEndAllowThreads(__tstate);
2428 if (PyErr_Occurred()) SWIG_fail;
2429 }
2430 {
2431 #if wxUSE_UNICODE
2432 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2433 #else
2434 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2435 #endif
2436 }
2437 {
2438 if (temp1)
2439 delete arg1;
2440 }
2441 {
2442 if (temp2)
2443 delete arg2;
2444 }
2445 {
2446 if (temp3)
2447 delete arg3;
2448 }
2449 {
2450 if (temp4)
2451 delete arg4;
2452 }
2453 {
2454 if (temp5)
2455 delete arg5;
2456 }
2457 return resultobj;
2458 fail:
2459 {
2460 if (temp1)
2461 delete arg1;
2462 }
2463 {
2464 if (temp2)
2465 delete arg2;
2466 }
2467 {
2468 if (temp3)
2469 delete arg3;
2470 }
2471 {
2472 if (temp4)
2473 delete arg4;
2474 }
2475 {
2476 if (temp5)
2477 delete arg5;
2478 }
2479 return NULL;
2480 }
2481
2482
2483 static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2484 PyObject *resultobj;
2485 wxString *arg1 = 0 ;
2486 wxString *arg2 = 0 ;
2487 wxString const &arg3_defvalue = wxPyEmptyString ;
2488 wxString *arg3 = (wxString *) &arg3_defvalue ;
2489 wxWindow *arg4 = (wxWindow *) NULL ;
2490 wxString result;
2491 bool temp1 = False ;
2492 bool temp2 = False ;
2493 bool temp3 = False ;
2494 PyObject * obj0 = 0 ;
2495 PyObject * obj1 = 0 ;
2496 PyObject * obj2 = 0 ;
2497 PyObject * obj3 = 0 ;
2498 char *kwnames[] = {
2499 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2500 };
2501
2502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2503 {
2504 arg1 = wxString_in_helper(obj0);
2505 if (arg1 == NULL) SWIG_fail;
2506 temp1 = True;
2507 }
2508 {
2509 arg2 = wxString_in_helper(obj1);
2510 if (arg2 == NULL) SWIG_fail;
2511 temp2 = True;
2512 }
2513 if (obj2) {
2514 {
2515 arg3 = wxString_in_helper(obj2);
2516 if (arg3 == NULL) SWIG_fail;
2517 temp3 = True;
2518 }
2519 }
2520 if (obj3) {
2521 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2522 }
2523 {
2524 PyThreadState* __tstate = wxPyBeginAllowThreads();
2525 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2526
2527 wxPyEndAllowThreads(__tstate);
2528 if (PyErr_Occurred()) SWIG_fail;
2529 }
2530 {
2531 #if wxUSE_UNICODE
2532 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2533 #else
2534 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2535 #endif
2536 }
2537 {
2538 if (temp1)
2539 delete arg1;
2540 }
2541 {
2542 if (temp2)
2543 delete arg2;
2544 }
2545 {
2546 if (temp3)
2547 delete arg3;
2548 }
2549 return resultobj;
2550 fail:
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 NULL;
2564 }
2565
2566
2567 static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2568 PyObject *resultobj;
2569 wxString *arg1 = 0 ;
2570 wxString *arg2 = 0 ;
2571 wxString const &arg3_defvalue = wxPyEmptyString ;
2572 wxString *arg3 = (wxString *) &arg3_defvalue ;
2573 wxWindow *arg4 = (wxWindow *) NULL ;
2574 wxString result;
2575 bool temp1 = False ;
2576 bool temp2 = False ;
2577 bool temp3 = False ;
2578 PyObject * obj0 = 0 ;
2579 PyObject * obj1 = 0 ;
2580 PyObject * obj2 = 0 ;
2581 PyObject * obj3 = 0 ;
2582 char *kwnames[] = {
2583 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2584 };
2585
2586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2587 {
2588 arg1 = wxString_in_helper(obj0);
2589 if (arg1 == NULL) SWIG_fail;
2590 temp1 = True;
2591 }
2592 {
2593 arg2 = wxString_in_helper(obj1);
2594 if (arg2 == NULL) SWIG_fail;
2595 temp2 = True;
2596 }
2597 if (obj2) {
2598 {
2599 arg3 = wxString_in_helper(obj2);
2600 if (arg3 == NULL) SWIG_fail;
2601 temp3 = True;
2602 }
2603 }
2604 if (obj3) {
2605 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2606 }
2607 {
2608 PyThreadState* __tstate = wxPyBeginAllowThreads();
2609 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2610
2611 wxPyEndAllowThreads(__tstate);
2612 if (PyErr_Occurred()) SWIG_fail;
2613 }
2614 {
2615 #if wxUSE_UNICODE
2616 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2617 #else
2618 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2619 #endif
2620 }
2621 {
2622 if (temp1)
2623 delete arg1;
2624 }
2625 {
2626 if (temp2)
2627 delete arg2;
2628 }
2629 {
2630 if (temp3)
2631 delete arg3;
2632 }
2633 return resultobj;
2634 fail:
2635 {
2636 if (temp1)
2637 delete arg1;
2638 }
2639 {
2640 if (temp2)
2641 delete arg2;
2642 }
2643 {
2644 if (temp3)
2645 delete arg3;
2646 }
2647 return NULL;
2648 }
2649
2650
2651 static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2652 PyObject *resultobj;
2653 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
2654 wxString *arg1 = (wxString *) &arg1_defvalue ;
2655 wxString const &arg2_defvalue = wxPyEmptyString ;
2656 wxString *arg2 = (wxString *) &arg2_defvalue ;
2657 long arg3 = (long) wxDD_DEFAULT_STYLE ;
2658 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2659 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2660 wxWindow *arg5 = (wxWindow *) NULL ;
2661 wxString result;
2662 bool temp1 = False ;
2663 bool temp2 = False ;
2664 wxPoint temp4 ;
2665 PyObject * obj0 = 0 ;
2666 PyObject * obj1 = 0 ;
2667 PyObject * obj3 = 0 ;
2668 PyObject * obj4 = 0 ;
2669 char *kwnames[] = {
2670 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2671 };
2672
2673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOlOO:DirSelector",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
2674 if (obj0) {
2675 {
2676 arg1 = wxString_in_helper(obj0);
2677 if (arg1 == NULL) SWIG_fail;
2678 temp1 = True;
2679 }
2680 }
2681 if (obj1) {
2682 {
2683 arg2 = wxString_in_helper(obj1);
2684 if (arg2 == NULL) SWIG_fail;
2685 temp2 = True;
2686 }
2687 }
2688 if (obj3) {
2689 {
2690 arg4 = &temp4;
2691 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2692 }
2693 }
2694 if (obj4) {
2695 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2696 }
2697 {
2698 PyThreadState* __tstate = wxPyBeginAllowThreads();
2699 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
2700
2701 wxPyEndAllowThreads(__tstate);
2702 if (PyErr_Occurred()) SWIG_fail;
2703 }
2704 {
2705 #if wxUSE_UNICODE
2706 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2707 #else
2708 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2709 #endif
2710 }
2711 {
2712 if (temp1)
2713 delete arg1;
2714 }
2715 {
2716 if (temp2)
2717 delete arg2;
2718 }
2719 return resultobj;
2720 fail:
2721 {
2722 if (temp1)
2723 delete arg1;
2724 }
2725 {
2726 if (temp2)
2727 delete arg2;
2728 }
2729 return NULL;
2730 }
2731
2732
2733 static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2734 PyObject *resultobj;
2735 wxString *arg1 = 0 ;
2736 wxString const &arg2_defvalue = wxPyEmptyString ;
2737 wxString *arg2 = (wxString *) &arg2_defvalue ;
2738 wxString const &arg3_defvalue = wxPyEmptyString ;
2739 wxString *arg3 = (wxString *) &arg3_defvalue ;
2740 wxWindow *arg4 = (wxWindow *) NULL ;
2741 int arg5 = (int) -1 ;
2742 int arg6 = (int) -1 ;
2743 bool arg7 = (bool) True ;
2744 wxString result;
2745 bool temp1 = False ;
2746 bool temp2 = False ;
2747 bool temp3 = False ;
2748 PyObject * obj0 = 0 ;
2749 PyObject * obj1 = 0 ;
2750 PyObject * obj2 = 0 ;
2751 PyObject * obj3 = 0 ;
2752 PyObject * obj6 = 0 ;
2753 char *kwnames[] = {
2754 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2755 };
2756
2757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOiiO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
2758 {
2759 arg1 = wxString_in_helper(obj0);
2760 if (arg1 == NULL) SWIG_fail;
2761 temp1 = True;
2762 }
2763 if (obj1) {
2764 {
2765 arg2 = wxString_in_helper(obj1);
2766 if (arg2 == NULL) SWIG_fail;
2767 temp2 = True;
2768 }
2769 }
2770 if (obj2) {
2771 {
2772 arg3 = wxString_in_helper(obj2);
2773 if (arg3 == NULL) SWIG_fail;
2774 temp3 = True;
2775 }
2776 }
2777 if (obj3) {
2778 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2779 }
2780 if (obj6) {
2781 arg7 = PyInt_AsLong(obj6) ? true : false;
2782 if (PyErr_Occurred()) SWIG_fail;
2783 }
2784 {
2785 PyThreadState* __tstate = wxPyBeginAllowThreads();
2786 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
2787
2788 wxPyEndAllowThreads(__tstate);
2789 if (PyErr_Occurred()) SWIG_fail;
2790 }
2791 {
2792 #if wxUSE_UNICODE
2793 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2794 #else
2795 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2796 #endif
2797 }
2798 {
2799 if (temp1)
2800 delete arg1;
2801 }
2802 {
2803 if (temp2)
2804 delete arg2;
2805 }
2806 {
2807 if (temp3)
2808 delete arg3;
2809 }
2810 return resultobj;
2811 fail:
2812 {
2813 if (temp1)
2814 delete arg1;
2815 }
2816 {
2817 if (temp2)
2818 delete arg2;
2819 }
2820 {
2821 if (temp3)
2822 delete arg3;
2823 }
2824 return NULL;
2825 }
2826
2827
2828 static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2829 PyObject *resultobj;
2830 wxString *arg1 = 0 ;
2831 wxString const &arg2_defvalue = wxPyEmptyString ;
2832 wxString *arg2 = (wxString *) &arg2_defvalue ;
2833 wxString const &arg3_defvalue = wxPyEmptyString ;
2834 wxString *arg3 = (wxString *) &arg3_defvalue ;
2835 wxWindow *arg4 = (wxWindow *) NULL ;
2836 wxString result;
2837 bool temp1 = False ;
2838 bool temp2 = False ;
2839 bool temp3 = False ;
2840 PyObject * obj0 = 0 ;
2841 PyObject * obj1 = 0 ;
2842 PyObject * obj2 = 0 ;
2843 PyObject * obj3 = 0 ;
2844 char *kwnames[] = {
2845 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2846 };
2847
2848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2849 {
2850 arg1 = wxString_in_helper(obj0);
2851 if (arg1 == NULL) SWIG_fail;
2852 temp1 = True;
2853 }
2854 if (obj1) {
2855 {
2856 arg2 = wxString_in_helper(obj1);
2857 if (arg2 == NULL) SWIG_fail;
2858 temp2 = True;
2859 }
2860 }
2861 if (obj2) {
2862 {
2863 arg3 = wxString_in_helper(obj2);
2864 if (arg3 == NULL) SWIG_fail;
2865 temp3 = True;
2866 }
2867 }
2868 if (obj3) {
2869 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2870 }
2871 {
2872 PyThreadState* __tstate = wxPyBeginAllowThreads();
2873 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2874
2875 wxPyEndAllowThreads(__tstate);
2876 if (PyErr_Occurred()) SWIG_fail;
2877 }
2878 {
2879 #if wxUSE_UNICODE
2880 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2881 #else
2882 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2883 #endif
2884 }
2885 {
2886 if (temp1)
2887 delete arg1;
2888 }
2889 {
2890 if (temp2)
2891 delete arg2;
2892 }
2893 {
2894 if (temp3)
2895 delete arg3;
2896 }
2897 return resultobj;
2898 fail:
2899 {
2900 if (temp1)
2901 delete arg1;
2902 }
2903 {
2904 if (temp2)
2905 delete arg2;
2906 }
2907 {
2908 if (temp3)
2909 delete arg3;
2910 }
2911 return NULL;
2912 }
2913
2914
2915 static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2916 PyObject *resultobj;
2917 wxString *arg1 = 0 ;
2918 wxString *arg2 = 0 ;
2919 int arg3 ;
2920 wxString *arg4 = (wxString *) 0 ;
2921 wxWindow *arg5 = (wxWindow *) NULL ;
2922 int arg6 = (int) -1 ;
2923 int arg7 = (int) -1 ;
2924 bool arg8 = (bool) True ;
2925 int arg9 = (int) 150 ;
2926 int arg10 = (int) 200 ;
2927 wxString result;
2928 bool temp1 = False ;
2929 bool temp2 = False ;
2930 PyObject * obj0 = 0 ;
2931 PyObject * obj1 = 0 ;
2932 PyObject * obj2 = 0 ;
2933 PyObject * obj3 = 0 ;
2934 PyObject * obj6 = 0 ;
2935 char *kwnames[] = {
2936 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2937 };
2938
2939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
2940 {
2941 arg1 = wxString_in_helper(obj0);
2942 if (arg1 == NULL) SWIG_fail;
2943 temp1 = True;
2944 }
2945 {
2946 arg2 = wxString_in_helper(obj1);
2947 if (arg2 == NULL) SWIG_fail;
2948 temp2 = True;
2949 }
2950 {
2951 arg3 = PyList_Size(obj2);
2952 arg4 = wxString_LIST_helper(obj2);
2953 if (arg4 == NULL) SWIG_fail;
2954 }
2955 if (obj3) {
2956 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2957 }
2958 if (obj6) {
2959 arg8 = PyInt_AsLong(obj6) ? true : false;
2960 if (PyErr_Occurred()) SWIG_fail;
2961 }
2962 {
2963 PyThreadState* __tstate = wxPyBeginAllowThreads();
2964 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
2965
2966 wxPyEndAllowThreads(__tstate);
2967 if (PyErr_Occurred()) SWIG_fail;
2968 }
2969 {
2970 #if wxUSE_UNICODE
2971 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2972 #else
2973 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2974 #endif
2975 }
2976 {
2977 if (temp1)
2978 delete arg1;
2979 }
2980 {
2981 if (temp2)
2982 delete arg2;
2983 }
2984 {
2985 if (arg4) delete [] arg4;
2986 }
2987 return resultobj;
2988 fail:
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 NULL;
3001 }
3002
3003
3004 static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3005 PyObject *resultobj;
3006 wxString *arg1 = 0 ;
3007 wxString *arg2 = 0 ;
3008 int arg3 ;
3009 wxString *arg4 = (wxString *) 0 ;
3010 wxWindow *arg5 = (wxWindow *) NULL ;
3011 int arg6 = (int) -1 ;
3012 int arg7 = (int) -1 ;
3013 bool arg8 = (bool) True ;
3014 int arg9 = (int) 150 ;
3015 int arg10 = (int) 200 ;
3016 int result;
3017 bool temp1 = False ;
3018 bool temp2 = False ;
3019 PyObject * obj0 = 0 ;
3020 PyObject * obj1 = 0 ;
3021 PyObject * obj2 = 0 ;
3022 PyObject * obj3 = 0 ;
3023 PyObject * obj6 = 0 ;
3024 char *kwnames[] = {
3025 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3026 };
3027
3028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
3029 {
3030 arg1 = wxString_in_helper(obj0);
3031 if (arg1 == NULL) SWIG_fail;
3032 temp1 = True;
3033 }
3034 {
3035 arg2 = wxString_in_helper(obj1);
3036 if (arg2 == NULL) SWIG_fail;
3037 temp2 = True;
3038 }
3039 {
3040 arg3 = PyList_Size(obj2);
3041 arg4 = wxString_LIST_helper(obj2);
3042 if (arg4 == NULL) SWIG_fail;
3043 }
3044 if (obj3) {
3045 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3046 }
3047 if (obj6) {
3048 arg8 = PyInt_AsLong(obj6) ? true : false;
3049 if (PyErr_Occurred()) SWIG_fail;
3050 }
3051 {
3052 PyThreadState* __tstate = wxPyBeginAllowThreads();
3053 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3054
3055 wxPyEndAllowThreads(__tstate);
3056 if (PyErr_Occurred()) SWIG_fail;
3057 }
3058 resultobj = PyInt_FromLong((long)result);
3059 {
3060 if (temp1)
3061 delete arg1;
3062 }
3063 {
3064 if (temp2)
3065 delete arg2;
3066 }
3067 {
3068 if (arg4) delete [] arg4;
3069 }
3070 return resultobj;
3071 fail:
3072 {
3073 if (temp1)
3074 delete arg1;
3075 }
3076 {
3077 if (temp2)
3078 delete arg2;
3079 }
3080 {
3081 if (arg4) delete [] arg4;
3082 }
3083 return NULL;
3084 }
3085
3086
3087 static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3088 PyObject *resultobj;
3089 wxString *arg1 = 0 ;
3090 wxString const &arg2_defvalue = wxPyEmptyString ;
3091 wxString *arg2 = (wxString *) &arg2_defvalue ;
3092 int arg3 = (int) wxOK|wxCENTRE ;
3093 wxWindow *arg4 = (wxWindow *) NULL ;
3094 int arg5 = (int) -1 ;
3095 int arg6 = (int) -1 ;
3096 int result;
3097 bool temp1 = False ;
3098 bool temp2 = False ;
3099 PyObject * obj0 = 0 ;
3100 PyObject * obj1 = 0 ;
3101 PyObject * obj3 = 0 ;
3102 char *kwnames[] = {
3103 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3104 };
3105
3106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OiOii:MessageBox",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5,&arg6)) goto fail;
3107 {
3108 arg1 = wxString_in_helper(obj0);
3109 if (arg1 == NULL) SWIG_fail;
3110 temp1 = True;
3111 }
3112 if (obj1) {
3113 {
3114 arg2 = wxString_in_helper(obj1);
3115 if (arg2 == NULL) SWIG_fail;
3116 temp2 = True;
3117 }
3118 }
3119 if (obj3) {
3120 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3121 }
3122 {
3123 PyThreadState* __tstate = wxPyBeginAllowThreads();
3124 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3125
3126 wxPyEndAllowThreads(__tstate);
3127 if (PyErr_Occurred()) SWIG_fail;
3128 }
3129 resultobj = PyInt_FromLong((long)result);
3130 {
3131 if (temp1)
3132 delete arg1;
3133 }
3134 {
3135 if (temp2)
3136 delete arg2;
3137 }
3138 return resultobj;
3139 fail:
3140 {
3141 if (temp1)
3142 delete arg1;
3143 }
3144 {
3145 if (temp2)
3146 delete arg2;
3147 }
3148 return NULL;
3149 }
3150
3151
3152 static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3153 PyObject *resultobj;
3154 wxString *arg1 = 0 ;
3155 wxString *arg2 = 0 ;
3156 wxString *arg3 = 0 ;
3157 long arg4 ;
3158 long arg5 = (long) 0 ;
3159 long arg6 = (long) 100 ;
3160 wxWindow *arg7 = (wxWindow *) NULL ;
3161 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3162 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3163 long result;
3164 bool temp1 = False ;
3165 bool temp2 = False ;
3166 bool temp3 = False ;
3167 wxPoint temp8 ;
3168 PyObject * obj0 = 0 ;
3169 PyObject * obj1 = 0 ;
3170 PyObject * obj2 = 0 ;
3171 PyObject * obj6 = 0 ;
3172 PyObject * obj7 = 0 ;
3173 char *kwnames[] = {
3174 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3175 };
3176
3177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOl|llOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&obj6,&obj7)) goto fail;
3178 {
3179 arg1 = wxString_in_helper(obj0);
3180 if (arg1 == NULL) SWIG_fail;
3181 temp1 = True;
3182 }
3183 {
3184 arg2 = wxString_in_helper(obj1);
3185 if (arg2 == NULL) SWIG_fail;
3186 temp2 = True;
3187 }
3188 {
3189 arg3 = wxString_in_helper(obj2);
3190 if (arg3 == NULL) SWIG_fail;
3191 temp3 = True;
3192 }
3193 if (obj6) {
3194 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3195 }
3196 if (obj7) {
3197 {
3198 arg8 = &temp8;
3199 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3200 }
3201 }
3202 {
3203 PyThreadState* __tstate = wxPyBeginAllowThreads();
3204 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3205
3206 wxPyEndAllowThreads(__tstate);
3207 if (PyErr_Occurred()) SWIG_fail;
3208 }
3209 resultobj = PyInt_FromLong((long)result);
3210 {
3211 if (temp1)
3212 delete arg1;
3213 }
3214 {
3215 if (temp2)
3216 delete arg2;
3217 }
3218 {
3219 if (temp3)
3220 delete arg3;
3221 }
3222 return resultobj;
3223 fail:
3224 {
3225 if (temp1)
3226 delete arg1;
3227 }
3228 {
3229 if (temp2)
3230 delete arg2;
3231 }
3232 {
3233 if (temp3)
3234 delete arg3;
3235 }
3236 return NULL;
3237 }
3238
3239
3240 static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3241 PyObject *resultobj;
3242 bool result;
3243 char *kwnames[] = {
3244 NULL
3245 };
3246
3247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3248 {
3249 PyThreadState* __tstate = wxPyBeginAllowThreads();
3250 result = (bool)wxColourDisplay();
3251
3252 wxPyEndAllowThreads(__tstate);
3253 if (PyErr_Occurred()) SWIG_fail;
3254 }
3255 resultobj = PyInt_FromLong((long)result);
3256 return resultobj;
3257 fail:
3258 return NULL;
3259 }
3260
3261
3262 static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3263 PyObject *resultobj;
3264 int result;
3265 char *kwnames[] = {
3266 NULL
3267 };
3268
3269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3270 {
3271 PyThreadState* __tstate = wxPyBeginAllowThreads();
3272 result = (int)wxDisplayDepth();
3273
3274 wxPyEndAllowThreads(__tstate);
3275 if (PyErr_Occurred()) SWIG_fail;
3276 }
3277 resultobj = PyInt_FromLong((long)result);
3278 return resultobj;
3279 fail:
3280 return NULL;
3281 }
3282
3283
3284 static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3285 PyObject *resultobj;
3286 int result;
3287 char *kwnames[] = {
3288 NULL
3289 };
3290
3291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3292 {
3293 PyThreadState* __tstate = wxPyBeginAllowThreads();
3294 result = (int)wxGetDisplayDepth();
3295
3296 wxPyEndAllowThreads(__tstate);
3297 if (PyErr_Occurred()) SWIG_fail;
3298 }
3299 resultobj = PyInt_FromLong((long)result);
3300 return resultobj;
3301 fail:
3302 return NULL;
3303 }
3304
3305
3306 static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3307 PyObject *resultobj;
3308 int *arg1 = (int *) 0 ;
3309 int *arg2 = (int *) 0 ;
3310 int temp1 ;
3311 int temp2 ;
3312 char *kwnames[] = {
3313 NULL
3314 };
3315
3316 arg1 = &temp1;
3317 arg2 = &temp2;
3318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3319 {
3320 PyThreadState* __tstate = wxPyBeginAllowThreads();
3321 wxDisplaySize(arg1,arg2);
3322
3323 wxPyEndAllowThreads(__tstate);
3324 if (PyErr_Occurred()) SWIG_fail;
3325 }
3326 Py_INCREF(Py_None); resultobj = Py_None;
3327 {
3328 PyObject *o = PyInt_FromLong((long) (*arg1));
3329 resultobj = t_output_helper(resultobj,o);
3330 }
3331 {
3332 PyObject *o = PyInt_FromLong((long) (*arg2));
3333 resultobj = t_output_helper(resultobj,o);
3334 }
3335 return resultobj;
3336 fail:
3337 return NULL;
3338 }
3339
3340
3341 static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3342 PyObject *resultobj;
3343 wxSize result;
3344 char *kwnames[] = {
3345 NULL
3346 };
3347
3348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3349 {
3350 PyThreadState* __tstate = wxPyBeginAllowThreads();
3351 result = wxGetDisplaySize();
3352
3353 wxPyEndAllowThreads(__tstate);
3354 if (PyErr_Occurred()) SWIG_fail;
3355 }
3356 {
3357 wxSize * resultptr;
3358 resultptr = new wxSize((wxSize &) result);
3359 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3360 }
3361 return resultobj;
3362 fail:
3363 return NULL;
3364 }
3365
3366
3367 static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3368 PyObject *resultobj;
3369 int *arg1 = (int *) 0 ;
3370 int *arg2 = (int *) 0 ;
3371 int temp1 ;
3372 int temp2 ;
3373 char *kwnames[] = {
3374 NULL
3375 };
3376
3377 arg1 = &temp1;
3378 arg2 = &temp2;
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3380 {
3381 PyThreadState* __tstate = wxPyBeginAllowThreads();
3382 wxDisplaySizeMM(arg1,arg2);
3383
3384 wxPyEndAllowThreads(__tstate);
3385 if (PyErr_Occurred()) SWIG_fail;
3386 }
3387 Py_INCREF(Py_None); resultobj = Py_None;
3388 {
3389 PyObject *o = PyInt_FromLong((long) (*arg1));
3390 resultobj = t_output_helper(resultobj,o);
3391 }
3392 {
3393 PyObject *o = PyInt_FromLong((long) (*arg2));
3394 resultobj = t_output_helper(resultobj,o);
3395 }
3396 return resultobj;
3397 fail:
3398 return NULL;
3399 }
3400
3401
3402 static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3403 PyObject *resultobj;
3404 wxSize result;
3405 char *kwnames[] = {
3406 NULL
3407 };
3408
3409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3410 {
3411 PyThreadState* __tstate = wxPyBeginAllowThreads();
3412 result = wxGetDisplaySizeMM();
3413
3414 wxPyEndAllowThreads(__tstate);
3415 if (PyErr_Occurred()) SWIG_fail;
3416 }
3417 {
3418 wxSize * resultptr;
3419 resultptr = new wxSize((wxSize &) result);
3420 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3421 }
3422 return resultobj;
3423 fail:
3424 return NULL;
3425 }
3426
3427
3428 static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3429 PyObject *resultobj;
3430 int *arg1 = (int *) 0 ;
3431 int *arg2 = (int *) 0 ;
3432 int *arg3 = (int *) 0 ;
3433 int *arg4 = (int *) 0 ;
3434 int temp1 ;
3435 int temp2 ;
3436 int temp3 ;
3437 int temp4 ;
3438 char *kwnames[] = {
3439 NULL
3440 };
3441
3442 arg1 = &temp1;
3443 arg2 = &temp2;
3444 arg3 = &temp3;
3445 arg4 = &temp4;
3446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3447 {
3448 PyThreadState* __tstate = wxPyBeginAllowThreads();
3449 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3450
3451 wxPyEndAllowThreads(__tstate);
3452 if (PyErr_Occurred()) SWIG_fail;
3453 }
3454 Py_INCREF(Py_None); resultobj = Py_None;
3455 {
3456 PyObject *o = PyInt_FromLong((long) (*arg1));
3457 resultobj = t_output_helper(resultobj,o);
3458 }
3459 {
3460 PyObject *o = PyInt_FromLong((long) (*arg2));
3461 resultobj = t_output_helper(resultobj,o);
3462 }
3463 {
3464 PyObject *o = PyInt_FromLong((long) (*arg3));
3465 resultobj = t_output_helper(resultobj,o);
3466 }
3467 {
3468 PyObject *o = PyInt_FromLong((long) (*arg4));
3469 resultobj = t_output_helper(resultobj,o);
3470 }
3471 return resultobj;
3472 fail:
3473 return NULL;
3474 }
3475
3476
3477 static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3478 PyObject *resultobj;
3479 wxRect result;
3480 char *kwnames[] = {
3481 NULL
3482 };
3483
3484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3485 {
3486 PyThreadState* __tstate = wxPyBeginAllowThreads();
3487 result = wxGetClientDisplayRect();
3488
3489 wxPyEndAllowThreads(__tstate);
3490 if (PyErr_Occurred()) SWIG_fail;
3491 }
3492 {
3493 wxRect * resultptr;
3494 resultptr = new wxRect((wxRect &) result);
3495 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3496 }
3497 return resultobj;
3498 fail:
3499 return NULL;
3500 }
3501
3502
3503 static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3504 PyObject *resultobj;
3505 wxCursor *arg1 = 0 ;
3506 PyObject * obj0 = 0 ;
3507 char *kwnames[] = {
3508 (char *) "cursor", NULL
3509 };
3510
3511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3513 if (arg1 == NULL) {
3514 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3515 }
3516 {
3517 PyThreadState* __tstate = wxPyBeginAllowThreads();
3518 wxSetCursor(*arg1);
3519
3520 wxPyEndAllowThreads(__tstate);
3521 if (PyErr_Occurred()) SWIG_fail;
3522 }
3523 Py_INCREF(Py_None); resultobj = Py_None;
3524 return resultobj;
3525 fail:
3526 return NULL;
3527 }
3528
3529
3530 static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3531 PyObject *resultobj;
3532 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3533 PyObject * obj0 = 0 ;
3534 char *kwnames[] = {
3535 (char *) "cursor", NULL
3536 };
3537
3538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3539 if (obj0) {
3540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3541 }
3542 {
3543 PyThreadState* __tstate = wxPyBeginAllowThreads();
3544 wxBeginBusyCursor(arg1);
3545
3546 wxPyEndAllowThreads(__tstate);
3547 if (PyErr_Occurred()) SWIG_fail;
3548 }
3549 Py_INCREF(Py_None); resultobj = Py_None;
3550 return resultobj;
3551 fail:
3552 return NULL;
3553 }
3554
3555
3556 static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3557 PyObject *resultobj;
3558 wxWindow *result;
3559 char *kwnames[] = {
3560 NULL
3561 };
3562
3563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
3564 {
3565 PyThreadState* __tstate = wxPyBeginAllowThreads();
3566 result = (wxWindow *)wxGetActiveWindow();
3567
3568 wxPyEndAllowThreads(__tstate);
3569 if (PyErr_Occurred()) SWIG_fail;
3570 }
3571 {
3572 resultobj = wxPyMake_wxObject(result);
3573 }
3574 return resultobj;
3575 fail:
3576 return NULL;
3577 }
3578
3579
3580 static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3581 PyObject *resultobj;
3582 wxPoint *arg1 = 0 ;
3583 wxWindow *result;
3584 wxPoint temp1 ;
3585 PyObject * obj0 = 0 ;
3586 char *kwnames[] = {
3587 (char *) "pt", NULL
3588 };
3589
3590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
3591 {
3592 arg1 = &temp1;
3593 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3594 }
3595 {
3596 PyThreadState* __tstate = wxPyBeginAllowThreads();
3597 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
3598
3599 wxPyEndAllowThreads(__tstate);
3600 if (PyErr_Occurred()) SWIG_fail;
3601 }
3602 {
3603 resultobj = wxPyMake_wxObject(result);
3604 }
3605 return resultobj;
3606 fail:
3607 return NULL;
3608 }
3609
3610
3611 static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3612 PyObject *resultobj;
3613 wxPoint *arg1 = 0 ;
3614 wxWindow *result;
3615 wxPoint temp1 ;
3616 PyObject * obj0 = 0 ;
3617 char *kwnames[] = {
3618 (char *) "pt", NULL
3619 };
3620
3621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
3622 {
3623 arg1 = &temp1;
3624 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3625 }
3626 {
3627 PyThreadState* __tstate = wxPyBeginAllowThreads();
3628 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
3629
3630 wxPyEndAllowThreads(__tstate);
3631 if (PyErr_Occurred()) SWIG_fail;
3632 }
3633 {
3634 resultobj = wxPyMake_wxObject(result);
3635 }
3636 return resultobj;
3637 fail:
3638 return NULL;
3639 }
3640
3641
3642 static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3643 PyObject *resultobj;
3644 wxWindow *arg1 = (wxWindow *) 0 ;
3645 wxWindow *result;
3646 PyObject * obj0 = 0 ;
3647 char *kwnames[] = {
3648 (char *) "win", NULL
3649 };
3650
3651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
3652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3653 {
3654 PyThreadState* __tstate = wxPyBeginAllowThreads();
3655 result = (wxWindow *)wxGetTopLevelParent(arg1);
3656
3657 wxPyEndAllowThreads(__tstate);
3658 if (PyErr_Occurred()) SWIG_fail;
3659 }
3660 {
3661 resultobj = wxPyMake_wxObject(result);
3662 }
3663 return resultobj;
3664 fail:
3665 return NULL;
3666 }
3667
3668
3669 static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
3670 PyObject *resultobj;
3671 char *kwnames[] = {
3672 NULL
3673 };
3674
3675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
3676 {
3677 PyThreadState* __tstate = wxPyBeginAllowThreads();
3678 wxWakeUpMainThread();
3679
3680 wxPyEndAllowThreads(__tstate);
3681 if (PyErr_Occurred()) SWIG_fail;
3682 }
3683 Py_INCREF(Py_None); resultobj = Py_None;
3684 return resultobj;
3685 fail:
3686 return NULL;
3687 }
3688
3689
3690 static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
3691 PyObject *resultobj;
3692 char *kwnames[] = {
3693 NULL
3694 };
3695
3696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
3697 {
3698 PyThreadState* __tstate = wxPyBeginAllowThreads();
3699 wxMutexGuiEnter();
3700
3701 wxPyEndAllowThreads(__tstate);
3702 if (PyErr_Occurred()) SWIG_fail;
3703 }
3704 Py_INCREF(Py_None); resultobj = Py_None;
3705 return resultobj;
3706 fail:
3707 return NULL;
3708 }
3709
3710
3711 static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
3712 PyObject *resultobj;
3713 char *kwnames[] = {
3714 NULL
3715 };
3716
3717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
3718 {
3719 PyThreadState* __tstate = wxPyBeginAllowThreads();
3720 wxMutexGuiLeave();
3721
3722 wxPyEndAllowThreads(__tstate);
3723 if (PyErr_Occurred()) SWIG_fail;
3724 }
3725 Py_INCREF(Py_None); resultobj = Py_None;
3726 return resultobj;
3727 fail:
3728 return NULL;
3729 }
3730
3731
3732 static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3733 PyObject *resultobj;
3734 wxMutexGuiLocker *result;
3735 char *kwnames[] = {
3736 NULL
3737 };
3738
3739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
3740 {
3741 PyThreadState* __tstate = wxPyBeginAllowThreads();
3742 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
3743
3744 wxPyEndAllowThreads(__tstate);
3745 if (PyErr_Occurred()) SWIG_fail;
3746 }
3747 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMutexGuiLocker, 1);
3748 return resultobj;
3749 fail:
3750 return NULL;
3751 }
3752
3753
3754 static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3755 PyObject *resultobj;
3756 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
3757 PyObject * obj0 = 0 ;
3758 char *kwnames[] = {
3759 (char *) "self", NULL
3760 };
3761
3762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
3763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMutexGuiLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3764 {
3765 PyThreadState* __tstate = wxPyBeginAllowThreads();
3766 delete arg1;
3767
3768 wxPyEndAllowThreads(__tstate);
3769 if (PyErr_Occurred()) SWIG_fail;
3770 }
3771 Py_INCREF(Py_None); resultobj = Py_None;
3772 return resultobj;
3773 fail:
3774 return NULL;
3775 }
3776
3777
3778 static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
3779 PyObject *obj;
3780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3781 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
3782 Py_INCREF(obj);
3783 return Py_BuildValue((char *)"");
3784 }
3785 static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
3786 PyObject *resultobj;
3787 bool result;
3788 char *kwnames[] = {
3789 NULL
3790 };
3791
3792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
3793 {
3794 PyThreadState* __tstate = wxPyBeginAllowThreads();
3795 result = (bool)wxThread_IsMain();
3796
3797 wxPyEndAllowThreads(__tstate);
3798 if (PyErr_Occurred()) SWIG_fail;
3799 }
3800 resultobj = PyInt_FromLong((long)result);
3801 return resultobj;
3802 fail:
3803 return NULL;
3804 }
3805
3806
3807 static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3808 PyObject *resultobj;
3809 wxString *arg1 = 0 ;
3810 wxToolTip *result;
3811 bool temp1 = False ;
3812 PyObject * obj0 = 0 ;
3813 char *kwnames[] = {
3814 (char *) "tip", NULL
3815 };
3816
3817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
3818 {
3819 arg1 = wxString_in_helper(obj0);
3820 if (arg1 == NULL) SWIG_fail;
3821 temp1 = True;
3822 }
3823 {
3824 PyThreadState* __tstate = wxPyBeginAllowThreads();
3825 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
3826
3827 wxPyEndAllowThreads(__tstate);
3828 if (PyErr_Occurred()) SWIG_fail;
3829 }
3830 {
3831 resultobj = wxPyMake_wxObject(result);
3832 }
3833 {
3834 if (temp1)
3835 delete arg1;
3836 }
3837 return resultobj;
3838 fail:
3839 {
3840 if (temp1)
3841 delete arg1;
3842 }
3843 return NULL;
3844 }
3845
3846
3847 static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3848 PyObject *resultobj;
3849 wxToolTip *arg1 = (wxToolTip *) 0 ;
3850 wxString *arg2 = 0 ;
3851 bool temp2 = False ;
3852 PyObject * obj0 = 0 ;
3853 PyObject * obj1 = 0 ;
3854 char *kwnames[] = {
3855 (char *) "self",(char *) "tip", NULL
3856 };
3857
3858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
3859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3860 {
3861 arg2 = wxString_in_helper(obj1);
3862 if (arg2 == NULL) SWIG_fail;
3863 temp2 = True;
3864 }
3865 {
3866 PyThreadState* __tstate = wxPyBeginAllowThreads();
3867 (arg1)->SetTip((wxString const &)*arg2);
3868
3869 wxPyEndAllowThreads(__tstate);
3870 if (PyErr_Occurred()) SWIG_fail;
3871 }
3872 Py_INCREF(Py_None); resultobj = Py_None;
3873 {
3874 if (temp2)
3875 delete arg2;
3876 }
3877 return resultobj;
3878 fail:
3879 {
3880 if (temp2)
3881 delete arg2;
3882 }
3883 return NULL;
3884 }
3885
3886
3887 static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3888 PyObject *resultobj;
3889 wxToolTip *arg1 = (wxToolTip *) 0 ;
3890 wxString result;
3891 PyObject * obj0 = 0 ;
3892 char *kwnames[] = {
3893 (char *) "self", NULL
3894 };
3895
3896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
3897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3898 {
3899 PyThreadState* __tstate = wxPyBeginAllowThreads();
3900 result = (arg1)->GetTip();
3901
3902 wxPyEndAllowThreads(__tstate);
3903 if (PyErr_Occurred()) SWIG_fail;
3904 }
3905 {
3906 #if wxUSE_UNICODE
3907 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3908 #else
3909 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3910 #endif
3911 }
3912 return resultobj;
3913 fail:
3914 return NULL;
3915 }
3916
3917
3918 static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3919 PyObject *resultobj;
3920 wxToolTip *arg1 = (wxToolTip *) 0 ;
3921 wxWindow *result;
3922 PyObject * obj0 = 0 ;
3923 char *kwnames[] = {
3924 (char *) "self", NULL
3925 };
3926
3927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
3928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3929 {
3930 PyThreadState* __tstate = wxPyBeginAllowThreads();
3931 result = (wxWindow *)(arg1)->GetWindow();
3932
3933 wxPyEndAllowThreads(__tstate);
3934 if (PyErr_Occurred()) SWIG_fail;
3935 }
3936 {
3937 resultobj = wxPyMake_wxObject(result);
3938 }
3939 return resultobj;
3940 fail:
3941 return NULL;
3942 }
3943
3944
3945 static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
3946 PyObject *resultobj;
3947 bool arg1 ;
3948 PyObject * obj0 = 0 ;
3949 char *kwnames[] = {
3950 (char *) "flag", NULL
3951 };
3952
3953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
3954 arg1 = PyInt_AsLong(obj0) ? true : false;
3955 if (PyErr_Occurred()) SWIG_fail;
3956 {
3957 PyThreadState* __tstate = wxPyBeginAllowThreads();
3958 wxToolTip::Enable(arg1);
3959
3960 wxPyEndAllowThreads(__tstate);
3961 if (PyErr_Occurred()) SWIG_fail;
3962 }
3963 Py_INCREF(Py_None); resultobj = Py_None;
3964 return resultobj;
3965 fail:
3966 return NULL;
3967 }
3968
3969
3970 static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
3971 PyObject *resultobj;
3972 long arg1 ;
3973 char *kwnames[] = {
3974 (char *) "milliseconds", NULL
3975 };
3976
3977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:ToolTip_SetDelay",kwnames,&arg1)) goto fail;
3978 {
3979 PyThreadState* __tstate = wxPyBeginAllowThreads();
3980 wxToolTip::SetDelay(arg1);
3981
3982 wxPyEndAllowThreads(__tstate);
3983 if (PyErr_Occurred()) SWIG_fail;
3984 }
3985 Py_INCREF(Py_None); resultobj = Py_None;
3986 return resultobj;
3987 fail:
3988 return NULL;
3989 }
3990
3991
3992 static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
3993 PyObject *obj;
3994 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3995 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
3996 Py_INCREF(obj);
3997 return Py_BuildValue((char *)"");
3998 }
3999 static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4000 PyObject *resultobj;
4001 wxWindow *arg1 = (wxWindow *) 0 ;
4002 wxSize *arg2 = 0 ;
4003 wxCaret *result;
4004 wxSize temp2 ;
4005 PyObject * obj0 = 0 ;
4006 PyObject * obj1 = 0 ;
4007 char *kwnames[] = {
4008 (char *) "window",(char *) "size", NULL
4009 };
4010
4011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4013 {
4014 arg2 = &temp2;
4015 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4016 }
4017 {
4018 PyThreadState* __tstate = wxPyBeginAllowThreads();
4019 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4020
4021 wxPyEndAllowThreads(__tstate);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
4024 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 1);
4025 return resultobj;
4026 fail:
4027 return NULL;
4028 }
4029
4030
4031 static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4032 PyObject *resultobj;
4033 wxCaret *arg1 = (wxCaret *) 0 ;
4034 PyObject * obj0 = 0 ;
4035 char *kwnames[] = {
4036 (char *) "self", NULL
4037 };
4038
4039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4041 {
4042 PyThreadState* __tstate = wxPyBeginAllowThreads();
4043 delete arg1;
4044
4045 wxPyEndAllowThreads(__tstate);
4046 if (PyErr_Occurred()) SWIG_fail;
4047 }
4048 Py_INCREF(Py_None); resultobj = Py_None;
4049 return resultobj;
4050 fail:
4051 return NULL;
4052 }
4053
4054
4055 static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4056 PyObject *resultobj;
4057 wxCaret *arg1 = (wxCaret *) 0 ;
4058 bool result;
4059 PyObject * obj0 = 0 ;
4060 char *kwnames[] = {
4061 (char *) "self", NULL
4062 };
4063
4064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4066 {
4067 PyThreadState* __tstate = wxPyBeginAllowThreads();
4068 result = (bool)(arg1)->IsOk();
4069
4070 wxPyEndAllowThreads(__tstate);
4071 if (PyErr_Occurred()) SWIG_fail;
4072 }
4073 resultobj = PyInt_FromLong((long)result);
4074 return resultobj;
4075 fail:
4076 return NULL;
4077 }
4078
4079
4080 static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4081 PyObject *resultobj;
4082 wxCaret *arg1 = (wxCaret *) 0 ;
4083 bool result;
4084 PyObject * obj0 = 0 ;
4085 char *kwnames[] = {
4086 (char *) "self", NULL
4087 };
4088
4089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4091 {
4092 PyThreadState* __tstate = wxPyBeginAllowThreads();
4093 result = (bool)(arg1)->IsVisible();
4094
4095 wxPyEndAllowThreads(__tstate);
4096 if (PyErr_Occurred()) SWIG_fail;
4097 }
4098 resultobj = PyInt_FromLong((long)result);
4099 return resultobj;
4100 fail:
4101 return NULL;
4102 }
4103
4104
4105 static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4106 PyObject *resultobj;
4107 wxCaret *arg1 = (wxCaret *) 0 ;
4108 wxPoint result;
4109 PyObject * obj0 = 0 ;
4110 char *kwnames[] = {
4111 (char *) "self", NULL
4112 };
4113
4114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4116 {
4117 PyThreadState* __tstate = wxPyBeginAllowThreads();
4118 result = (arg1)->GetPosition();
4119
4120 wxPyEndAllowThreads(__tstate);
4121 if (PyErr_Occurred()) SWIG_fail;
4122 }
4123 {
4124 wxPoint * resultptr;
4125 resultptr = new wxPoint((wxPoint &) result);
4126 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4127 }
4128 return resultobj;
4129 fail:
4130 return NULL;
4131 }
4132
4133
4134 static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4135 PyObject *resultobj;
4136 wxCaret *arg1 = (wxCaret *) 0 ;
4137 int *arg2 = (int *) 0 ;
4138 int *arg3 = (int *) 0 ;
4139 int temp2 ;
4140 int temp3 ;
4141 PyObject * obj0 = 0 ;
4142 char *kwnames[] = {
4143 (char *) "self", NULL
4144 };
4145
4146 arg2 = &temp2;
4147 arg3 = &temp3;
4148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4150 {
4151 PyThreadState* __tstate = wxPyBeginAllowThreads();
4152 (arg1)->GetPosition(arg2,arg3);
4153
4154 wxPyEndAllowThreads(__tstate);
4155 if (PyErr_Occurred()) SWIG_fail;
4156 }
4157 Py_INCREF(Py_None); resultobj = Py_None;
4158 {
4159 PyObject *o = PyInt_FromLong((long) (*arg2));
4160 resultobj = t_output_helper(resultobj,o);
4161 }
4162 {
4163 PyObject *o = PyInt_FromLong((long) (*arg3));
4164 resultobj = t_output_helper(resultobj,o);
4165 }
4166 return resultobj;
4167 fail:
4168 return NULL;
4169 }
4170
4171
4172 static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4173 PyObject *resultobj;
4174 wxCaret *arg1 = (wxCaret *) 0 ;
4175 wxSize result;
4176 PyObject * obj0 = 0 ;
4177 char *kwnames[] = {
4178 (char *) "self", NULL
4179 };
4180
4181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4183 {
4184 PyThreadState* __tstate = wxPyBeginAllowThreads();
4185 result = (arg1)->GetSize();
4186
4187 wxPyEndAllowThreads(__tstate);
4188 if (PyErr_Occurred()) SWIG_fail;
4189 }
4190 {
4191 wxSize * resultptr;
4192 resultptr = new wxSize((wxSize &) result);
4193 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
4194 }
4195 return resultobj;
4196 fail:
4197 return NULL;
4198 }
4199
4200
4201 static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4202 PyObject *resultobj;
4203 wxCaret *arg1 = (wxCaret *) 0 ;
4204 int *arg2 = (int *) 0 ;
4205 int *arg3 = (int *) 0 ;
4206 int temp2 ;
4207 int temp3 ;
4208 PyObject * obj0 = 0 ;
4209 char *kwnames[] = {
4210 (char *) "self", NULL
4211 };
4212
4213 arg2 = &temp2;
4214 arg3 = &temp3;
4215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4217 {
4218 PyThreadState* __tstate = wxPyBeginAllowThreads();
4219 (arg1)->GetSize(arg2,arg3);
4220
4221 wxPyEndAllowThreads(__tstate);
4222 if (PyErr_Occurred()) SWIG_fail;
4223 }
4224 Py_INCREF(Py_None); resultobj = Py_None;
4225 {
4226 PyObject *o = PyInt_FromLong((long) (*arg2));
4227 resultobj = t_output_helper(resultobj,o);
4228 }
4229 {
4230 PyObject *o = PyInt_FromLong((long) (*arg3));
4231 resultobj = t_output_helper(resultobj,o);
4232 }
4233 return resultobj;
4234 fail:
4235 return NULL;
4236 }
4237
4238
4239 static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4240 PyObject *resultobj;
4241 wxCaret *arg1 = (wxCaret *) 0 ;
4242 wxWindow *result;
4243 PyObject * obj0 = 0 ;
4244 char *kwnames[] = {
4245 (char *) "self", NULL
4246 };
4247
4248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4250 {
4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
4252 result = (wxWindow *)(arg1)->GetWindow();
4253
4254 wxPyEndAllowThreads(__tstate);
4255 if (PyErr_Occurred()) SWIG_fail;
4256 }
4257 {
4258 resultobj = wxPyMake_wxObject(result);
4259 }
4260 return resultobj;
4261 fail:
4262 return NULL;
4263 }
4264
4265
4266 static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4267 PyObject *resultobj;
4268 wxCaret *arg1 = (wxCaret *) 0 ;
4269 int arg2 ;
4270 int arg3 ;
4271 PyObject * obj0 = 0 ;
4272 char *kwnames[] = {
4273 (char *) "self",(char *) "x",(char *) "y", NULL
4274 };
4275
4276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_MoveXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
4277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4278 {
4279 PyThreadState* __tstate = wxPyBeginAllowThreads();
4280 (arg1)->Move(arg2,arg3);
4281
4282 wxPyEndAllowThreads(__tstate);
4283 if (PyErr_Occurred()) SWIG_fail;
4284 }
4285 Py_INCREF(Py_None); resultobj = Py_None;
4286 return resultobj;
4287 fail:
4288 return NULL;
4289 }
4290
4291
4292 static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4293 PyObject *resultobj;
4294 wxCaret *arg1 = (wxCaret *) 0 ;
4295 wxPoint *arg2 = 0 ;
4296 wxPoint temp2 ;
4297 PyObject * obj0 = 0 ;
4298 PyObject * obj1 = 0 ;
4299 char *kwnames[] = {
4300 (char *) "self",(char *) "pt", NULL
4301 };
4302
4303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4305 {
4306 arg2 = &temp2;
4307 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4308 }
4309 {
4310 PyThreadState* __tstate = wxPyBeginAllowThreads();
4311 (arg1)->Move((wxPoint const &)*arg2);
4312
4313 wxPyEndAllowThreads(__tstate);
4314 if (PyErr_Occurred()) SWIG_fail;
4315 }
4316 Py_INCREF(Py_None); resultobj = Py_None;
4317 return resultobj;
4318 fail:
4319 return NULL;
4320 }
4321
4322
4323 static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4324 PyObject *resultobj;
4325 wxCaret *arg1 = (wxCaret *) 0 ;
4326 int arg2 ;
4327 int arg3 ;
4328 PyObject * obj0 = 0 ;
4329 char *kwnames[] = {
4330 (char *) "self",(char *) "width",(char *) "height", NULL
4331 };
4332
4333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
4334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4335 {
4336 PyThreadState* __tstate = wxPyBeginAllowThreads();
4337 (arg1)->SetSize(arg2,arg3);
4338
4339 wxPyEndAllowThreads(__tstate);
4340 if (PyErr_Occurred()) SWIG_fail;
4341 }
4342 Py_INCREF(Py_None); resultobj = Py_None;
4343 return resultobj;
4344 fail:
4345 return NULL;
4346 }
4347
4348
4349 static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4350 PyObject *resultobj;
4351 wxCaret *arg1 = (wxCaret *) 0 ;
4352 wxSize *arg2 = 0 ;
4353 wxSize temp2 ;
4354 PyObject * obj0 = 0 ;
4355 PyObject * obj1 = 0 ;
4356 char *kwnames[] = {
4357 (char *) "self",(char *) "size", NULL
4358 };
4359
4360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4362 {
4363 arg2 = &temp2;
4364 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4365 }
4366 {
4367 PyThreadState* __tstate = wxPyBeginAllowThreads();
4368 (arg1)->SetSize((wxSize const &)*arg2);
4369
4370 wxPyEndAllowThreads(__tstate);
4371 if (PyErr_Occurred()) SWIG_fail;
4372 }
4373 Py_INCREF(Py_None); resultobj = Py_None;
4374 return resultobj;
4375 fail:
4376 return NULL;
4377 }
4378
4379
4380 static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4381 PyObject *resultobj;
4382 wxCaret *arg1 = (wxCaret *) 0 ;
4383 int arg2 = (int) True ;
4384 PyObject * obj0 = 0 ;
4385 char *kwnames[] = {
4386 (char *) "self",(char *) "show", NULL
4387 };
4388
4389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Caret_Show",kwnames,&obj0,&arg2)) goto fail;
4390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4391 {
4392 PyThreadState* __tstate = wxPyBeginAllowThreads();
4393 (arg1)->Show(arg2);
4394
4395 wxPyEndAllowThreads(__tstate);
4396 if (PyErr_Occurred()) SWIG_fail;
4397 }
4398 Py_INCREF(Py_None); resultobj = Py_None;
4399 return resultobj;
4400 fail:
4401 return NULL;
4402 }
4403
4404
4405 static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4406 PyObject *resultobj;
4407 wxCaret *arg1 = (wxCaret *) 0 ;
4408 PyObject * obj0 = 0 ;
4409 char *kwnames[] = {
4410 (char *) "self", NULL
4411 };
4412
4413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4415 {
4416 PyThreadState* __tstate = wxPyBeginAllowThreads();
4417 (arg1)->Hide();
4418
4419 wxPyEndAllowThreads(__tstate);
4420 if (PyErr_Occurred()) SWIG_fail;
4421 }
4422 Py_INCREF(Py_None); resultobj = Py_None;
4423 return resultobj;
4424 fail:
4425 return NULL;
4426 }
4427
4428
4429 static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4430 PyObject *obj;
4431 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4432 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4433 Py_INCREF(obj);
4434 return Py_BuildValue((char *)"");
4435 }
4436 static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4437 PyObject *resultobj;
4438 int result;
4439 char *kwnames[] = {
4440 NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4444 {
4445 PyThreadState* __tstate = wxPyBeginAllowThreads();
4446 result = (int)wxCaret_GetBlinkTime();
4447
4448 wxPyEndAllowThreads(__tstate);
4449 if (PyErr_Occurred()) SWIG_fail;
4450 }
4451 resultobj = PyInt_FromLong((long)result);
4452 return resultobj;
4453 fail:
4454 return NULL;
4455 }
4456
4457
4458 static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4459 PyObject *resultobj;
4460 int arg1 ;
4461 char *kwnames[] = {
4462 (char *) "milliseconds", NULL
4463 };
4464
4465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Caret_SetBlinkTime",kwnames,&arg1)) goto fail;
4466 {
4467 PyThreadState* __tstate = wxPyBeginAllowThreads();
4468 wxCaret_SetBlinkTime(arg1);
4469
4470 wxPyEndAllowThreads(__tstate);
4471 if (PyErr_Occurred()) SWIG_fail;
4472 }
4473 Py_INCREF(Py_None); resultobj = Py_None;
4474 return resultobj;
4475 fail:
4476 return NULL;
4477 }
4478
4479
4480 static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4481 PyObject *resultobj;
4482 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4483 wxBusyCursor *result;
4484 PyObject * obj0 = 0 ;
4485 char *kwnames[] = {
4486 (char *) "cursor", NULL
4487 };
4488
4489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
4490 if (obj0) {
4491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4492 }
4493 {
4494 PyThreadState* __tstate = wxPyBeginAllowThreads();
4495 result = (wxBusyCursor *)new wxBusyCursor(arg1);
4496
4497 wxPyEndAllowThreads(__tstate);
4498 if (PyErr_Occurred()) SWIG_fail;
4499 }
4500 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyCursor, 1);
4501 return resultobj;
4502 fail:
4503 return NULL;
4504 }
4505
4506
4507 static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4508 PyObject *resultobj;
4509 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
4510 PyObject * obj0 = 0 ;
4511 char *kwnames[] = {
4512 (char *) "self", NULL
4513 };
4514
4515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
4516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4517 {
4518 PyThreadState* __tstate = wxPyBeginAllowThreads();
4519 delete arg1;
4520
4521 wxPyEndAllowThreads(__tstate);
4522 if (PyErr_Occurred()) SWIG_fail;
4523 }
4524 Py_INCREF(Py_None); resultobj = Py_None;
4525 return resultobj;
4526 fail:
4527 return NULL;
4528 }
4529
4530
4531 static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
4532 PyObject *obj;
4533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4534 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
4535 Py_INCREF(obj);
4536 return Py_BuildValue((char *)"");
4537 }
4538 static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4539 PyObject *resultobj;
4540 wxWindow *arg1 = (wxWindow *) NULL ;
4541 wxWindowDisabler *result;
4542 PyObject * obj0 = 0 ;
4543 char *kwnames[] = {
4544 (char *) "winToSkip", NULL
4545 };
4546
4547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
4548 if (obj0) {
4549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4550 }
4551 {
4552 PyThreadState* __tstate = wxPyBeginAllowThreads();
4553 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
4554
4555 wxPyEndAllowThreads(__tstate);
4556 if (PyErr_Occurred()) SWIG_fail;
4557 }
4558 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDisabler, 1);
4559 return resultobj;
4560 fail:
4561 return NULL;
4562 }
4563
4564
4565 static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4566 PyObject *resultobj;
4567 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
4568 PyObject * obj0 = 0 ;
4569 char *kwnames[] = {
4570 (char *) "self", NULL
4571 };
4572
4573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
4574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4575 {
4576 PyThreadState* __tstate = wxPyBeginAllowThreads();
4577 delete arg1;
4578
4579 wxPyEndAllowThreads(__tstate);
4580 if (PyErr_Occurred()) SWIG_fail;
4581 }
4582 Py_INCREF(Py_None); resultobj = Py_None;
4583 return resultobj;
4584 fail:
4585 return NULL;
4586 }
4587
4588
4589 static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
4590 PyObject *obj;
4591 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4592 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
4593 Py_INCREF(obj);
4594 return Py_BuildValue((char *)"");
4595 }
4596 static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4597 PyObject *resultobj;
4598 wxString *arg1 = 0 ;
4599 wxBusyInfo *result;
4600 bool temp1 = False ;
4601 PyObject * obj0 = 0 ;
4602 char *kwnames[] = {
4603 (char *) "message", NULL
4604 };
4605
4606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
4607 {
4608 arg1 = wxString_in_helper(obj0);
4609 if (arg1 == NULL) SWIG_fail;
4610 temp1 = True;
4611 }
4612 {
4613 PyThreadState* __tstate = wxPyBeginAllowThreads();
4614 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
4615
4616 wxPyEndAllowThreads(__tstate);
4617 if (PyErr_Occurred()) SWIG_fail;
4618 }
4619 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyInfo, 1);
4620 {
4621 if (temp1)
4622 delete arg1;
4623 }
4624 return resultobj;
4625 fail:
4626 {
4627 if (temp1)
4628 delete arg1;
4629 }
4630 return NULL;
4631 }
4632
4633
4634 static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4635 PyObject *resultobj;
4636 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
4637 PyObject * obj0 = 0 ;
4638 char *kwnames[] = {
4639 (char *) "self", NULL
4640 };
4641
4642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
4643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4644 {
4645 PyThreadState* __tstate = wxPyBeginAllowThreads();
4646 delete arg1;
4647
4648 wxPyEndAllowThreads(__tstate);
4649 if (PyErr_Occurred()) SWIG_fail;
4650 }
4651 Py_INCREF(Py_None); resultobj = Py_None;
4652 return resultobj;
4653 fail:
4654 return NULL;
4655 }
4656
4657
4658 static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
4659 PyObject *obj;
4660 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4661 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
4662 Py_INCREF(obj);
4663 return Py_BuildValue((char *)"");
4664 }
4665 static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
4666 PyObject *resultobj;
4667 wxStopWatch *result;
4668 char *kwnames[] = {
4669 NULL
4670 };
4671
4672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
4673 {
4674 PyThreadState* __tstate = wxPyBeginAllowThreads();
4675 result = (wxStopWatch *)new wxStopWatch();
4676
4677 wxPyEndAllowThreads(__tstate);
4678 if (PyErr_Occurred()) SWIG_fail;
4679 }
4680 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStopWatch, 1);
4681 return resultobj;
4682 fail:
4683 return NULL;
4684 }
4685
4686
4687 static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
4688 PyObject *resultobj;
4689 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4690 long arg2 = (long) 0 ;
4691 PyObject * obj0 = 0 ;
4692 char *kwnames[] = {
4693 (char *) "self",(char *) "t0", NULL
4694 };
4695
4696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:StopWatch_Start",kwnames,&obj0,&arg2)) goto fail;
4697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4698 {
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 (arg1)->Start(arg2);
4701
4702 wxPyEndAllowThreads(__tstate);
4703 if (PyErr_Occurred()) SWIG_fail;
4704 }
4705 Py_INCREF(Py_None); resultobj = Py_None;
4706 return resultobj;
4707 fail:
4708 return NULL;
4709 }
4710
4711
4712 static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
4713 PyObject *resultobj;
4714 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4715 PyObject * obj0 = 0 ;
4716 char *kwnames[] = {
4717 (char *) "self", NULL
4718 };
4719
4720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
4721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4722 {
4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
4724 (arg1)->Pause();
4725
4726 wxPyEndAllowThreads(__tstate);
4727 if (PyErr_Occurred()) SWIG_fail;
4728 }
4729 Py_INCREF(Py_None); resultobj = Py_None;
4730 return resultobj;
4731 fail:
4732 return NULL;
4733 }
4734
4735
4736 static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4737 PyObject *resultobj;
4738 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4739 PyObject * obj0 = 0 ;
4740 char *kwnames[] = {
4741 (char *) "self", NULL
4742 };
4743
4744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
4745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4746 {
4747 PyThreadState* __tstate = wxPyBeginAllowThreads();
4748 (arg1)->Resume();
4749
4750 wxPyEndAllowThreads(__tstate);
4751 if (PyErr_Occurred()) SWIG_fail;
4752 }
4753 Py_INCREF(Py_None); resultobj = Py_None;
4754 return resultobj;
4755 fail:
4756 return NULL;
4757 }
4758
4759
4760 static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
4761 PyObject *resultobj;
4762 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4763 long result;
4764 PyObject * obj0 = 0 ;
4765 char *kwnames[] = {
4766 (char *) "self", NULL
4767 };
4768
4769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
4770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4771 {
4772 PyThreadState* __tstate = wxPyBeginAllowThreads();
4773 result = (long)((wxStopWatch const *)arg1)->Time();
4774
4775 wxPyEndAllowThreads(__tstate);
4776 if (PyErr_Occurred()) SWIG_fail;
4777 }
4778 resultobj = PyInt_FromLong((long)result);
4779 return resultobj;
4780 fail:
4781 return NULL;
4782 }
4783
4784
4785 static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
4786 PyObject *obj;
4787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4788 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
4789 Py_INCREF(obj);
4790 return Py_BuildValue((char *)"");
4791 }
4792 static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4793 PyObject *resultobj;
4794 int arg1 = (int) 9 ;
4795 wxFileHistory *result;
4796 char *kwnames[] = {
4797 (char *) "maxFiles", NULL
4798 };
4799
4800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FileHistory",kwnames,&arg1)) goto fail;
4801 {
4802 PyThreadState* __tstate = wxPyBeginAllowThreads();
4803 result = (wxFileHistory *)new wxFileHistory(arg1);
4804
4805 wxPyEndAllowThreads(__tstate);
4806 if (PyErr_Occurred()) SWIG_fail;
4807 }
4808 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileHistory, 1);
4809 return resultobj;
4810 fail:
4811 return NULL;
4812 }
4813
4814
4815 static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4816 PyObject *resultobj;
4817 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4818 PyObject * obj0 = 0 ;
4819 char *kwnames[] = {
4820 (char *) "self", NULL
4821 };
4822
4823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
4824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4825 {
4826 PyThreadState* __tstate = wxPyBeginAllowThreads();
4827 delete arg1;
4828
4829 wxPyEndAllowThreads(__tstate);
4830 if (PyErr_Occurred()) SWIG_fail;
4831 }
4832 Py_INCREF(Py_None); resultobj = Py_None;
4833 return resultobj;
4834 fail:
4835 return NULL;
4836 }
4837
4838
4839 static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4840 PyObject *resultobj;
4841 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4842 wxString *arg2 = 0 ;
4843 bool temp2 = False ;
4844 PyObject * obj0 = 0 ;
4845 PyObject * obj1 = 0 ;
4846 char *kwnames[] = {
4847 (char *) "self",(char *) "file", NULL
4848 };
4849
4850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
4851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4852 {
4853 arg2 = wxString_in_helper(obj1);
4854 if (arg2 == NULL) SWIG_fail;
4855 temp2 = True;
4856 }
4857 {
4858 PyThreadState* __tstate = wxPyBeginAllowThreads();
4859 (arg1)->AddFileToHistory((wxString const &)*arg2);
4860
4861 wxPyEndAllowThreads(__tstate);
4862 if (PyErr_Occurred()) SWIG_fail;
4863 }
4864 Py_INCREF(Py_None); resultobj = Py_None;
4865 {
4866 if (temp2)
4867 delete arg2;
4868 }
4869 return resultobj;
4870 fail:
4871 {
4872 if (temp2)
4873 delete arg2;
4874 }
4875 return NULL;
4876 }
4877
4878
4879 static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4880 PyObject *resultobj;
4881 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4882 int arg2 ;
4883 PyObject * obj0 = 0 ;
4884 char *kwnames[] = {
4885 (char *) "self",(char *) "i", NULL
4886 };
4887
4888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&arg2)) goto fail;
4889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4890 {
4891 PyThreadState* __tstate = wxPyBeginAllowThreads();
4892 (arg1)->RemoveFileFromHistory(arg2);
4893
4894 wxPyEndAllowThreads(__tstate);
4895 if (PyErr_Occurred()) SWIG_fail;
4896 }
4897 Py_INCREF(Py_None); resultobj = Py_None;
4898 return resultobj;
4899 fail:
4900 return NULL;
4901 }
4902
4903
4904 static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
4905 PyObject *resultobj;
4906 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4907 int result;
4908 PyObject * obj0 = 0 ;
4909 char *kwnames[] = {
4910 (char *) "self", NULL
4911 };
4912
4913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
4914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4915 {
4916 PyThreadState* __tstate = wxPyBeginAllowThreads();
4917 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
4918
4919 wxPyEndAllowThreads(__tstate);
4920 if (PyErr_Occurred()) SWIG_fail;
4921 }
4922 resultobj = PyInt_FromLong((long)result);
4923 return resultobj;
4924 fail:
4925 return NULL;
4926 }
4927
4928
4929 static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4930 PyObject *resultobj;
4931 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4932 wxMenu *arg2 = (wxMenu *) 0 ;
4933 PyObject * obj0 = 0 ;
4934 PyObject * obj1 = 0 ;
4935 char *kwnames[] = {
4936 (char *) "self",(char *) "menu", NULL
4937 };
4938
4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
4940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4941 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4942 {
4943 PyThreadState* __tstate = wxPyBeginAllowThreads();
4944 (arg1)->UseMenu(arg2);
4945
4946 wxPyEndAllowThreads(__tstate);
4947 if (PyErr_Occurred()) SWIG_fail;
4948 }
4949 Py_INCREF(Py_None); resultobj = Py_None;
4950 return resultobj;
4951 fail:
4952 return NULL;
4953 }
4954
4955
4956 static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4957 PyObject *resultobj;
4958 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4959 wxMenu *arg2 = (wxMenu *) 0 ;
4960 PyObject * obj0 = 0 ;
4961 PyObject * obj1 = 0 ;
4962 char *kwnames[] = {
4963 (char *) "self",(char *) "menu", NULL
4964 };
4965
4966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
4967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4968 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4969 {
4970 PyThreadState* __tstate = wxPyBeginAllowThreads();
4971 (arg1)->RemoveMenu(arg2);
4972
4973 wxPyEndAllowThreads(__tstate);
4974 if (PyErr_Occurred()) SWIG_fail;
4975 }
4976 Py_INCREF(Py_None); resultobj = Py_None;
4977 return resultobj;
4978 fail:
4979 return NULL;
4980 }
4981
4982
4983 static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
4984 PyObject *resultobj;
4985 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4986 wxConfigBase *arg2 = 0 ;
4987 PyObject * obj0 = 0 ;
4988 PyObject * obj1 = 0 ;
4989 char *kwnames[] = {
4990 (char *) "self",(char *) "config", NULL
4991 };
4992
4993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
4994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4995 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4996 if (arg2 == NULL) {
4997 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4998 }
4999 {
5000 PyThreadState* __tstate = wxPyBeginAllowThreads();
5001 (arg1)->Load(*arg2);
5002
5003 wxPyEndAllowThreads(__tstate);
5004 if (PyErr_Occurred()) SWIG_fail;
5005 }
5006 Py_INCREF(Py_None); resultobj = Py_None;
5007 return resultobj;
5008 fail:
5009 return NULL;
5010 }
5011
5012
5013 static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5014 PyObject *resultobj;
5015 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5016 wxConfigBase *arg2 = 0 ;
5017 PyObject * obj0 = 0 ;
5018 PyObject * obj1 = 0 ;
5019 char *kwnames[] = {
5020 (char *) "self",(char *) "config", NULL
5021 };
5022
5023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5025 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5026 if (arg2 == NULL) {
5027 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5028 }
5029 {
5030 PyThreadState* __tstate = wxPyBeginAllowThreads();
5031 (arg1)->Save(*arg2);
5032
5033 wxPyEndAllowThreads(__tstate);
5034 if (PyErr_Occurred()) SWIG_fail;
5035 }
5036 Py_INCREF(Py_None); resultobj = Py_None;
5037 return resultobj;
5038 fail:
5039 return NULL;
5040 }
5041
5042
5043 static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5044 PyObject *resultobj;
5045 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5046 PyObject * obj0 = 0 ;
5047 char *kwnames[] = {
5048 (char *) "self", NULL
5049 };
5050
5051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5053 {
5054 PyThreadState* __tstate = wxPyBeginAllowThreads();
5055 (arg1)->AddFilesToMenu();
5056
5057 wxPyEndAllowThreads(__tstate);
5058 if (PyErr_Occurred()) SWIG_fail;
5059 }
5060 Py_INCREF(Py_None); resultobj = Py_None;
5061 return resultobj;
5062 fail:
5063 return NULL;
5064 }
5065
5066
5067 static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5068 PyObject *resultobj;
5069 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5070 wxMenu *arg2 = (wxMenu *) 0 ;
5071 PyObject * obj0 = 0 ;
5072 PyObject * obj1 = 0 ;
5073 char *kwnames[] = {
5074 (char *) "self",(char *) "menu", NULL
5075 };
5076
5077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5079 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5080 {
5081 PyThreadState* __tstate = wxPyBeginAllowThreads();
5082 (arg1)->AddFilesToMenu(arg2);
5083
5084 wxPyEndAllowThreads(__tstate);
5085 if (PyErr_Occurred()) SWIG_fail;
5086 }
5087 Py_INCREF(Py_None); resultobj = Py_None;
5088 return resultobj;
5089 fail:
5090 return NULL;
5091 }
5092
5093
5094 static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5095 PyObject *resultobj;
5096 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5097 int arg2 ;
5098 wxString result;
5099 PyObject * obj0 = 0 ;
5100 char *kwnames[] = {
5101 (char *) "self",(char *) "i", NULL
5102 };
5103
5104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_GetHistoryFile",kwnames,&obj0,&arg2)) goto fail;
5105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5106 {
5107 PyThreadState* __tstate = wxPyBeginAllowThreads();
5108 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5109
5110 wxPyEndAllowThreads(__tstate);
5111 if (PyErr_Occurred()) SWIG_fail;
5112 }
5113 {
5114 #if wxUSE_UNICODE
5115 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5116 #else
5117 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5118 #endif
5119 }
5120 return resultobj;
5121 fail:
5122 return NULL;
5123 }
5124
5125
5126 static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5127 PyObject *resultobj;
5128 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5129 int result;
5130 PyObject * obj0 = 0 ;
5131 char *kwnames[] = {
5132 (char *) "self", NULL
5133 };
5134
5135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5137 {
5138 PyThreadState* __tstate = wxPyBeginAllowThreads();
5139 result = (int)((wxFileHistory const *)arg1)->GetCount();
5140
5141 wxPyEndAllowThreads(__tstate);
5142 if (PyErr_Occurred()) SWIG_fail;
5143 }
5144 resultobj = PyInt_FromLong((long)result);
5145 return resultobj;
5146 fail:
5147 return NULL;
5148 }
5149
5150
5151 static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5152 PyObject *obj;
5153 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5154 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5155 Py_INCREF(obj);
5156 return Py_BuildValue((char *)"");
5157 }
5158 static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5159 PyObject *resultobj;
5160 wxString *arg1 = 0 ;
5161 wxString const &arg2_defvalue = wxPyEmptyString ;
5162 wxString *arg2 = (wxString *) &arg2_defvalue ;
5163 wxSingleInstanceChecker *result;
5164 bool temp1 = False ;
5165 bool temp2 = False ;
5166 PyObject * obj0 = 0 ;
5167 PyObject * obj1 = 0 ;
5168 char *kwnames[] = {
5169 (char *) "name",(char *) "path", NULL
5170 };
5171
5172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5173 {
5174 arg1 = wxString_in_helper(obj0);
5175 if (arg1 == NULL) SWIG_fail;
5176 temp1 = True;
5177 }
5178 if (obj1) {
5179 {
5180 arg2 = wxString_in_helper(obj1);
5181 if (arg2 == NULL) SWIG_fail;
5182 temp2 = True;
5183 }
5184 }
5185 {
5186 PyThreadState* __tstate = wxPyBeginAllowThreads();
5187 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5188
5189 wxPyEndAllowThreads(__tstate);
5190 if (PyErr_Occurred()) SWIG_fail;
5191 }
5192 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5193 {
5194 if (temp1)
5195 delete arg1;
5196 }
5197 {
5198 if (temp2)
5199 delete arg2;
5200 }
5201 return resultobj;
5202 fail:
5203 {
5204 if (temp1)
5205 delete arg1;
5206 }
5207 {
5208 if (temp2)
5209 delete arg2;
5210 }
5211 return NULL;
5212 }
5213
5214
5215 static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5216 PyObject *resultobj;
5217 wxSingleInstanceChecker *result;
5218 char *kwnames[] = {
5219 NULL
5220 };
5221
5222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5223 {
5224 PyThreadState* __tstate = wxPyBeginAllowThreads();
5225 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5226
5227 wxPyEndAllowThreads(__tstate);
5228 if (PyErr_Occurred()) SWIG_fail;
5229 }
5230 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5231 return resultobj;
5232 fail:
5233 return NULL;
5234 }
5235
5236
5237 static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5238 PyObject *resultobj;
5239 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5240 PyObject * obj0 = 0 ;
5241 char *kwnames[] = {
5242 (char *) "self", NULL
5243 };
5244
5245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5247 {
5248 PyThreadState* __tstate = wxPyBeginAllowThreads();
5249 delete arg1;
5250
5251 wxPyEndAllowThreads(__tstate);
5252 if (PyErr_Occurred()) SWIG_fail;
5253 }
5254 Py_INCREF(Py_None); resultobj = Py_None;
5255 return resultobj;
5256 fail:
5257 return NULL;
5258 }
5259
5260
5261 static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5262 PyObject *resultobj;
5263 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5264 wxString *arg2 = 0 ;
5265 wxString const &arg3_defvalue = wxPyEmptyString ;
5266 wxString *arg3 = (wxString *) &arg3_defvalue ;
5267 bool result;
5268 bool temp2 = False ;
5269 bool temp3 = False ;
5270 PyObject * obj0 = 0 ;
5271 PyObject * obj1 = 0 ;
5272 PyObject * obj2 = 0 ;
5273 char *kwnames[] = {
5274 (char *) "self",(char *) "name",(char *) "path", NULL
5275 };
5276
5277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5279 {
5280 arg2 = wxString_in_helper(obj1);
5281 if (arg2 == NULL) SWIG_fail;
5282 temp2 = True;
5283 }
5284 if (obj2) {
5285 {
5286 arg3 = wxString_in_helper(obj2);
5287 if (arg3 == NULL) SWIG_fail;
5288 temp3 = True;
5289 }
5290 }
5291 {
5292 PyThreadState* __tstate = wxPyBeginAllowThreads();
5293 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5294
5295 wxPyEndAllowThreads(__tstate);
5296 if (PyErr_Occurred()) SWIG_fail;
5297 }
5298 resultobj = PyInt_FromLong((long)result);
5299 {
5300 if (temp2)
5301 delete arg2;
5302 }
5303 {
5304 if (temp3)
5305 delete arg3;
5306 }
5307 return resultobj;
5308 fail:
5309 {
5310 if (temp2)
5311 delete arg2;
5312 }
5313 {
5314 if (temp3)
5315 delete arg3;
5316 }
5317 return NULL;
5318 }
5319
5320
5321 static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5322 PyObject *resultobj;
5323 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5324 bool result;
5325 PyObject * obj0 = 0 ;
5326 char *kwnames[] = {
5327 (char *) "self", NULL
5328 };
5329
5330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5332 {
5333 PyThreadState* __tstate = wxPyBeginAllowThreads();
5334 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5335
5336 wxPyEndAllowThreads(__tstate);
5337 if (PyErr_Occurred()) SWIG_fail;
5338 }
5339 resultobj = PyInt_FromLong((long)result);
5340 return resultobj;
5341 fail:
5342 return NULL;
5343 }
5344
5345
5346 static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5347 PyObject *obj;
5348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5349 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5350 Py_INCREF(obj);
5351 return Py_BuildValue((char *)"");
5352 }
5353 static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5354 PyObject *resultobj;
5355 wxWindow *arg1 = (wxWindow *) 0 ;
5356 wxDC *arg2 = 0 ;
5357 int arg3 ;
5358 PyObject * obj0 = 0 ;
5359 PyObject * obj1 = 0 ;
5360 char *kwnames[] = {
5361 (char *) "window",(char *) "dc",(char *) "method", NULL
5362 };
5363
5364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DrawWindowOnDC",kwnames,&obj0,&obj1,&arg3)) goto fail;
5365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5366 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5367 if (arg2 == NULL) {
5368 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5369 }
5370 {
5371 PyThreadState* __tstate = wxPyBeginAllowThreads();
5372 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5373
5374 wxPyEndAllowThreads(__tstate);
5375 if (PyErr_Occurred()) SWIG_fail;
5376 }
5377 Py_INCREF(Py_None); resultobj = Py_None;
5378 return resultobj;
5379 fail:
5380 return NULL;
5381 }
5382
5383
5384 static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5385 PyObject *resultobj;
5386 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5387 PyObject * obj0 = 0 ;
5388 char *kwnames[] = {
5389 (char *) "self", NULL
5390 };
5391
5392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5394 {
5395 PyThreadState* __tstate = wxPyBeginAllowThreads();
5396 delete arg1;
5397
5398 wxPyEndAllowThreads(__tstate);
5399 if (PyErr_Occurred()) SWIG_fail;
5400 }
5401 Py_INCREF(Py_None); resultobj = Py_None;
5402 return resultobj;
5403 fail:
5404 return NULL;
5405 }
5406
5407
5408 static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5409 PyObject *resultobj;
5410 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5411 wxString result;
5412 PyObject * obj0 = 0 ;
5413 char *kwnames[] = {
5414 (char *) "self", NULL
5415 };
5416
5417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
5418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5419 {
5420 PyThreadState* __tstate = wxPyBeginAllowThreads();
5421 result = (arg1)->GetTip();
5422
5423 wxPyEndAllowThreads(__tstate);
5424 if (PyErr_Occurred()) SWIG_fail;
5425 }
5426 {
5427 #if wxUSE_UNICODE
5428 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5429 #else
5430 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5431 #endif
5432 }
5433 return resultobj;
5434 fail:
5435 return NULL;
5436 }
5437
5438
5439 static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5440 PyObject *resultobj;
5441 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5442 size_t result;
5443 PyObject * obj0 = 0 ;
5444 char *kwnames[] = {
5445 (char *) "self", NULL
5446 };
5447
5448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
5449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5450 {
5451 PyThreadState* __tstate = wxPyBeginAllowThreads();
5452 result = (size_t)(arg1)->GetCurrentTip();
5453
5454 wxPyEndAllowThreads(__tstate);
5455 if (PyErr_Occurred()) SWIG_fail;
5456 }
5457 resultobj = PyInt_FromLong((long)result);
5458 return resultobj;
5459 fail:
5460 return NULL;
5461 }
5462
5463
5464 static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5465 PyObject *resultobj;
5466 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5467 wxString *arg2 = 0 ;
5468 wxString result;
5469 bool temp2 = False ;
5470 PyObject * obj0 = 0 ;
5471 PyObject * obj1 = 0 ;
5472 char *kwnames[] = {
5473 (char *) "self",(char *) "tip", NULL
5474 };
5475
5476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
5477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5478 {
5479 arg2 = wxString_in_helper(obj1);
5480 if (arg2 == NULL) SWIG_fail;
5481 temp2 = True;
5482 }
5483 {
5484 PyThreadState* __tstate = wxPyBeginAllowThreads();
5485 result = (arg1)->PreprocessTip((wxString const &)*arg2);
5486
5487 wxPyEndAllowThreads(__tstate);
5488 if (PyErr_Occurred()) SWIG_fail;
5489 }
5490 {
5491 #if wxUSE_UNICODE
5492 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5493 #else
5494 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5495 #endif
5496 }
5497 {
5498 if (temp2)
5499 delete arg2;
5500 }
5501 return resultobj;
5502 fail:
5503 {
5504 if (temp2)
5505 delete arg2;
5506 }
5507 return NULL;
5508 }
5509
5510
5511 static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
5512 PyObject *obj;
5513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5514 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
5515 Py_INCREF(obj);
5516 return Py_BuildValue((char *)"");
5517 }
5518 static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5519 PyObject *resultobj;
5520 size_t arg1 ;
5521 wxPyTipProvider *result;
5522 PyObject * obj0 = 0 ;
5523 char *kwnames[] = {
5524 (char *) "currentTip", NULL
5525 };
5526
5527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
5528 arg1 = (size_t) PyInt_AsLong(obj0);
5529 if (PyErr_Occurred()) SWIG_fail;
5530 {
5531 PyThreadState* __tstate = wxPyBeginAllowThreads();
5532 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
5533
5534 wxPyEndAllowThreads(__tstate);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 }
5537 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTipProvider, 1);
5538 return resultobj;
5539 fail:
5540 return NULL;
5541 }
5542
5543
5544 static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5545 PyObject *resultobj;
5546 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
5547 PyObject *arg2 = (PyObject *) 0 ;
5548 PyObject *arg3 = (PyObject *) 0 ;
5549 PyObject * obj0 = 0 ;
5550 PyObject * obj1 = 0 ;
5551 PyObject * obj2 = 0 ;
5552 char *kwnames[] = {
5553 (char *) "self",(char *) "self",(char *) "_class", NULL
5554 };
5555
5556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5558 arg2 = obj1;
5559 arg3 = obj2;
5560 {
5561 PyThreadState* __tstate = wxPyBeginAllowThreads();
5562 (arg1)->_setCallbackInfo(arg2,arg3);
5563
5564 wxPyEndAllowThreads(__tstate);
5565 if (PyErr_Occurred()) SWIG_fail;
5566 }
5567 Py_INCREF(Py_None); resultobj = Py_None;
5568 return resultobj;
5569 fail:
5570 return NULL;
5571 }
5572
5573
5574 static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
5575 PyObject *obj;
5576 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5577 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
5578 Py_INCREF(obj);
5579 return Py_BuildValue((char *)"");
5580 }
5581 static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5582 PyObject *resultobj;
5583 wxWindow *arg1 = (wxWindow *) 0 ;
5584 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
5585 bool arg3 = (bool) True ;
5586 bool result;
5587 PyObject * obj0 = 0 ;
5588 PyObject * obj1 = 0 ;
5589 PyObject * obj2 = 0 ;
5590 char *kwnames[] = {
5591 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5592 };
5593
5594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
5595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5596 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5597 if (obj2) {
5598 arg3 = PyInt_AsLong(obj2) ? true : false;
5599 if (PyErr_Occurred()) SWIG_fail;
5600 }
5601 {
5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
5603 result = (bool)wxShowTip(arg1,arg2,arg3);
5604
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 resultobj = PyInt_FromLong((long)result);
5609 return resultobj;
5610 fail:
5611 return NULL;
5612 }
5613
5614
5615 static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5616 PyObject *resultobj;
5617 wxString *arg1 = 0 ;
5618 size_t arg2 ;
5619 wxTipProvider *result;
5620 bool temp1 = False ;
5621 PyObject * obj0 = 0 ;
5622 PyObject * obj1 = 0 ;
5623 char *kwnames[] = {
5624 (char *) "filename",(char *) "currentTip", NULL
5625 };
5626
5627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
5628 {
5629 arg1 = wxString_in_helper(obj0);
5630 if (arg1 == NULL) SWIG_fail;
5631 temp1 = True;
5632 }
5633 arg2 = (size_t) PyInt_AsLong(obj1);
5634 if (PyErr_Occurred()) SWIG_fail;
5635 {
5636 PyThreadState* __tstate = wxPyBeginAllowThreads();
5637 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
5638
5639 wxPyEndAllowThreads(__tstate);
5640 if (PyErr_Occurred()) SWIG_fail;
5641 }
5642 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipProvider, 1);
5643 {
5644 if (temp1)
5645 delete arg1;
5646 }
5647 return resultobj;
5648 fail:
5649 {
5650 if (temp1)
5651 delete arg1;
5652 }
5653 return NULL;
5654 }
5655
5656
5657 static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5658 PyObject *resultobj;
5659 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
5660 int arg2 = (int) -1 ;
5661 wxPyTimer *result;
5662 PyObject * obj0 = 0 ;
5663 char *kwnames[] = {
5664 (char *) "owner",(char *) "id", NULL
5665 };
5666
5667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Timer",kwnames,&obj0,&arg2)) goto fail;
5668 if (obj0) {
5669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5670 }
5671 {
5672 PyThreadState* __tstate = wxPyBeginAllowThreads();
5673 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
5674
5675 wxPyEndAllowThreads(__tstate);
5676 if (PyErr_Occurred()) SWIG_fail;
5677 }
5678 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTimer, 1);
5679 return resultobj;
5680 fail:
5681 return NULL;
5682 }
5683
5684
5685 static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5686 PyObject *resultobj;
5687 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5688 PyObject * obj0 = 0 ;
5689 char *kwnames[] = {
5690 (char *) "self", NULL
5691 };
5692
5693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
5694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5695 {
5696 PyThreadState* __tstate = wxPyBeginAllowThreads();
5697 delete arg1;
5698
5699 wxPyEndAllowThreads(__tstate);
5700 if (PyErr_Occurred()) SWIG_fail;
5701 }
5702 Py_INCREF(Py_None); resultobj = Py_None;
5703 return resultobj;
5704 fail:
5705 return NULL;
5706 }
5707
5708
5709 static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
5710 PyObject *resultobj;
5711 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5712 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
5713 int arg3 = (int) -1 ;
5714 PyObject * obj0 = 0 ;
5715 PyObject * obj1 = 0 ;
5716 char *kwnames[] = {
5717 (char *) "self",(char *) "owner",(char *) "id", NULL
5718 };
5719
5720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Timer_SetOwner",kwnames,&obj0,&obj1,&arg3)) goto fail;
5721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5722 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5723 {
5724 PyThreadState* __tstate = wxPyBeginAllowThreads();
5725 (arg1)->SetOwner(arg2,arg3);
5726
5727 wxPyEndAllowThreads(__tstate);
5728 if (PyErr_Occurred()) SWIG_fail;
5729 }
5730 Py_INCREF(Py_None); resultobj = Py_None;
5731 return resultobj;
5732 fail:
5733 return NULL;
5734 }
5735
5736
5737 static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5738 PyObject *resultobj;
5739 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5740 int arg2 = (int) -1 ;
5741 bool arg3 = (bool) False ;
5742 bool result;
5743 PyObject * obj0 = 0 ;
5744 PyObject * obj2 = 0 ;
5745 char *kwnames[] = {
5746 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5747 };
5748
5749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Timer_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
5750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5751 if (obj2) {
5752 arg3 = PyInt_AsLong(obj2) ? true : false;
5753 if (PyErr_Occurred()) SWIG_fail;
5754 }
5755 {
5756 PyThreadState* __tstate = wxPyBeginAllowThreads();
5757 result = (bool)(arg1)->Start(arg2,arg3);
5758
5759 wxPyEndAllowThreads(__tstate);
5760 if (PyErr_Occurred()) SWIG_fail;
5761 }
5762 resultobj = PyInt_FromLong((long)result);
5763 return resultobj;
5764 fail:
5765 return NULL;
5766 }
5767
5768
5769 static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
5770 PyObject *resultobj;
5771 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5772 PyObject * obj0 = 0 ;
5773 char *kwnames[] = {
5774 (char *) "self", NULL
5775 };
5776
5777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
5778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5779 {
5780 PyThreadState* __tstate = wxPyBeginAllowThreads();
5781 (arg1)->Stop();
5782
5783 wxPyEndAllowThreads(__tstate);
5784 if (PyErr_Occurred()) SWIG_fail;
5785 }
5786 Py_INCREF(Py_None); resultobj = Py_None;
5787 return resultobj;
5788 fail:
5789 return NULL;
5790 }
5791
5792
5793 static PyObject *_wrap_Timer_Notify(PyObject *self, PyObject *args, PyObject *kwargs) {
5794 PyObject *resultobj;
5795 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5796 PyObject * obj0 = 0 ;
5797 char *kwnames[] = {
5798 (char *) "self", NULL
5799 };
5800
5801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Notify",kwnames,&obj0)) goto fail;
5802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5803 {
5804 PyThreadState* __tstate = wxPyBeginAllowThreads();
5805 (arg1)->Notify();
5806
5807 wxPyEndAllowThreads(__tstate);
5808 if (PyErr_Occurred()) SWIG_fail;
5809 }
5810 Py_INCREF(Py_None); resultobj = Py_None;
5811 return resultobj;
5812 fail:
5813 return NULL;
5814 }
5815
5816
5817 static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5818 PyObject *resultobj;
5819 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5820 bool result;
5821 PyObject * obj0 = 0 ;
5822 char *kwnames[] = {
5823 (char *) "self", NULL
5824 };
5825
5826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
5827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5828 {
5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
5830 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
5831
5832 wxPyEndAllowThreads(__tstate);
5833 if (PyErr_Occurred()) SWIG_fail;
5834 }
5835 resultobj = PyInt_FromLong((long)result);
5836 return resultobj;
5837 fail:
5838 return NULL;
5839 }
5840
5841
5842 static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5843 PyObject *resultobj;
5844 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5845 int result;
5846 PyObject * obj0 = 0 ;
5847 char *kwnames[] = {
5848 (char *) "self", NULL
5849 };
5850
5851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
5852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5853 {
5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
5855 result = (int)((wxPyTimer const *)arg1)->GetInterval();
5856
5857 wxPyEndAllowThreads(__tstate);
5858 if (PyErr_Occurred()) SWIG_fail;
5859 }
5860 resultobj = PyInt_FromLong((long)result);
5861 return resultobj;
5862 fail:
5863 return NULL;
5864 }
5865
5866
5867 static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
5868 PyObject *resultobj;
5869 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5870 bool result;
5871 PyObject * obj0 = 0 ;
5872 char *kwnames[] = {
5873 (char *) "self", NULL
5874 };
5875
5876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
5877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5878 {
5879 PyThreadState* __tstate = wxPyBeginAllowThreads();
5880 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
5881
5882 wxPyEndAllowThreads(__tstate);
5883 if (PyErr_Occurred()) SWIG_fail;
5884 }
5885 resultobj = PyInt_FromLong((long)result);
5886 return resultobj;
5887 fail:
5888 return NULL;
5889 }
5890
5891
5892 static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
5893 PyObject *obj;
5894 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5895 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
5896 Py_INCREF(obj);
5897 return Py_BuildValue((char *)"");
5898 }
5899 static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5900 PyObject *resultobj;
5901 int arg1 = (int) 0 ;
5902 int arg2 = (int) 0 ;
5903 wxTimerEvent *result;
5904 char *kwnames[] = {
5905 (char *) "timerid",(char *) "interval", NULL
5906 };
5907
5908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TimerEvent",kwnames,&arg1,&arg2)) goto fail;
5909 {
5910 PyThreadState* __tstate = wxPyBeginAllowThreads();
5911 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
5912
5913 wxPyEndAllowThreads(__tstate);
5914 if (PyErr_Occurred()) SWIG_fail;
5915 }
5916 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerEvent, 1);
5917 return resultobj;
5918 fail:
5919 return NULL;
5920 }
5921
5922
5923 static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5924 PyObject *resultobj;
5925 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
5926 int result;
5927 PyObject * obj0 = 0 ;
5928 char *kwnames[] = {
5929 (char *) "self", NULL
5930 };
5931
5932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
5933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5934 {
5935 PyThreadState* __tstate = wxPyBeginAllowThreads();
5936 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
5937
5938 wxPyEndAllowThreads(__tstate);
5939 if (PyErr_Occurred()) SWIG_fail;
5940 }
5941 resultobj = PyInt_FromLong((long)result);
5942 return resultobj;
5943 fail:
5944 return NULL;
5945 }
5946
5947
5948 static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
5949 PyObject *obj;
5950 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5951 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
5952 Py_INCREF(obj);
5953 return Py_BuildValue((char *)"");
5954 }
5955 static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
5956 PyObject *resultobj;
5957 wxTimer *arg1 = 0 ;
5958 wxTimerRunner *result;
5959 PyObject * obj0 = 0 ;
5960
5961 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
5962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5963 if (arg1 == NULL) {
5964 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5965 }
5966 {
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
5969
5970 wxPyEndAllowThreads(__tstate);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
5974 return resultobj;
5975 fail:
5976 return NULL;
5977 }
5978
5979
5980 static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
5981 PyObject *resultobj;
5982 wxTimer *arg1 = 0 ;
5983 int arg2 ;
5984 bool arg3 = (bool) False ;
5985 wxTimerRunner *result;
5986 PyObject * obj0 = 0 ;
5987 PyObject * obj2 = 0 ;
5988
5989 if(!PyArg_ParseTuple(args,(char *)"Oi|O:new_TimerRunner",&obj0,&arg2,&obj2)) goto fail;
5990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5991 if (arg1 == NULL) {
5992 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5993 }
5994 if (obj2) {
5995 arg3 = PyInt_AsLong(obj2) ? true : false;
5996 if (PyErr_Occurred()) SWIG_fail;
5997 }
5998 {
5999 PyThreadState* __tstate = wxPyBeginAllowThreads();
6000 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6001
6002 wxPyEndAllowThreads(__tstate);
6003 if (PyErr_Occurred()) SWIG_fail;
6004 }
6005 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6006 return resultobj;
6007 fail:
6008 return NULL;
6009 }
6010
6011
6012 static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6013 int argc;
6014 PyObject *argv[4];
6015 int ii;
6016
6017 argc = PyObject_Length(args);
6018 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6019 argv[ii] = PyTuple_GetItem(args,ii);
6020 }
6021 if (argc == 1) {
6022 int _v;
6023 {
6024 void *ptr;
6025 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6026 _v = 0;
6027 PyErr_Clear();
6028 } else {
6029 _v = 1;
6030 }
6031 }
6032 if (_v) {
6033 return _wrap_new_TimerRunner__SWIG_0(self,args);
6034 }
6035 }
6036 if ((argc >= 2) && (argc <= 3)) {
6037 int _v;
6038 {
6039 void *ptr;
6040 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6041 _v = 0;
6042 PyErr_Clear();
6043 } else {
6044 _v = 1;
6045 }
6046 }
6047 if (_v) {
6048 {
6049 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6050 }
6051 if (_v) {
6052 if (argc <= 2) {
6053 return _wrap_new_TimerRunner__SWIG_1(self,args);
6054 }
6055 {
6056 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
6057 }
6058 if (_v) {
6059 return _wrap_new_TimerRunner__SWIG_1(self,args);
6060 }
6061 }
6062 }
6063 }
6064
6065 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6066 return NULL;
6067 }
6068
6069
6070 static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6071 PyObject *resultobj;
6072 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6073 PyObject * obj0 = 0 ;
6074 char *kwnames[] = {
6075 (char *) "self", NULL
6076 };
6077
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6080 {
6081 PyThreadState* __tstate = wxPyBeginAllowThreads();
6082 delete arg1;
6083
6084 wxPyEndAllowThreads(__tstate);
6085 if (PyErr_Occurred()) SWIG_fail;
6086 }
6087 Py_INCREF(Py_None); resultobj = Py_None;
6088 return resultobj;
6089 fail:
6090 return NULL;
6091 }
6092
6093
6094 static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6095 PyObject *resultobj;
6096 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6097 int arg2 ;
6098 bool arg3 = (bool) False ;
6099 PyObject * obj0 = 0 ;
6100 PyObject * obj2 = 0 ;
6101 char *kwnames[] = {
6102 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6103 };
6104
6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:TimerRunner_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
6106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6107 if (obj2) {
6108 arg3 = PyInt_AsLong(obj2) ? true : false;
6109 if (PyErr_Occurred()) SWIG_fail;
6110 }
6111 {
6112 PyThreadState* __tstate = wxPyBeginAllowThreads();
6113 (arg1)->Start(arg2,arg3);
6114
6115 wxPyEndAllowThreads(__tstate);
6116 if (PyErr_Occurred()) SWIG_fail;
6117 }
6118 Py_INCREF(Py_None); resultobj = Py_None;
6119 return resultobj;
6120 fail:
6121 return NULL;
6122 }
6123
6124
6125 static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6126 PyObject *obj;
6127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6128 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6129 Py_INCREF(obj);
6130 return Py_BuildValue((char *)"");
6131 }
6132 static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6133 PyObject *resultobj;
6134 wxLog *result;
6135 char *kwnames[] = {
6136 NULL
6137 };
6138
6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6140 {
6141 PyThreadState* __tstate = wxPyBeginAllowThreads();
6142 result = (wxLog *)new wxLog();
6143
6144 wxPyEndAllowThreads(__tstate);
6145 if (PyErr_Occurred()) SWIG_fail;
6146 }
6147 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 1);
6148 return resultobj;
6149 fail:
6150 return NULL;
6151 }
6152
6153
6154 static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6155 PyObject *resultobj;
6156 bool result;
6157 char *kwnames[] = {
6158 NULL
6159 };
6160
6161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6162 {
6163 PyThreadState* __tstate = wxPyBeginAllowThreads();
6164 result = (bool)wxLog::IsEnabled();
6165
6166 wxPyEndAllowThreads(__tstate);
6167 if (PyErr_Occurred()) SWIG_fail;
6168 }
6169 resultobj = PyInt_FromLong((long)result);
6170 return resultobj;
6171 fail:
6172 return NULL;
6173 }
6174
6175
6176 static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6177 PyObject *resultobj;
6178 bool arg1 = (bool) True ;
6179 bool result;
6180 PyObject * obj0 = 0 ;
6181 char *kwnames[] = {
6182 (char *) "doIt", NULL
6183 };
6184
6185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6186 if (obj0) {
6187 arg1 = PyInt_AsLong(obj0) ? true : false;
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
6190 {
6191 PyThreadState* __tstate = wxPyBeginAllowThreads();
6192 result = (bool)wxLog::EnableLogging(arg1);
6193
6194 wxPyEndAllowThreads(__tstate);
6195 if (PyErr_Occurred()) SWIG_fail;
6196 }
6197 resultobj = PyInt_FromLong((long)result);
6198 return resultobj;
6199 fail:
6200 return NULL;
6201 }
6202
6203
6204 static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6205 PyObject *resultobj;
6206 wxLogLevel arg1 ;
6207 wxChar *arg2 = (wxChar *) 0 ;
6208 time_t arg3 ;
6209 PyObject * obj0 = 0 ;
6210 PyObject * obj1 = 0 ;
6211 PyObject * obj2 = 0 ;
6212 char *kwnames[] = {
6213 (char *) "level",(char *) "szString",(char *) "t", NULL
6214 };
6215
6216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
6217 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6218 if (PyErr_Occurred()) SWIG_fail;
6219 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6220 arg3 = (time_t) PyInt_AsLong(obj2);
6221 if (PyErr_Occurred()) SWIG_fail;
6222 {
6223 PyThreadState* __tstate = wxPyBeginAllowThreads();
6224 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6225
6226 wxPyEndAllowThreads(__tstate);
6227 if (PyErr_Occurred()) SWIG_fail;
6228 }
6229 Py_INCREF(Py_None); resultobj = Py_None;
6230 return resultobj;
6231 fail:
6232 return NULL;
6233 }
6234
6235
6236 static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6237 PyObject *resultobj;
6238 wxLog *arg1 = (wxLog *) 0 ;
6239 PyObject * obj0 = 0 ;
6240 char *kwnames[] = {
6241 (char *) "self", NULL
6242 };
6243
6244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6246 {
6247 PyThreadState* __tstate = wxPyBeginAllowThreads();
6248 (arg1)->Flush();
6249
6250 wxPyEndAllowThreads(__tstate);
6251 if (PyErr_Occurred()) SWIG_fail;
6252 }
6253 Py_INCREF(Py_None); resultobj = Py_None;
6254 return resultobj;
6255 fail:
6256 return NULL;
6257 }
6258
6259
6260 static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6261 PyObject *resultobj;
6262 char *kwnames[] = {
6263 NULL
6264 };
6265
6266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6267 {
6268 PyThreadState* __tstate = wxPyBeginAllowThreads();
6269 wxLog::FlushActive();
6270
6271 wxPyEndAllowThreads(__tstate);
6272 if (PyErr_Occurred()) SWIG_fail;
6273 }
6274 Py_INCREF(Py_None); resultobj = Py_None;
6275 return resultobj;
6276 fail:
6277 return NULL;
6278 }
6279
6280
6281 static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6282 PyObject *resultobj;
6283 wxLog *result;
6284 char *kwnames[] = {
6285 NULL
6286 };
6287
6288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6289 {
6290 PyThreadState* __tstate = wxPyBeginAllowThreads();
6291 result = (wxLog *)wxLog::GetActiveTarget();
6292
6293 wxPyEndAllowThreads(__tstate);
6294 if (PyErr_Occurred()) SWIG_fail;
6295 }
6296 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6297 return resultobj;
6298 fail:
6299 return NULL;
6300 }
6301
6302
6303 static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6304 PyObject *resultobj;
6305 wxLog *arg1 = (wxLog *) 0 ;
6306 wxLog *result;
6307 PyObject * obj0 = 0 ;
6308 char *kwnames[] = {
6309 (char *) "pLogger", NULL
6310 };
6311
6312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
6313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6314 {
6315 PyThreadState* __tstate = wxPyBeginAllowThreads();
6316 result = (wxLog *)wxLog::SetActiveTarget(arg1);
6317
6318 wxPyEndAllowThreads(__tstate);
6319 if (PyErr_Occurred()) SWIG_fail;
6320 }
6321 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6322 return resultobj;
6323 fail:
6324 return NULL;
6325 }
6326
6327
6328 static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
6329 PyObject *resultobj;
6330 char *kwnames[] = {
6331 NULL
6332 };
6333
6334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
6335 {
6336 PyThreadState* __tstate = wxPyBeginAllowThreads();
6337 wxLog::Suspend();
6338
6339 wxPyEndAllowThreads(__tstate);
6340 if (PyErr_Occurred()) SWIG_fail;
6341 }
6342 Py_INCREF(Py_None); resultobj = Py_None;
6343 return resultobj;
6344 fail:
6345 return NULL;
6346 }
6347
6348
6349 static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
6350 PyObject *resultobj;
6351 char *kwnames[] = {
6352 NULL
6353 };
6354
6355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
6356 {
6357 PyThreadState* __tstate = wxPyBeginAllowThreads();
6358 wxLog::Resume();
6359
6360 wxPyEndAllowThreads(__tstate);
6361 if (PyErr_Occurred()) SWIG_fail;
6362 }
6363 Py_INCREF(Py_None); resultobj = Py_None;
6364 return resultobj;
6365 fail:
6366 return NULL;
6367 }
6368
6369
6370 static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6371 PyObject *resultobj;
6372 bool arg1 = (bool) True ;
6373 PyObject * obj0 = 0 ;
6374 char *kwnames[] = {
6375 (char *) "bVerbose", NULL
6376 };
6377
6378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
6379 if (obj0) {
6380 arg1 = PyInt_AsLong(obj0) ? true : false;
6381 if (PyErr_Occurred()) SWIG_fail;
6382 }
6383 {
6384 PyThreadState* __tstate = wxPyBeginAllowThreads();
6385 wxLog::SetVerbose(arg1);
6386
6387 wxPyEndAllowThreads(__tstate);
6388 if (PyErr_Occurred()) SWIG_fail;
6389 }
6390 Py_INCREF(Py_None); resultobj = Py_None;
6391 return resultobj;
6392 fail:
6393 return NULL;
6394 }
6395
6396
6397 static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6398 PyObject *resultobj;
6399 wxLogLevel arg1 ;
6400 PyObject * obj0 = 0 ;
6401 char *kwnames[] = {
6402 (char *) "logLevel", NULL
6403 };
6404
6405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
6406 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6407 if (PyErr_Occurred()) SWIG_fail;
6408 {
6409 PyThreadState* __tstate = wxPyBeginAllowThreads();
6410 wxLog::SetLogLevel(arg1);
6411
6412 wxPyEndAllowThreads(__tstate);
6413 if (PyErr_Occurred()) SWIG_fail;
6414 }
6415 Py_INCREF(Py_None); resultobj = Py_None;
6416 return resultobj;
6417 fail:
6418 return NULL;
6419 }
6420
6421
6422 static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
6423 PyObject *resultobj;
6424 char *kwnames[] = {
6425 NULL
6426 };
6427
6428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
6429 {
6430 PyThreadState* __tstate = wxPyBeginAllowThreads();
6431 wxLog::DontCreateOnDemand();
6432
6433 wxPyEndAllowThreads(__tstate);
6434 if (PyErr_Occurred()) SWIG_fail;
6435 }
6436 Py_INCREF(Py_None); resultobj = Py_None;
6437 return resultobj;
6438 fail:
6439 return NULL;
6440 }
6441
6442
6443 static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6444 PyObject *resultobj;
6445 wxTraceMask arg1 ;
6446 PyObject * obj0 = 0 ;
6447 char *kwnames[] = {
6448 (char *) "ulMask", NULL
6449 };
6450
6451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
6452 arg1 = (wxTraceMask) PyInt_AsLong(obj0);
6453 if (PyErr_Occurred()) SWIG_fail;
6454 {
6455 PyThreadState* __tstate = wxPyBeginAllowThreads();
6456 wxLog::SetTraceMask(arg1);
6457
6458 wxPyEndAllowThreads(__tstate);
6459 if (PyErr_Occurred()) SWIG_fail;
6460 }
6461 Py_INCREF(Py_None); resultobj = Py_None;
6462 return resultobj;
6463 fail:
6464 return NULL;
6465 }
6466
6467
6468 static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6469 PyObject *resultobj;
6470 wxString *arg1 = 0 ;
6471 bool temp1 = False ;
6472 PyObject * obj0 = 0 ;
6473 char *kwnames[] = {
6474 (char *) "str", NULL
6475 };
6476
6477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
6478 {
6479 arg1 = wxString_in_helper(obj0);
6480 if (arg1 == NULL) SWIG_fail;
6481 temp1 = True;
6482 }
6483 {
6484 PyThreadState* __tstate = wxPyBeginAllowThreads();
6485 wxLog::AddTraceMask((wxString const &)*arg1);
6486
6487 wxPyEndAllowThreads(__tstate);
6488 if (PyErr_Occurred()) SWIG_fail;
6489 }
6490 Py_INCREF(Py_None); resultobj = Py_None;
6491 {
6492 if (temp1)
6493 delete arg1;
6494 }
6495 return resultobj;
6496 fail:
6497 {
6498 if (temp1)
6499 delete arg1;
6500 }
6501 return NULL;
6502 }
6503
6504
6505 static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6506 PyObject *resultobj;
6507 wxString *arg1 = 0 ;
6508 bool temp1 = False ;
6509 PyObject * obj0 = 0 ;
6510 char *kwnames[] = {
6511 (char *) "str", NULL
6512 };
6513
6514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
6515 {
6516 arg1 = wxString_in_helper(obj0);
6517 if (arg1 == NULL) SWIG_fail;
6518 temp1 = True;
6519 }
6520 {
6521 PyThreadState* __tstate = wxPyBeginAllowThreads();
6522 wxLog::RemoveTraceMask((wxString const &)*arg1);
6523
6524 wxPyEndAllowThreads(__tstate);
6525 if (PyErr_Occurred()) SWIG_fail;
6526 }
6527 Py_INCREF(Py_None); resultobj = Py_None;
6528 {
6529 if (temp1)
6530 delete arg1;
6531 }
6532 return resultobj;
6533 fail:
6534 {
6535 if (temp1)
6536 delete arg1;
6537 }
6538 return NULL;
6539 }
6540
6541
6542 static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6543 PyObject *resultobj;
6544 char *kwnames[] = {
6545 NULL
6546 };
6547
6548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
6549 {
6550 PyThreadState* __tstate = wxPyBeginAllowThreads();
6551 wxLog::ClearTraceMasks();
6552
6553 wxPyEndAllowThreads(__tstate);
6554 if (PyErr_Occurred()) SWIG_fail;
6555 }
6556 Py_INCREF(Py_None); resultobj = Py_None;
6557 return resultobj;
6558 fail:
6559 return NULL;
6560 }
6561
6562
6563 static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6564 PyObject *resultobj;
6565 wxArrayString *result;
6566 char *kwnames[] = {
6567 NULL
6568 };
6569
6570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 {
6574 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
6575 result = (wxArrayString *) &_result_ref;
6576 }
6577
6578 wxPyEndAllowThreads(__tstate);
6579 if (PyErr_Occurred()) SWIG_fail;
6580 }
6581 {
6582 resultobj = wxArrayString2PyList_helper(*result);
6583 }
6584 return resultobj;
6585 fail:
6586 return NULL;
6587 }
6588
6589
6590 static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6591 PyObject *resultobj;
6592 wxChar *arg1 = (wxChar *) 0 ;
6593 PyObject * obj0 = 0 ;
6594 char *kwnames[] = {
6595 (char *) "ts", NULL
6596 };
6597
6598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
6599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6600 {
6601 PyThreadState* __tstate = wxPyBeginAllowThreads();
6602 wxLog::SetTimestamp((wxChar const *)arg1);
6603
6604 wxPyEndAllowThreads(__tstate);
6605 if (PyErr_Occurred()) SWIG_fail;
6606 }
6607 Py_INCREF(Py_None); resultobj = Py_None;
6608 return resultobj;
6609 fail:
6610 return NULL;
6611 }
6612
6613
6614 static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6615 PyObject *resultobj;
6616 bool result;
6617 char *kwnames[] = {
6618 NULL
6619 };
6620
6621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
6622 {
6623 PyThreadState* __tstate = wxPyBeginAllowThreads();
6624 result = (bool)wxLog::GetVerbose();
6625
6626 wxPyEndAllowThreads(__tstate);
6627 if (PyErr_Occurred()) SWIG_fail;
6628 }
6629 resultobj = PyInt_FromLong((long)result);
6630 return resultobj;
6631 fail:
6632 return NULL;
6633 }
6634
6635
6636 static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6637 PyObject *resultobj;
6638 wxTraceMask result;
6639 char *kwnames[] = {
6640 NULL
6641 };
6642
6643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
6644 {
6645 PyThreadState* __tstate = wxPyBeginAllowThreads();
6646 result = (wxTraceMask)wxLog::GetTraceMask();
6647
6648 wxPyEndAllowThreads(__tstate);
6649 if (PyErr_Occurred()) SWIG_fail;
6650 }
6651 resultobj = PyInt_FromLong((long)result);
6652 return resultobj;
6653 fail:
6654 return NULL;
6655 }
6656
6657
6658 static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6659 PyObject *resultobj;
6660 wxChar *arg1 = (wxChar *) 0 ;
6661 bool result;
6662 PyObject * obj0 = 0 ;
6663 char *kwnames[] = {
6664 (char *) "mask", NULL
6665 };
6666
6667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
6668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6669 {
6670 PyThreadState* __tstate = wxPyBeginAllowThreads();
6671 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
6672
6673 wxPyEndAllowThreads(__tstate);
6674 if (PyErr_Occurred()) SWIG_fail;
6675 }
6676 resultobj = PyInt_FromLong((long)result);
6677 return resultobj;
6678 fail:
6679 return NULL;
6680 }
6681
6682
6683 static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6684 PyObject *resultobj;
6685 wxLogLevel result;
6686 char *kwnames[] = {
6687 NULL
6688 };
6689
6690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
6691 {
6692 PyThreadState* __tstate = wxPyBeginAllowThreads();
6693 result = (wxLogLevel)wxLog::GetLogLevel();
6694
6695 wxPyEndAllowThreads(__tstate);
6696 if (PyErr_Occurred()) SWIG_fail;
6697 }
6698 resultobj = PyInt_FromLong((long)result);
6699 return resultobj;
6700 fail:
6701 return NULL;
6702 }
6703
6704
6705 static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6706 PyObject *resultobj;
6707 wxChar *result;
6708 char *kwnames[] = {
6709 NULL
6710 };
6711
6712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
6713 {
6714 PyThreadState* __tstate = wxPyBeginAllowThreads();
6715 result = (wxChar *)wxLog::GetTimestamp();
6716
6717 wxPyEndAllowThreads(__tstate);
6718 if (PyErr_Occurred()) SWIG_fail;
6719 }
6720 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChar, 0);
6721 return resultobj;
6722 fail:
6723 return NULL;
6724 }
6725
6726
6727 static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6728 PyObject *resultobj;
6729 wxString result;
6730 char *kwnames[] = {
6731 NULL
6732 };
6733
6734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
6735 {
6736 PyThreadState* __tstate = wxPyBeginAllowThreads();
6737 result = Log_TimeStamp();
6738
6739 wxPyEndAllowThreads(__tstate);
6740 if (PyErr_Occurred()) SWIG_fail;
6741 }
6742 {
6743 #if wxUSE_UNICODE
6744 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6745 #else
6746 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6747 #endif
6748 }
6749 return resultobj;
6750 fail:
6751 return NULL;
6752 }
6753
6754
6755 static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6756 PyObject *resultobj;
6757 wxLog *arg1 = (wxLog *) 0 ;
6758 PyObject * obj0 = 0 ;
6759 char *kwnames[] = {
6760 (char *) "self", NULL
6761 };
6762
6763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
6764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6765 {
6766 PyThreadState* __tstate = wxPyBeginAllowThreads();
6767 wxLog_Destroy(arg1);
6768
6769 wxPyEndAllowThreads(__tstate);
6770 if (PyErr_Occurred()) SWIG_fail;
6771 }
6772 Py_INCREF(Py_None); resultobj = Py_None;
6773 return resultobj;
6774 fail:
6775 return NULL;
6776 }
6777
6778
6779 static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
6780 PyObject *obj;
6781 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6782 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
6783 Py_INCREF(obj);
6784 return Py_BuildValue((char *)"");
6785 }
6786 static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
6787 PyObject *resultobj;
6788 wxLogStderr *result;
6789 char *kwnames[] = {
6790 NULL
6791 };
6792
6793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
6794 {
6795 PyThreadState* __tstate = wxPyBeginAllowThreads();
6796 result = (wxLogStderr *)new wxLogStderr();
6797
6798 wxPyEndAllowThreads(__tstate);
6799 if (PyErr_Occurred()) SWIG_fail;
6800 }
6801 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogStderr, 1);
6802 return resultobj;
6803 fail:
6804 return NULL;
6805 }
6806
6807
6808 static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
6809 PyObject *obj;
6810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6811 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
6812 Py_INCREF(obj);
6813 return Py_BuildValue((char *)"");
6814 }
6815 static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6816 PyObject *resultobj;
6817 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6818 wxLogTextCtrl *result;
6819 PyObject * obj0 = 0 ;
6820 char *kwnames[] = {
6821 (char *) "pTextCtrl", NULL
6822 };
6823
6824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
6825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6826 {
6827 PyThreadState* __tstate = wxPyBeginAllowThreads();
6828 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
6829
6830 wxPyEndAllowThreads(__tstate);
6831 if (PyErr_Occurred()) SWIG_fail;
6832 }
6833 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogTextCtrl, 1);
6834 return resultobj;
6835 fail:
6836 return NULL;
6837 }
6838
6839
6840 static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
6841 PyObject *obj;
6842 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6843 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
6844 Py_INCREF(obj);
6845 return Py_BuildValue((char *)"");
6846 }
6847 static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
6848 PyObject *resultobj;
6849 wxLogGui *result;
6850 char *kwnames[] = {
6851 NULL
6852 };
6853
6854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
6855 {
6856 PyThreadState* __tstate = wxPyBeginAllowThreads();
6857 result = (wxLogGui *)new wxLogGui();
6858
6859 wxPyEndAllowThreads(__tstate);
6860 if (PyErr_Occurred()) SWIG_fail;
6861 }
6862 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogGui, 1);
6863 return resultobj;
6864 fail:
6865 return NULL;
6866 }
6867
6868
6869 static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
6870 PyObject *obj;
6871 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6872 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
6873 Py_INCREF(obj);
6874 return Py_BuildValue((char *)"");
6875 }
6876 static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6877 PyObject *resultobj;
6878 wxFrame *arg1 = (wxFrame *) 0 ;
6879 wxString *arg2 = 0 ;
6880 bool arg3 = (bool) True ;
6881 bool arg4 = (bool) True ;
6882 wxLogWindow *result;
6883 bool temp2 = False ;
6884 PyObject * obj0 = 0 ;
6885 PyObject * obj1 = 0 ;
6886 PyObject * obj2 = 0 ;
6887 PyObject * obj3 = 0 ;
6888 char *kwnames[] = {
6889 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6890 };
6891
6892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6894 {
6895 arg2 = wxString_in_helper(obj1);
6896 if (arg2 == NULL) SWIG_fail;
6897 temp2 = True;
6898 }
6899 if (obj2) {
6900 arg3 = PyInt_AsLong(obj2) ? true : false;
6901 if (PyErr_Occurred()) SWIG_fail;
6902 }
6903 if (obj3) {
6904 arg4 = PyInt_AsLong(obj3) ? true : false;
6905 if (PyErr_Occurred()) SWIG_fail;
6906 }
6907 {
6908 PyThreadState* __tstate = wxPyBeginAllowThreads();
6909 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
6910
6911 wxPyEndAllowThreads(__tstate);
6912 if (PyErr_Occurred()) SWIG_fail;
6913 }
6914 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogWindow, 1);
6915 {
6916 if (temp2)
6917 delete arg2;
6918 }
6919 return resultobj;
6920 fail:
6921 {
6922 if (temp2)
6923 delete arg2;
6924 }
6925 return NULL;
6926 }
6927
6928
6929 static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
6930 PyObject *resultobj;
6931 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6932 bool arg2 = (bool) True ;
6933 PyObject * obj0 = 0 ;
6934 PyObject * obj1 = 0 ;
6935 char *kwnames[] = {
6936 (char *) "self",(char *) "bShow", NULL
6937 };
6938
6939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
6940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6941 if (obj1) {
6942 arg2 = PyInt_AsLong(obj1) ? true : false;
6943 if (PyErr_Occurred()) SWIG_fail;
6944 }
6945 {
6946 PyThreadState* __tstate = wxPyBeginAllowThreads();
6947 (arg1)->Show(arg2);
6948
6949 wxPyEndAllowThreads(__tstate);
6950 if (PyErr_Occurred()) SWIG_fail;
6951 }
6952 Py_INCREF(Py_None); resultobj = Py_None;
6953 return resultobj;
6954 fail:
6955 return NULL;
6956 }
6957
6958
6959 static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6960 PyObject *resultobj;
6961 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6962 wxFrame *result;
6963 PyObject * obj0 = 0 ;
6964 char *kwnames[] = {
6965 (char *) "self", NULL
6966 };
6967
6968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
6969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6970 {
6971 PyThreadState* __tstate = wxPyBeginAllowThreads();
6972 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
6973
6974 wxPyEndAllowThreads(__tstate);
6975 if (PyErr_Occurred()) SWIG_fail;
6976 }
6977 {
6978 resultobj = wxPyMake_wxObject(result);
6979 }
6980 return resultobj;
6981 fail:
6982 return NULL;
6983 }
6984
6985
6986 static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6987 PyObject *resultobj;
6988 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6989 wxLog *result;
6990 PyObject * obj0 = 0 ;
6991 char *kwnames[] = {
6992 (char *) "self", NULL
6993 };
6994
6995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
6996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7000
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
7004 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7005 return resultobj;
7006 fail:
7007 return NULL;
7008 }
7009
7010
7011 static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7012 PyObject *resultobj;
7013 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7014 bool result;
7015 PyObject * obj0 = 0 ;
7016 char *kwnames[] = {
7017 (char *) "self", NULL
7018 };
7019
7020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
7021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7022 {
7023 PyThreadState* __tstate = wxPyBeginAllowThreads();
7024 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7025
7026 wxPyEndAllowThreads(__tstate);
7027 if (PyErr_Occurred()) SWIG_fail;
7028 }
7029 resultobj = PyInt_FromLong((long)result);
7030 return resultobj;
7031 fail:
7032 return NULL;
7033 }
7034
7035
7036 static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7037 PyObject *resultobj;
7038 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7039 bool arg2 ;
7040 PyObject * obj0 = 0 ;
7041 PyObject * obj1 = 0 ;
7042 char *kwnames[] = {
7043 (char *) "self",(char *) "bDoPass", NULL
7044 };
7045
7046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7048 arg2 = PyInt_AsLong(obj1) ? true : false;
7049 if (PyErr_Occurred()) SWIG_fail;
7050 {
7051 PyThreadState* __tstate = wxPyBeginAllowThreads();
7052 (arg1)->PassMessages(arg2);
7053
7054 wxPyEndAllowThreads(__tstate);
7055 if (PyErr_Occurred()) SWIG_fail;
7056 }
7057 Py_INCREF(Py_None); resultobj = Py_None;
7058 return resultobj;
7059 fail:
7060 return NULL;
7061 }
7062
7063
7064 static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7065 PyObject *obj;
7066 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7067 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7068 Py_INCREF(obj);
7069 return Py_BuildValue((char *)"");
7070 }
7071 static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7072 PyObject *resultobj;
7073 wxLog *arg1 = (wxLog *) 0 ;
7074 wxLogChain *result;
7075 PyObject * obj0 = 0 ;
7076 char *kwnames[] = {
7077 (char *) "logger", NULL
7078 };
7079
7080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7082 {
7083 PyThreadState* __tstate = wxPyBeginAllowThreads();
7084 result = (wxLogChain *)new wxLogChain(arg1);
7085
7086 wxPyEndAllowThreads(__tstate);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 }
7089 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogChain, 1);
7090 return resultobj;
7091 fail:
7092 return NULL;
7093 }
7094
7095
7096 static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7097 PyObject *resultobj;
7098 wxLogChain *arg1 = (wxLogChain *) 0 ;
7099 wxLog *arg2 = (wxLog *) 0 ;
7100 PyObject * obj0 = 0 ;
7101 PyObject * obj1 = 0 ;
7102 char *kwnames[] = {
7103 (char *) "self",(char *) "logger", NULL
7104 };
7105
7106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7108 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7109 {
7110 PyThreadState* __tstate = wxPyBeginAllowThreads();
7111 (arg1)->SetLog(arg2);
7112
7113 wxPyEndAllowThreads(__tstate);
7114 if (PyErr_Occurred()) SWIG_fail;
7115 }
7116 Py_INCREF(Py_None); resultobj = Py_None;
7117 return resultobj;
7118 fail:
7119 return NULL;
7120 }
7121
7122
7123 static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7124 PyObject *resultobj;
7125 wxLogChain *arg1 = (wxLogChain *) 0 ;
7126 bool arg2 ;
7127 PyObject * obj0 = 0 ;
7128 PyObject * obj1 = 0 ;
7129 char *kwnames[] = {
7130 (char *) "self",(char *) "bDoPass", NULL
7131 };
7132
7133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7135 arg2 = PyInt_AsLong(obj1) ? true : false;
7136 if (PyErr_Occurred()) SWIG_fail;
7137 {
7138 PyThreadState* __tstate = wxPyBeginAllowThreads();
7139 (arg1)->PassMessages(arg2);
7140
7141 wxPyEndAllowThreads(__tstate);
7142 if (PyErr_Occurred()) SWIG_fail;
7143 }
7144 Py_INCREF(Py_None); resultobj = Py_None;
7145 return resultobj;
7146 fail:
7147 return NULL;
7148 }
7149
7150
7151 static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7152 PyObject *resultobj;
7153 wxLogChain *arg1 = (wxLogChain *) 0 ;
7154 bool result;
7155 PyObject * obj0 = 0 ;
7156 char *kwnames[] = {
7157 (char *) "self", NULL
7158 };
7159
7160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7162 {
7163 PyThreadState* __tstate = wxPyBeginAllowThreads();
7164 result = (bool)(arg1)->IsPassingMessages();
7165
7166 wxPyEndAllowThreads(__tstate);
7167 if (PyErr_Occurred()) SWIG_fail;
7168 }
7169 resultobj = PyInt_FromLong((long)result);
7170 return resultobj;
7171 fail:
7172 return NULL;
7173 }
7174
7175
7176 static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7177 PyObject *resultobj;
7178 wxLogChain *arg1 = (wxLogChain *) 0 ;
7179 wxLog *result;
7180 PyObject * obj0 = 0 ;
7181 char *kwnames[] = {
7182 (char *) "self", NULL
7183 };
7184
7185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7187 {
7188 PyThreadState* __tstate = wxPyBeginAllowThreads();
7189 result = (wxLog *)(arg1)->GetOldLog();
7190
7191 wxPyEndAllowThreads(__tstate);
7192 if (PyErr_Occurred()) SWIG_fail;
7193 }
7194 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7195 return resultobj;
7196 fail:
7197 return NULL;
7198 }
7199
7200
7201 static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7202 PyObject *obj;
7203 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7204 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7205 Py_INCREF(obj);
7206 return Py_BuildValue((char *)"");
7207 }
7208 static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7209 PyObject *resultobj;
7210 unsigned long result;
7211 char *kwnames[] = {
7212 NULL
7213 };
7214
7215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7216 {
7217 PyThreadState* __tstate = wxPyBeginAllowThreads();
7218 result = (unsigned long)wxSysErrorCode();
7219
7220 wxPyEndAllowThreads(__tstate);
7221 if (PyErr_Occurred()) SWIG_fail;
7222 }
7223 resultobj = PyInt_FromLong((long)result);
7224 return resultobj;
7225 fail:
7226 return NULL;
7227 }
7228
7229
7230 static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7231 PyObject *resultobj;
7232 unsigned long arg1 = (unsigned long) 0 ;
7233 wxString result;
7234 PyObject * obj0 = 0 ;
7235 char *kwnames[] = {
7236 (char *) "nErrCode", NULL
7237 };
7238
7239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7240 if (obj0) {
7241 arg1 = (unsigned long) PyInt_AsLong(obj0);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
7244 {
7245 PyThreadState* __tstate = wxPyBeginAllowThreads();
7246 result = wxSysErrorMsg(arg1);
7247
7248 wxPyEndAllowThreads(__tstate);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 }
7251 {
7252 #if wxUSE_UNICODE
7253 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7254 #else
7255 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7256 #endif
7257 }
7258 return resultobj;
7259 fail:
7260 return NULL;
7261 }
7262
7263
7264 static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7265 PyObject *resultobj;
7266 wxString *arg1 = 0 ;
7267 bool temp1 = False ;
7268 PyObject * obj0 = 0 ;
7269 char *kwnames[] = {
7270 (char *) "msg", NULL
7271 };
7272
7273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7274 {
7275 arg1 = wxString_in_helper(obj0);
7276 if (arg1 == NULL) SWIG_fail;
7277 temp1 = True;
7278 }
7279 {
7280 PyThreadState* __tstate = wxPyBeginAllowThreads();
7281 wxLogFatalError((wxString const &)*arg1);
7282
7283 wxPyEndAllowThreads(__tstate);
7284 if (PyErr_Occurred()) SWIG_fail;
7285 }
7286 Py_INCREF(Py_None); resultobj = Py_None;
7287 {
7288 if (temp1)
7289 delete arg1;
7290 }
7291 return resultobj;
7292 fail:
7293 {
7294 if (temp1)
7295 delete arg1;
7296 }
7297 return NULL;
7298 }
7299
7300
7301 static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
7302 PyObject *resultobj;
7303 wxString *arg1 = 0 ;
7304 bool temp1 = False ;
7305 PyObject * obj0 = 0 ;
7306 char *kwnames[] = {
7307 (char *) "msg", NULL
7308 };
7309
7310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
7311 {
7312 arg1 = wxString_in_helper(obj0);
7313 if (arg1 == NULL) SWIG_fail;
7314 temp1 = True;
7315 }
7316 {
7317 PyThreadState* __tstate = wxPyBeginAllowThreads();
7318 wxLogError((wxString const &)*arg1);
7319
7320 wxPyEndAllowThreads(__tstate);
7321 if (PyErr_Occurred()) SWIG_fail;
7322 }
7323 Py_INCREF(Py_None); resultobj = Py_None;
7324 {
7325 if (temp1)
7326 delete arg1;
7327 }
7328 return resultobj;
7329 fail:
7330 {
7331 if (temp1)
7332 delete arg1;
7333 }
7334 return NULL;
7335 }
7336
7337
7338 static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
7339 PyObject *resultobj;
7340 wxString *arg1 = 0 ;
7341 bool temp1 = False ;
7342 PyObject * obj0 = 0 ;
7343 char *kwnames[] = {
7344 (char *) "msg", NULL
7345 };
7346
7347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
7348 {
7349 arg1 = wxString_in_helper(obj0);
7350 if (arg1 == NULL) SWIG_fail;
7351 temp1 = True;
7352 }
7353 {
7354 PyThreadState* __tstate = wxPyBeginAllowThreads();
7355 wxLogWarning((wxString const &)*arg1);
7356
7357 wxPyEndAllowThreads(__tstate);
7358 if (PyErr_Occurred()) SWIG_fail;
7359 }
7360 Py_INCREF(Py_None); resultobj = Py_None;
7361 {
7362 if (temp1)
7363 delete arg1;
7364 }
7365 return resultobj;
7366 fail:
7367 {
7368 if (temp1)
7369 delete arg1;
7370 }
7371 return NULL;
7372 }
7373
7374
7375 static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7376 PyObject *resultobj;
7377 wxString *arg1 = 0 ;
7378 bool temp1 = False ;
7379 PyObject * obj0 = 0 ;
7380 char *kwnames[] = {
7381 (char *) "msg", NULL
7382 };
7383
7384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
7385 {
7386 arg1 = wxString_in_helper(obj0);
7387 if (arg1 == NULL) SWIG_fail;
7388 temp1 = True;
7389 }
7390 {
7391 PyThreadState* __tstate = wxPyBeginAllowThreads();
7392 wxLogMessage((wxString const &)*arg1);
7393
7394 wxPyEndAllowThreads(__tstate);
7395 if (PyErr_Occurred()) SWIG_fail;
7396 }
7397 Py_INCREF(Py_None); resultobj = Py_None;
7398 {
7399 if (temp1)
7400 delete arg1;
7401 }
7402 return resultobj;
7403 fail:
7404 {
7405 if (temp1)
7406 delete arg1;
7407 }
7408 return NULL;
7409 }
7410
7411
7412 static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7413 PyObject *resultobj;
7414 wxString *arg1 = 0 ;
7415 bool temp1 = False ;
7416 PyObject * obj0 = 0 ;
7417 char *kwnames[] = {
7418 (char *) "msg", NULL
7419 };
7420
7421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
7422 {
7423 arg1 = wxString_in_helper(obj0);
7424 if (arg1 == NULL) SWIG_fail;
7425 temp1 = True;
7426 }
7427 {
7428 PyThreadState* __tstate = wxPyBeginAllowThreads();
7429 wxLogInfo((wxString const &)*arg1);
7430
7431 wxPyEndAllowThreads(__tstate);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 }
7434 Py_INCREF(Py_None); resultobj = Py_None;
7435 {
7436 if (temp1)
7437 delete arg1;
7438 }
7439 return resultobj;
7440 fail:
7441 {
7442 if (temp1)
7443 delete arg1;
7444 }
7445 return NULL;
7446 }
7447
7448
7449 static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
7450 PyObject *resultobj;
7451 wxString *arg1 = 0 ;
7452 bool temp1 = False ;
7453 PyObject * obj0 = 0 ;
7454 char *kwnames[] = {
7455 (char *) "msg", NULL
7456 };
7457
7458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
7459 {
7460 arg1 = wxString_in_helper(obj0);
7461 if (arg1 == NULL) SWIG_fail;
7462 temp1 = True;
7463 }
7464 {
7465 PyThreadState* __tstate = wxPyBeginAllowThreads();
7466 wxLogDebug((wxString const &)*arg1);
7467
7468 wxPyEndAllowThreads(__tstate);
7469 if (PyErr_Occurred()) SWIG_fail;
7470 }
7471 Py_INCREF(Py_None); resultobj = Py_None;
7472 {
7473 if (temp1)
7474 delete arg1;
7475 }
7476 return resultobj;
7477 fail:
7478 {
7479 if (temp1)
7480 delete arg1;
7481 }
7482 return NULL;
7483 }
7484
7485
7486 static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7487 PyObject *resultobj;
7488 wxString *arg1 = 0 ;
7489 bool temp1 = False ;
7490 PyObject * obj0 = 0 ;
7491 char *kwnames[] = {
7492 (char *) "msg", NULL
7493 };
7494
7495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
7496 {
7497 arg1 = wxString_in_helper(obj0);
7498 if (arg1 == NULL) SWIG_fail;
7499 temp1 = True;
7500 }
7501 {
7502 PyThreadState* __tstate = wxPyBeginAllowThreads();
7503 wxLogVerbose((wxString const &)*arg1);
7504
7505 wxPyEndAllowThreads(__tstate);
7506 if (PyErr_Occurred()) SWIG_fail;
7507 }
7508 Py_INCREF(Py_None); resultobj = Py_None;
7509 {
7510 if (temp1)
7511 delete arg1;
7512 }
7513 return resultobj;
7514 fail:
7515 {
7516 if (temp1)
7517 delete arg1;
7518 }
7519 return NULL;
7520 }
7521
7522
7523 static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7524 PyObject *resultobj;
7525 wxString *arg1 = 0 ;
7526 bool temp1 = False ;
7527 PyObject * obj0 = 0 ;
7528 char *kwnames[] = {
7529 (char *) "msg", NULL
7530 };
7531
7532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
7533 {
7534 arg1 = wxString_in_helper(obj0);
7535 if (arg1 == NULL) SWIG_fail;
7536 temp1 = True;
7537 }
7538 {
7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
7540 wxLogStatus((wxString const &)*arg1);
7541
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 Py_INCREF(Py_None); resultobj = Py_None;
7546 {
7547 if (temp1)
7548 delete arg1;
7549 }
7550 return resultobj;
7551 fail:
7552 {
7553 if (temp1)
7554 delete arg1;
7555 }
7556 return NULL;
7557 }
7558
7559
7560 static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7561 PyObject *resultobj;
7562 wxFrame *arg1 = (wxFrame *) 0 ;
7563 wxString *arg2 = 0 ;
7564 bool temp2 = False ;
7565 PyObject * obj0 = 0 ;
7566 PyObject * obj1 = 0 ;
7567 char *kwnames[] = {
7568 (char *) "pFrame",(char *) "msg", NULL
7569 };
7570
7571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
7572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7573 {
7574 arg2 = wxString_in_helper(obj1);
7575 if (arg2 == NULL) SWIG_fail;
7576 temp2 = True;
7577 }
7578 {
7579 PyThreadState* __tstate = wxPyBeginAllowThreads();
7580 wxLogStatus(arg1,(wxString const &)*arg2);
7581
7582 wxPyEndAllowThreads(__tstate);
7583 if (PyErr_Occurred()) SWIG_fail;
7584 }
7585 Py_INCREF(Py_None); resultobj = Py_None;
7586 {
7587 if (temp2)
7588 delete arg2;
7589 }
7590 return resultobj;
7591 fail:
7592 {
7593 if (temp2)
7594 delete arg2;
7595 }
7596 return NULL;
7597 }
7598
7599
7600 static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
7601 PyObject *resultobj;
7602 wxString *arg1 = 0 ;
7603 bool temp1 = False ;
7604 PyObject * obj0 = 0 ;
7605 char *kwnames[] = {
7606 (char *) "msg", NULL
7607 };
7608
7609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
7610 {
7611 arg1 = wxString_in_helper(obj0);
7612 if (arg1 == NULL) SWIG_fail;
7613 temp1 = True;
7614 }
7615 {
7616 PyThreadState* __tstate = wxPyBeginAllowThreads();
7617 wxLogSysError((wxString const &)*arg1);
7618
7619 wxPyEndAllowThreads(__tstate);
7620 if (PyErr_Occurred()) SWIG_fail;
7621 }
7622 Py_INCREF(Py_None); resultobj = Py_None;
7623 {
7624 if (temp1)
7625 delete arg1;
7626 }
7627 return resultobj;
7628 fail:
7629 {
7630 if (temp1)
7631 delete arg1;
7632 }
7633 return NULL;
7634 }
7635
7636
7637 static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args, PyObject *kwargs) {
7638 PyObject *resultobj;
7639 wxString *arg1 = 0 ;
7640 bool temp1 = False ;
7641 PyObject * obj0 = 0 ;
7642 char *kwnames[] = {
7643 (char *) "msg", NULL
7644 };
7645
7646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogTrace",kwnames,&obj0)) goto fail;
7647 {
7648 arg1 = wxString_in_helper(obj0);
7649 if (arg1 == NULL) SWIG_fail;
7650 temp1 = True;
7651 }
7652 {
7653 PyThreadState* __tstate = wxPyBeginAllowThreads();
7654 wxLogTrace((wxString const &)*arg1);
7655
7656 wxPyEndAllowThreads(__tstate);
7657 if (PyErr_Occurred()) SWIG_fail;
7658 }
7659 Py_INCREF(Py_None); resultobj = Py_None;
7660 {
7661 if (temp1)
7662 delete arg1;
7663 }
7664 return resultobj;
7665 fail:
7666 {
7667 if (temp1)
7668 delete arg1;
7669 }
7670 return NULL;
7671 }
7672
7673
7674 static PyObject *_wrap_LogTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7675 PyObject *resultobj;
7676 wxString *arg1 = 0 ;
7677 wxString *arg2 = 0 ;
7678 bool temp1 = False ;
7679 bool temp2 = False ;
7680 PyObject * obj0 = 0 ;
7681 PyObject * obj1 = 0 ;
7682 char *kwnames[] = {
7683 (char *) "mask",(char *) "msg", NULL
7684 };
7685
7686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogTraceMask",kwnames,&obj0,&obj1)) goto fail;
7687 {
7688 arg1 = wxString_in_helper(obj0);
7689 if (arg1 == NULL) SWIG_fail;
7690 temp1 = True;
7691 }
7692 {
7693 arg2 = wxString_in_helper(obj1);
7694 if (arg2 == NULL) SWIG_fail;
7695 temp2 = True;
7696 }
7697 {
7698 PyThreadState* __tstate = wxPyBeginAllowThreads();
7699 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
7700
7701 wxPyEndAllowThreads(__tstate);
7702 if (PyErr_Occurred()) SWIG_fail;
7703 }
7704 Py_INCREF(Py_None); resultobj = Py_None;
7705 {
7706 if (temp1)
7707 delete arg1;
7708 }
7709 {
7710 if (temp2)
7711 delete arg2;
7712 }
7713 return resultobj;
7714 fail:
7715 {
7716 if (temp1)
7717 delete arg1;
7718 }
7719 {
7720 if (temp2)
7721 delete arg2;
7722 }
7723 return NULL;
7724 }
7725
7726
7727 static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
7728 PyObject *resultobj;
7729 unsigned long arg1 ;
7730 wxString *arg2 = 0 ;
7731 bool temp2 = False ;
7732 PyObject * obj0 = 0 ;
7733 PyObject * obj1 = 0 ;
7734 char *kwnames[] = {
7735 (char *) "level",(char *) "msg", NULL
7736 };
7737
7738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
7739 arg1 = (unsigned long) PyInt_AsLong(obj0);
7740 if (PyErr_Occurred()) SWIG_fail;
7741 {
7742 arg2 = wxString_in_helper(obj1);
7743 if (arg2 == NULL) SWIG_fail;
7744 temp2 = True;
7745 }
7746 {
7747 PyThreadState* __tstate = wxPyBeginAllowThreads();
7748 wxLogGeneric(arg1,(wxString const &)*arg2);
7749
7750 wxPyEndAllowThreads(__tstate);
7751 if (PyErr_Occurred()) SWIG_fail;
7752 }
7753 Py_INCREF(Py_None); resultobj = Py_None;
7754 {
7755 if (temp2)
7756 delete arg2;
7757 }
7758 return resultobj;
7759 fail:
7760 {
7761 if (temp2)
7762 delete arg2;
7763 }
7764 return NULL;
7765 }
7766
7767
7768 static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7769 PyObject *resultobj;
7770 wxString *arg1 = 0 ;
7771 wxString *arg2 = 0 ;
7772 bool temp1 = False ;
7773 bool temp2 = False ;
7774 PyObject * obj0 = 0 ;
7775 PyObject * obj1 = 0 ;
7776 char *kwnames[] = {
7777 (char *) "title",(char *) "text", NULL
7778 };
7779
7780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
7781 {
7782 arg1 = wxString_in_helper(obj0);
7783 if (arg1 == NULL) SWIG_fail;
7784 temp1 = True;
7785 }
7786 {
7787 arg2 = wxString_in_helper(obj1);
7788 if (arg2 == NULL) SWIG_fail;
7789 temp2 = True;
7790 }
7791 {
7792 PyThreadState* __tstate = wxPyBeginAllowThreads();
7793 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
7794
7795 wxPyEndAllowThreads(__tstate);
7796 if (PyErr_Occurred()) SWIG_fail;
7797 }
7798 Py_INCREF(Py_None); resultobj = Py_None;
7799 {
7800 if (temp1)
7801 delete arg1;
7802 }
7803 {
7804 if (temp2)
7805 delete arg2;
7806 }
7807 return resultobj;
7808 fail:
7809 {
7810 if (temp1)
7811 delete arg1;
7812 }
7813 {
7814 if (temp2)
7815 delete arg2;
7816 }
7817 return NULL;
7818 }
7819
7820
7821 static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7822 PyObject *resultobj;
7823 wxLogNull *result;
7824 char *kwnames[] = {
7825 NULL
7826 };
7827
7828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
7829 {
7830 PyThreadState* __tstate = wxPyBeginAllowThreads();
7831 result = (wxLogNull *)new wxLogNull();
7832
7833 wxPyEndAllowThreads(__tstate);
7834 if (PyErr_Occurred()) SWIG_fail;
7835 }
7836 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogNull, 1);
7837 return resultobj;
7838 fail:
7839 return NULL;
7840 }
7841
7842
7843 static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7844 PyObject *resultobj;
7845 wxLogNull *arg1 = (wxLogNull *) 0 ;
7846 PyObject * obj0 = 0 ;
7847 char *kwnames[] = {
7848 (char *) "self", NULL
7849 };
7850
7851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
7852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogNull,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7853 {
7854 PyThreadState* __tstate = wxPyBeginAllowThreads();
7855 delete arg1;
7856
7857 wxPyEndAllowThreads(__tstate);
7858 if (PyErr_Occurred()) SWIG_fail;
7859 }
7860 Py_INCREF(Py_None); resultobj = Py_None;
7861 return resultobj;
7862 fail:
7863 return NULL;
7864 }
7865
7866
7867 static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
7868 PyObject *obj;
7869 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7870 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
7871 Py_INCREF(obj);
7872 return Py_BuildValue((char *)"");
7873 }
7874 static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7875 PyObject *resultobj;
7876 wxPyLog *result;
7877 char *kwnames[] = {
7878 NULL
7879 };
7880
7881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
7882 {
7883 PyThreadState* __tstate = wxPyBeginAllowThreads();
7884 result = (wxPyLog *)new wxPyLog();
7885
7886 wxPyEndAllowThreads(__tstate);
7887 if (PyErr_Occurred()) SWIG_fail;
7888 }
7889 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLog, 1);
7890 return resultobj;
7891 fail:
7892 return NULL;
7893 }
7894
7895
7896 static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7897 PyObject *resultobj;
7898 wxPyLog *arg1 = (wxPyLog *) 0 ;
7899 PyObject *arg2 = (PyObject *) 0 ;
7900 PyObject *arg3 = (PyObject *) 0 ;
7901 PyObject * obj0 = 0 ;
7902 PyObject * obj1 = 0 ;
7903 PyObject * obj2 = 0 ;
7904 char *kwnames[] = {
7905 (char *) "self",(char *) "self",(char *) "_class", NULL
7906 };
7907
7908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7910 arg2 = obj1;
7911 arg3 = obj2;
7912 {
7913 PyThreadState* __tstate = wxPyBeginAllowThreads();
7914 (arg1)->_setCallbackInfo(arg2,arg3);
7915
7916 wxPyEndAllowThreads(__tstate);
7917 if (PyErr_Occurred()) SWIG_fail;
7918 }
7919 Py_INCREF(Py_None); resultobj = Py_None;
7920 return resultobj;
7921 fail:
7922 return NULL;
7923 }
7924
7925
7926 static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
7927 PyObject *obj;
7928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7929 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
7930 Py_INCREF(obj);
7931 return Py_BuildValue((char *)"");
7932 }
7933 static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
7934 PyObject *resultobj;
7935 int arg1 ;
7936 int arg2 = (int) wxSIGTERM ;
7937 int result;
7938 char *kwnames[] = {
7939 (char *) "pid",(char *) "sig", NULL
7940 };
7941
7942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:Process_Kill",kwnames,&arg1,&arg2)) goto fail;
7943 {
7944 PyThreadState* __tstate = wxPyBeginAllowThreads();
7945 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
7946
7947 wxPyEndAllowThreads(__tstate);
7948 if (PyErr_Occurred()) SWIG_fail;
7949 }
7950 resultobj = PyInt_FromLong((long)result);
7951 return resultobj;
7952 fail:
7953 return NULL;
7954 }
7955
7956
7957 static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
7958 PyObject *resultobj;
7959 int arg1 ;
7960 bool result;
7961 char *kwnames[] = {
7962 (char *) "pid", NULL
7963 };
7964
7965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Process_Exists",kwnames,&arg1)) goto fail;
7966 {
7967 PyThreadState* __tstate = wxPyBeginAllowThreads();
7968 result = (bool)wxPyProcess::Exists(arg1);
7969
7970 wxPyEndAllowThreads(__tstate);
7971 if (PyErr_Occurred()) SWIG_fail;
7972 }
7973 resultobj = PyInt_FromLong((long)result);
7974 return resultobj;
7975 fail:
7976 return NULL;
7977 }
7978
7979
7980 static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
7981 PyObject *resultobj;
7982 wxString *arg1 = 0 ;
7983 int arg2 = (int) wxEXEC_ASYNC ;
7984 wxPyProcess *result;
7985 bool temp1 = False ;
7986 PyObject * obj0 = 0 ;
7987 char *kwnames[] = {
7988 (char *) "cmd",(char *) "flags", NULL
7989 };
7990
7991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Process_Open",kwnames,&obj0,&arg2)) goto fail;
7992 {
7993 arg1 = wxString_in_helper(obj0);
7994 if (arg1 == NULL) SWIG_fail;
7995 temp1 = True;
7996 }
7997 {
7998 PyThreadState* __tstate = wxPyBeginAllowThreads();
7999 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8000
8001 wxPyEndAllowThreads(__tstate);
8002 if (PyErr_Occurred()) SWIG_fail;
8003 }
8004 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 0);
8005 {
8006 if (temp1)
8007 delete arg1;
8008 }
8009 return resultobj;
8010 fail:
8011 {
8012 if (temp1)
8013 delete arg1;
8014 }
8015 return NULL;
8016 }
8017
8018
8019 static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
8020 PyObject *resultobj;
8021 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8022 int arg2 = (int) -1 ;
8023 wxPyProcess *result;
8024 PyObject * obj0 = 0 ;
8025 char *kwnames[] = {
8026 (char *) "parent",(char *) "id", NULL
8027 };
8028
8029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Process",kwnames,&obj0,&arg2)) goto fail;
8030 if (obj0) {
8031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8032 }
8033 {
8034 PyThreadState* __tstate = wxPyBeginAllowThreads();
8035 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8036
8037 wxPyEndAllowThreads(__tstate);
8038 if (PyErr_Occurred()) SWIG_fail;
8039 }
8040 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 1);
8041 return resultobj;
8042 fail:
8043 return NULL;
8044 }
8045
8046
8047 static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8048 PyObject *resultobj;
8049 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8050 PyObject *arg2 = (PyObject *) 0 ;
8051 PyObject *arg3 = (PyObject *) 0 ;
8052 PyObject * obj0 = 0 ;
8053 PyObject * obj1 = 0 ;
8054 PyObject * obj2 = 0 ;
8055 char *kwnames[] = {
8056 (char *) "self",(char *) "self",(char *) "_class", NULL
8057 };
8058
8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8061 arg2 = obj1;
8062 arg3 = obj2;
8063 {
8064 PyThreadState* __tstate = wxPyBeginAllowThreads();
8065 (arg1)->_setCallbackInfo(arg2,arg3);
8066
8067 wxPyEndAllowThreads(__tstate);
8068 if (PyErr_Occurred()) SWIG_fail;
8069 }
8070 Py_INCREF(Py_None); resultobj = Py_None;
8071 return resultobj;
8072 fail:
8073 return NULL;
8074 }
8075
8076
8077 static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8078 PyObject *resultobj;
8079 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8080 int arg2 ;
8081 int arg3 ;
8082 PyObject * obj0 = 0 ;
8083 char *kwnames[] = {
8084 (char *) "self",(char *) "pid",(char *) "status", NULL
8085 };
8086
8087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Process_base_OnTerminate",kwnames,&obj0,&arg2,&arg3)) goto fail;
8088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8089 {
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 (arg1)->base_OnTerminate(arg2,arg3);
8092
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
8096 Py_INCREF(Py_None); resultobj = Py_None;
8097 return resultobj;
8098 fail:
8099 return NULL;
8100 }
8101
8102
8103 static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8104 PyObject *resultobj;
8105 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8106 PyObject * obj0 = 0 ;
8107 char *kwnames[] = {
8108 (char *) "self", NULL
8109 };
8110
8111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8113 {
8114 PyThreadState* __tstate = wxPyBeginAllowThreads();
8115 (arg1)->Redirect();
8116
8117 wxPyEndAllowThreads(__tstate);
8118 if (PyErr_Occurred()) SWIG_fail;
8119 }
8120 Py_INCREF(Py_None); resultobj = Py_None;
8121 return resultobj;
8122 fail:
8123 return NULL;
8124 }
8125
8126
8127 static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8128 PyObject *resultobj;
8129 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8130 bool result;
8131 PyObject * obj0 = 0 ;
8132 char *kwnames[] = {
8133 (char *) "self", NULL
8134 };
8135
8136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8138 {
8139 PyThreadState* __tstate = wxPyBeginAllowThreads();
8140 result = (bool)(arg1)->IsRedirected();
8141
8142 wxPyEndAllowThreads(__tstate);
8143 if (PyErr_Occurred()) SWIG_fail;
8144 }
8145 resultobj = PyInt_FromLong((long)result);
8146 return resultobj;
8147 fail:
8148 return NULL;
8149 }
8150
8151
8152 static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8153 PyObject *resultobj;
8154 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8155 PyObject * obj0 = 0 ;
8156 char *kwnames[] = {
8157 (char *) "self", NULL
8158 };
8159
8160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8162 {
8163 PyThreadState* __tstate = wxPyBeginAllowThreads();
8164 (arg1)->Detach();
8165
8166 wxPyEndAllowThreads(__tstate);
8167 if (PyErr_Occurred()) SWIG_fail;
8168 }
8169 Py_INCREF(Py_None); resultobj = Py_None;
8170 return resultobj;
8171 fail:
8172 return NULL;
8173 }
8174
8175
8176 static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8177 PyObject *resultobj;
8178 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8179 wxInputStream *result;
8180 PyObject * obj0 = 0 ;
8181 char *kwnames[] = {
8182 (char *) "self", NULL
8183 };
8184
8185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8187 {
8188 PyThreadState* __tstate = wxPyBeginAllowThreads();
8189 result = (wxInputStream *)(arg1)->GetInputStream();
8190
8191 wxPyEndAllowThreads(__tstate);
8192 if (PyErr_Occurred()) SWIG_fail;
8193 }
8194 {
8195 wxPyInputStream * _ptr = NULL;
8196
8197 if (result) {
8198 _ptr = new wxPyInputStream(result);
8199 }
8200 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8201 }
8202 return resultobj;
8203 fail:
8204 return NULL;
8205 }
8206
8207
8208 static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8209 PyObject *resultobj;
8210 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8211 wxInputStream *result;
8212 PyObject * obj0 = 0 ;
8213 char *kwnames[] = {
8214 (char *) "self", NULL
8215 };
8216
8217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
8218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8219 {
8220 PyThreadState* __tstate = wxPyBeginAllowThreads();
8221 result = (wxInputStream *)(arg1)->GetErrorStream();
8222
8223 wxPyEndAllowThreads(__tstate);
8224 if (PyErr_Occurred()) SWIG_fail;
8225 }
8226 {
8227 wxPyInputStream * _ptr = NULL;
8228
8229 if (result) {
8230 _ptr = new wxPyInputStream(result);
8231 }
8232 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8233 }
8234 return resultobj;
8235 fail:
8236 return NULL;
8237 }
8238
8239
8240 static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8241 PyObject *resultobj;
8242 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8243 wxOutputStream *result;
8244 PyObject * obj0 = 0 ;
8245 char *kwnames[] = {
8246 (char *) "self", NULL
8247 };
8248
8249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
8250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8251 {
8252 PyThreadState* __tstate = wxPyBeginAllowThreads();
8253 result = (wxOutputStream *)(arg1)->GetOutputStream();
8254
8255 wxPyEndAllowThreads(__tstate);
8256 if (PyErr_Occurred()) SWIG_fail;
8257 }
8258 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0);
8259 return resultobj;
8260 fail:
8261 return NULL;
8262 }
8263
8264
8265 static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
8266 PyObject *resultobj;
8267 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8268 PyObject * obj0 = 0 ;
8269 char *kwnames[] = {
8270 (char *) "self", NULL
8271 };
8272
8273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
8274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8275 {
8276 PyThreadState* __tstate = wxPyBeginAllowThreads();
8277 (arg1)->CloseOutput();
8278
8279 wxPyEndAllowThreads(__tstate);
8280 if (PyErr_Occurred()) SWIG_fail;
8281 }
8282 Py_INCREF(Py_None); resultobj = Py_None;
8283 return resultobj;
8284 fail:
8285 return NULL;
8286 }
8287
8288
8289 static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
8290 PyObject *resultobj;
8291 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8292 bool result;
8293 PyObject * obj0 = 0 ;
8294 char *kwnames[] = {
8295 (char *) "self", NULL
8296 };
8297
8298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
8299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8300 {
8301 PyThreadState* __tstate = wxPyBeginAllowThreads();
8302 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
8303
8304 wxPyEndAllowThreads(__tstate);
8305 if (PyErr_Occurred()) SWIG_fail;
8306 }
8307 resultobj = PyInt_FromLong((long)result);
8308 return resultobj;
8309 fail:
8310 return NULL;
8311 }
8312
8313
8314 static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8315 PyObject *resultobj;
8316 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8317 bool result;
8318 PyObject * obj0 = 0 ;
8319 char *kwnames[] = {
8320 (char *) "self", NULL
8321 };
8322
8323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
8324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8325 {
8326 PyThreadState* __tstate = wxPyBeginAllowThreads();
8327 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
8328
8329 wxPyEndAllowThreads(__tstate);
8330 if (PyErr_Occurred()) SWIG_fail;
8331 }
8332 resultobj = PyInt_FromLong((long)result);
8333 return resultobj;
8334 fail:
8335 return NULL;
8336 }
8337
8338
8339 static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8340 PyObject *resultobj;
8341 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8342 bool result;
8343 PyObject * obj0 = 0 ;
8344 char *kwnames[] = {
8345 (char *) "self", NULL
8346 };
8347
8348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
8349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8350 {
8351 PyThreadState* __tstate = wxPyBeginAllowThreads();
8352 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
8353
8354 wxPyEndAllowThreads(__tstate);
8355 if (PyErr_Occurred()) SWIG_fail;
8356 }
8357 resultobj = PyInt_FromLong((long)result);
8358 return resultobj;
8359 fail:
8360 return NULL;
8361 }
8362
8363
8364 static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
8365 PyObject *obj;
8366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8367 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
8368 Py_INCREF(obj);
8369 return Py_BuildValue((char *)"");
8370 }
8371 static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8372 PyObject *resultobj;
8373 int arg1 = (int) 0 ;
8374 int arg2 = (int) 0 ;
8375 int arg3 = (int) 0 ;
8376 wxProcessEvent *result;
8377 char *kwnames[] = {
8378 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8379 };
8380
8381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iii:new_ProcessEvent",kwnames,&arg1,&arg2,&arg3)) goto fail;
8382 {
8383 PyThreadState* __tstate = wxPyBeginAllowThreads();
8384 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
8385
8386 wxPyEndAllowThreads(__tstate);
8387 if (PyErr_Occurred()) SWIG_fail;
8388 }
8389 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProcessEvent, 1);
8390 return resultobj;
8391 fail:
8392 return NULL;
8393 }
8394
8395
8396 static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
8397 PyObject *resultobj;
8398 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8399 int result;
8400 PyObject * obj0 = 0 ;
8401 char *kwnames[] = {
8402 (char *) "self", NULL
8403 };
8404
8405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
8406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8407 {
8408 PyThreadState* __tstate = wxPyBeginAllowThreads();
8409 result = (int)(arg1)->GetPid();
8410
8411 wxPyEndAllowThreads(__tstate);
8412 if (PyErr_Occurred()) SWIG_fail;
8413 }
8414 resultobj = PyInt_FromLong((long)result);
8415 return resultobj;
8416 fail:
8417 return NULL;
8418 }
8419
8420
8421 static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8422 PyObject *resultobj;
8423 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8424 int result;
8425 PyObject * obj0 = 0 ;
8426 char *kwnames[] = {
8427 (char *) "self", NULL
8428 };
8429
8430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
8431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8432 {
8433 PyThreadState* __tstate = wxPyBeginAllowThreads();
8434 result = (int)(arg1)->GetExitCode();
8435
8436 wxPyEndAllowThreads(__tstate);
8437 if (PyErr_Occurred()) SWIG_fail;
8438 }
8439 resultobj = PyInt_FromLong((long)result);
8440 return resultobj;
8441 fail:
8442 return NULL;
8443 }
8444
8445
8446 static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8447 PyObject *resultobj;
8448 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8449 int arg2 ;
8450 PyObject * obj0 = 0 ;
8451 char *kwnames[] = {
8452 (char *) "self",(char *) "m_pid", NULL
8453 };
8454
8455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_pid_set",kwnames,&obj0,&arg2)) goto fail;
8456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8457 if (arg1) (arg1)->m_pid = arg2;
8458
8459 Py_INCREF(Py_None); resultobj = Py_None;
8460 return resultobj;
8461 fail:
8462 return NULL;
8463 }
8464
8465
8466 static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8467 PyObject *resultobj;
8468 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8469 int result;
8470 PyObject * obj0 = 0 ;
8471 char *kwnames[] = {
8472 (char *) "self", NULL
8473 };
8474
8475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
8476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8477 result = (int) ((arg1)->m_pid);
8478
8479 resultobj = PyInt_FromLong((long)result);
8480 return resultobj;
8481 fail:
8482 return NULL;
8483 }
8484
8485
8486 static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8487 PyObject *resultobj;
8488 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8489 int arg2 ;
8490 PyObject * obj0 = 0 ;
8491 char *kwnames[] = {
8492 (char *) "self",(char *) "m_exitcode", NULL
8493 };
8494
8495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames,&obj0,&arg2)) goto fail;
8496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8497 if (arg1) (arg1)->m_exitcode = arg2;
8498
8499 Py_INCREF(Py_None); resultobj = Py_None;
8500 return resultobj;
8501 fail:
8502 return NULL;
8503 }
8504
8505
8506 static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8507 PyObject *resultobj;
8508 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8509 int result;
8510 PyObject * obj0 = 0 ;
8511 char *kwnames[] = {
8512 (char *) "self", NULL
8513 };
8514
8515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
8516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8517 result = (int) ((arg1)->m_exitcode);
8518
8519 resultobj = PyInt_FromLong((long)result);
8520 return resultobj;
8521 fail:
8522 return NULL;
8523 }
8524
8525
8526 static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
8527 PyObject *obj;
8528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8529 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
8530 Py_INCREF(obj);
8531 return Py_BuildValue((char *)"");
8532 }
8533 static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
8534 PyObject *resultobj;
8535 wxString *arg1 = 0 ;
8536 int arg2 = (int) wxEXEC_ASYNC ;
8537 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
8538 long result;
8539 bool temp1 = False ;
8540 PyObject * obj0 = 0 ;
8541 PyObject * obj2 = 0 ;
8542 char *kwnames[] = {
8543 (char *) "command",(char *) "flags",(char *) "process", NULL
8544 };
8545
8546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Execute",kwnames,&obj0,&arg2,&obj2)) goto fail;
8547 {
8548 arg1 = wxString_in_helper(obj0);
8549 if (arg1 == NULL) SWIG_fail;
8550 temp1 = True;
8551 }
8552 if (obj2) {
8553 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8554 }
8555 {
8556 PyThreadState* __tstate = wxPyBeginAllowThreads();
8557 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
8558
8559 wxPyEndAllowThreads(__tstate);
8560 if (PyErr_Occurred()) SWIG_fail;
8561 }
8562 resultobj = PyInt_FromLong((long)result);
8563 {
8564 if (temp1)
8565 delete arg1;
8566 }
8567 return resultobj;
8568 fail:
8569 {
8570 if (temp1)
8571 delete arg1;
8572 }
8573 return NULL;
8574 }
8575
8576
8577 static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8578 PyObject *resultobj;
8579 int arg1 = (int) wxJOYSTICK1 ;
8580 wxJoystick *result;
8581 char *kwnames[] = {
8582 (char *) "joystick", NULL
8583 };
8584
8585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_Joystick",kwnames,&arg1)) goto fail;
8586 {
8587 PyThreadState* __tstate = wxPyBeginAllowThreads();
8588 result = (wxJoystick *)new wxJoystick(arg1);
8589
8590 wxPyEndAllowThreads(__tstate);
8591 if (PyErr_Occurred()) SWIG_fail;
8592 }
8593 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystick, 1);
8594 return resultobj;
8595 fail:
8596 return NULL;
8597 }
8598
8599
8600 static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8601 PyObject *resultobj;
8602 wxJoystick *arg1 = (wxJoystick *) 0 ;
8603 PyObject * obj0 = 0 ;
8604 char *kwnames[] = {
8605 (char *) "self", NULL
8606 };
8607
8608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
8609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8610 {
8611 PyThreadState* __tstate = wxPyBeginAllowThreads();
8612 delete arg1;
8613
8614 wxPyEndAllowThreads(__tstate);
8615 if (PyErr_Occurred()) SWIG_fail;
8616 }
8617 Py_INCREF(Py_None); resultobj = Py_None;
8618 return resultobj;
8619 fail:
8620 return NULL;
8621 }
8622
8623
8624 static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8625 PyObject *resultobj;
8626 wxJoystick *arg1 = (wxJoystick *) 0 ;
8627 wxPoint result;
8628 PyObject * obj0 = 0 ;
8629 char *kwnames[] = {
8630 (char *) "self", NULL
8631 };
8632
8633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
8634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8635 {
8636 PyThreadState* __tstate = wxPyBeginAllowThreads();
8637 result = (arg1)->GetPosition();
8638
8639 wxPyEndAllowThreads(__tstate);
8640 if (PyErr_Occurred()) SWIG_fail;
8641 }
8642 {
8643 wxPoint * resultptr;
8644 resultptr = new wxPoint((wxPoint &) result);
8645 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8646 }
8647 return resultobj;
8648 fail:
8649 return NULL;
8650 }
8651
8652
8653 static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8654 PyObject *resultobj;
8655 wxJoystick *arg1 = (wxJoystick *) 0 ;
8656 int result;
8657 PyObject * obj0 = 0 ;
8658 char *kwnames[] = {
8659 (char *) "self", NULL
8660 };
8661
8662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
8663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8664 {
8665 PyThreadState* __tstate = wxPyBeginAllowThreads();
8666 result = (int)(arg1)->GetZPosition();
8667
8668 wxPyEndAllowThreads(__tstate);
8669 if (PyErr_Occurred()) SWIG_fail;
8670 }
8671 resultobj = PyInt_FromLong((long)result);
8672 return resultobj;
8673 fail:
8674 return NULL;
8675 }
8676
8677
8678 static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
8679 PyObject *resultobj;
8680 wxJoystick *arg1 = (wxJoystick *) 0 ;
8681 int result;
8682 PyObject * obj0 = 0 ;
8683 char *kwnames[] = {
8684 (char *) "self", NULL
8685 };
8686
8687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
8688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 result = (int)(arg1)->GetButtonState();
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 }
8696 resultobj = PyInt_FromLong((long)result);
8697 return resultobj;
8698 fail:
8699 return NULL;
8700 }
8701
8702
8703 static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8704 PyObject *resultobj;
8705 wxJoystick *arg1 = (wxJoystick *) 0 ;
8706 int result;
8707 PyObject * obj0 = 0 ;
8708 char *kwnames[] = {
8709 (char *) "self", NULL
8710 };
8711
8712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
8713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8714 {
8715 PyThreadState* __tstate = wxPyBeginAllowThreads();
8716 result = (int)(arg1)->GetPOVPosition();
8717
8718 wxPyEndAllowThreads(__tstate);
8719 if (PyErr_Occurred()) SWIG_fail;
8720 }
8721 resultobj = PyInt_FromLong((long)result);
8722 return resultobj;
8723 fail:
8724 return NULL;
8725 }
8726
8727
8728 static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8729 PyObject *resultobj;
8730 wxJoystick *arg1 = (wxJoystick *) 0 ;
8731 int result;
8732 PyObject * obj0 = 0 ;
8733 char *kwnames[] = {
8734 (char *) "self", NULL
8735 };
8736
8737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
8738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8739 {
8740 PyThreadState* __tstate = wxPyBeginAllowThreads();
8741 result = (int)(arg1)->GetPOVCTSPosition();
8742
8743 wxPyEndAllowThreads(__tstate);
8744 if (PyErr_Occurred()) SWIG_fail;
8745 }
8746 resultobj = PyInt_FromLong((long)result);
8747 return resultobj;
8748 fail:
8749 return NULL;
8750 }
8751
8752
8753 static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8754 PyObject *resultobj;
8755 wxJoystick *arg1 = (wxJoystick *) 0 ;
8756 int result;
8757 PyObject * obj0 = 0 ;
8758 char *kwnames[] = {
8759 (char *) "self", NULL
8760 };
8761
8762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
8763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8764 {
8765 PyThreadState* __tstate = wxPyBeginAllowThreads();
8766 result = (int)(arg1)->GetRudderPosition();
8767
8768 wxPyEndAllowThreads(__tstate);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
8771 resultobj = PyInt_FromLong((long)result);
8772 return resultobj;
8773 fail:
8774 return NULL;
8775 }
8776
8777
8778 static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8779 PyObject *resultobj;
8780 wxJoystick *arg1 = (wxJoystick *) 0 ;
8781 int result;
8782 PyObject * obj0 = 0 ;
8783 char *kwnames[] = {
8784 (char *) "self", NULL
8785 };
8786
8787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
8788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8789 {
8790 PyThreadState* __tstate = wxPyBeginAllowThreads();
8791 result = (int)(arg1)->GetUPosition();
8792
8793 wxPyEndAllowThreads(__tstate);
8794 if (PyErr_Occurred()) SWIG_fail;
8795 }
8796 resultobj = PyInt_FromLong((long)result);
8797 return resultobj;
8798 fail:
8799 return NULL;
8800 }
8801
8802
8803 static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8804 PyObject *resultobj;
8805 wxJoystick *arg1 = (wxJoystick *) 0 ;
8806 int result;
8807 PyObject * obj0 = 0 ;
8808 char *kwnames[] = {
8809 (char *) "self", NULL
8810 };
8811
8812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
8813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8814 {
8815 PyThreadState* __tstate = wxPyBeginAllowThreads();
8816 result = (int)(arg1)->GetVPosition();
8817
8818 wxPyEndAllowThreads(__tstate);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 }
8821 resultobj = PyInt_FromLong((long)result);
8822 return resultobj;
8823 fail:
8824 return NULL;
8825 }
8826
8827
8828 static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8829 PyObject *resultobj;
8830 wxJoystick *arg1 = (wxJoystick *) 0 ;
8831 int result;
8832 PyObject * obj0 = 0 ;
8833 char *kwnames[] = {
8834 (char *) "self", NULL
8835 };
8836
8837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
8838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8839 {
8840 PyThreadState* __tstate = wxPyBeginAllowThreads();
8841 result = (int)(arg1)->GetMovementThreshold();
8842
8843 wxPyEndAllowThreads(__tstate);
8844 if (PyErr_Occurred()) SWIG_fail;
8845 }
8846 resultobj = PyInt_FromLong((long)result);
8847 return resultobj;
8848 fail:
8849 return NULL;
8850 }
8851
8852
8853 static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8854 PyObject *resultobj;
8855 wxJoystick *arg1 = (wxJoystick *) 0 ;
8856 int arg2 ;
8857 PyObject * obj0 = 0 ;
8858 char *kwnames[] = {
8859 (char *) "self",(char *) "threshold", NULL
8860 };
8861
8862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Joystick_SetMovementThreshold",kwnames,&obj0,&arg2)) goto fail;
8863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8864 {
8865 PyThreadState* __tstate = wxPyBeginAllowThreads();
8866 (arg1)->SetMovementThreshold(arg2);
8867
8868 wxPyEndAllowThreads(__tstate);
8869 if (PyErr_Occurred()) SWIG_fail;
8870 }
8871 Py_INCREF(Py_None); resultobj = Py_None;
8872 return resultobj;
8873 fail:
8874 return NULL;
8875 }
8876
8877
8878 static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
8879 PyObject *resultobj;
8880 wxJoystick *arg1 = (wxJoystick *) 0 ;
8881 bool result;
8882 PyObject * obj0 = 0 ;
8883 char *kwnames[] = {
8884 (char *) "self", NULL
8885 };
8886
8887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
8888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8889 {
8890 PyThreadState* __tstate = wxPyBeginAllowThreads();
8891 result = (bool)(arg1)->IsOk();
8892
8893 wxPyEndAllowThreads(__tstate);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 resultobj = PyInt_FromLong((long)result);
8897 return resultobj;
8898 fail:
8899 return NULL;
8900 }
8901
8902
8903 static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
8904 PyObject *resultobj;
8905 wxJoystick *arg1 = (wxJoystick *) 0 ;
8906 int result;
8907 PyObject * obj0 = 0 ;
8908 char *kwnames[] = {
8909 (char *) "self", NULL
8910 };
8911
8912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
8913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8914 {
8915 PyThreadState* __tstate = wxPyBeginAllowThreads();
8916 result = (int)(arg1)->GetNumberJoysticks();
8917
8918 wxPyEndAllowThreads(__tstate);
8919 if (PyErr_Occurred()) SWIG_fail;
8920 }
8921 resultobj = PyInt_FromLong((long)result);
8922 return resultobj;
8923 fail:
8924 return NULL;
8925 }
8926
8927
8928 static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
8929 PyObject *resultobj;
8930 wxJoystick *arg1 = (wxJoystick *) 0 ;
8931 int result;
8932 PyObject * obj0 = 0 ;
8933 char *kwnames[] = {
8934 (char *) "self", NULL
8935 };
8936
8937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
8938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8939 {
8940 PyThreadState* __tstate = wxPyBeginAllowThreads();
8941 result = (int)(arg1)->GetManufacturerId();
8942
8943 wxPyEndAllowThreads(__tstate);
8944 if (PyErr_Occurred()) SWIG_fail;
8945 }
8946 resultobj = PyInt_FromLong((long)result);
8947 return resultobj;
8948 fail:
8949 return NULL;
8950 }
8951
8952
8953 static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
8954 PyObject *resultobj;
8955 wxJoystick *arg1 = (wxJoystick *) 0 ;
8956 int result;
8957 PyObject * obj0 = 0 ;
8958 char *kwnames[] = {
8959 (char *) "self", NULL
8960 };
8961
8962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
8963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8964 {
8965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8966 result = (int)(arg1)->GetProductId();
8967
8968 wxPyEndAllowThreads(__tstate);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 }
8971 resultobj = PyInt_FromLong((long)result);
8972 return resultobj;
8973 fail:
8974 return NULL;
8975 }
8976
8977
8978 static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
8979 PyObject *resultobj;
8980 wxJoystick *arg1 = (wxJoystick *) 0 ;
8981 wxString result;
8982 PyObject * obj0 = 0 ;
8983 char *kwnames[] = {
8984 (char *) "self", NULL
8985 };
8986
8987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
8988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8989 {
8990 PyThreadState* __tstate = wxPyBeginAllowThreads();
8991 result = (arg1)->GetProductName();
8992
8993 wxPyEndAllowThreads(__tstate);
8994 if (PyErr_Occurred()) SWIG_fail;
8995 }
8996 {
8997 #if wxUSE_UNICODE
8998 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8999 #else
9000 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9001 #endif
9002 }
9003 return resultobj;
9004 fail:
9005 return NULL;
9006 }
9007
9008
9009 static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9010 PyObject *resultobj;
9011 wxJoystick *arg1 = (wxJoystick *) 0 ;
9012 int result;
9013 PyObject * obj0 = 0 ;
9014 char *kwnames[] = {
9015 (char *) "self", NULL
9016 };
9017
9018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
9019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9020 {
9021 PyThreadState* __tstate = wxPyBeginAllowThreads();
9022 result = (int)(arg1)->GetXMin();
9023
9024 wxPyEndAllowThreads(__tstate);
9025 if (PyErr_Occurred()) SWIG_fail;
9026 }
9027 resultobj = PyInt_FromLong((long)result);
9028 return resultobj;
9029 fail:
9030 return NULL;
9031 }
9032
9033
9034 static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9035 PyObject *resultobj;
9036 wxJoystick *arg1 = (wxJoystick *) 0 ;
9037 int result;
9038 PyObject * obj0 = 0 ;
9039 char *kwnames[] = {
9040 (char *) "self", NULL
9041 };
9042
9043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
9044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9045 {
9046 PyThreadState* __tstate = wxPyBeginAllowThreads();
9047 result = (int)(arg1)->GetYMin();
9048
9049 wxPyEndAllowThreads(__tstate);
9050 if (PyErr_Occurred()) SWIG_fail;
9051 }
9052 resultobj = PyInt_FromLong((long)result);
9053 return resultobj;
9054 fail:
9055 return NULL;
9056 }
9057
9058
9059 static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9060 PyObject *resultobj;
9061 wxJoystick *arg1 = (wxJoystick *) 0 ;
9062 int result;
9063 PyObject * obj0 = 0 ;
9064 char *kwnames[] = {
9065 (char *) "self", NULL
9066 };
9067
9068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9070 {
9071 PyThreadState* __tstate = wxPyBeginAllowThreads();
9072 result = (int)(arg1)->GetZMin();
9073
9074 wxPyEndAllowThreads(__tstate);
9075 if (PyErr_Occurred()) SWIG_fail;
9076 }
9077 resultobj = PyInt_FromLong((long)result);
9078 return resultobj;
9079 fail:
9080 return NULL;
9081 }
9082
9083
9084 static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9085 PyObject *resultobj;
9086 wxJoystick *arg1 = (wxJoystick *) 0 ;
9087 int result;
9088 PyObject * obj0 = 0 ;
9089 char *kwnames[] = {
9090 (char *) "self", NULL
9091 };
9092
9093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9095 {
9096 PyThreadState* __tstate = wxPyBeginAllowThreads();
9097 result = (int)(arg1)->GetXMax();
9098
9099 wxPyEndAllowThreads(__tstate);
9100 if (PyErr_Occurred()) SWIG_fail;
9101 }
9102 resultobj = PyInt_FromLong((long)result);
9103 return resultobj;
9104 fail:
9105 return NULL;
9106 }
9107
9108
9109 static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9110 PyObject *resultobj;
9111 wxJoystick *arg1 = (wxJoystick *) 0 ;
9112 int result;
9113 PyObject * obj0 = 0 ;
9114 char *kwnames[] = {
9115 (char *) "self", NULL
9116 };
9117
9118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
9119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9120 {
9121 PyThreadState* __tstate = wxPyBeginAllowThreads();
9122 result = (int)(arg1)->GetYMax();
9123
9124 wxPyEndAllowThreads(__tstate);
9125 if (PyErr_Occurred()) SWIG_fail;
9126 }
9127 resultobj = PyInt_FromLong((long)result);
9128 return resultobj;
9129 fail:
9130 return NULL;
9131 }
9132
9133
9134 static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9135 PyObject *resultobj;
9136 wxJoystick *arg1 = (wxJoystick *) 0 ;
9137 int result;
9138 PyObject * obj0 = 0 ;
9139 char *kwnames[] = {
9140 (char *) "self", NULL
9141 };
9142
9143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
9144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9145 {
9146 PyThreadState* __tstate = wxPyBeginAllowThreads();
9147 result = (int)(arg1)->GetZMax();
9148
9149 wxPyEndAllowThreads(__tstate);
9150 if (PyErr_Occurred()) SWIG_fail;
9151 }
9152 resultobj = PyInt_FromLong((long)result);
9153 return resultobj;
9154 fail:
9155 return NULL;
9156 }
9157
9158
9159 static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9160 PyObject *resultobj;
9161 wxJoystick *arg1 = (wxJoystick *) 0 ;
9162 int result;
9163 PyObject * obj0 = 0 ;
9164 char *kwnames[] = {
9165 (char *) "self", NULL
9166 };
9167
9168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
9169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9170 {
9171 PyThreadState* __tstate = wxPyBeginAllowThreads();
9172 result = (int)(arg1)->GetNumberButtons();
9173
9174 wxPyEndAllowThreads(__tstate);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 }
9177 resultobj = PyInt_FromLong((long)result);
9178 return resultobj;
9179 fail:
9180 return NULL;
9181 }
9182
9183
9184 static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9185 PyObject *resultobj;
9186 wxJoystick *arg1 = (wxJoystick *) 0 ;
9187 int result;
9188 PyObject * obj0 = 0 ;
9189 char *kwnames[] = {
9190 (char *) "self", NULL
9191 };
9192
9193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
9194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9195 {
9196 PyThreadState* __tstate = wxPyBeginAllowThreads();
9197 result = (int)(arg1)->GetNumberAxes();
9198
9199 wxPyEndAllowThreads(__tstate);
9200 if (PyErr_Occurred()) SWIG_fail;
9201 }
9202 resultobj = PyInt_FromLong((long)result);
9203 return resultobj;
9204 fail:
9205 return NULL;
9206 }
9207
9208
9209 static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9210 PyObject *resultobj;
9211 wxJoystick *arg1 = (wxJoystick *) 0 ;
9212 int result;
9213 PyObject * obj0 = 0 ;
9214 char *kwnames[] = {
9215 (char *) "self", NULL
9216 };
9217
9218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
9219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9220 {
9221 PyThreadState* __tstate = wxPyBeginAllowThreads();
9222 result = (int)(arg1)->GetMaxButtons();
9223
9224 wxPyEndAllowThreads(__tstate);
9225 if (PyErr_Occurred()) SWIG_fail;
9226 }
9227 resultobj = PyInt_FromLong((long)result);
9228 return resultobj;
9229 fail:
9230 return NULL;
9231 }
9232
9233
9234 static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9235 PyObject *resultobj;
9236 wxJoystick *arg1 = (wxJoystick *) 0 ;
9237 int result;
9238 PyObject * obj0 = 0 ;
9239 char *kwnames[] = {
9240 (char *) "self", NULL
9241 };
9242
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
9244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9245 {
9246 PyThreadState* __tstate = wxPyBeginAllowThreads();
9247 result = (int)(arg1)->GetMaxAxes();
9248
9249 wxPyEndAllowThreads(__tstate);
9250 if (PyErr_Occurred()) SWIG_fail;
9251 }
9252 resultobj = PyInt_FromLong((long)result);
9253 return resultobj;
9254 fail:
9255 return NULL;
9256 }
9257
9258
9259 static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9260 PyObject *resultobj;
9261 wxJoystick *arg1 = (wxJoystick *) 0 ;
9262 int result;
9263 PyObject * obj0 = 0 ;
9264 char *kwnames[] = {
9265 (char *) "self", NULL
9266 };
9267
9268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
9269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9270 {
9271 PyThreadState* __tstate = wxPyBeginAllowThreads();
9272 result = (int)(arg1)->GetPollingMin();
9273
9274 wxPyEndAllowThreads(__tstate);
9275 if (PyErr_Occurred()) SWIG_fail;
9276 }
9277 resultobj = PyInt_FromLong((long)result);
9278 return resultobj;
9279 fail:
9280 return NULL;
9281 }
9282
9283
9284 static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9285 PyObject *resultobj;
9286 wxJoystick *arg1 = (wxJoystick *) 0 ;
9287 int result;
9288 PyObject * obj0 = 0 ;
9289 char *kwnames[] = {
9290 (char *) "self", NULL
9291 };
9292
9293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
9294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9295 {
9296 PyThreadState* __tstate = wxPyBeginAllowThreads();
9297 result = (int)(arg1)->GetPollingMax();
9298
9299 wxPyEndAllowThreads(__tstate);
9300 if (PyErr_Occurred()) SWIG_fail;
9301 }
9302 resultobj = PyInt_FromLong((long)result);
9303 return resultobj;
9304 fail:
9305 return NULL;
9306 }
9307
9308
9309 static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9310 PyObject *resultobj;
9311 wxJoystick *arg1 = (wxJoystick *) 0 ;
9312 int result;
9313 PyObject * obj0 = 0 ;
9314 char *kwnames[] = {
9315 (char *) "self", NULL
9316 };
9317
9318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
9319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9320 {
9321 PyThreadState* __tstate = wxPyBeginAllowThreads();
9322 result = (int)(arg1)->GetRudderMin();
9323
9324 wxPyEndAllowThreads(__tstate);
9325 if (PyErr_Occurred()) SWIG_fail;
9326 }
9327 resultobj = PyInt_FromLong((long)result);
9328 return resultobj;
9329 fail:
9330 return NULL;
9331 }
9332
9333
9334 static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9335 PyObject *resultobj;
9336 wxJoystick *arg1 = (wxJoystick *) 0 ;
9337 int result;
9338 PyObject * obj0 = 0 ;
9339 char *kwnames[] = {
9340 (char *) "self", NULL
9341 };
9342
9343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
9344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9345 {
9346 PyThreadState* __tstate = wxPyBeginAllowThreads();
9347 result = (int)(arg1)->GetRudderMax();
9348
9349 wxPyEndAllowThreads(__tstate);
9350 if (PyErr_Occurred()) SWIG_fail;
9351 }
9352 resultobj = PyInt_FromLong((long)result);
9353 return resultobj;
9354 fail:
9355 return NULL;
9356 }
9357
9358
9359 static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9360 PyObject *resultobj;
9361 wxJoystick *arg1 = (wxJoystick *) 0 ;
9362 int result;
9363 PyObject * obj0 = 0 ;
9364 char *kwnames[] = {
9365 (char *) "self", NULL
9366 };
9367
9368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
9369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9370 {
9371 PyThreadState* __tstate = wxPyBeginAllowThreads();
9372 result = (int)(arg1)->GetUMin();
9373
9374 wxPyEndAllowThreads(__tstate);
9375 if (PyErr_Occurred()) SWIG_fail;
9376 }
9377 resultobj = PyInt_FromLong((long)result);
9378 return resultobj;
9379 fail:
9380 return NULL;
9381 }
9382
9383
9384 static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9385 PyObject *resultobj;
9386 wxJoystick *arg1 = (wxJoystick *) 0 ;
9387 int result;
9388 PyObject * obj0 = 0 ;
9389 char *kwnames[] = {
9390 (char *) "self", NULL
9391 };
9392
9393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
9394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9395 {
9396 PyThreadState* __tstate = wxPyBeginAllowThreads();
9397 result = (int)(arg1)->GetUMax();
9398
9399 wxPyEndAllowThreads(__tstate);
9400 if (PyErr_Occurred()) SWIG_fail;
9401 }
9402 resultobj = PyInt_FromLong((long)result);
9403 return resultobj;
9404 fail:
9405 return NULL;
9406 }
9407
9408
9409 static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9410 PyObject *resultobj;
9411 wxJoystick *arg1 = (wxJoystick *) 0 ;
9412 int result;
9413 PyObject * obj0 = 0 ;
9414 char *kwnames[] = {
9415 (char *) "self", NULL
9416 };
9417
9418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
9419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9420 {
9421 PyThreadState* __tstate = wxPyBeginAllowThreads();
9422 result = (int)(arg1)->GetVMin();
9423
9424 wxPyEndAllowThreads(__tstate);
9425 if (PyErr_Occurred()) SWIG_fail;
9426 }
9427 resultobj = PyInt_FromLong((long)result);
9428 return resultobj;
9429 fail:
9430 return NULL;
9431 }
9432
9433
9434 static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9435 PyObject *resultobj;
9436 wxJoystick *arg1 = (wxJoystick *) 0 ;
9437 int result;
9438 PyObject * obj0 = 0 ;
9439 char *kwnames[] = {
9440 (char *) "self", NULL
9441 };
9442
9443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
9444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9445 {
9446 PyThreadState* __tstate = wxPyBeginAllowThreads();
9447 result = (int)(arg1)->GetVMax();
9448
9449 wxPyEndAllowThreads(__tstate);
9450 if (PyErr_Occurred()) SWIG_fail;
9451 }
9452 resultobj = PyInt_FromLong((long)result);
9453 return resultobj;
9454 fail:
9455 return NULL;
9456 }
9457
9458
9459 static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
9460 PyObject *resultobj;
9461 wxJoystick *arg1 = (wxJoystick *) 0 ;
9462 bool result;
9463 PyObject * obj0 = 0 ;
9464 char *kwnames[] = {
9465 (char *) "self", NULL
9466 };
9467
9468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
9469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9470 {
9471 PyThreadState* __tstate = wxPyBeginAllowThreads();
9472 result = (bool)(arg1)->HasRudder();
9473
9474 wxPyEndAllowThreads(__tstate);
9475 if (PyErr_Occurred()) SWIG_fail;
9476 }
9477 resultobj = PyInt_FromLong((long)result);
9478 return resultobj;
9479 fail:
9480 return NULL;
9481 }
9482
9483
9484 static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
9485 PyObject *resultobj;
9486 wxJoystick *arg1 = (wxJoystick *) 0 ;
9487 bool result;
9488 PyObject * obj0 = 0 ;
9489 char *kwnames[] = {
9490 (char *) "self", NULL
9491 };
9492
9493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
9494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9495 {
9496 PyThreadState* __tstate = wxPyBeginAllowThreads();
9497 result = (bool)(arg1)->HasZ();
9498
9499 wxPyEndAllowThreads(__tstate);
9500 if (PyErr_Occurred()) SWIG_fail;
9501 }
9502 resultobj = PyInt_FromLong((long)result);
9503 return resultobj;
9504 fail:
9505 return NULL;
9506 }
9507
9508
9509 static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
9510 PyObject *resultobj;
9511 wxJoystick *arg1 = (wxJoystick *) 0 ;
9512 bool result;
9513 PyObject * obj0 = 0 ;
9514 char *kwnames[] = {
9515 (char *) "self", NULL
9516 };
9517
9518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
9519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9520 {
9521 PyThreadState* __tstate = wxPyBeginAllowThreads();
9522 result = (bool)(arg1)->HasU();
9523
9524 wxPyEndAllowThreads(__tstate);
9525 if (PyErr_Occurred()) SWIG_fail;
9526 }
9527 resultobj = PyInt_FromLong((long)result);
9528 return resultobj;
9529 fail:
9530 return NULL;
9531 }
9532
9533
9534 static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
9535 PyObject *resultobj;
9536 wxJoystick *arg1 = (wxJoystick *) 0 ;
9537 bool result;
9538 PyObject * obj0 = 0 ;
9539 char *kwnames[] = {
9540 (char *) "self", NULL
9541 };
9542
9543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
9544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9545 {
9546 PyThreadState* __tstate = wxPyBeginAllowThreads();
9547 result = (bool)(arg1)->HasV();
9548
9549 wxPyEndAllowThreads(__tstate);
9550 if (PyErr_Occurred()) SWIG_fail;
9551 }
9552 resultobj = PyInt_FromLong((long)result);
9553 return resultobj;
9554 fail:
9555 return NULL;
9556 }
9557
9558
9559 static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
9560 PyObject *resultobj;
9561 wxJoystick *arg1 = (wxJoystick *) 0 ;
9562 bool result;
9563 PyObject * obj0 = 0 ;
9564 char *kwnames[] = {
9565 (char *) "self", NULL
9566 };
9567
9568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
9569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9570 {
9571 PyThreadState* __tstate = wxPyBeginAllowThreads();
9572 result = (bool)(arg1)->HasPOV();
9573
9574 wxPyEndAllowThreads(__tstate);
9575 if (PyErr_Occurred()) SWIG_fail;
9576 }
9577 resultobj = PyInt_FromLong((long)result);
9578 return resultobj;
9579 fail:
9580 return NULL;
9581 }
9582
9583
9584 static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
9585 PyObject *resultobj;
9586 wxJoystick *arg1 = (wxJoystick *) 0 ;
9587 bool result;
9588 PyObject * obj0 = 0 ;
9589 char *kwnames[] = {
9590 (char *) "self", NULL
9591 };
9592
9593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
9594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9595 {
9596 PyThreadState* __tstate = wxPyBeginAllowThreads();
9597 result = (bool)(arg1)->HasPOV4Dir();
9598
9599 wxPyEndAllowThreads(__tstate);
9600 if (PyErr_Occurred()) SWIG_fail;
9601 }
9602 resultobj = PyInt_FromLong((long)result);
9603 return resultobj;
9604 fail:
9605 return NULL;
9606 }
9607
9608
9609 static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
9610 PyObject *resultobj;
9611 wxJoystick *arg1 = (wxJoystick *) 0 ;
9612 bool result;
9613 PyObject * obj0 = 0 ;
9614 char *kwnames[] = {
9615 (char *) "self", NULL
9616 };
9617
9618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
9619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9620 {
9621 PyThreadState* __tstate = wxPyBeginAllowThreads();
9622 result = (bool)(arg1)->HasPOVCTS();
9623
9624 wxPyEndAllowThreads(__tstate);
9625 if (PyErr_Occurred()) SWIG_fail;
9626 }
9627 resultobj = PyInt_FromLong((long)result);
9628 return resultobj;
9629 fail:
9630 return NULL;
9631 }
9632
9633
9634 static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9635 PyObject *resultobj;
9636 wxJoystick *arg1 = (wxJoystick *) 0 ;
9637 wxWindow *arg2 = (wxWindow *) 0 ;
9638 int arg3 = (int) 0 ;
9639 bool result;
9640 PyObject * obj0 = 0 ;
9641 PyObject * obj1 = 0 ;
9642 char *kwnames[] = {
9643 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9644 };
9645
9646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Joystick_SetCapture",kwnames,&obj0,&obj1,&arg3)) goto fail;
9647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9648 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9649 {
9650 PyThreadState* __tstate = wxPyBeginAllowThreads();
9651 result = (bool)(arg1)->SetCapture(arg2,arg3);
9652
9653 wxPyEndAllowThreads(__tstate);
9654 if (PyErr_Occurred()) SWIG_fail;
9655 }
9656 resultobj = PyInt_FromLong((long)result);
9657 return resultobj;
9658 fail:
9659 return NULL;
9660 }
9661
9662
9663 static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9664 PyObject *resultobj;
9665 wxJoystick *arg1 = (wxJoystick *) 0 ;
9666 bool result;
9667 PyObject * obj0 = 0 ;
9668 char *kwnames[] = {
9669 (char *) "self", NULL
9670 };
9671
9672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
9673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9674 {
9675 PyThreadState* __tstate = wxPyBeginAllowThreads();
9676 result = (bool)(arg1)->ReleaseCapture();
9677
9678 wxPyEndAllowThreads(__tstate);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
9681 resultobj = PyInt_FromLong((long)result);
9682 return resultobj;
9683 fail:
9684 return NULL;
9685 }
9686
9687
9688 static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
9689 PyObject *obj;
9690 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9691 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
9692 Py_INCREF(obj);
9693 return Py_BuildValue((char *)"");
9694 }
9695 static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9696 PyObject *resultobj;
9697 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9698 wxPoint *arg2 = (wxPoint *) 0 ;
9699 PyObject * obj0 = 0 ;
9700 PyObject * obj1 = 0 ;
9701 char *kwnames[] = {
9702 (char *) "self",(char *) "m_pos", NULL
9703 };
9704
9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
9706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9707 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9708 if (arg1) (arg1)->m_pos = *arg2;
9709
9710 Py_INCREF(Py_None); resultobj = Py_None;
9711 return resultobj;
9712 fail:
9713 return NULL;
9714 }
9715
9716
9717 static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9718 PyObject *resultobj;
9719 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9720 wxPoint *result;
9721 PyObject * obj0 = 0 ;
9722 char *kwnames[] = {
9723 (char *) "self", NULL
9724 };
9725
9726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
9727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9728 result = (wxPoint *)& ((arg1)->m_pos);
9729
9730 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
9731 return resultobj;
9732 fail:
9733 return NULL;
9734 }
9735
9736
9737 static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9738 PyObject *resultobj;
9739 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9740 int arg2 ;
9741 PyObject * obj0 = 0 ;
9742 char *kwnames[] = {
9743 (char *) "self",(char *) "m_zPosition", NULL
9744 };
9745
9746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames,&obj0,&arg2)) goto fail;
9747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9748 if (arg1) (arg1)->m_zPosition = arg2;
9749
9750 Py_INCREF(Py_None); resultobj = Py_None;
9751 return resultobj;
9752 fail:
9753 return NULL;
9754 }
9755
9756
9757 static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9758 PyObject *resultobj;
9759 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9760 int result;
9761 PyObject * obj0 = 0 ;
9762 char *kwnames[] = {
9763 (char *) "self", NULL
9764 };
9765
9766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
9767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9768 result = (int) ((arg1)->m_zPosition);
9769
9770 resultobj = PyInt_FromLong((long)result);
9771 return resultobj;
9772 fail:
9773 return NULL;
9774 }
9775
9776
9777 static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9778 PyObject *resultobj;
9779 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9780 int arg2 ;
9781 PyObject * obj0 = 0 ;
9782 char *kwnames[] = {
9783 (char *) "self",(char *) "m_buttonChange", NULL
9784 };
9785
9786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&arg2)) goto fail;
9787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9788 if (arg1) (arg1)->m_buttonChange = arg2;
9789
9790 Py_INCREF(Py_None); resultobj = Py_None;
9791 return resultobj;
9792 fail:
9793 return NULL;
9794 }
9795
9796
9797 static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9798 PyObject *resultobj;
9799 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9800 int result;
9801 PyObject * obj0 = 0 ;
9802 char *kwnames[] = {
9803 (char *) "self", NULL
9804 };
9805
9806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
9807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9808 result = (int) ((arg1)->m_buttonChange);
9809
9810 resultobj = PyInt_FromLong((long)result);
9811 return resultobj;
9812 fail:
9813 return NULL;
9814 }
9815
9816
9817 static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9818 PyObject *resultobj;
9819 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9820 int arg2 ;
9821 PyObject * obj0 = 0 ;
9822 char *kwnames[] = {
9823 (char *) "self",(char *) "m_buttonState", NULL
9824 };
9825
9826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames,&obj0,&arg2)) goto fail;
9827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9828 if (arg1) (arg1)->m_buttonState = arg2;
9829
9830 Py_INCREF(Py_None); resultobj = Py_None;
9831 return resultobj;
9832 fail:
9833 return NULL;
9834 }
9835
9836
9837 static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9838 PyObject *resultobj;
9839 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9840 int result;
9841 PyObject * obj0 = 0 ;
9842 char *kwnames[] = {
9843 (char *) "self", NULL
9844 };
9845
9846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
9847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9848 result = (int) ((arg1)->m_buttonState);
9849
9850 resultobj = PyInt_FromLong((long)result);
9851 return resultobj;
9852 fail:
9853 return NULL;
9854 }
9855
9856
9857 static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9858 PyObject *resultobj;
9859 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9860 int arg2 ;
9861 PyObject * obj0 = 0 ;
9862 char *kwnames[] = {
9863 (char *) "self",(char *) "m_joyStick", NULL
9864 };
9865
9866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames,&obj0,&arg2)) goto fail;
9867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9868 if (arg1) (arg1)->m_joyStick = arg2;
9869
9870 Py_INCREF(Py_None); resultobj = Py_None;
9871 return resultobj;
9872 fail:
9873 return NULL;
9874 }
9875
9876
9877 static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9878 PyObject *resultobj;
9879 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9880 int result;
9881 PyObject * obj0 = 0 ;
9882 char *kwnames[] = {
9883 (char *) "self", NULL
9884 };
9885
9886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
9887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9888 result = (int) ((arg1)->m_joyStick);
9889
9890 resultobj = PyInt_FromLong((long)result);
9891 return resultobj;
9892 fail:
9893 return NULL;
9894 }
9895
9896
9897 static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9898 PyObject *resultobj;
9899 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
9900 int arg2 = (int) 0 ;
9901 int arg3 = (int) wxJOYSTICK1 ;
9902 int arg4 = (int) 0 ;
9903 wxJoystickEvent *result;
9904 char *kwnames[] = {
9905 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
9906 };
9907
9908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_JoystickEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
9909 {
9910 PyThreadState* __tstate = wxPyBeginAllowThreads();
9911 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
9912
9913 wxPyEndAllowThreads(__tstate);
9914 if (PyErr_Occurred()) SWIG_fail;
9915 }
9916 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystickEvent, 1);
9917 return resultobj;
9918 fail:
9919 return NULL;
9920 }
9921
9922
9923 static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9924 PyObject *resultobj;
9925 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9926 wxPoint result;
9927 PyObject * obj0 = 0 ;
9928 char *kwnames[] = {
9929 (char *) "self", NULL
9930 };
9931
9932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
9933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9934 {
9935 PyThreadState* __tstate = wxPyBeginAllowThreads();
9936 result = ((wxJoystickEvent const *)arg1)->GetPosition();
9937
9938 wxPyEndAllowThreads(__tstate);
9939 if (PyErr_Occurred()) SWIG_fail;
9940 }
9941 {
9942 wxPoint * resultptr;
9943 resultptr = new wxPoint((wxPoint &) result);
9944 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9945 }
9946 return resultobj;
9947 fail:
9948 return NULL;
9949 }
9950
9951
9952 static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9953 PyObject *resultobj;
9954 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9955 int result;
9956 PyObject * obj0 = 0 ;
9957 char *kwnames[] = {
9958 (char *) "self", NULL
9959 };
9960
9961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
9962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9963 {
9964 PyThreadState* __tstate = wxPyBeginAllowThreads();
9965 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
9966
9967 wxPyEndAllowThreads(__tstate);
9968 if (PyErr_Occurred()) SWIG_fail;
9969 }
9970 resultobj = PyInt_FromLong((long)result);
9971 return resultobj;
9972 fail:
9973 return NULL;
9974 }
9975
9976
9977 static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9978 PyObject *resultobj;
9979 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9980 int result;
9981 PyObject * obj0 = 0 ;
9982 char *kwnames[] = {
9983 (char *) "self", NULL
9984 };
9985
9986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
9987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9988 {
9989 PyThreadState* __tstate = wxPyBeginAllowThreads();
9990 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
9991
9992 wxPyEndAllowThreads(__tstate);
9993 if (PyErr_Occurred()) SWIG_fail;
9994 }
9995 resultobj = PyInt_FromLong((long)result);
9996 return resultobj;
9997 fail:
9998 return NULL;
9999 }
10000
10001
10002 static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10003 PyObject *resultobj;
10004 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10005 int result;
10006 PyObject * obj0 = 0 ;
10007 char *kwnames[] = {
10008 (char *) "self", NULL
10009 };
10010
10011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
10012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10013 {
10014 PyThreadState* __tstate = wxPyBeginAllowThreads();
10015 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10016
10017 wxPyEndAllowThreads(__tstate);
10018 if (PyErr_Occurred()) SWIG_fail;
10019 }
10020 resultobj = PyInt_FromLong((long)result);
10021 return resultobj;
10022 fail:
10023 return NULL;
10024 }
10025
10026
10027 static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10028 PyObject *resultobj;
10029 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10030 int result;
10031 PyObject * obj0 = 0 ;
10032 char *kwnames[] = {
10033 (char *) "self", NULL
10034 };
10035
10036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
10037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10038 {
10039 PyThreadState* __tstate = wxPyBeginAllowThreads();
10040 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
10041
10042 wxPyEndAllowThreads(__tstate);
10043 if (PyErr_Occurred()) SWIG_fail;
10044 }
10045 resultobj = PyInt_FromLong((long)result);
10046 return resultobj;
10047 fail:
10048 return NULL;
10049 }
10050
10051
10052 static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10053 PyObject *resultobj;
10054 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10055 int arg2 ;
10056 PyObject * obj0 = 0 ;
10057 char *kwnames[] = {
10058 (char *) "self",(char *) "stick", NULL
10059 };
10060
10061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetJoystick",kwnames,&obj0,&arg2)) goto fail;
10062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10063 {
10064 PyThreadState* __tstate = wxPyBeginAllowThreads();
10065 (arg1)->SetJoystick(arg2);
10066
10067 wxPyEndAllowThreads(__tstate);
10068 if (PyErr_Occurred()) SWIG_fail;
10069 }
10070 Py_INCREF(Py_None); resultobj = Py_None;
10071 return resultobj;
10072 fail:
10073 return NULL;
10074 }
10075
10076
10077 static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10078 PyObject *resultobj;
10079 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10080 int arg2 ;
10081 PyObject * obj0 = 0 ;
10082 char *kwnames[] = {
10083 (char *) "self",(char *) "state", NULL
10084 };
10085
10086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonState",kwnames,&obj0,&arg2)) goto fail;
10087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10088 {
10089 PyThreadState* __tstate = wxPyBeginAllowThreads();
10090 (arg1)->SetButtonState(arg2);
10091
10092 wxPyEndAllowThreads(__tstate);
10093 if (PyErr_Occurred()) SWIG_fail;
10094 }
10095 Py_INCREF(Py_None); resultobj = Py_None;
10096 return resultobj;
10097 fail:
10098 return NULL;
10099 }
10100
10101
10102 static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10103 PyObject *resultobj;
10104 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10105 int arg2 ;
10106 PyObject * obj0 = 0 ;
10107 char *kwnames[] = {
10108 (char *) "self",(char *) "change", NULL
10109 };
10110
10111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames,&obj0,&arg2)) goto fail;
10112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10113 {
10114 PyThreadState* __tstate = wxPyBeginAllowThreads();
10115 (arg1)->SetButtonChange(arg2);
10116
10117 wxPyEndAllowThreads(__tstate);
10118 if (PyErr_Occurred()) SWIG_fail;
10119 }
10120 Py_INCREF(Py_None); resultobj = Py_None;
10121 return resultobj;
10122 fail:
10123 return NULL;
10124 }
10125
10126
10127 static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10128 PyObject *resultobj;
10129 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10130 wxPoint *arg2 = 0 ;
10131 wxPoint temp2 ;
10132 PyObject * obj0 = 0 ;
10133 PyObject * obj1 = 0 ;
10134 char *kwnames[] = {
10135 (char *) "self",(char *) "pos", NULL
10136 };
10137
10138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10140 {
10141 arg2 = &temp2;
10142 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10143 }
10144 {
10145 PyThreadState* __tstate = wxPyBeginAllowThreads();
10146 (arg1)->SetPosition((wxPoint const &)*arg2);
10147
10148 wxPyEndAllowThreads(__tstate);
10149 if (PyErr_Occurred()) SWIG_fail;
10150 }
10151 Py_INCREF(Py_None); resultobj = Py_None;
10152 return resultobj;
10153 fail:
10154 return NULL;
10155 }
10156
10157
10158 static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10159 PyObject *resultobj;
10160 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10161 int arg2 ;
10162 PyObject * obj0 = 0 ;
10163 char *kwnames[] = {
10164 (char *) "self",(char *) "zPos", NULL
10165 };
10166
10167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetZPosition",kwnames,&obj0,&arg2)) goto fail;
10168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10169 {
10170 PyThreadState* __tstate = wxPyBeginAllowThreads();
10171 (arg1)->SetZPosition(arg2);
10172
10173 wxPyEndAllowThreads(__tstate);
10174 if (PyErr_Occurred()) SWIG_fail;
10175 }
10176 Py_INCREF(Py_None); resultobj = Py_None;
10177 return resultobj;
10178 fail:
10179 return NULL;
10180 }
10181
10182
10183 static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10184 PyObject *resultobj;
10185 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10186 bool result;
10187 PyObject * obj0 = 0 ;
10188 char *kwnames[] = {
10189 (char *) "self", NULL
10190 };
10191
10192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
10193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10194 {
10195 PyThreadState* __tstate = wxPyBeginAllowThreads();
10196 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
10197
10198 wxPyEndAllowThreads(__tstate);
10199 if (PyErr_Occurred()) SWIG_fail;
10200 }
10201 resultobj = PyInt_FromLong((long)result);
10202 return resultobj;
10203 fail:
10204 return NULL;
10205 }
10206
10207
10208 static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10209 PyObject *resultobj;
10210 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10211 bool result;
10212 PyObject * obj0 = 0 ;
10213 char *kwnames[] = {
10214 (char *) "self", NULL
10215 };
10216
10217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
10218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10219 {
10220 PyThreadState* __tstate = wxPyBeginAllowThreads();
10221 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
10222
10223 wxPyEndAllowThreads(__tstate);
10224 if (PyErr_Occurred()) SWIG_fail;
10225 }
10226 resultobj = PyInt_FromLong((long)result);
10227 return resultobj;
10228 fail:
10229 return NULL;
10230 }
10231
10232
10233 static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10234 PyObject *resultobj;
10235 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10236 bool result;
10237 PyObject * obj0 = 0 ;
10238 char *kwnames[] = {
10239 (char *) "self", NULL
10240 };
10241
10242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
10243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10244 {
10245 PyThreadState* __tstate = wxPyBeginAllowThreads();
10246 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
10247
10248 wxPyEndAllowThreads(__tstate);
10249 if (PyErr_Occurred()) SWIG_fail;
10250 }
10251 resultobj = PyInt_FromLong((long)result);
10252 return resultobj;
10253 fail:
10254 return NULL;
10255 }
10256
10257
10258 static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10259 PyObject *resultobj;
10260 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10261 int arg2 = (int) wxJOY_BUTTON_ANY ;
10262 bool result;
10263 PyObject * obj0 = 0 ;
10264 char *kwnames[] = {
10265 (char *) "self",(char *) "but", NULL
10266 };
10267
10268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonDown",kwnames,&obj0,&arg2)) goto fail;
10269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10270 {
10271 PyThreadState* __tstate = wxPyBeginAllowThreads();
10272 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
10273
10274 wxPyEndAllowThreads(__tstate);
10275 if (PyErr_Occurred()) SWIG_fail;
10276 }
10277 resultobj = PyInt_FromLong((long)result);
10278 return resultobj;
10279 fail:
10280 return NULL;
10281 }
10282
10283
10284 static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
10285 PyObject *resultobj;
10286 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10287 int arg2 = (int) wxJOY_BUTTON_ANY ;
10288 bool result;
10289 PyObject * obj0 = 0 ;
10290 char *kwnames[] = {
10291 (char *) "self",(char *) "but", NULL
10292 };
10293
10294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonUp",kwnames,&obj0,&arg2)) goto fail;
10295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10296 {
10297 PyThreadState* __tstate = wxPyBeginAllowThreads();
10298 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
10299
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
10303 resultobj = PyInt_FromLong((long)result);
10304 return resultobj;
10305 fail:
10306 return NULL;
10307 }
10308
10309
10310 static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10311 PyObject *resultobj;
10312 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10313 int arg2 = (int) wxJOY_BUTTON_ANY ;
10314 bool result;
10315 PyObject * obj0 = 0 ;
10316 char *kwnames[] = {
10317 (char *) "self",(char *) "but", NULL
10318 };
10319
10320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames,&obj0,&arg2)) goto fail;
10321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10322 {
10323 PyThreadState* __tstate = wxPyBeginAllowThreads();
10324 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
10325
10326 wxPyEndAllowThreads(__tstate);
10327 if (PyErr_Occurred()) SWIG_fail;
10328 }
10329 resultobj = PyInt_FromLong((long)result);
10330 return resultobj;
10331 fail:
10332 return NULL;
10333 }
10334
10335
10336 static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
10337 PyObject *obj;
10338 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10339 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
10340 Py_INCREF(obj);
10341 return Py_BuildValue((char *)"");
10342 }
10343 static PyObject *_wrap_new_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10344 PyObject *resultobj;
10345 wxString *arg1 = 0 ;
10346 bool arg2 = (bool) False ;
10347 wxWave *result;
10348 bool temp1 = False ;
10349 PyObject * obj0 = 0 ;
10350 PyObject * obj1 = 0 ;
10351 char *kwnames[] = {
10352 (char *) "fileName",(char *) "isResource", NULL
10353 };
10354
10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Wave",kwnames,&obj0,&obj1)) goto fail;
10356 {
10357 arg1 = wxString_in_helper(obj0);
10358 if (arg1 == NULL) SWIG_fail;
10359 temp1 = True;
10360 }
10361 if (obj1) {
10362 arg2 = PyInt_AsLong(obj1) ? true : false;
10363 if (PyErr_Occurred()) SWIG_fail;
10364 }
10365 {
10366 PyThreadState* __tstate = wxPyBeginAllowThreads();
10367 result = (wxWave *)new wxWave((wxString const &)*arg1,arg2);
10368
10369 wxPyEndAllowThreads(__tstate);
10370 if (PyErr_Occurred()) SWIG_fail;
10371 }
10372 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10373 {
10374 if (temp1)
10375 delete arg1;
10376 }
10377 return resultobj;
10378 fail:
10379 {
10380 if (temp1)
10381 delete arg1;
10382 }
10383 return NULL;
10384 }
10385
10386
10387 static PyObject *_wrap_new_WaveData(PyObject *self, PyObject *args, PyObject *kwargs) {
10388 PyObject *resultobj;
10389 wxString *arg1 = 0 ;
10390 wxWave *result;
10391 bool temp1 = False ;
10392 PyObject * obj0 = 0 ;
10393 char *kwnames[] = {
10394 (char *) "data", NULL
10395 };
10396
10397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WaveData",kwnames,&obj0)) goto fail;
10398 {
10399 arg1 = wxString_in_helper(obj0);
10400 if (arg1 == NULL) SWIG_fail;
10401 temp1 = True;
10402 }
10403 {
10404 PyThreadState* __tstate = wxPyBeginAllowThreads();
10405 result = (wxWave *)new_wxWave((wxString const &)*arg1);
10406
10407 wxPyEndAllowThreads(__tstate);
10408 if (PyErr_Occurred()) SWIG_fail;
10409 }
10410 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10411 {
10412 if (temp1)
10413 delete arg1;
10414 }
10415 return resultobj;
10416 fail:
10417 {
10418 if (temp1)
10419 delete arg1;
10420 }
10421 return NULL;
10422 }
10423
10424
10425 static PyObject *_wrap_delete_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10426 PyObject *resultobj;
10427 wxWave *arg1 = (wxWave *) 0 ;
10428 PyObject * obj0 = 0 ;
10429 char *kwnames[] = {
10430 (char *) "self", NULL
10431 };
10432
10433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Wave",kwnames,&obj0)) goto fail;
10434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10435 {
10436 PyThreadState* __tstate = wxPyBeginAllowThreads();
10437 delete arg1;
10438
10439 wxPyEndAllowThreads(__tstate);
10440 if (PyErr_Occurred()) SWIG_fail;
10441 }
10442 Py_INCREF(Py_None); resultobj = Py_None;
10443 return resultobj;
10444 fail:
10445 return NULL;
10446 }
10447
10448
10449 static PyObject *_wrap_Wave_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10450 PyObject *resultobj;
10451 wxWave *arg1 = (wxWave *) 0 ;
10452 bool result;
10453 PyObject * obj0 = 0 ;
10454 char *kwnames[] = {
10455 (char *) "self", NULL
10456 };
10457
10458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wave_IsOk",kwnames,&obj0)) goto fail;
10459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
10462 result = (bool)((wxWave const *)arg1)->IsOk();
10463
10464 wxPyEndAllowThreads(__tstate);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
10467 resultobj = PyInt_FromLong((long)result);
10468 return resultobj;
10469 fail:
10470 return NULL;
10471 }
10472
10473
10474 static PyObject *_wrap_Wave_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
10475 PyObject *resultobj;
10476 wxWave *arg1 = (wxWave *) 0 ;
10477 bool arg2 = (bool) True ;
10478 bool arg3 = (bool) False ;
10479 bool result;
10480 PyObject * obj0 = 0 ;
10481 PyObject * obj1 = 0 ;
10482 PyObject * obj2 = 0 ;
10483 char *kwnames[] = {
10484 (char *) "self",(char *) "async",(char *) "looped", NULL
10485 };
10486
10487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Wave_Play",kwnames,&obj0,&obj1,&obj2)) goto fail;
10488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10489 if (obj1) {
10490 arg2 = PyInt_AsLong(obj1) ? true : false;
10491 if (PyErr_Occurred()) SWIG_fail;
10492 }
10493 if (obj2) {
10494 arg3 = PyInt_AsLong(obj2) ? true : false;
10495 if (PyErr_Occurred()) SWIG_fail;
10496 }
10497 {
10498 PyThreadState* __tstate = wxPyBeginAllowThreads();
10499 result = (bool)(arg1)->Play(arg2,arg3);
10500
10501 wxPyEndAllowThreads(__tstate);
10502 if (PyErr_Occurred()) SWIG_fail;
10503 }
10504 resultobj = PyInt_FromLong((long)result);
10505 return resultobj;
10506 fail:
10507 return NULL;
10508 }
10509
10510
10511 static PyObject * Wave_swigregister(PyObject *self, PyObject *args) {
10512 PyObject *obj;
10513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10514 SWIG_TypeClientData(SWIGTYPE_p_wxWave, obj);
10515 Py_INCREF(obj);
10516 return Py_BuildValue((char *)"");
10517 }
10518 static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10519 PyObject *resultobj;
10520 wxString *arg1 = 0 ;
10521 wxString *arg2 = 0 ;
10522 wxString *arg3 = 0 ;
10523 wxString *arg4 = 0 ;
10524 wxFileTypeInfo *result;
10525 bool temp1 = False ;
10526 bool temp2 = False ;
10527 bool temp3 = False ;
10528 bool temp4 = False ;
10529 PyObject * obj0 = 0 ;
10530 PyObject * obj1 = 0 ;
10531 PyObject * obj2 = 0 ;
10532 PyObject * obj3 = 0 ;
10533 char *kwnames[] = {
10534 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10535 };
10536
10537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10538 {
10539 arg1 = wxString_in_helper(obj0);
10540 if (arg1 == NULL) SWIG_fail;
10541 temp1 = True;
10542 }
10543 {
10544 arg2 = wxString_in_helper(obj1);
10545 if (arg2 == NULL) SWIG_fail;
10546 temp2 = True;
10547 }
10548 {
10549 arg3 = wxString_in_helper(obj2);
10550 if (arg3 == NULL) SWIG_fail;
10551 temp3 = True;
10552 }
10553 {
10554 arg4 = wxString_in_helper(obj3);
10555 if (arg4 == NULL) SWIG_fail;
10556 temp4 = True;
10557 }
10558 {
10559 PyThreadState* __tstate = wxPyBeginAllowThreads();
10560 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10561
10562 wxPyEndAllowThreads(__tstate);
10563 if (PyErr_Occurred()) SWIG_fail;
10564 }
10565 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10566 {
10567 if (temp1)
10568 delete arg1;
10569 }
10570 {
10571 if (temp2)
10572 delete arg2;
10573 }
10574 {
10575 if (temp3)
10576 delete arg3;
10577 }
10578 {
10579 if (temp4)
10580 delete arg4;
10581 }
10582 return resultobj;
10583 fail:
10584 {
10585 if (temp1)
10586 delete arg1;
10587 }
10588 {
10589 if (temp2)
10590 delete arg2;
10591 }
10592 {
10593 if (temp3)
10594 delete arg3;
10595 }
10596 {
10597 if (temp4)
10598 delete arg4;
10599 }
10600 return NULL;
10601 }
10602
10603
10604 static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
10605 PyObject *resultobj;
10606 wxArrayString *arg1 = 0 ;
10607 wxFileTypeInfo *result;
10608 PyObject * obj0 = 0 ;
10609 char *kwnames[] = {
10610 (char *) "sArray", NULL
10611 };
10612
10613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
10614 {
10615 if (! PySequence_Check(obj0)) {
10616 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10617 SWIG_fail;
10618 }
10619 arg1 = new wxArrayString;
10620 int i, len=PySequence_Length(obj0);
10621 for (i=0; i<len; i++) {
10622 PyObject* item = PySequence_GetItem(obj0, i);
10623 #if wxUSE_UNICODE
10624 PyObject* str = PyObject_Unicode(item);
10625 #else
10626 PyObject* str = PyObject_Str(item);
10627 #endif
10628 arg1->Add(Py2wxString(str));
10629 Py_DECREF(item);
10630 Py_DECREF(str);
10631 }
10632 }
10633 {
10634 PyThreadState* __tstate = wxPyBeginAllowThreads();
10635 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
10636
10637 wxPyEndAllowThreads(__tstate);
10638 if (PyErr_Occurred()) SWIG_fail;
10639 }
10640 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10641 {
10642 if (arg1) delete arg1;
10643 }
10644 return resultobj;
10645 fail:
10646 {
10647 if (arg1) delete arg1;
10648 }
10649 return NULL;
10650 }
10651
10652
10653 static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10654 PyObject *resultobj;
10655 wxFileTypeInfo *result;
10656 char *kwnames[] = {
10657 NULL
10658 };
10659
10660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
10661 {
10662 PyThreadState* __tstate = wxPyBeginAllowThreads();
10663 result = (wxFileTypeInfo *)new wxFileTypeInfo();
10664
10665 wxPyEndAllowThreads(__tstate);
10666 if (PyErr_Occurred()) SWIG_fail;
10667 }
10668 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10669 return resultobj;
10670 fail:
10671 return NULL;
10672 }
10673
10674
10675 static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
10676 PyObject *resultobj;
10677 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10678 bool result;
10679 PyObject * obj0 = 0 ;
10680 char *kwnames[] = {
10681 (char *) "self", NULL
10682 };
10683
10684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
10685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10686 {
10687 PyThreadState* __tstate = wxPyBeginAllowThreads();
10688 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
10689
10690 wxPyEndAllowThreads(__tstate);
10691 if (PyErr_Occurred()) SWIG_fail;
10692 }
10693 resultobj = PyInt_FromLong((long)result);
10694 return resultobj;
10695 fail:
10696 return NULL;
10697 }
10698
10699
10700 static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10701 PyObject *resultobj;
10702 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10703 wxString *arg2 = 0 ;
10704 int arg3 = (int) 0 ;
10705 bool temp2 = False ;
10706 PyObject * obj0 = 0 ;
10707 PyObject * obj1 = 0 ;
10708 char *kwnames[] = {
10709 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10710 };
10711
10712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
10713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10714 {
10715 arg2 = wxString_in_helper(obj1);
10716 if (arg2 == NULL) SWIG_fail;
10717 temp2 = True;
10718 }
10719 {
10720 PyThreadState* __tstate = wxPyBeginAllowThreads();
10721 (arg1)->SetIcon((wxString const &)*arg2,arg3);
10722
10723 wxPyEndAllowThreads(__tstate);
10724 if (PyErr_Occurred()) SWIG_fail;
10725 }
10726 Py_INCREF(Py_None); resultobj = Py_None;
10727 {
10728 if (temp2)
10729 delete arg2;
10730 }
10731 return resultobj;
10732 fail:
10733 {
10734 if (temp2)
10735 delete arg2;
10736 }
10737 return NULL;
10738 }
10739
10740
10741 static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10742 PyObject *resultobj;
10743 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10744 wxString *arg2 = 0 ;
10745 bool temp2 = False ;
10746 PyObject * obj0 = 0 ;
10747 PyObject * obj1 = 0 ;
10748 char *kwnames[] = {
10749 (char *) "self",(char *) "shortDesc", NULL
10750 };
10751
10752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
10753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10754 {
10755 arg2 = wxString_in_helper(obj1);
10756 if (arg2 == NULL) SWIG_fail;
10757 temp2 = True;
10758 }
10759 {
10760 PyThreadState* __tstate = wxPyBeginAllowThreads();
10761 (arg1)->SetShortDesc((wxString const &)*arg2);
10762
10763 wxPyEndAllowThreads(__tstate);
10764 if (PyErr_Occurred()) SWIG_fail;
10765 }
10766 Py_INCREF(Py_None); resultobj = Py_None;
10767 {
10768 if (temp2)
10769 delete arg2;
10770 }
10771 return resultobj;
10772 fail:
10773 {
10774 if (temp2)
10775 delete arg2;
10776 }
10777 return NULL;
10778 }
10779
10780
10781 static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
10782 PyObject *resultobj;
10783 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10784 wxString *result;
10785 PyObject * obj0 = 0 ;
10786 char *kwnames[] = {
10787 (char *) "self", NULL
10788 };
10789
10790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
10791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10792 {
10793 PyThreadState* __tstate = wxPyBeginAllowThreads();
10794 {
10795 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
10796 result = (wxString *) &_result_ref;
10797 }
10798
10799 wxPyEndAllowThreads(__tstate);
10800 if (PyErr_Occurred()) SWIG_fail;
10801 }
10802 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10803 return resultobj;
10804 fail:
10805 return NULL;
10806 }
10807
10808
10809 static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10810 PyObject *resultobj;
10811 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10812 wxString *result;
10813 PyObject * obj0 = 0 ;
10814 char *kwnames[] = {
10815 (char *) "self", NULL
10816 };
10817
10818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
10819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10820 {
10821 PyThreadState* __tstate = wxPyBeginAllowThreads();
10822 {
10823 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
10824 result = (wxString *) &_result_ref;
10825 }
10826
10827 wxPyEndAllowThreads(__tstate);
10828 if (PyErr_Occurred()) SWIG_fail;
10829 }
10830 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10831 return resultobj;
10832 fail:
10833 return NULL;
10834 }
10835
10836
10837 static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10838 PyObject *resultobj;
10839 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10840 wxString *result;
10841 PyObject * obj0 = 0 ;
10842 char *kwnames[] = {
10843 (char *) "self", NULL
10844 };
10845
10846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
10847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10848 {
10849 PyThreadState* __tstate = wxPyBeginAllowThreads();
10850 {
10851 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
10852 result = (wxString *) &_result_ref;
10853 }
10854
10855 wxPyEndAllowThreads(__tstate);
10856 if (PyErr_Occurred()) SWIG_fail;
10857 }
10858 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10859 return resultobj;
10860 fail:
10861 return NULL;
10862 }
10863
10864
10865 static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10866 PyObject *resultobj;
10867 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10868 wxString *result;
10869 PyObject * obj0 = 0 ;
10870 char *kwnames[] = {
10871 (char *) "self", NULL
10872 };
10873
10874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
10875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10876 {
10877 PyThreadState* __tstate = wxPyBeginAllowThreads();
10878 {
10879 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
10880 result = (wxString *) &_result_ref;
10881 }
10882
10883 wxPyEndAllowThreads(__tstate);
10884 if (PyErr_Occurred()) SWIG_fail;
10885 }
10886 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10887 return resultobj;
10888 fail:
10889 return NULL;
10890 }
10891
10892
10893 static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
10894 PyObject *resultobj;
10895 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10896 wxString *result;
10897 PyObject * obj0 = 0 ;
10898 char *kwnames[] = {
10899 (char *) "self", NULL
10900 };
10901
10902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
10903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10904 {
10905 PyThreadState* __tstate = wxPyBeginAllowThreads();
10906 {
10907 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
10908 result = (wxString *) &_result_ref;
10909 }
10910
10911 wxPyEndAllowThreads(__tstate);
10912 if (PyErr_Occurred()) SWIG_fail;
10913 }
10914 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10915 return resultobj;
10916 fail:
10917 return NULL;
10918 }
10919
10920
10921 static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
10922 PyObject *resultobj;
10923 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10924 wxArrayString *result;
10925 PyObject * obj0 = 0 ;
10926 char *kwnames[] = {
10927 (char *) "self", NULL
10928 };
10929
10930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
10931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10932 {
10933 PyThreadState* __tstate = wxPyBeginAllowThreads();
10934 {
10935 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
10936 result = (wxArrayString *) &_result_ref;
10937 }
10938
10939 wxPyEndAllowThreads(__tstate);
10940 if (PyErr_Occurred()) SWIG_fail;
10941 }
10942 {
10943 resultobj = wxArrayString2PyList_helper(*result);
10944 }
10945 return resultobj;
10946 fail:
10947 return NULL;
10948 }
10949
10950
10951 static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10952 PyObject *resultobj;
10953 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10954 int result;
10955 PyObject * obj0 = 0 ;
10956 char *kwnames[] = {
10957 (char *) "self", NULL
10958 };
10959
10960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
10961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10962 {
10963 PyThreadState* __tstate = wxPyBeginAllowThreads();
10964 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
10965
10966 wxPyEndAllowThreads(__tstate);
10967 if (PyErr_Occurred()) SWIG_fail;
10968 }
10969 resultobj = PyInt_FromLong((long)result);
10970 return resultobj;
10971 fail:
10972 return NULL;
10973 }
10974
10975
10976 static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
10977 PyObject *resultobj;
10978 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10979 wxString *result;
10980 PyObject * obj0 = 0 ;
10981 char *kwnames[] = {
10982 (char *) "self", NULL
10983 };
10984
10985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
10986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10987 {
10988 PyThreadState* __tstate = wxPyBeginAllowThreads();
10989 {
10990 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
10991 result = (wxString *) &_result_ref;
10992 }
10993
10994 wxPyEndAllowThreads(__tstate);
10995 if (PyErr_Occurred()) SWIG_fail;
10996 }
10997 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10998 return resultobj;
10999 fail:
11000 return NULL;
11001 }
11002
11003
11004 static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11005 PyObject *resultobj;
11006 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11007 int result;
11008 PyObject * obj0 = 0 ;
11009 char *kwnames[] = {
11010 (char *) "self", NULL
11011 };
11012
11013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
11014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11015 {
11016 PyThreadState* __tstate = wxPyBeginAllowThreads();
11017 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
11018
11019 wxPyEndAllowThreads(__tstate);
11020 if (PyErr_Occurred()) SWIG_fail;
11021 }
11022 resultobj = PyInt_FromLong((long)result);
11023 return resultobj;
11024 fail:
11025 return NULL;
11026 }
11027
11028
11029 static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
11030 PyObject *obj;
11031 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11032 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
11033 Py_INCREF(obj);
11034 return Py_BuildValue((char *)"");
11035 }
11036 static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11037 PyObject *resultobj;
11038 wxFileTypeInfo *arg1 = 0 ;
11039 wxFileType *result;
11040 PyObject * obj0 = 0 ;
11041 char *kwnames[] = {
11042 (char *) "ftInfo", NULL
11043 };
11044
11045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
11046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11047 if (arg1 == NULL) {
11048 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11049 }
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
11052 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
11053
11054 wxPyEndAllowThreads(__tstate);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 }
11057 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11058 return resultobj;
11059 fail:
11060 return NULL;
11061 }
11062
11063
11064 static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11065 PyObject *resultobj;
11066 wxFileType *arg1 = (wxFileType *) 0 ;
11067 PyObject * obj0 = 0 ;
11068 char *kwnames[] = {
11069 (char *) "self", NULL
11070 };
11071
11072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
11073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11074 {
11075 PyThreadState* __tstate = wxPyBeginAllowThreads();
11076 delete arg1;
11077
11078 wxPyEndAllowThreads(__tstate);
11079 if (PyErr_Occurred()) SWIG_fail;
11080 }
11081 Py_INCREF(Py_None); resultobj = Py_None;
11082 return resultobj;
11083 fail:
11084 return NULL;
11085 }
11086
11087
11088 static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11089 PyObject *resultobj;
11090 wxFileType *arg1 = (wxFileType *) 0 ;
11091 PyObject *result;
11092 PyObject * obj0 = 0 ;
11093 char *kwnames[] = {
11094 (char *) "self", NULL
11095 };
11096
11097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
11098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11099 {
11100 PyThreadState* __tstate = wxPyBeginAllowThreads();
11101 result = (PyObject *)wxFileType_GetMimeType(arg1);
11102
11103 wxPyEndAllowThreads(__tstate);
11104 if (PyErr_Occurred()) SWIG_fail;
11105 }
11106 resultobj = result;
11107 return resultobj;
11108 fail:
11109 return NULL;
11110 }
11111
11112
11113 static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11114 PyObject *resultobj;
11115 wxFileType *arg1 = (wxFileType *) 0 ;
11116 PyObject *result;
11117 PyObject * obj0 = 0 ;
11118 char *kwnames[] = {
11119 (char *) "self", NULL
11120 };
11121
11122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
11123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11124 {
11125 PyThreadState* __tstate = wxPyBeginAllowThreads();
11126 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
11127
11128 wxPyEndAllowThreads(__tstate);
11129 if (PyErr_Occurred()) SWIG_fail;
11130 }
11131 resultobj = result;
11132 return resultobj;
11133 fail:
11134 return NULL;
11135 }
11136
11137
11138 static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11139 PyObject *resultobj;
11140 wxFileType *arg1 = (wxFileType *) 0 ;
11141 PyObject *result;
11142 PyObject * obj0 = 0 ;
11143 char *kwnames[] = {
11144 (char *) "self", NULL
11145 };
11146
11147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
11148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11149 {
11150 PyThreadState* __tstate = wxPyBeginAllowThreads();
11151 result = (PyObject *)wxFileType_GetExtensions(arg1);
11152
11153 wxPyEndAllowThreads(__tstate);
11154 if (PyErr_Occurred()) SWIG_fail;
11155 }
11156 resultobj = result;
11157 return resultobj;
11158 fail:
11159 return NULL;
11160 }
11161
11162
11163 static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11164 PyObject *resultobj;
11165 wxFileType *arg1 = (wxFileType *) 0 ;
11166 wxIcon *result;
11167 PyObject * obj0 = 0 ;
11168 char *kwnames[] = {
11169 (char *) "self", NULL
11170 };
11171
11172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
11173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11174 {
11175 PyThreadState* __tstate = wxPyBeginAllowThreads();
11176 result = (wxIcon *)wxFileType_GetIcon(arg1);
11177
11178 wxPyEndAllowThreads(__tstate);
11179 if (PyErr_Occurred()) SWIG_fail;
11180 }
11181 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIcon, 1);
11182 return resultobj;
11183 fail:
11184 return NULL;
11185 }
11186
11187
11188 static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11189 PyObject *resultobj;
11190 wxFileType *arg1 = (wxFileType *) 0 ;
11191 PyObject *result;
11192 PyObject * obj0 = 0 ;
11193 char *kwnames[] = {
11194 (char *) "self", NULL
11195 };
11196
11197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
11198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 result = (PyObject *)wxFileType_GetIconInfo(arg1);
11202
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 }
11206 resultobj = result;
11207 return resultobj;
11208 fail:
11209 return NULL;
11210 }
11211
11212
11213 static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11214 PyObject *resultobj;
11215 wxFileType *arg1 = (wxFileType *) 0 ;
11216 PyObject *result;
11217 PyObject * obj0 = 0 ;
11218 char *kwnames[] = {
11219 (char *) "self", NULL
11220 };
11221
11222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
11223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11224 {
11225 PyThreadState* __tstate = wxPyBeginAllowThreads();
11226 result = (PyObject *)wxFileType_GetDescription(arg1);
11227
11228 wxPyEndAllowThreads(__tstate);
11229 if (PyErr_Occurred()) SWIG_fail;
11230 }
11231 resultobj = result;
11232 return resultobj;
11233 fail:
11234 return NULL;
11235 }
11236
11237
11238 static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11239 PyObject *resultobj;
11240 wxFileType *arg1 = (wxFileType *) 0 ;
11241 wxString *arg2 = 0 ;
11242 wxString const &arg3_defvalue = wxPyEmptyString ;
11243 wxString *arg3 = (wxString *) &arg3_defvalue ;
11244 PyObject *result;
11245 bool temp2 = False ;
11246 bool temp3 = False ;
11247 PyObject * obj0 = 0 ;
11248 PyObject * obj1 = 0 ;
11249 PyObject * obj2 = 0 ;
11250 char *kwnames[] = {
11251 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11252 };
11253
11254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11256 {
11257 arg2 = wxString_in_helper(obj1);
11258 if (arg2 == NULL) SWIG_fail;
11259 temp2 = True;
11260 }
11261 if (obj2) {
11262 {
11263 arg3 = wxString_in_helper(obj2);
11264 if (arg3 == NULL) SWIG_fail;
11265 temp3 = True;
11266 }
11267 }
11268 {
11269 PyThreadState* __tstate = wxPyBeginAllowThreads();
11270 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11271
11272 wxPyEndAllowThreads(__tstate);
11273 if (PyErr_Occurred()) SWIG_fail;
11274 }
11275 resultobj = result;
11276 {
11277 if (temp2)
11278 delete arg2;
11279 }
11280 {
11281 if (temp3)
11282 delete arg3;
11283 }
11284 return resultobj;
11285 fail:
11286 {
11287 if (temp2)
11288 delete arg2;
11289 }
11290 {
11291 if (temp3)
11292 delete arg3;
11293 }
11294 return NULL;
11295 }
11296
11297
11298 static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11299 PyObject *resultobj;
11300 wxFileType *arg1 = (wxFileType *) 0 ;
11301 wxString *arg2 = 0 ;
11302 wxString const &arg3_defvalue = wxPyEmptyString ;
11303 wxString *arg3 = (wxString *) &arg3_defvalue ;
11304 PyObject *result;
11305 bool temp2 = False ;
11306 bool temp3 = False ;
11307 PyObject * obj0 = 0 ;
11308 PyObject * obj1 = 0 ;
11309 PyObject * obj2 = 0 ;
11310 char *kwnames[] = {
11311 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11312 };
11313
11314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11316 {
11317 arg2 = wxString_in_helper(obj1);
11318 if (arg2 == NULL) SWIG_fail;
11319 temp2 = True;
11320 }
11321 if (obj2) {
11322 {
11323 arg3 = wxString_in_helper(obj2);
11324 if (arg3 == NULL) SWIG_fail;
11325 temp3 = True;
11326 }
11327 }
11328 {
11329 PyThreadState* __tstate = wxPyBeginAllowThreads();
11330 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11331
11332 wxPyEndAllowThreads(__tstate);
11333 if (PyErr_Occurred()) SWIG_fail;
11334 }
11335 resultobj = result;
11336 {
11337 if (temp2)
11338 delete arg2;
11339 }
11340 {
11341 if (temp3)
11342 delete arg3;
11343 }
11344 return resultobj;
11345 fail:
11346 {
11347 if (temp2)
11348 delete arg2;
11349 }
11350 {
11351 if (temp3)
11352 delete arg3;
11353 }
11354 return NULL;
11355 }
11356
11357
11358 static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
11359 PyObject *resultobj;
11360 wxFileType *arg1 = (wxFileType *) 0 ;
11361 wxString *arg2 = 0 ;
11362 wxString const &arg3_defvalue = wxPyEmptyString ;
11363 wxString *arg3 = (wxString *) &arg3_defvalue ;
11364 PyObject *result;
11365 bool temp2 = False ;
11366 bool temp3 = False ;
11367 PyObject * obj0 = 0 ;
11368 PyObject * obj1 = 0 ;
11369 PyObject * obj2 = 0 ;
11370 char *kwnames[] = {
11371 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11372 };
11373
11374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
11375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11376 {
11377 arg2 = wxString_in_helper(obj1);
11378 if (arg2 == NULL) SWIG_fail;
11379 temp2 = True;
11380 }
11381 if (obj2) {
11382 {
11383 arg3 = wxString_in_helper(obj2);
11384 if (arg3 == NULL) SWIG_fail;
11385 temp3 = True;
11386 }
11387 }
11388 {
11389 PyThreadState* __tstate = wxPyBeginAllowThreads();
11390 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11391
11392 wxPyEndAllowThreads(__tstate);
11393 if (PyErr_Occurred()) SWIG_fail;
11394 }
11395 resultobj = result;
11396 {
11397 if (temp2)
11398 delete arg2;
11399 }
11400 {
11401 if (temp3)
11402 delete arg3;
11403 }
11404 return resultobj;
11405 fail:
11406 {
11407 if (temp2)
11408 delete arg2;
11409 }
11410 {
11411 if (temp3)
11412 delete arg3;
11413 }
11414 return NULL;
11415 }
11416
11417
11418 static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11419 PyObject *resultobj;
11420 wxFileType *arg1 = (wxFileType *) 0 ;
11421 wxString *arg2 = 0 ;
11422 wxString *arg3 = 0 ;
11423 bool arg4 = (bool) True ;
11424 bool result;
11425 bool temp2 = False ;
11426 bool temp3 = False ;
11427 PyObject * obj0 = 0 ;
11428 PyObject * obj1 = 0 ;
11429 PyObject * obj2 = 0 ;
11430 PyObject * obj3 = 0 ;
11431 char *kwnames[] = {
11432 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11433 };
11434
11435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11437 {
11438 arg2 = wxString_in_helper(obj1);
11439 if (arg2 == NULL) SWIG_fail;
11440 temp2 = True;
11441 }
11442 {
11443 arg3 = wxString_in_helper(obj2);
11444 if (arg3 == NULL) SWIG_fail;
11445 temp3 = True;
11446 }
11447 if (obj3) {
11448 arg4 = PyInt_AsLong(obj3) ? true : false;
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 {
11452 PyThreadState* __tstate = wxPyBeginAllowThreads();
11453 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11454
11455 wxPyEndAllowThreads(__tstate);
11456 if (PyErr_Occurred()) SWIG_fail;
11457 }
11458 resultobj = PyInt_FromLong((long)result);
11459 {
11460 if (temp2)
11461 delete arg2;
11462 }
11463 {
11464 if (temp3)
11465 delete arg3;
11466 }
11467 return resultobj;
11468 fail:
11469 {
11470 if (temp2)
11471 delete arg2;
11472 }
11473 {
11474 if (temp3)
11475 delete arg3;
11476 }
11477 return NULL;
11478 }
11479
11480
11481 static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11482 PyObject *resultobj;
11483 wxFileType *arg1 = (wxFileType *) 0 ;
11484 wxString const &arg2_defvalue = wxPyEmptyString ;
11485 wxString *arg2 = (wxString *) &arg2_defvalue ;
11486 int arg3 = (int) 0 ;
11487 bool result;
11488 bool temp2 = False ;
11489 PyObject * obj0 = 0 ;
11490 PyObject * obj1 = 0 ;
11491 char *kwnames[] = {
11492 (char *) "self",(char *) "cmd",(char *) "index", NULL
11493 };
11494
11495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
11496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11497 if (obj1) {
11498 {
11499 arg2 = wxString_in_helper(obj1);
11500 if (arg2 == NULL) SWIG_fail;
11501 temp2 = True;
11502 }
11503 }
11504 {
11505 PyThreadState* __tstate = wxPyBeginAllowThreads();
11506 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
11507
11508 wxPyEndAllowThreads(__tstate);
11509 if (PyErr_Occurred()) SWIG_fail;
11510 }
11511 resultobj = PyInt_FromLong((long)result);
11512 {
11513 if (temp2)
11514 delete arg2;
11515 }
11516 return resultobj;
11517 fail:
11518 {
11519 if (temp2)
11520 delete arg2;
11521 }
11522 return NULL;
11523 }
11524
11525
11526 static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
11527 PyObject *resultobj;
11528 wxFileType *arg1 = (wxFileType *) 0 ;
11529 bool result;
11530 PyObject * obj0 = 0 ;
11531 char *kwnames[] = {
11532 (char *) "self", NULL
11533 };
11534
11535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
11536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11537 {
11538 PyThreadState* __tstate = wxPyBeginAllowThreads();
11539 result = (bool)(arg1)->Unassociate();
11540
11541 wxPyEndAllowThreads(__tstate);
11542 if (PyErr_Occurred()) SWIG_fail;
11543 }
11544 resultobj = PyInt_FromLong((long)result);
11545 return resultobj;
11546 fail:
11547 return NULL;
11548 }
11549
11550
11551 static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11552 PyObject *resultobj;
11553 wxString *arg1 = 0 ;
11554 wxString *arg2 = 0 ;
11555 wxString const &arg3_defvalue = wxPyEmptyString ;
11556 wxString *arg3 = (wxString *) &arg3_defvalue ;
11557 wxString result;
11558 bool temp1 = False ;
11559 bool temp2 = False ;
11560 bool temp3 = False ;
11561 PyObject * obj0 = 0 ;
11562 PyObject * obj1 = 0 ;
11563 PyObject * obj2 = 0 ;
11564 char *kwnames[] = {
11565 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11566 };
11567
11568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11569 {
11570 arg1 = wxString_in_helper(obj0);
11571 if (arg1 == NULL) SWIG_fail;
11572 temp1 = True;
11573 }
11574 {
11575 arg2 = wxString_in_helper(obj1);
11576 if (arg2 == NULL) SWIG_fail;
11577 temp2 = True;
11578 }
11579 if (obj2) {
11580 {
11581 arg3 = wxString_in_helper(obj2);
11582 if (arg3 == NULL) SWIG_fail;
11583 temp3 = True;
11584 }
11585 }
11586 {
11587 PyThreadState* __tstate = wxPyBeginAllowThreads();
11588 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11589
11590 wxPyEndAllowThreads(__tstate);
11591 if (PyErr_Occurred()) SWIG_fail;
11592 }
11593 {
11594 #if wxUSE_UNICODE
11595 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11596 #else
11597 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11598 #endif
11599 }
11600 {
11601 if (temp1)
11602 delete arg1;
11603 }
11604 {
11605 if (temp2)
11606 delete arg2;
11607 }
11608 {
11609 if (temp3)
11610 delete arg3;
11611 }
11612 return resultobj;
11613 fail:
11614 {
11615 if (temp1)
11616 delete arg1;
11617 }
11618 {
11619 if (temp2)
11620 delete arg2;
11621 }
11622 {
11623 if (temp3)
11624 delete arg3;
11625 }
11626 return NULL;
11627 }
11628
11629
11630 static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
11631 PyObject *obj;
11632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11633 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
11634 Py_INCREF(obj);
11635 return Py_BuildValue((char *)"");
11636 }
11637 static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
11638 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
11639 return 1;
11640 }
11641
11642
11643 static PyObject *_wrap_TheMimeTypesManager_get() {
11644 PyObject *pyobj;
11645
11646 pyobj = SWIG_NewPointerObj((void *) wxTheMimeTypesManager, SWIGTYPE_p_wxMimeTypesManager, 0);
11647 return pyobj;
11648 }
11649
11650
11651 static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
11652 PyObject *resultobj;
11653 wxString *arg1 = 0 ;
11654 wxString *arg2 = 0 ;
11655 bool result;
11656 bool temp1 = False ;
11657 bool temp2 = False ;
11658 PyObject * obj0 = 0 ;
11659 PyObject * obj1 = 0 ;
11660 char *kwnames[] = {
11661 (char *) "mimeType",(char *) "wildcard", NULL
11662 };
11663
11664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
11665 {
11666 arg1 = wxString_in_helper(obj0);
11667 if (arg1 == NULL) SWIG_fail;
11668 temp1 = True;
11669 }
11670 {
11671 arg2 = wxString_in_helper(obj1);
11672 if (arg2 == NULL) SWIG_fail;
11673 temp2 = True;
11674 }
11675 {
11676 PyThreadState* __tstate = wxPyBeginAllowThreads();
11677 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
11678
11679 wxPyEndAllowThreads(__tstate);
11680 if (PyErr_Occurred()) SWIG_fail;
11681 }
11682 resultobj = PyInt_FromLong((long)result);
11683 {
11684 if (temp1)
11685 delete arg1;
11686 }
11687 {
11688 if (temp2)
11689 delete arg2;
11690 }
11691 return resultobj;
11692 fail:
11693 {
11694 if (temp1)
11695 delete arg1;
11696 }
11697 {
11698 if (temp2)
11699 delete arg2;
11700 }
11701 return NULL;
11702 }
11703
11704
11705 static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
11706 PyObject *resultobj;
11707 wxMimeTypesManager *result;
11708 char *kwnames[] = {
11709 NULL
11710 };
11711
11712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
11713 {
11714 PyThreadState* __tstate = wxPyBeginAllowThreads();
11715 result = (wxMimeTypesManager *)new wxMimeTypesManager();
11716
11717 wxPyEndAllowThreads(__tstate);
11718 if (PyErr_Occurred()) SWIG_fail;
11719 }
11720 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMimeTypesManager, 1);
11721 return resultobj;
11722 fail:
11723 return NULL;
11724 }
11725
11726
11727 static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
11728 PyObject *resultobj;
11729 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11730 int arg2 = (int) wxMAILCAP_ALL ;
11731 wxString const &arg3_defvalue = wxPyEmptyString ;
11732 wxString *arg3 = (wxString *) &arg3_defvalue ;
11733 bool temp3 = False ;
11734 PyObject * obj0 = 0 ;
11735 PyObject * obj2 = 0 ;
11736 char *kwnames[] = {
11737 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11738 };
11739
11740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:MimeTypesManager_Initialize",kwnames,&obj0,&arg2,&obj2)) goto fail;
11741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11742 if (obj2) {
11743 {
11744 arg3 = wxString_in_helper(obj2);
11745 if (arg3 == NULL) SWIG_fail;
11746 temp3 = True;
11747 }
11748 }
11749 {
11750 PyThreadState* __tstate = wxPyBeginAllowThreads();
11751 (arg1)->Initialize(arg2,(wxString const &)*arg3);
11752
11753 wxPyEndAllowThreads(__tstate);
11754 if (PyErr_Occurred()) SWIG_fail;
11755 }
11756 Py_INCREF(Py_None); resultobj = Py_None;
11757 {
11758 if (temp3)
11759 delete arg3;
11760 }
11761 return resultobj;
11762 fail:
11763 {
11764 if (temp3)
11765 delete arg3;
11766 }
11767 return NULL;
11768 }
11769
11770
11771 static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
11772 PyObject *resultobj;
11773 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11774 PyObject * obj0 = 0 ;
11775 char *kwnames[] = {
11776 (char *) "self", NULL
11777 };
11778
11779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
11780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11781 {
11782 PyThreadState* __tstate = wxPyBeginAllowThreads();
11783 (arg1)->ClearData();
11784
11785 wxPyEndAllowThreads(__tstate);
11786 if (PyErr_Occurred()) SWIG_fail;
11787 }
11788 Py_INCREF(Py_None); resultobj = Py_None;
11789 return resultobj;
11790 fail:
11791 return NULL;
11792 }
11793
11794
11795 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
11796 PyObject *resultobj;
11797 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11798 wxString *arg2 = 0 ;
11799 wxFileType *result;
11800 bool temp2 = False ;
11801 PyObject * obj0 = 0 ;
11802 PyObject * obj1 = 0 ;
11803 char *kwnames[] = {
11804 (char *) "self",(char *) "ext", NULL
11805 };
11806
11807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
11808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11809 {
11810 arg2 = wxString_in_helper(obj1);
11811 if (arg2 == NULL) SWIG_fail;
11812 temp2 = True;
11813 }
11814 {
11815 PyThreadState* __tstate = wxPyBeginAllowThreads();
11816 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
11817
11818 wxPyEndAllowThreads(__tstate);
11819 if (PyErr_Occurred()) SWIG_fail;
11820 }
11821 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11822 {
11823 if (temp2)
11824 delete arg2;
11825 }
11826 return resultobj;
11827 fail:
11828 {
11829 if (temp2)
11830 delete arg2;
11831 }
11832 return NULL;
11833 }
11834
11835
11836 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11837 PyObject *resultobj;
11838 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11839 wxString *arg2 = 0 ;
11840 wxFileType *result;
11841 bool temp2 = False ;
11842 PyObject * obj0 = 0 ;
11843 PyObject * obj1 = 0 ;
11844 char *kwnames[] = {
11845 (char *) "self",(char *) "mimeType", NULL
11846 };
11847
11848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
11849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11850 {
11851 arg2 = wxString_in_helper(obj1);
11852 if (arg2 == NULL) SWIG_fail;
11853 temp2 = True;
11854 }
11855 {
11856 PyThreadState* __tstate = wxPyBeginAllowThreads();
11857 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
11858
11859 wxPyEndAllowThreads(__tstate);
11860 if (PyErr_Occurred()) SWIG_fail;
11861 }
11862 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11863 {
11864 if (temp2)
11865 delete arg2;
11866 }
11867 return resultobj;
11868 fail:
11869 {
11870 if (temp2)
11871 delete arg2;
11872 }
11873 return NULL;
11874 }
11875
11876
11877 static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
11878 PyObject *resultobj;
11879 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11880 wxString *arg2 = 0 ;
11881 bool arg3 = (bool) False ;
11882 bool result;
11883 bool temp2 = False ;
11884 PyObject * obj0 = 0 ;
11885 PyObject * obj1 = 0 ;
11886 PyObject * obj2 = 0 ;
11887 char *kwnames[] = {
11888 (char *) "self",(char *) "filename",(char *) "fallback", NULL
11889 };
11890
11891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
11892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11893 {
11894 arg2 = wxString_in_helper(obj1);
11895 if (arg2 == NULL) SWIG_fail;
11896 temp2 = True;
11897 }
11898 if (obj2) {
11899 arg3 = PyInt_AsLong(obj2) ? true : false;
11900 if (PyErr_Occurred()) SWIG_fail;
11901 }
11902 {
11903 PyThreadState* __tstate = wxPyBeginAllowThreads();
11904 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
11905
11906 wxPyEndAllowThreads(__tstate);
11907 if (PyErr_Occurred()) SWIG_fail;
11908 }
11909 resultobj = PyInt_FromLong((long)result);
11910 {
11911 if (temp2)
11912 delete arg2;
11913 }
11914 return resultobj;
11915 fail:
11916 {
11917 if (temp2)
11918 delete arg2;
11919 }
11920 return NULL;
11921 }
11922
11923
11924 static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11925 PyObject *resultobj;
11926 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11927 wxString *arg2 = 0 ;
11928 bool result;
11929 bool temp2 = False ;
11930 PyObject * obj0 = 0 ;
11931 PyObject * obj1 = 0 ;
11932 char *kwnames[] = {
11933 (char *) "self",(char *) "filename", NULL
11934 };
11935
11936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
11937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11938 {
11939 arg2 = wxString_in_helper(obj1);
11940 if (arg2 == NULL) SWIG_fail;
11941 temp2 = True;
11942 }
11943 {
11944 PyThreadState* __tstate = wxPyBeginAllowThreads();
11945 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
11946
11947 wxPyEndAllowThreads(__tstate);
11948 if (PyErr_Occurred()) SWIG_fail;
11949 }
11950 resultobj = PyInt_FromLong((long)result);
11951 {
11952 if (temp2)
11953 delete arg2;
11954 }
11955 return resultobj;
11956 fail:
11957 {
11958 if (temp2)
11959 delete arg2;
11960 }
11961 return NULL;
11962 }
11963
11964
11965 static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11966 PyObject *resultobj;
11967 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11968 PyObject *result;
11969 PyObject * obj0 = 0 ;
11970 char *kwnames[] = {
11971 (char *) "self", NULL
11972 };
11973
11974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
11975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11976 {
11977 PyThreadState* __tstate = wxPyBeginAllowThreads();
11978 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
11979
11980 wxPyEndAllowThreads(__tstate);
11981 if (PyErr_Occurred()) SWIG_fail;
11982 }
11983 resultobj = result;
11984 return resultobj;
11985 fail:
11986 return NULL;
11987 }
11988
11989
11990 static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
11991 PyObject *resultobj;
11992 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11993 wxFileTypeInfo *arg2 = 0 ;
11994 PyObject * obj0 = 0 ;
11995 PyObject * obj1 = 0 ;
11996 char *kwnames[] = {
11997 (char *) "self",(char *) "ft", NULL
11998 };
11999
12000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
12001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12002 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12003 if (arg2 == NULL) {
12004 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12005 }
12006 {
12007 PyThreadState* __tstate = wxPyBeginAllowThreads();
12008 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
12009
12010 wxPyEndAllowThreads(__tstate);
12011 if (PyErr_Occurred()) SWIG_fail;
12012 }
12013 Py_INCREF(Py_None); resultobj = Py_None;
12014 return resultobj;
12015 fail:
12016 return NULL;
12017 }
12018
12019
12020 static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
12021 PyObject *resultobj;
12022 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12023 wxFileTypeInfo *arg2 = 0 ;
12024 wxFileType *result;
12025 PyObject * obj0 = 0 ;
12026 PyObject * obj1 = 0 ;
12027 char *kwnames[] = {
12028 (char *) "self",(char *) "ftInfo", NULL
12029 };
12030
12031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
12032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12033 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12034 if (arg2 == NULL) {
12035 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12036 }
12037 {
12038 PyThreadState* __tstate = wxPyBeginAllowThreads();
12039 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
12040
12041 wxPyEndAllowThreads(__tstate);
12042 if (PyErr_Occurred()) SWIG_fail;
12043 }
12044 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12045 return resultobj;
12046 fail:
12047 return NULL;
12048 }
12049
12050
12051 static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12052 PyObject *resultobj;
12053 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12054 wxFileType *arg2 = (wxFileType *) 0 ;
12055 bool result;
12056 PyObject * obj0 = 0 ;
12057 PyObject * obj1 = 0 ;
12058 char *kwnames[] = {
12059 (char *) "self",(char *) "ft", NULL
12060 };
12061
12062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
12063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12064 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12065 {
12066 PyThreadState* __tstate = wxPyBeginAllowThreads();
12067 result = (bool)(arg1)->Unassociate(arg2);
12068
12069 wxPyEndAllowThreads(__tstate);
12070 if (PyErr_Occurred()) SWIG_fail;
12071 }
12072 resultobj = PyInt_FromLong((long)result);
12073 return resultobj;
12074 fail:
12075 return NULL;
12076 }
12077
12078
12079 static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
12080 PyObject *resultobj;
12081 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12082 PyObject * obj0 = 0 ;
12083 char *kwnames[] = {
12084 (char *) "self", NULL
12085 };
12086
12087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
12088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12089 {
12090 PyThreadState* __tstate = wxPyBeginAllowThreads();
12091 delete arg1;
12092
12093 wxPyEndAllowThreads(__tstate);
12094 if (PyErr_Occurred()) SWIG_fail;
12095 }
12096 Py_INCREF(Py_None); resultobj = Py_None;
12097 return resultobj;
12098 fail:
12099 return NULL;
12100 }
12101
12102
12103 static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
12104 PyObject *obj;
12105 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12106 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
12107 Py_INCREF(obj);
12108 return Py_BuildValue((char *)"");
12109 }
12110 static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
12111 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
12112 return 1;
12113 }
12114
12115
12116 static PyObject *_wrap_ART_TOOLBAR_get() {
12117 PyObject *pyobj;
12118
12119 {
12120 #if wxUSE_UNICODE
12121 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12122 #else
12123 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12124 #endif
12125 }
12126 return pyobj;
12127 }
12128
12129
12130 static int _wrap_ART_MENU_set(PyObject *_val) {
12131 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
12132 return 1;
12133 }
12134
12135
12136 static PyObject *_wrap_ART_MENU_get() {
12137 PyObject *pyobj;
12138
12139 {
12140 #if wxUSE_UNICODE
12141 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12142 #else
12143 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12144 #endif
12145 }
12146 return pyobj;
12147 }
12148
12149
12150 static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
12151 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
12152 return 1;
12153 }
12154
12155
12156 static PyObject *_wrap_ART_FRAME_ICON_get() {
12157 PyObject *pyobj;
12158
12159 {
12160 #if wxUSE_UNICODE
12161 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12162 #else
12163 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12164 #endif
12165 }
12166 return pyobj;
12167 }
12168
12169
12170 static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
12171 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
12172 return 1;
12173 }
12174
12175
12176 static PyObject *_wrap_ART_CMN_DIALOG_get() {
12177 PyObject *pyobj;
12178
12179 {
12180 #if wxUSE_UNICODE
12181 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12182 #else
12183 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12184 #endif
12185 }
12186 return pyobj;
12187 }
12188
12189
12190 static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
12191 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
12192 return 1;
12193 }
12194
12195
12196 static PyObject *_wrap_ART_HELP_BROWSER_get() {
12197 PyObject *pyobj;
12198
12199 {
12200 #if wxUSE_UNICODE
12201 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12202 #else
12203 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12204 #endif
12205 }
12206 return pyobj;
12207 }
12208
12209
12210 static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
12211 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
12212 return 1;
12213 }
12214
12215
12216 static PyObject *_wrap_ART_MESSAGE_BOX_get() {
12217 PyObject *pyobj;
12218
12219 {
12220 #if wxUSE_UNICODE
12221 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12222 #else
12223 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12224 #endif
12225 }
12226 return pyobj;
12227 }
12228
12229
12230 static int _wrap_ART_OTHER_set(PyObject *_val) {
12231 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
12232 return 1;
12233 }
12234
12235
12236 static PyObject *_wrap_ART_OTHER_get() {
12237 PyObject *pyobj;
12238
12239 {
12240 #if wxUSE_UNICODE
12241 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12242 #else
12243 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12244 #endif
12245 }
12246 return pyobj;
12247 }
12248
12249
12250 static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
12251 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
12252 return 1;
12253 }
12254
12255
12256 static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
12257 PyObject *pyobj;
12258
12259 {
12260 #if wxUSE_UNICODE
12261 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12262 #else
12263 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12264 #endif
12265 }
12266 return pyobj;
12267 }
12268
12269
12270 static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
12271 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
12272 return 1;
12273 }
12274
12275
12276 static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
12277 PyObject *pyobj;
12278
12279 {
12280 #if wxUSE_UNICODE
12281 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12282 #else
12283 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12284 #endif
12285 }
12286 return pyobj;
12287 }
12288
12289
12290 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
12291 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
12292 return 1;
12293 }
12294
12295
12296 static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
12297 PyObject *pyobj;
12298
12299 {
12300 #if wxUSE_UNICODE
12301 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12302 #else
12303 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12304 #endif
12305 }
12306 return pyobj;
12307 }
12308
12309
12310 static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
12311 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
12312 return 1;
12313 }
12314
12315
12316 static PyObject *_wrap_ART_HELP_SETTINGS_get() {
12317 PyObject *pyobj;
12318
12319 {
12320 #if wxUSE_UNICODE
12321 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12322 #else
12323 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12324 #endif
12325 }
12326 return pyobj;
12327 }
12328
12329
12330 static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
12331 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
12332 return 1;
12333 }
12334
12335
12336 static PyObject *_wrap_ART_HELP_BOOK_get() {
12337 PyObject *pyobj;
12338
12339 {
12340 #if wxUSE_UNICODE
12341 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12342 #else
12343 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12344 #endif
12345 }
12346 return pyobj;
12347 }
12348
12349
12350 static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
12351 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
12352 return 1;
12353 }
12354
12355
12356 static PyObject *_wrap_ART_HELP_FOLDER_get() {
12357 PyObject *pyobj;
12358
12359 {
12360 #if wxUSE_UNICODE
12361 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12362 #else
12363 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12364 #endif
12365 }
12366 return pyobj;
12367 }
12368
12369
12370 static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
12371 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
12372 return 1;
12373 }
12374
12375
12376 static PyObject *_wrap_ART_HELP_PAGE_get() {
12377 PyObject *pyobj;
12378
12379 {
12380 #if wxUSE_UNICODE
12381 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12382 #else
12383 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12384 #endif
12385 }
12386 return pyobj;
12387 }
12388
12389
12390 static int _wrap_ART_GO_BACK_set(PyObject *_val) {
12391 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
12392 return 1;
12393 }
12394
12395
12396 static PyObject *_wrap_ART_GO_BACK_get() {
12397 PyObject *pyobj;
12398
12399 {
12400 #if wxUSE_UNICODE
12401 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12402 #else
12403 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12404 #endif
12405 }
12406 return pyobj;
12407 }
12408
12409
12410 static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
12411 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
12412 return 1;
12413 }
12414
12415
12416 static PyObject *_wrap_ART_GO_FORWARD_get() {
12417 PyObject *pyobj;
12418
12419 {
12420 #if wxUSE_UNICODE
12421 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12422 #else
12423 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12424 #endif
12425 }
12426 return pyobj;
12427 }
12428
12429
12430 static int _wrap_ART_GO_UP_set(PyObject *_val) {
12431 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
12432 return 1;
12433 }
12434
12435
12436 static PyObject *_wrap_ART_GO_UP_get() {
12437 PyObject *pyobj;
12438
12439 {
12440 #if wxUSE_UNICODE
12441 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12442 #else
12443 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12444 #endif
12445 }
12446 return pyobj;
12447 }
12448
12449
12450 static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
12451 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
12452 return 1;
12453 }
12454
12455
12456 static PyObject *_wrap_ART_GO_DOWN_get() {
12457 PyObject *pyobj;
12458
12459 {
12460 #if wxUSE_UNICODE
12461 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12462 #else
12463 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12464 #endif
12465 }
12466 return pyobj;
12467 }
12468
12469
12470 static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
12471 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
12472 return 1;
12473 }
12474
12475
12476 static PyObject *_wrap_ART_GO_TO_PARENT_get() {
12477 PyObject *pyobj;
12478
12479 {
12480 #if wxUSE_UNICODE
12481 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12482 #else
12483 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12484 #endif
12485 }
12486 return pyobj;
12487 }
12488
12489
12490 static int _wrap_ART_GO_HOME_set(PyObject *_val) {
12491 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
12492 return 1;
12493 }
12494
12495
12496 static PyObject *_wrap_ART_GO_HOME_get() {
12497 PyObject *pyobj;
12498
12499 {
12500 #if wxUSE_UNICODE
12501 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12502 #else
12503 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12504 #endif
12505 }
12506 return pyobj;
12507 }
12508
12509
12510 static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
12511 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
12512 return 1;
12513 }
12514
12515
12516 static PyObject *_wrap_ART_FILE_OPEN_get() {
12517 PyObject *pyobj;
12518
12519 {
12520 #if wxUSE_UNICODE
12521 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12522 #else
12523 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12524 #endif
12525 }
12526 return pyobj;
12527 }
12528
12529
12530 static int _wrap_ART_PRINT_set(PyObject *_val) {
12531 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
12532 return 1;
12533 }
12534
12535
12536 static PyObject *_wrap_ART_PRINT_get() {
12537 PyObject *pyobj;
12538
12539 {
12540 #if wxUSE_UNICODE
12541 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12542 #else
12543 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12544 #endif
12545 }
12546 return pyobj;
12547 }
12548
12549
12550 static int _wrap_ART_HELP_set(PyObject *_val) {
12551 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
12552 return 1;
12553 }
12554
12555
12556 static PyObject *_wrap_ART_HELP_get() {
12557 PyObject *pyobj;
12558
12559 {
12560 #if wxUSE_UNICODE
12561 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12562 #else
12563 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12564 #endif
12565 }
12566 return pyobj;
12567 }
12568
12569
12570 static int _wrap_ART_TIP_set(PyObject *_val) {
12571 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
12572 return 1;
12573 }
12574
12575
12576 static PyObject *_wrap_ART_TIP_get() {
12577 PyObject *pyobj;
12578
12579 {
12580 #if wxUSE_UNICODE
12581 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12582 #else
12583 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12584 #endif
12585 }
12586 return pyobj;
12587 }
12588
12589
12590 static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
12591 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
12592 return 1;
12593 }
12594
12595
12596 static PyObject *_wrap_ART_REPORT_VIEW_get() {
12597 PyObject *pyobj;
12598
12599 {
12600 #if wxUSE_UNICODE
12601 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12602 #else
12603 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12604 #endif
12605 }
12606 return pyobj;
12607 }
12608
12609
12610 static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
12611 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
12612 return 1;
12613 }
12614
12615
12616 static PyObject *_wrap_ART_LIST_VIEW_get() {
12617 PyObject *pyobj;
12618
12619 {
12620 #if wxUSE_UNICODE
12621 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12622 #else
12623 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12624 #endif
12625 }
12626 return pyobj;
12627 }
12628
12629
12630 static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
12631 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
12632 return 1;
12633 }
12634
12635
12636 static PyObject *_wrap_ART_NEW_DIR_get() {
12637 PyObject *pyobj;
12638
12639 {
12640 #if wxUSE_UNICODE
12641 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12642 #else
12643 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12644 #endif
12645 }
12646 return pyobj;
12647 }
12648
12649
12650 static int _wrap_ART_FOLDER_set(PyObject *_val) {
12651 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
12652 return 1;
12653 }
12654
12655
12656 static PyObject *_wrap_ART_FOLDER_get() {
12657 PyObject *pyobj;
12658
12659 {
12660 #if wxUSE_UNICODE
12661 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12662 #else
12663 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12664 #endif
12665 }
12666 return pyobj;
12667 }
12668
12669
12670 static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
12671 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
12672 return 1;
12673 }
12674
12675
12676 static PyObject *_wrap_ART_GO_DIR_UP_get() {
12677 PyObject *pyobj;
12678
12679 {
12680 #if wxUSE_UNICODE
12681 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12682 #else
12683 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12684 #endif
12685 }
12686 return pyobj;
12687 }
12688
12689
12690 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
12691 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
12692 return 1;
12693 }
12694
12695
12696 static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
12697 PyObject *pyobj;
12698
12699 {
12700 #if wxUSE_UNICODE
12701 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12702 #else
12703 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12704 #endif
12705 }
12706 return pyobj;
12707 }
12708
12709
12710 static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
12711 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
12712 return 1;
12713 }
12714
12715
12716 static PyObject *_wrap_ART_NORMAL_FILE_get() {
12717 PyObject *pyobj;
12718
12719 {
12720 #if wxUSE_UNICODE
12721 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12722 #else
12723 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12724 #endif
12725 }
12726 return pyobj;
12727 }
12728
12729
12730 static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
12731 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
12732 return 1;
12733 }
12734
12735
12736 static PyObject *_wrap_ART_TICK_MARK_get() {
12737 PyObject *pyobj;
12738
12739 {
12740 #if wxUSE_UNICODE
12741 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12742 #else
12743 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12744 #endif
12745 }
12746 return pyobj;
12747 }
12748
12749
12750 static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
12751 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
12752 return 1;
12753 }
12754
12755
12756 static PyObject *_wrap_ART_CROSS_MARK_get() {
12757 PyObject *pyobj;
12758
12759 {
12760 #if wxUSE_UNICODE
12761 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12762 #else
12763 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12764 #endif
12765 }
12766 return pyobj;
12767 }
12768
12769
12770 static int _wrap_ART_ERROR_set(PyObject *_val) {
12771 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
12772 return 1;
12773 }
12774
12775
12776 static PyObject *_wrap_ART_ERROR_get() {
12777 PyObject *pyobj;
12778
12779 {
12780 #if wxUSE_UNICODE
12781 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12782 #else
12783 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12784 #endif
12785 }
12786 return pyobj;
12787 }
12788
12789
12790 static int _wrap_ART_QUESTION_set(PyObject *_val) {
12791 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
12792 return 1;
12793 }
12794
12795
12796 static PyObject *_wrap_ART_QUESTION_get() {
12797 PyObject *pyobj;
12798
12799 {
12800 #if wxUSE_UNICODE
12801 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12802 #else
12803 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12804 #endif
12805 }
12806 return pyobj;
12807 }
12808
12809
12810 static int _wrap_ART_WARNING_set(PyObject *_val) {
12811 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
12812 return 1;
12813 }
12814
12815
12816 static PyObject *_wrap_ART_WARNING_get() {
12817 PyObject *pyobj;
12818
12819 {
12820 #if wxUSE_UNICODE
12821 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12822 #else
12823 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12824 #endif
12825 }
12826 return pyobj;
12827 }
12828
12829
12830 static int _wrap_ART_INFORMATION_set(PyObject *_val) {
12831 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
12832 return 1;
12833 }
12834
12835
12836 static PyObject *_wrap_ART_INFORMATION_get() {
12837 PyObject *pyobj;
12838
12839 {
12840 #if wxUSE_UNICODE
12841 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12842 #else
12843 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12844 #endif
12845 }
12846 return pyobj;
12847 }
12848
12849
12850 static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
12851 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
12852 return 1;
12853 }
12854
12855
12856 static PyObject *_wrap_ART_MISSING_IMAGE_get() {
12857 PyObject *pyobj;
12858
12859 {
12860 #if wxUSE_UNICODE
12861 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
12862 #else
12863 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
12864 #endif
12865 }
12866 return pyobj;
12867 }
12868
12869
12870 static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12871 PyObject *resultobj;
12872 wxPyArtProvider *result;
12873 char *kwnames[] = {
12874 NULL
12875 };
12876
12877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
12878 {
12879 PyThreadState* __tstate = wxPyBeginAllowThreads();
12880 result = (wxPyArtProvider *)new wxPyArtProvider();
12881
12882 wxPyEndAllowThreads(__tstate);
12883 if (PyErr_Occurred()) SWIG_fail;
12884 }
12885 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyArtProvider, 1);
12886 return resultobj;
12887 fail:
12888 return NULL;
12889 }
12890
12891
12892 static PyObject *_wrap_delete_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12893 PyObject *resultobj;
12894 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12895 PyObject * obj0 = 0 ;
12896 char *kwnames[] = {
12897 (char *) "self", NULL
12898 };
12899
12900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArtProvider",kwnames,&obj0)) goto fail;
12901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12902 {
12903 PyThreadState* __tstate = wxPyBeginAllowThreads();
12904 delete arg1;
12905
12906 wxPyEndAllowThreads(__tstate);
12907 if (PyErr_Occurred()) SWIG_fail;
12908 }
12909 Py_INCREF(Py_None); resultobj = Py_None;
12910 return resultobj;
12911 fail:
12912 return NULL;
12913 }
12914
12915
12916 static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12917 PyObject *resultobj;
12918 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12919 PyObject *arg2 = (PyObject *) 0 ;
12920 PyObject *arg3 = (PyObject *) 0 ;
12921 PyObject * obj0 = 0 ;
12922 PyObject * obj1 = 0 ;
12923 PyObject * obj2 = 0 ;
12924 char *kwnames[] = {
12925 (char *) "self",(char *) "self",(char *) "_class", NULL
12926 };
12927
12928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12930 arg2 = obj1;
12931 arg3 = obj2;
12932 {
12933 PyThreadState* __tstate = wxPyBeginAllowThreads();
12934 (arg1)->_setCallbackInfo(arg2,arg3);
12935
12936 wxPyEndAllowThreads(__tstate);
12937 if (PyErr_Occurred()) SWIG_fail;
12938 }
12939 Py_INCREF(Py_None); resultobj = Py_None;
12940 return resultobj;
12941 fail:
12942 return NULL;
12943 }
12944
12945
12946 static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12947 PyObject *resultobj;
12948 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12949 PyObject * obj0 = 0 ;
12950 char *kwnames[] = {
12951 (char *) "provider", NULL
12952 };
12953
12954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
12955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12956 {
12957 PyThreadState* __tstate = wxPyBeginAllowThreads();
12958 wxPyArtProvider::PushProvider(arg1);
12959
12960 wxPyEndAllowThreads(__tstate);
12961 if (PyErr_Occurred()) SWIG_fail;
12962 }
12963 Py_INCREF(Py_None); resultobj = Py_None;
12964 return resultobj;
12965 fail:
12966 return NULL;
12967 }
12968
12969
12970 static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12971 PyObject *resultobj;
12972 bool result;
12973 char *kwnames[] = {
12974 NULL
12975 };
12976
12977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
12978 {
12979 PyThreadState* __tstate = wxPyBeginAllowThreads();
12980 result = (bool)wxPyArtProvider::PopProvider();
12981
12982 wxPyEndAllowThreads(__tstate);
12983 if (PyErr_Occurred()) SWIG_fail;
12984 }
12985 resultobj = PyInt_FromLong((long)result);
12986 return resultobj;
12987 fail:
12988 return NULL;
12989 }
12990
12991
12992 static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12993 PyObject *resultobj;
12994 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12995 bool result;
12996 PyObject * obj0 = 0 ;
12997 char *kwnames[] = {
12998 (char *) "provider", NULL
12999 };
13000
13001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
13002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13003 {
13004 PyThreadState* __tstate = wxPyBeginAllowThreads();
13005 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
13006
13007 wxPyEndAllowThreads(__tstate);
13008 if (PyErr_Occurred()) SWIG_fail;
13009 }
13010 resultobj = PyInt_FromLong((long)result);
13011 return resultobj;
13012 fail:
13013 return NULL;
13014 }
13015
13016
13017 static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13018 PyObject *resultobj;
13019 wxString *arg1 = 0 ;
13020 wxString const &arg2_defvalue = wxPyART_OTHER ;
13021 wxString *arg2 = (wxString *) &arg2_defvalue ;
13022 wxSize const &arg3_defvalue = wxDefaultSize ;
13023 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13024 wxBitmap result;
13025 bool temp1 = False ;
13026 bool temp2 = False ;
13027 wxSize temp3 ;
13028 PyObject * obj0 = 0 ;
13029 PyObject * obj1 = 0 ;
13030 PyObject * obj2 = 0 ;
13031 char *kwnames[] = {
13032 (char *) "id",(char *) "client",(char *) "size", NULL
13033 };
13034
13035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13036 {
13037 arg1 = wxString_in_helper(obj0);
13038 if (arg1 == NULL) SWIG_fail;
13039 temp1 = True;
13040 }
13041 if (obj1) {
13042 {
13043 arg2 = wxString_in_helper(obj1);
13044 if (arg2 == NULL) SWIG_fail;
13045 temp2 = True;
13046 }
13047 }
13048 if (obj2) {
13049 {
13050 arg3 = &temp3;
13051 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13052 }
13053 }
13054 {
13055 PyThreadState* __tstate = wxPyBeginAllowThreads();
13056 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13057
13058 wxPyEndAllowThreads(__tstate);
13059 if (PyErr_Occurred()) SWIG_fail;
13060 }
13061 {
13062 wxBitmap * resultptr;
13063 resultptr = new wxBitmap((wxBitmap &) result);
13064 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13065 }
13066 {
13067 if (temp1)
13068 delete arg1;
13069 }
13070 {
13071 if (temp2)
13072 delete arg2;
13073 }
13074 return resultobj;
13075 fail:
13076 {
13077 if (temp1)
13078 delete arg1;
13079 }
13080 {
13081 if (temp2)
13082 delete arg2;
13083 }
13084 return NULL;
13085 }
13086
13087
13088 static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
13089 PyObject *resultobj;
13090 wxString *arg1 = 0 ;
13091 wxString const &arg2_defvalue = wxPyART_OTHER ;
13092 wxString *arg2 = (wxString *) &arg2_defvalue ;
13093 wxSize const &arg3_defvalue = wxDefaultSize ;
13094 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13095 wxIcon result;
13096 bool temp1 = False ;
13097 bool temp2 = False ;
13098 wxSize temp3 ;
13099 PyObject * obj0 = 0 ;
13100 PyObject * obj1 = 0 ;
13101 PyObject * obj2 = 0 ;
13102 char *kwnames[] = {
13103 (char *) "id",(char *) "client",(char *) "size", NULL
13104 };
13105
13106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13107 {
13108 arg1 = wxString_in_helper(obj0);
13109 if (arg1 == NULL) SWIG_fail;
13110 temp1 = True;
13111 }
13112 if (obj1) {
13113 {
13114 arg2 = wxString_in_helper(obj1);
13115 if (arg2 == NULL) SWIG_fail;
13116 temp2 = True;
13117 }
13118 }
13119 if (obj2) {
13120 {
13121 arg3 = &temp3;
13122 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13123 }
13124 }
13125 {
13126 PyThreadState* __tstate = wxPyBeginAllowThreads();
13127 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13128
13129 wxPyEndAllowThreads(__tstate);
13130 if (PyErr_Occurred()) SWIG_fail;
13131 }
13132 {
13133 wxIcon * resultptr;
13134 resultptr = new wxIcon((wxIcon &) result);
13135 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
13136 }
13137 {
13138 if (temp1)
13139 delete arg1;
13140 }
13141 {
13142 if (temp2)
13143 delete arg2;
13144 }
13145 return resultobj;
13146 fail:
13147 {
13148 if (temp1)
13149 delete arg1;
13150 }
13151 {
13152 if (temp2)
13153 delete arg2;
13154 }
13155 return NULL;
13156 }
13157
13158
13159 static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
13160 PyObject *obj;
13161 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13162 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
13163 Py_INCREF(obj);
13164 return Py_BuildValue((char *)"");
13165 }
13166 static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
13167 PyObject *resultobj;
13168 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13169 PyObject * obj0 = 0 ;
13170 char *kwnames[] = {
13171 (char *) "self", NULL
13172 };
13173
13174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
13175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13176 {
13177 PyThreadState* __tstate = wxPyBeginAllowThreads();
13178 delete arg1;
13179
13180 wxPyEndAllowThreads(__tstate);
13181 if (PyErr_Occurred()) SWIG_fail;
13182 }
13183 Py_INCREF(Py_None); resultobj = Py_None;
13184 return resultobj;
13185 fail:
13186 return NULL;
13187 }
13188
13189
13190 static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
13191 PyObject *resultobj;
13192 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13193 wxConfigBase *result;
13194 PyObject * obj0 = 0 ;
13195 char *kwnames[] = {
13196 (char *) "pConfig", NULL
13197 };
13198
13199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
13200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13201 {
13202 PyThreadState* __tstate = wxPyBeginAllowThreads();
13203 result = (wxConfigBase *)wxConfigBase::Set(arg1);
13204
13205 wxPyEndAllowThreads(__tstate);
13206 if (PyErr_Occurred()) SWIG_fail;
13207 }
13208 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13209 return resultobj;
13210 fail:
13211 return NULL;
13212 }
13213
13214
13215 static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
13216 PyObject *resultobj;
13217 bool arg1 = (bool) True ;
13218 wxConfigBase *result;
13219 PyObject * obj0 = 0 ;
13220 char *kwnames[] = {
13221 (char *) "createOnDemand", NULL
13222 };
13223
13224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
13225 if (obj0) {
13226 arg1 = PyInt_AsLong(obj0) ? true : false;
13227 if (PyErr_Occurred()) SWIG_fail;
13228 }
13229 {
13230 PyThreadState* __tstate = wxPyBeginAllowThreads();
13231 result = (wxConfigBase *)wxConfigBase::Get(arg1);
13232
13233 wxPyEndAllowThreads(__tstate);
13234 if (PyErr_Occurred()) SWIG_fail;
13235 }
13236 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13237 return resultobj;
13238 fail:
13239 return NULL;
13240 }
13241
13242
13243 static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13244 PyObject *resultobj;
13245 wxConfigBase *result;
13246 char *kwnames[] = {
13247 NULL
13248 };
13249
13250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
13251 {
13252 PyThreadState* __tstate = wxPyBeginAllowThreads();
13253 result = (wxConfigBase *)wxConfigBase::Create();
13254
13255 wxPyEndAllowThreads(__tstate);
13256 if (PyErr_Occurred()) SWIG_fail;
13257 }
13258 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13259 return resultobj;
13260 fail:
13261 return NULL;
13262 }
13263
13264
13265 static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
13266 PyObject *resultobj;
13267 char *kwnames[] = {
13268 NULL
13269 };
13270
13271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
13272 {
13273 PyThreadState* __tstate = wxPyBeginAllowThreads();
13274 wxConfigBase::DontCreateOnDemand();
13275
13276 wxPyEndAllowThreads(__tstate);
13277 if (PyErr_Occurred()) SWIG_fail;
13278 }
13279 Py_INCREF(Py_None); resultobj = Py_None;
13280 return resultobj;
13281 fail:
13282 return NULL;
13283 }
13284
13285
13286 static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13287 PyObject *resultobj;
13288 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13289 wxString *arg2 = 0 ;
13290 bool temp2 = False ;
13291 PyObject * obj0 = 0 ;
13292 PyObject * obj1 = 0 ;
13293 char *kwnames[] = {
13294 (char *) "self",(char *) "strPath", NULL
13295 };
13296
13297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
13298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13299 {
13300 arg2 = wxString_in_helper(obj1);
13301 if (arg2 == NULL) SWIG_fail;
13302 temp2 = True;
13303 }
13304 {
13305 PyThreadState* __tstate = wxPyBeginAllowThreads();
13306 (arg1)->SetPath((wxString const &)*arg2);
13307
13308 wxPyEndAllowThreads(__tstate);
13309 if (PyErr_Occurred()) SWIG_fail;
13310 }
13311 Py_INCREF(Py_None); resultobj = Py_None;
13312 {
13313 if (temp2)
13314 delete arg2;
13315 }
13316 return resultobj;
13317 fail:
13318 {
13319 if (temp2)
13320 delete arg2;
13321 }
13322 return NULL;
13323 }
13324
13325
13326 static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13327 PyObject *resultobj;
13328 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13329 wxString *result;
13330 PyObject * obj0 = 0 ;
13331 char *kwnames[] = {
13332 (char *) "self", NULL
13333 };
13334
13335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
13336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13337 {
13338 PyThreadState* __tstate = wxPyBeginAllowThreads();
13339 {
13340 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
13341 result = (wxString *) &_result_ref;
13342 }
13343
13344 wxPyEndAllowThreads(__tstate);
13345 if (PyErr_Occurred()) SWIG_fail;
13346 }
13347 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
13348 return resultobj;
13349 fail:
13350 return NULL;
13351 }
13352
13353
13354 static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13355 PyObject *resultobj;
13356 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13357 PyObject *result;
13358 PyObject * obj0 = 0 ;
13359 char *kwnames[] = {
13360 (char *) "self", NULL
13361 };
13362
13363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
13364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13365 {
13366 PyThreadState* __tstate = wxPyBeginAllowThreads();
13367 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
13368
13369 wxPyEndAllowThreads(__tstate);
13370 if (PyErr_Occurred()) SWIG_fail;
13371 }
13372 resultobj = result;
13373 return resultobj;
13374 fail:
13375 return NULL;
13376 }
13377
13378
13379 static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13380 PyObject *resultobj;
13381 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13382 long arg2 ;
13383 PyObject *result;
13384 PyObject * obj0 = 0 ;
13385 char *kwnames[] = {
13386 (char *) "self",(char *) "index", NULL
13387 };
13388
13389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextGroup",kwnames,&obj0,&arg2)) goto fail;
13390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13391 {
13392 PyThreadState* __tstate = wxPyBeginAllowThreads();
13393 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
13394
13395 wxPyEndAllowThreads(__tstate);
13396 if (PyErr_Occurred()) SWIG_fail;
13397 }
13398 resultobj = result;
13399 return resultobj;
13400 fail:
13401 return NULL;
13402 }
13403
13404
13405 static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13406 PyObject *resultobj;
13407 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13408 PyObject *result;
13409 PyObject * obj0 = 0 ;
13410 char *kwnames[] = {
13411 (char *) "self", NULL
13412 };
13413
13414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
13415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13416 {
13417 PyThreadState* __tstate = wxPyBeginAllowThreads();
13418 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
13419
13420 wxPyEndAllowThreads(__tstate);
13421 if (PyErr_Occurred()) SWIG_fail;
13422 }
13423 resultobj = result;
13424 return resultobj;
13425 fail:
13426 return NULL;
13427 }
13428
13429
13430 static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13431 PyObject *resultobj;
13432 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13433 long arg2 ;
13434 PyObject *result;
13435 PyObject * obj0 = 0 ;
13436 char *kwnames[] = {
13437 (char *) "self",(char *) "index", NULL
13438 };
13439
13440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextEntry",kwnames,&obj0,&arg2)) goto fail;
13441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13442 {
13443 PyThreadState* __tstate = wxPyBeginAllowThreads();
13444 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
13445
13446 wxPyEndAllowThreads(__tstate);
13447 if (PyErr_Occurred()) SWIG_fail;
13448 }
13449 resultobj = result;
13450 return resultobj;
13451 fail:
13452 return NULL;
13453 }
13454
13455
13456 static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
13457 PyObject *resultobj;
13458 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13459 bool arg2 = (bool) False ;
13460 size_t result;
13461 PyObject * obj0 = 0 ;
13462 PyObject * obj1 = 0 ;
13463 char *kwnames[] = {
13464 (char *) "self",(char *) "bRecursive", NULL
13465 };
13466
13467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
13468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13469 if (obj1) {
13470 arg2 = PyInt_AsLong(obj1) ? true : false;
13471 if (PyErr_Occurred()) SWIG_fail;
13472 }
13473 {
13474 PyThreadState* __tstate = wxPyBeginAllowThreads();
13475 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
13476
13477 wxPyEndAllowThreads(__tstate);
13478 if (PyErr_Occurred()) SWIG_fail;
13479 }
13480 resultobj = PyInt_FromLong((long)result);
13481 return resultobj;
13482 fail:
13483 return NULL;
13484 }
13485
13486
13487 static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
13488 PyObject *resultobj;
13489 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13490 bool arg2 = (bool) False ;
13491 size_t result;
13492 PyObject * obj0 = 0 ;
13493 PyObject * obj1 = 0 ;
13494 char *kwnames[] = {
13495 (char *) "self",(char *) "bRecursive", NULL
13496 };
13497
13498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
13499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13500 if (obj1) {
13501 arg2 = PyInt_AsLong(obj1) ? true : false;
13502 if (PyErr_Occurred()) SWIG_fail;
13503 }
13504 {
13505 PyThreadState* __tstate = wxPyBeginAllowThreads();
13506 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
13507
13508 wxPyEndAllowThreads(__tstate);
13509 if (PyErr_Occurred()) SWIG_fail;
13510 }
13511 resultobj = PyInt_FromLong((long)result);
13512 return resultobj;
13513 fail:
13514 return NULL;
13515 }
13516
13517
13518 static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13519 PyObject *resultobj;
13520 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13521 wxString *arg2 = 0 ;
13522 bool result;
13523 bool temp2 = False ;
13524 PyObject * obj0 = 0 ;
13525 PyObject * obj1 = 0 ;
13526 char *kwnames[] = {
13527 (char *) "self",(char *) "strName", NULL
13528 };
13529
13530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
13531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13532 {
13533 arg2 = wxString_in_helper(obj1);
13534 if (arg2 == NULL) SWIG_fail;
13535 temp2 = True;
13536 }
13537 {
13538 PyThreadState* __tstate = wxPyBeginAllowThreads();
13539 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
13540
13541 wxPyEndAllowThreads(__tstate);
13542 if (PyErr_Occurred()) SWIG_fail;
13543 }
13544 resultobj = PyInt_FromLong((long)result);
13545 {
13546 if (temp2)
13547 delete arg2;
13548 }
13549 return resultobj;
13550 fail:
13551 {
13552 if (temp2)
13553 delete arg2;
13554 }
13555 return NULL;
13556 }
13557
13558
13559 static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13560 PyObject *resultobj;
13561 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13562 wxString *arg2 = 0 ;
13563 bool result;
13564 bool temp2 = False ;
13565 PyObject * obj0 = 0 ;
13566 PyObject * obj1 = 0 ;
13567 char *kwnames[] = {
13568 (char *) "self",(char *) "strName", NULL
13569 };
13570
13571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
13572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13573 {
13574 arg2 = wxString_in_helper(obj1);
13575 if (arg2 == NULL) SWIG_fail;
13576 temp2 = True;
13577 }
13578 {
13579 PyThreadState* __tstate = wxPyBeginAllowThreads();
13580 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
13581
13582 wxPyEndAllowThreads(__tstate);
13583 if (PyErr_Occurred()) SWIG_fail;
13584 }
13585 resultobj = PyInt_FromLong((long)result);
13586 {
13587 if (temp2)
13588 delete arg2;
13589 }
13590 return resultobj;
13591 fail:
13592 {
13593 if (temp2)
13594 delete arg2;
13595 }
13596 return NULL;
13597 }
13598
13599
13600 static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
13601 PyObject *resultobj;
13602 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13603 wxString *arg2 = 0 ;
13604 bool result;
13605 bool temp2 = False ;
13606 PyObject * obj0 = 0 ;
13607 PyObject * obj1 = 0 ;
13608 char *kwnames[] = {
13609 (char *) "self",(char *) "strName", NULL
13610 };
13611
13612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
13613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13614 {
13615 arg2 = wxString_in_helper(obj1);
13616 if (arg2 == NULL) SWIG_fail;
13617 temp2 = True;
13618 }
13619 {
13620 PyThreadState* __tstate = wxPyBeginAllowThreads();
13621 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
13622
13623 wxPyEndAllowThreads(__tstate);
13624 if (PyErr_Occurred()) SWIG_fail;
13625 }
13626 resultobj = PyInt_FromLong((long)result);
13627 {
13628 if (temp2)
13629 delete arg2;
13630 }
13631 return resultobj;
13632 fail:
13633 {
13634 if (temp2)
13635 delete arg2;
13636 }
13637 return NULL;
13638 }
13639
13640
13641 static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
13642 PyObject *resultobj;
13643 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13644 wxString *arg2 = 0 ;
13645 int result;
13646 bool temp2 = False ;
13647 PyObject * obj0 = 0 ;
13648 PyObject * obj1 = 0 ;
13649 char *kwnames[] = {
13650 (char *) "self",(char *) "name", NULL
13651 };
13652
13653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
13654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13655 {
13656 arg2 = wxString_in_helper(obj1);
13657 if (arg2 == NULL) SWIG_fail;
13658 temp2 = True;
13659 }
13660 {
13661 PyThreadState* __tstate = wxPyBeginAllowThreads();
13662 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
13663
13664 wxPyEndAllowThreads(__tstate);
13665 if (PyErr_Occurred()) SWIG_fail;
13666 }
13667 resultobj = PyInt_FromLong((long)result);
13668 {
13669 if (temp2)
13670 delete arg2;
13671 }
13672 return resultobj;
13673 fail:
13674 {
13675 if (temp2)
13676 delete arg2;
13677 }
13678 return NULL;
13679 }
13680
13681
13682 static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
13683 PyObject *resultobj;
13684 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13685 wxString *arg2 = 0 ;
13686 wxString const &arg3_defvalue = wxPyEmptyString ;
13687 wxString *arg3 = (wxString *) &arg3_defvalue ;
13688 wxString result;
13689 bool temp2 = False ;
13690 bool temp3 = False ;
13691 PyObject * obj0 = 0 ;
13692 PyObject * obj1 = 0 ;
13693 PyObject * obj2 = 0 ;
13694 char *kwnames[] = {
13695 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13696 };
13697
13698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
13699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13700 {
13701 arg2 = wxString_in_helper(obj1);
13702 if (arg2 == NULL) SWIG_fail;
13703 temp2 = True;
13704 }
13705 if (obj2) {
13706 {
13707 arg3 = wxString_in_helper(obj2);
13708 if (arg3 == NULL) SWIG_fail;
13709 temp3 = True;
13710 }
13711 }
13712 {
13713 PyThreadState* __tstate = wxPyBeginAllowThreads();
13714 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
13715
13716 wxPyEndAllowThreads(__tstate);
13717 if (PyErr_Occurred()) SWIG_fail;
13718 }
13719 {
13720 #if wxUSE_UNICODE
13721 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13722 #else
13723 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13724 #endif
13725 }
13726 {
13727 if (temp2)
13728 delete arg2;
13729 }
13730 {
13731 if (temp3)
13732 delete arg3;
13733 }
13734 return resultobj;
13735 fail:
13736 {
13737 if (temp2)
13738 delete arg2;
13739 }
13740 {
13741 if (temp3)
13742 delete arg3;
13743 }
13744 return NULL;
13745 }
13746
13747
13748 static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13749 PyObject *resultobj;
13750 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13751 wxString *arg2 = 0 ;
13752 long arg3 = (long) 0 ;
13753 long result;
13754 bool temp2 = False ;
13755 PyObject * obj0 = 0 ;
13756 PyObject * obj1 = 0 ;
13757 char *kwnames[] = {
13758 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13759 };
13760
13761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
13762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13763 {
13764 arg2 = wxString_in_helper(obj1);
13765 if (arg2 == NULL) SWIG_fail;
13766 temp2 = True;
13767 }
13768 {
13769 PyThreadState* __tstate = wxPyBeginAllowThreads();
13770 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
13771
13772 wxPyEndAllowThreads(__tstate);
13773 if (PyErr_Occurred()) SWIG_fail;
13774 }
13775 resultobj = PyInt_FromLong((long)result);
13776 {
13777 if (temp2)
13778 delete arg2;
13779 }
13780 return resultobj;
13781 fail:
13782 {
13783 if (temp2)
13784 delete arg2;
13785 }
13786 return NULL;
13787 }
13788
13789
13790 static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
13791 PyObject *resultobj;
13792 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13793 wxString *arg2 = 0 ;
13794 double arg3 = (double) 0.0 ;
13795 double result;
13796 bool temp2 = False ;
13797 PyObject * obj0 = 0 ;
13798 PyObject * obj1 = 0 ;
13799 char *kwnames[] = {
13800 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13801 };
13802
13803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|d:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
13804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13805 {
13806 arg2 = wxString_in_helper(obj1);
13807 if (arg2 == NULL) SWIG_fail;
13808 temp2 = True;
13809 }
13810 {
13811 PyThreadState* __tstate = wxPyBeginAllowThreads();
13812 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
13813
13814 wxPyEndAllowThreads(__tstate);
13815 if (PyErr_Occurred()) SWIG_fail;
13816 }
13817 resultobj = PyFloat_FromDouble(result);
13818 {
13819 if (temp2)
13820 delete arg2;
13821 }
13822 return resultobj;
13823 fail:
13824 {
13825 if (temp2)
13826 delete arg2;
13827 }
13828 return NULL;
13829 }
13830
13831
13832 static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
13833 PyObject *resultobj;
13834 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13835 wxString *arg2 = 0 ;
13836 bool arg3 = (bool) False ;
13837 bool result;
13838 bool temp2 = False ;
13839 PyObject * obj0 = 0 ;
13840 PyObject * obj1 = 0 ;
13841 PyObject * obj2 = 0 ;
13842 char *kwnames[] = {
13843 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13844 };
13845
13846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
13847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13848 {
13849 arg2 = wxString_in_helper(obj1);
13850 if (arg2 == NULL) SWIG_fail;
13851 temp2 = True;
13852 }
13853 if (obj2) {
13854 arg3 = PyInt_AsLong(obj2) ? true : false;
13855 if (PyErr_Occurred()) SWIG_fail;
13856 }
13857 {
13858 PyThreadState* __tstate = wxPyBeginAllowThreads();
13859 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
13860
13861 wxPyEndAllowThreads(__tstate);
13862 if (PyErr_Occurred()) SWIG_fail;
13863 }
13864 resultobj = PyInt_FromLong((long)result);
13865 {
13866 if (temp2)
13867 delete arg2;
13868 }
13869 return resultobj;
13870 fail:
13871 {
13872 if (temp2)
13873 delete arg2;
13874 }
13875 return NULL;
13876 }
13877
13878
13879 static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
13880 PyObject *resultobj;
13881 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13882 wxString *arg2 = 0 ;
13883 wxString *arg3 = 0 ;
13884 bool result;
13885 bool temp2 = False ;
13886 bool temp3 = False ;
13887 PyObject * obj0 = 0 ;
13888 PyObject * obj1 = 0 ;
13889 PyObject * obj2 = 0 ;
13890 char *kwnames[] = {
13891 (char *) "self",(char *) "key",(char *) "value", NULL
13892 };
13893
13894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
13895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13896 {
13897 arg2 = wxString_in_helper(obj1);
13898 if (arg2 == NULL) SWIG_fail;
13899 temp2 = True;
13900 }
13901 {
13902 arg3 = wxString_in_helper(obj2);
13903 if (arg3 == NULL) SWIG_fail;
13904 temp3 = True;
13905 }
13906 {
13907 PyThreadState* __tstate = wxPyBeginAllowThreads();
13908 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
13909
13910 wxPyEndAllowThreads(__tstate);
13911 if (PyErr_Occurred()) SWIG_fail;
13912 }
13913 resultobj = PyInt_FromLong((long)result);
13914 {
13915 if (temp2)
13916 delete arg2;
13917 }
13918 {
13919 if (temp3)
13920 delete arg3;
13921 }
13922 return resultobj;
13923 fail:
13924 {
13925 if (temp2)
13926 delete arg2;
13927 }
13928 {
13929 if (temp3)
13930 delete arg3;
13931 }
13932 return NULL;
13933 }
13934
13935
13936 static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13937 PyObject *resultobj;
13938 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13939 wxString *arg2 = 0 ;
13940 long arg3 ;
13941 bool result;
13942 bool temp2 = False ;
13943 PyObject * obj0 = 0 ;
13944 PyObject * obj1 = 0 ;
13945 char *kwnames[] = {
13946 (char *) "self",(char *) "key",(char *) "value", NULL
13947 };
13948
13949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
13950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13951 {
13952 arg2 = wxString_in_helper(obj1);
13953 if (arg2 == NULL) SWIG_fail;
13954 temp2 = True;
13955 }
13956 {
13957 PyThreadState* __tstate = wxPyBeginAllowThreads();
13958 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
13959
13960 wxPyEndAllowThreads(__tstate);
13961 if (PyErr_Occurred()) SWIG_fail;
13962 }
13963 resultobj = PyInt_FromLong((long)result);
13964 {
13965 if (temp2)
13966 delete arg2;
13967 }
13968 return resultobj;
13969 fail:
13970 {
13971 if (temp2)
13972 delete arg2;
13973 }
13974 return NULL;
13975 }
13976
13977
13978 static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
13979 PyObject *resultobj;
13980 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13981 wxString *arg2 = 0 ;
13982 double arg3 ;
13983 bool result;
13984 bool temp2 = False ;
13985 PyObject * obj0 = 0 ;
13986 PyObject * obj1 = 0 ;
13987 char *kwnames[] = {
13988 (char *) "self",(char *) "key",(char *) "value", NULL
13989 };
13990
13991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
13992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13993 {
13994 arg2 = wxString_in_helper(obj1);
13995 if (arg2 == NULL) SWIG_fail;
13996 temp2 = True;
13997 }
13998 {
13999 PyThreadState* __tstate = wxPyBeginAllowThreads();
14000 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14001
14002 wxPyEndAllowThreads(__tstate);
14003 if (PyErr_Occurred()) SWIG_fail;
14004 }
14005 resultobj = PyInt_FromLong((long)result);
14006 {
14007 if (temp2)
14008 delete arg2;
14009 }
14010 return resultobj;
14011 fail:
14012 {
14013 if (temp2)
14014 delete arg2;
14015 }
14016 return NULL;
14017 }
14018
14019
14020 static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
14021 PyObject *resultobj;
14022 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14023 wxString *arg2 = 0 ;
14024 bool arg3 ;
14025 bool result;
14026 bool temp2 = False ;
14027 PyObject * obj0 = 0 ;
14028 PyObject * obj1 = 0 ;
14029 PyObject * obj2 = 0 ;
14030 char *kwnames[] = {
14031 (char *) "self",(char *) "key",(char *) "value", NULL
14032 };
14033
14034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
14035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14036 {
14037 arg2 = wxString_in_helper(obj1);
14038 if (arg2 == NULL) SWIG_fail;
14039 temp2 = True;
14040 }
14041 arg3 = PyInt_AsLong(obj2) ? true : false;
14042 if (PyErr_Occurred()) SWIG_fail;
14043 {
14044 PyThreadState* __tstate = wxPyBeginAllowThreads();
14045 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14046
14047 wxPyEndAllowThreads(__tstate);
14048 if (PyErr_Occurred()) SWIG_fail;
14049 }
14050 resultobj = PyInt_FromLong((long)result);
14051 {
14052 if (temp2)
14053 delete arg2;
14054 }
14055 return resultobj;
14056 fail:
14057 {
14058 if (temp2)
14059 delete arg2;
14060 }
14061 return NULL;
14062 }
14063
14064
14065 static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
14066 PyObject *resultobj;
14067 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14068 bool arg2 = (bool) False ;
14069 bool result;
14070 PyObject * obj0 = 0 ;
14071 PyObject * obj1 = 0 ;
14072 char *kwnames[] = {
14073 (char *) "self",(char *) "bCurrentOnly", NULL
14074 };
14075
14076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
14077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14078 if (obj1) {
14079 arg2 = PyInt_AsLong(obj1) ? true : false;
14080 if (PyErr_Occurred()) SWIG_fail;
14081 }
14082 {
14083 PyThreadState* __tstate = wxPyBeginAllowThreads();
14084 result = (bool)(arg1)->Flush(arg2);
14085
14086 wxPyEndAllowThreads(__tstate);
14087 if (PyErr_Occurred()) SWIG_fail;
14088 }
14089 resultobj = PyInt_FromLong((long)result);
14090 return resultobj;
14091 fail:
14092 return NULL;
14093 }
14094
14095
14096 static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14097 PyObject *resultobj;
14098 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14099 wxString *arg2 = 0 ;
14100 wxString *arg3 = 0 ;
14101 bool result;
14102 bool temp2 = False ;
14103 bool temp3 = False ;
14104 PyObject * obj0 = 0 ;
14105 PyObject * obj1 = 0 ;
14106 PyObject * obj2 = 0 ;
14107 char *kwnames[] = {
14108 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14109 };
14110
14111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14113 {
14114 arg2 = wxString_in_helper(obj1);
14115 if (arg2 == NULL) SWIG_fail;
14116 temp2 = True;
14117 }
14118 {
14119 arg3 = wxString_in_helper(obj2);
14120 if (arg3 == NULL) SWIG_fail;
14121 temp3 = True;
14122 }
14123 {
14124 PyThreadState* __tstate = wxPyBeginAllowThreads();
14125 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
14126
14127 wxPyEndAllowThreads(__tstate);
14128 if (PyErr_Occurred()) SWIG_fail;
14129 }
14130 resultobj = PyInt_FromLong((long)result);
14131 {
14132 if (temp2)
14133 delete arg2;
14134 }
14135 {
14136 if (temp3)
14137 delete arg3;
14138 }
14139 return resultobj;
14140 fail:
14141 {
14142 if (temp2)
14143 delete arg2;
14144 }
14145 {
14146 if (temp3)
14147 delete arg3;
14148 }
14149 return NULL;
14150 }
14151
14152
14153 static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14154 PyObject *resultobj;
14155 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14156 wxString *arg2 = 0 ;
14157 wxString *arg3 = 0 ;
14158 bool result;
14159 bool temp2 = False ;
14160 bool temp3 = False ;
14161 PyObject * obj0 = 0 ;
14162 PyObject * obj1 = 0 ;
14163 PyObject * obj2 = 0 ;
14164 char *kwnames[] = {
14165 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14166 };
14167
14168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
14169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14170 {
14171 arg2 = wxString_in_helper(obj1);
14172 if (arg2 == NULL) SWIG_fail;
14173 temp2 = True;
14174 }
14175 {
14176 arg3 = wxString_in_helper(obj2);
14177 if (arg3 == NULL) SWIG_fail;
14178 temp3 = True;
14179 }
14180 {
14181 PyThreadState* __tstate = wxPyBeginAllowThreads();
14182 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
14183
14184 wxPyEndAllowThreads(__tstate);
14185 if (PyErr_Occurred()) SWIG_fail;
14186 }
14187 resultobj = PyInt_FromLong((long)result);
14188 {
14189 if (temp2)
14190 delete arg2;
14191 }
14192 {
14193 if (temp3)
14194 delete arg3;
14195 }
14196 return resultobj;
14197 fail:
14198 {
14199 if (temp2)
14200 delete arg2;
14201 }
14202 {
14203 if (temp3)
14204 delete arg3;
14205 }
14206 return NULL;
14207 }
14208
14209
14210 static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14211 PyObject *resultobj;
14212 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14213 wxString *arg2 = 0 ;
14214 bool arg3 = (bool) True ;
14215 bool result;
14216 bool temp2 = False ;
14217 PyObject * obj0 = 0 ;
14218 PyObject * obj1 = 0 ;
14219 PyObject * obj2 = 0 ;
14220 char *kwnames[] = {
14221 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14222 };
14223
14224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14226 {
14227 arg2 = wxString_in_helper(obj1);
14228 if (arg2 == NULL) SWIG_fail;
14229 temp2 = True;
14230 }
14231 if (obj2) {
14232 arg3 = PyInt_AsLong(obj2) ? true : false;
14233 if (PyErr_Occurred()) SWIG_fail;
14234 }
14235 {
14236 PyThreadState* __tstate = wxPyBeginAllowThreads();
14237 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
14238
14239 wxPyEndAllowThreads(__tstate);
14240 if (PyErr_Occurred()) SWIG_fail;
14241 }
14242 resultobj = PyInt_FromLong((long)result);
14243 {
14244 if (temp2)
14245 delete arg2;
14246 }
14247 return resultobj;
14248 fail:
14249 {
14250 if (temp2)
14251 delete arg2;
14252 }
14253 return NULL;
14254 }
14255
14256
14257 static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14258 PyObject *resultobj;
14259 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14260 wxString *arg2 = 0 ;
14261 bool result;
14262 bool temp2 = False ;
14263 PyObject * obj0 = 0 ;
14264 PyObject * obj1 = 0 ;
14265 char *kwnames[] = {
14266 (char *) "self",(char *) "key", NULL
14267 };
14268
14269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
14270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14271 {
14272 arg2 = wxString_in_helper(obj1);
14273 if (arg2 == NULL) SWIG_fail;
14274 temp2 = True;
14275 }
14276 {
14277 PyThreadState* __tstate = wxPyBeginAllowThreads();
14278 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
14279
14280 wxPyEndAllowThreads(__tstate);
14281 if (PyErr_Occurred()) SWIG_fail;
14282 }
14283 resultobj = PyInt_FromLong((long)result);
14284 {
14285 if (temp2)
14286 delete arg2;
14287 }
14288 return resultobj;
14289 fail:
14290 {
14291 if (temp2)
14292 delete arg2;
14293 }
14294 return NULL;
14295 }
14296
14297
14298 static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
14299 PyObject *resultobj;
14300 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14301 bool result;
14302 PyObject * obj0 = 0 ;
14303 char *kwnames[] = {
14304 (char *) "self", NULL
14305 };
14306
14307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
14308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14309 {
14310 PyThreadState* __tstate = wxPyBeginAllowThreads();
14311 result = (bool)(arg1)->DeleteAll();
14312
14313 wxPyEndAllowThreads(__tstate);
14314 if (PyErr_Occurred()) SWIG_fail;
14315 }
14316 resultobj = PyInt_FromLong((long)result);
14317 return resultobj;
14318 fail:
14319 return NULL;
14320 }
14321
14322
14323 static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14324 PyObject *resultobj;
14325 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14326 bool result;
14327 PyObject * obj0 = 0 ;
14328 char *kwnames[] = {
14329 (char *) "self", NULL
14330 };
14331
14332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
14333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14334 {
14335 PyThreadState* __tstate = wxPyBeginAllowThreads();
14336 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
14337
14338 wxPyEndAllowThreads(__tstate);
14339 if (PyErr_Occurred()) SWIG_fail;
14340 }
14341 resultobj = PyInt_FromLong((long)result);
14342 return resultobj;
14343 fail:
14344 return NULL;
14345 }
14346
14347
14348 static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14349 PyObject *resultobj;
14350 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14351 bool arg2 = (bool) True ;
14352 PyObject * obj0 = 0 ;
14353 PyObject * obj1 = 0 ;
14354 char *kwnames[] = {
14355 (char *) "self",(char *) "bDoIt", NULL
14356 };
14357
14358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14360 if (obj1) {
14361 arg2 = PyInt_AsLong(obj1) ? true : false;
14362 if (PyErr_Occurred()) SWIG_fail;
14363 }
14364 {
14365 PyThreadState* __tstate = wxPyBeginAllowThreads();
14366 (arg1)->SetExpandEnvVars(arg2);
14367
14368 wxPyEndAllowThreads(__tstate);
14369 if (PyErr_Occurred()) SWIG_fail;
14370 }
14371 Py_INCREF(Py_None); resultobj = Py_None;
14372 return resultobj;
14373 fail:
14374 return NULL;
14375 }
14376
14377
14378 static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14379 PyObject *resultobj;
14380 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14381 bool arg2 = (bool) True ;
14382 PyObject * obj0 = 0 ;
14383 PyObject * obj1 = 0 ;
14384 char *kwnames[] = {
14385 (char *) "self",(char *) "bDoIt", NULL
14386 };
14387
14388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
14389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14390 if (obj1) {
14391 arg2 = PyInt_AsLong(obj1) ? true : false;
14392 if (PyErr_Occurred()) SWIG_fail;
14393 }
14394 {
14395 PyThreadState* __tstate = wxPyBeginAllowThreads();
14396 (arg1)->SetRecordDefaults(arg2);
14397
14398 wxPyEndAllowThreads(__tstate);
14399 if (PyErr_Occurred()) SWIG_fail;
14400 }
14401 Py_INCREF(Py_None); resultobj = Py_None;
14402 return resultobj;
14403 fail:
14404 return NULL;
14405 }
14406
14407
14408 static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14409 PyObject *resultobj;
14410 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14411 bool result;
14412 PyObject * obj0 = 0 ;
14413 char *kwnames[] = {
14414 (char *) "self", NULL
14415 };
14416
14417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
14418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14419 {
14420 PyThreadState* __tstate = wxPyBeginAllowThreads();
14421 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
14422
14423 wxPyEndAllowThreads(__tstate);
14424 if (PyErr_Occurred()) SWIG_fail;
14425 }
14426 resultobj = PyInt_FromLong((long)result);
14427 return resultobj;
14428 fail:
14429 return NULL;
14430 }
14431
14432
14433 static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14434 PyObject *resultobj;
14435 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14436 wxString *arg2 = 0 ;
14437 wxString result;
14438 bool temp2 = False ;
14439 PyObject * obj0 = 0 ;
14440 PyObject * obj1 = 0 ;
14441 char *kwnames[] = {
14442 (char *) "self",(char *) "str", NULL
14443 };
14444
14445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14447 {
14448 arg2 = wxString_in_helper(obj1);
14449 if (arg2 == NULL) SWIG_fail;
14450 temp2 = True;
14451 }
14452 {
14453 PyThreadState* __tstate = wxPyBeginAllowThreads();
14454 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
14455
14456 wxPyEndAllowThreads(__tstate);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 }
14459 {
14460 #if wxUSE_UNICODE
14461 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14462 #else
14463 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14464 #endif
14465 }
14466 {
14467 if (temp2)
14468 delete arg2;
14469 }
14470 return resultobj;
14471 fail:
14472 {
14473 if (temp2)
14474 delete arg2;
14475 }
14476 return NULL;
14477 }
14478
14479
14480 static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14481 PyObject *resultobj;
14482 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14483 wxString result;
14484 PyObject * obj0 = 0 ;
14485 char *kwnames[] = {
14486 (char *) "self", NULL
14487 };
14488
14489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
14490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14491 {
14492 PyThreadState* __tstate = wxPyBeginAllowThreads();
14493 result = ((wxConfigBase const *)arg1)->GetAppName();
14494
14495 wxPyEndAllowThreads(__tstate);
14496 if (PyErr_Occurred()) SWIG_fail;
14497 }
14498 {
14499 #if wxUSE_UNICODE
14500 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14501 #else
14502 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14503 #endif
14504 }
14505 return resultobj;
14506 fail:
14507 return NULL;
14508 }
14509
14510
14511 static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14512 PyObject *resultobj;
14513 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14514 wxString result;
14515 PyObject * obj0 = 0 ;
14516 char *kwnames[] = {
14517 (char *) "self", NULL
14518 };
14519
14520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
14521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14522 {
14523 PyThreadState* __tstate = wxPyBeginAllowThreads();
14524 result = ((wxConfigBase const *)arg1)->GetVendorName();
14525
14526 wxPyEndAllowThreads(__tstate);
14527 if (PyErr_Occurred()) SWIG_fail;
14528 }
14529 {
14530 #if wxUSE_UNICODE
14531 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14532 #else
14533 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14534 #endif
14535 }
14536 return resultobj;
14537 fail:
14538 return NULL;
14539 }
14540
14541
14542 static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14543 PyObject *resultobj;
14544 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14545 wxString *arg2 = 0 ;
14546 bool temp2 = False ;
14547 PyObject * obj0 = 0 ;
14548 PyObject * obj1 = 0 ;
14549 char *kwnames[] = {
14550 (char *) "self",(char *) "appName", NULL
14551 };
14552
14553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
14554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14555 {
14556 arg2 = wxString_in_helper(obj1);
14557 if (arg2 == NULL) SWIG_fail;
14558 temp2 = True;
14559 }
14560 {
14561 PyThreadState* __tstate = wxPyBeginAllowThreads();
14562 (arg1)->SetAppName((wxString const &)*arg2);
14563
14564 wxPyEndAllowThreads(__tstate);
14565 if (PyErr_Occurred()) SWIG_fail;
14566 }
14567 Py_INCREF(Py_None); resultobj = Py_None;
14568 {
14569 if (temp2)
14570 delete arg2;
14571 }
14572 return resultobj;
14573 fail:
14574 {
14575 if (temp2)
14576 delete arg2;
14577 }
14578 return NULL;
14579 }
14580
14581
14582 static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14583 PyObject *resultobj;
14584 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14585 wxString *arg2 = 0 ;
14586 bool temp2 = False ;
14587 PyObject * obj0 = 0 ;
14588 PyObject * obj1 = 0 ;
14589 char *kwnames[] = {
14590 (char *) "self",(char *) "vendorName", NULL
14591 };
14592
14593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
14594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14595 {
14596 arg2 = wxString_in_helper(obj1);
14597 if (arg2 == NULL) SWIG_fail;
14598 temp2 = True;
14599 }
14600 {
14601 PyThreadState* __tstate = wxPyBeginAllowThreads();
14602 (arg1)->SetVendorName((wxString const &)*arg2);
14603
14604 wxPyEndAllowThreads(__tstate);
14605 if (PyErr_Occurred()) SWIG_fail;
14606 }
14607 Py_INCREF(Py_None); resultobj = Py_None;
14608 {
14609 if (temp2)
14610 delete arg2;
14611 }
14612 return resultobj;
14613 fail:
14614 {
14615 if (temp2)
14616 delete arg2;
14617 }
14618 return NULL;
14619 }
14620
14621
14622 static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14623 PyObject *resultobj;
14624 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14625 long arg2 ;
14626 PyObject * obj0 = 0 ;
14627 char *kwnames[] = {
14628 (char *) "self",(char *) "style", NULL
14629 };
14630
14631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_SetStyle",kwnames,&obj0,&arg2)) goto fail;
14632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14633 {
14634 PyThreadState* __tstate = wxPyBeginAllowThreads();
14635 (arg1)->SetStyle(arg2);
14636
14637 wxPyEndAllowThreads(__tstate);
14638 if (PyErr_Occurred()) SWIG_fail;
14639 }
14640 Py_INCREF(Py_None); resultobj = Py_None;
14641 return resultobj;
14642 fail:
14643 return NULL;
14644 }
14645
14646
14647 static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14648 PyObject *resultobj;
14649 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14650 long result;
14651 PyObject * obj0 = 0 ;
14652 char *kwnames[] = {
14653 (char *) "self", NULL
14654 };
14655
14656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
14657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14658 {
14659 PyThreadState* __tstate = wxPyBeginAllowThreads();
14660 result = (long)((wxConfigBase const *)arg1)->GetStyle();
14661
14662 wxPyEndAllowThreads(__tstate);
14663 if (PyErr_Occurred()) SWIG_fail;
14664 }
14665 resultobj = PyInt_FromLong((long)result);
14666 return resultobj;
14667 fail:
14668 return NULL;
14669 }
14670
14671
14672 static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
14673 PyObject *obj;
14674 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14675 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
14676 Py_INCREF(obj);
14677 return Py_BuildValue((char *)"");
14678 }
14679 static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14680 PyObject *resultobj;
14681 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14682 wxString *arg2 = 0 ;
14683 wxConfigPathChanger *result;
14684 bool temp2 = False ;
14685 PyObject * obj0 = 0 ;
14686 PyObject * obj1 = 0 ;
14687 char *kwnames[] = {
14688 (char *) "pContainer",(char *) "strEntry", NULL
14689 };
14690
14691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
14692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14693 {
14694 arg2 = wxString_in_helper(obj1);
14695 if (arg2 == NULL) SWIG_fail;
14696 temp2 = True;
14697 }
14698 {
14699 PyThreadState* __tstate = wxPyBeginAllowThreads();
14700 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
14701
14702 wxPyEndAllowThreads(__tstate);
14703 if (PyErr_Occurred()) SWIG_fail;
14704 }
14705 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigPathChanger, 1);
14706 {
14707 if (temp2)
14708 delete arg2;
14709 }
14710 return resultobj;
14711 fail:
14712 {
14713 if (temp2)
14714 delete arg2;
14715 }
14716 return NULL;
14717 }
14718
14719
14720 static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14721 PyObject *resultobj;
14722 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14723 PyObject * obj0 = 0 ;
14724 char *kwnames[] = {
14725 (char *) "self", NULL
14726 };
14727
14728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
14729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14730 {
14731 PyThreadState* __tstate = wxPyBeginAllowThreads();
14732 delete arg1;
14733
14734 wxPyEndAllowThreads(__tstate);
14735 if (PyErr_Occurred()) SWIG_fail;
14736 }
14737 Py_INCREF(Py_None); resultobj = Py_None;
14738 return resultobj;
14739 fail:
14740 return NULL;
14741 }
14742
14743
14744 static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
14745 PyObject *resultobj;
14746 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14747 wxString *result;
14748 PyObject * obj0 = 0 ;
14749 char *kwnames[] = {
14750 (char *) "self", NULL
14751 };
14752
14753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
14754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14755 {
14756 PyThreadState* __tstate = wxPyBeginAllowThreads();
14757 {
14758 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
14759 result = (wxString *) &_result_ref;
14760 }
14761
14762 wxPyEndAllowThreads(__tstate);
14763 if (PyErr_Occurred()) SWIG_fail;
14764 }
14765 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
14766 return resultobj;
14767 fail:
14768 return NULL;
14769 }
14770
14771
14772 static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
14773 PyObject *obj;
14774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14775 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
14776 Py_INCREF(obj);
14777 return Py_BuildValue((char *)"");
14778 }
14779 static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
14780 PyObject *resultobj;
14781 wxString const &arg1_defvalue = wxPyEmptyString ;
14782 wxString *arg1 = (wxString *) &arg1_defvalue ;
14783 wxString const &arg2_defvalue = wxPyEmptyString ;
14784 wxString *arg2 = (wxString *) &arg2_defvalue ;
14785 wxString const &arg3_defvalue = wxPyEmptyString ;
14786 wxString *arg3 = (wxString *) &arg3_defvalue ;
14787 wxString const &arg4_defvalue = wxPyEmptyString ;
14788 wxString *arg4 = (wxString *) &arg4_defvalue ;
14789 long arg5 = (long) 0 ;
14790 wxConfig *result;
14791 bool temp1 = False ;
14792 bool temp2 = False ;
14793 bool temp3 = False ;
14794 bool temp4 = False ;
14795 PyObject * obj0 = 0 ;
14796 PyObject * obj1 = 0 ;
14797 PyObject * obj2 = 0 ;
14798 PyObject * obj3 = 0 ;
14799 char *kwnames[] = {
14800 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14801 };
14802
14803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
14804 if (obj0) {
14805 {
14806 arg1 = wxString_in_helper(obj0);
14807 if (arg1 == NULL) SWIG_fail;
14808 temp1 = True;
14809 }
14810 }
14811 if (obj1) {
14812 {
14813 arg2 = wxString_in_helper(obj1);
14814 if (arg2 == NULL) SWIG_fail;
14815 temp2 = True;
14816 }
14817 }
14818 if (obj2) {
14819 {
14820 arg3 = wxString_in_helper(obj2);
14821 if (arg3 == NULL) SWIG_fail;
14822 temp3 = True;
14823 }
14824 }
14825 if (obj3) {
14826 {
14827 arg4 = wxString_in_helper(obj3);
14828 if (arg4 == NULL) SWIG_fail;
14829 temp4 = True;
14830 }
14831 }
14832 {
14833 PyThreadState* __tstate = wxPyBeginAllowThreads();
14834 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
14835
14836 wxPyEndAllowThreads(__tstate);
14837 if (PyErr_Occurred()) SWIG_fail;
14838 }
14839 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfig, 1);
14840 {
14841 if (temp1)
14842 delete arg1;
14843 }
14844 {
14845 if (temp2)
14846 delete arg2;
14847 }
14848 {
14849 if (temp3)
14850 delete arg3;
14851 }
14852 {
14853 if (temp4)
14854 delete arg4;
14855 }
14856 return resultobj;
14857 fail:
14858 {
14859 if (temp1)
14860 delete arg1;
14861 }
14862 {
14863 if (temp2)
14864 delete arg2;
14865 }
14866 {
14867 if (temp3)
14868 delete arg3;
14869 }
14870 {
14871 if (temp4)
14872 delete arg4;
14873 }
14874 return NULL;
14875 }
14876
14877
14878 static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
14879 PyObject *resultobj;
14880 wxConfig *arg1 = (wxConfig *) 0 ;
14881 PyObject * obj0 = 0 ;
14882 char *kwnames[] = {
14883 (char *) "self", NULL
14884 };
14885
14886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
14887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14888 {
14889 PyThreadState* __tstate = wxPyBeginAllowThreads();
14890 delete arg1;
14891
14892 wxPyEndAllowThreads(__tstate);
14893 if (PyErr_Occurred()) SWIG_fail;
14894 }
14895 Py_INCREF(Py_None); resultobj = Py_None;
14896 return resultobj;
14897 fail:
14898 return NULL;
14899 }
14900
14901
14902 static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
14903 PyObject *obj;
14904 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14905 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
14906 Py_INCREF(obj);
14907 return Py_BuildValue((char *)"");
14908 }
14909 static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
14910 PyObject *resultobj;
14911 wxString const &arg1_defvalue = wxPyEmptyString ;
14912 wxString *arg1 = (wxString *) &arg1_defvalue ;
14913 wxString const &arg2_defvalue = wxPyEmptyString ;
14914 wxString *arg2 = (wxString *) &arg2_defvalue ;
14915 wxString const &arg3_defvalue = wxPyEmptyString ;
14916 wxString *arg3 = (wxString *) &arg3_defvalue ;
14917 wxString const &arg4_defvalue = wxPyEmptyString ;
14918 wxString *arg4 = (wxString *) &arg4_defvalue ;
14919 long arg5 = (long) 0 ;
14920 wxFileConfig *result;
14921 bool temp1 = False ;
14922 bool temp2 = False ;
14923 bool temp3 = False ;
14924 bool temp4 = False ;
14925 PyObject * obj0 = 0 ;
14926 PyObject * obj1 = 0 ;
14927 PyObject * obj2 = 0 ;
14928 PyObject * obj3 = 0 ;
14929 char *kwnames[] = {
14930 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14931 };
14932
14933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
14934 if (obj0) {
14935 {
14936 arg1 = wxString_in_helper(obj0);
14937 if (arg1 == NULL) SWIG_fail;
14938 temp1 = True;
14939 }
14940 }
14941 if (obj1) {
14942 {
14943 arg2 = wxString_in_helper(obj1);
14944 if (arg2 == NULL) SWIG_fail;
14945 temp2 = True;
14946 }
14947 }
14948 if (obj2) {
14949 {
14950 arg3 = wxString_in_helper(obj2);
14951 if (arg3 == NULL) SWIG_fail;
14952 temp3 = True;
14953 }
14954 }
14955 if (obj3) {
14956 {
14957 arg4 = wxString_in_helper(obj3);
14958 if (arg4 == NULL) SWIG_fail;
14959 temp4 = True;
14960 }
14961 }
14962 {
14963 PyThreadState* __tstate = wxPyBeginAllowThreads();
14964 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
14965
14966 wxPyEndAllowThreads(__tstate);
14967 if (PyErr_Occurred()) SWIG_fail;
14968 }
14969 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileConfig, 1);
14970 {
14971 if (temp1)
14972 delete arg1;
14973 }
14974 {
14975 if (temp2)
14976 delete arg2;
14977 }
14978 {
14979 if (temp3)
14980 delete arg3;
14981 }
14982 {
14983 if (temp4)
14984 delete arg4;
14985 }
14986 return resultobj;
14987 fail:
14988 {
14989 if (temp1)
14990 delete arg1;
14991 }
14992 {
14993 if (temp2)
14994 delete arg2;
14995 }
14996 {
14997 if (temp3)
14998 delete arg3;
14999 }
15000 {
15001 if (temp4)
15002 delete arg4;
15003 }
15004 return NULL;
15005 }
15006
15007
15008 static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
15009 PyObject *resultobj;
15010 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
15011 PyObject * obj0 = 0 ;
15012 char *kwnames[] = {
15013 (char *) "self", NULL
15014 };
15015
15016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
15017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15018 {
15019 PyThreadState* __tstate = wxPyBeginAllowThreads();
15020 delete arg1;
15021
15022 wxPyEndAllowThreads(__tstate);
15023 if (PyErr_Occurred()) SWIG_fail;
15024 }
15025 Py_INCREF(Py_None); resultobj = Py_None;
15026 return resultobj;
15027 fail:
15028 return NULL;
15029 }
15030
15031
15032 static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
15033 PyObject *obj;
15034 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15035 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
15036 Py_INCREF(obj);
15037 return Py_BuildValue((char *)"");
15038 }
15039 static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15040 PyObject *resultobj;
15041 wxString *arg1 = 0 ;
15042 wxString result;
15043 bool temp1 = False ;
15044 PyObject * obj0 = 0 ;
15045 char *kwnames[] = {
15046 (char *) "sz", NULL
15047 };
15048
15049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
15050 {
15051 arg1 = wxString_in_helper(obj0);
15052 if (arg1 == NULL) SWIG_fail;
15053 temp1 = True;
15054 }
15055 {
15056 PyThreadState* __tstate = wxPyBeginAllowThreads();
15057 result = wxExpandEnvVars((wxString const &)*arg1);
15058
15059 wxPyEndAllowThreads(__tstate);
15060 if (PyErr_Occurred()) SWIG_fail;
15061 }
15062 {
15063 #if wxUSE_UNICODE
15064 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15065 #else
15066 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15067 #endif
15068 }
15069 {
15070 if (temp1)
15071 delete arg1;
15072 }
15073 return resultobj;
15074 fail:
15075 {
15076 if (temp1)
15077 delete arg1;
15078 }
15079 return NULL;
15080 }
15081
15082
15083 static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15084 PyObject *resultobj;
15085 int arg1 ;
15086 char *kwnames[] = {
15087 (char *) "country", NULL
15088 };
15089
15090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_SetCountry",kwnames,&arg1)) goto fail;
15091 {
15092 PyThreadState* __tstate = wxPyBeginAllowThreads();
15093 wxDateTime::SetCountry((wxDateTime::Country )arg1);
15094
15095 wxPyEndAllowThreads(__tstate);
15096 if (PyErr_Occurred()) SWIG_fail;
15097 }
15098 Py_INCREF(Py_None); resultobj = Py_None;
15099 return resultobj;
15100 fail:
15101 return NULL;
15102 }
15103
15104
15105 static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15106 PyObject *resultobj;
15107 int result;
15108 char *kwnames[] = {
15109 NULL
15110 };
15111
15112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
15113 {
15114 PyThreadState* __tstate = wxPyBeginAllowThreads();
15115 result = (int)wxDateTime::GetCountry();
15116
15117 wxPyEndAllowThreads(__tstate);
15118 if (PyErr_Occurred()) SWIG_fail;
15119 }
15120 resultobj = PyInt_FromLong((long)result);
15121 return resultobj;
15122 fail:
15123 return NULL;
15124 }
15125
15126
15127 static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15128 PyObject *resultobj;
15129 int arg1 = (int) wxDateTime::Country_Default ;
15130 bool result;
15131 char *kwnames[] = {
15132 (char *) "country", NULL
15133 };
15134
15135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames,&arg1)) goto fail;
15136 {
15137 PyThreadState* __tstate = wxPyBeginAllowThreads();
15138 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
15139
15140 wxPyEndAllowThreads(__tstate);
15141 if (PyErr_Occurred()) SWIG_fail;
15142 }
15143 resultobj = PyInt_FromLong((long)result);
15144 return resultobj;
15145 fail:
15146 return NULL;
15147 }
15148
15149
15150 static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15151 PyObject *resultobj;
15152 int arg1 = (int) wxDateTime::Gregorian ;
15153 int result;
15154 char *kwnames[] = {
15155 (char *) "cal", NULL
15156 };
15157
15158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentYear",kwnames,&arg1)) goto fail;
15159 {
15160 PyThreadState* __tstate = wxPyBeginAllowThreads();
15161 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
15162
15163 wxPyEndAllowThreads(__tstate);
15164 if (PyErr_Occurred()) SWIG_fail;
15165 }
15166 resultobj = PyInt_FromLong((long)result);
15167 return resultobj;
15168 fail:
15169 return NULL;
15170 }
15171
15172
15173 static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
15174 PyObject *resultobj;
15175 int arg1 ;
15176 int result;
15177 char *kwnames[] = {
15178 (char *) "year", NULL
15179 };
15180
15181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_ConvertYearToBC",kwnames,&arg1)) goto fail;
15182 {
15183 PyThreadState* __tstate = wxPyBeginAllowThreads();
15184 result = (int)wxDateTime::ConvertYearToBC(arg1);
15185
15186 wxPyEndAllowThreads(__tstate);
15187 if (PyErr_Occurred()) SWIG_fail;
15188 }
15189 resultobj = PyInt_FromLong((long)result);
15190 return resultobj;
15191 fail:
15192 return NULL;
15193 }
15194
15195
15196 static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15197 PyObject *resultobj;
15198 int arg1 = (int) wxDateTime::Gregorian ;
15199 int result;
15200 char *kwnames[] = {
15201 (char *) "cal", NULL
15202 };
15203
15204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentMonth",kwnames,&arg1)) goto fail;
15205 {
15206 PyThreadState* __tstate = wxPyBeginAllowThreads();
15207 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
15208
15209 wxPyEndAllowThreads(__tstate);
15210 if (PyErr_Occurred()) SWIG_fail;
15211 }
15212 resultobj = PyInt_FromLong((long)result);
15213 return resultobj;
15214 fail:
15215 return NULL;
15216 }
15217
15218
15219 static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15220 PyObject *resultobj;
15221 int arg1 = (int) wxDateTime::Inv_Year ;
15222 int arg2 = (int) wxDateTime::Gregorian ;
15223 bool result;
15224 char *kwnames[] = {
15225 (char *) "year",(char *) "cal", NULL
15226 };
15227
15228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsLeapYear",kwnames,&arg1,&arg2)) goto fail;
15229 {
15230 PyThreadState* __tstate = wxPyBeginAllowThreads();
15231 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
15232
15233 wxPyEndAllowThreads(__tstate);
15234 if (PyErr_Occurred()) SWIG_fail;
15235 }
15236 resultobj = PyInt_FromLong((long)result);
15237 return resultobj;
15238 fail:
15239 return NULL;
15240 }
15241
15242
15243 static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
15244 PyObject *resultobj;
15245 int arg1 = (int) wxDateTime::Inv_Year ;
15246 int result;
15247 char *kwnames[] = {
15248 (char *) "year", NULL
15249 };
15250
15251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCentury",kwnames,&arg1)) goto fail;
15252 {
15253 PyThreadState* __tstate = wxPyBeginAllowThreads();
15254 result = (int)wxDateTime::GetCentury(arg1);
15255
15256 wxPyEndAllowThreads(__tstate);
15257 if (PyErr_Occurred()) SWIG_fail;
15258 }
15259 resultobj = PyInt_FromLong((long)result);
15260 return resultobj;
15261 fail:
15262 return NULL;
15263 }
15264
15265
15266 static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15267 PyObject *resultobj;
15268 int arg1 ;
15269 int arg2 = (int) wxDateTime::Gregorian ;
15270 int result;
15271 char *kwnames[] = {
15272 (char *) "year",(char *) "cal", NULL
15273 };
15274
15275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames,&arg1,&arg2)) goto fail;
15276 {
15277 PyThreadState* __tstate = wxPyBeginAllowThreads();
15278 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
15279
15280 wxPyEndAllowThreads(__tstate);
15281 if (PyErr_Occurred()) SWIG_fail;
15282 }
15283 resultobj = PyInt_FromLong((long)result);
15284 return resultobj;
15285 fail:
15286 return NULL;
15287 }
15288
15289
15290 static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15291 PyObject *resultobj;
15292 int arg1 ;
15293 int arg2 = (int) wxDateTime::Inv_Year ;
15294 int arg3 = (int) wxDateTime::Gregorian ;
15295 int result;
15296 char *kwnames[] = {
15297 (char *) "month",(char *) "year",(char *) "cal", NULL
15298 };
15299
15300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames,&arg1,&arg2,&arg3)) goto fail;
15301 {
15302 PyThreadState* __tstate = wxPyBeginAllowThreads();
15303 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
15304
15305 wxPyEndAllowThreads(__tstate);
15306 if (PyErr_Occurred()) SWIG_fail;
15307 }
15308 resultobj = PyInt_FromLong((long)result);
15309 return resultobj;
15310 fail:
15311 return NULL;
15312 }
15313
15314
15315 static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
15316 PyObject *resultobj;
15317 int arg1 ;
15318 int arg2 = (int) wxDateTime::Name_Full ;
15319 wxString result;
15320 char *kwnames[] = {
15321 (char *) "month",(char *) "flags", NULL
15322 };
15323
15324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetMonthName",kwnames,&arg1,&arg2)) goto fail;
15325 {
15326 PyThreadState* __tstate = wxPyBeginAllowThreads();
15327 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
15328
15329 wxPyEndAllowThreads(__tstate);
15330 if (PyErr_Occurred()) SWIG_fail;
15331 }
15332 {
15333 #if wxUSE_UNICODE
15334 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15335 #else
15336 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15337 #endif
15338 }
15339 return resultobj;
15340 fail:
15341 return NULL;
15342 }
15343
15344
15345 static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
15346 PyObject *resultobj;
15347 int arg1 ;
15348 int arg2 = (int) wxDateTime::Name_Full ;
15349 wxString result;
15350 char *kwnames[] = {
15351 (char *) "weekday",(char *) "flags", NULL
15352 };
15353
15354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetWeekDayName",kwnames,&arg1,&arg2)) goto fail;
15355 {
15356 PyThreadState* __tstate = wxPyBeginAllowThreads();
15357 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
15358
15359 wxPyEndAllowThreads(__tstate);
15360 if (PyErr_Occurred()) SWIG_fail;
15361 }
15362 {
15363 #if wxUSE_UNICODE
15364 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15365 #else
15366 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15367 #endif
15368 }
15369 return resultobj;
15370 fail:
15371 return NULL;
15372 }
15373
15374
15375 static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
15376 PyObject *resultobj;
15377 wxString *arg1 = (wxString *) 0 ;
15378 wxString *arg2 = (wxString *) 0 ;
15379 PyObject * obj0 = 0 ;
15380 PyObject * obj1 = 0 ;
15381 char *kwnames[] = {
15382 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15383 };
15384
15385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
15386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15387 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15388 {
15389 PyThreadState* __tstate = wxPyBeginAllowThreads();
15390 wxDateTime::GetAmPmStrings(arg1,arg2);
15391
15392 wxPyEndAllowThreads(__tstate);
15393 if (PyErr_Occurred()) SWIG_fail;
15394 }
15395 Py_INCREF(Py_None); resultobj = Py_None;
15396 return resultobj;
15397 fail:
15398 return NULL;
15399 }
15400
15401
15402 static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
15403 PyObject *resultobj;
15404 int arg1 = (int) wxDateTime::Inv_Year ;
15405 int arg2 = (int) wxDateTime::Country_Default ;
15406 bool result;
15407 char *kwnames[] = {
15408 (char *) "year",(char *) "country", NULL
15409 };
15410
15411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsDSTApplicable",kwnames,&arg1,&arg2)) goto fail;
15412 {
15413 PyThreadState* __tstate = wxPyBeginAllowThreads();
15414 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
15415
15416 wxPyEndAllowThreads(__tstate);
15417 if (PyErr_Occurred()) SWIG_fail;
15418 }
15419 resultobj = PyInt_FromLong((long)result);
15420 return resultobj;
15421 fail:
15422 return NULL;
15423 }
15424
15425
15426 static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15427 PyObject *resultobj;
15428 int arg1 = (int) wxDateTime::Inv_Year ;
15429 int arg2 = (int) wxDateTime::Country_Default ;
15430 wxDateTime result;
15431 char *kwnames[] = {
15432 (char *) "year",(char *) "country", NULL
15433 };
15434
15435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetBeginDST",kwnames,&arg1,&arg2)) goto fail;
15436 {
15437 PyThreadState* __tstate = wxPyBeginAllowThreads();
15438 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
15439
15440 wxPyEndAllowThreads(__tstate);
15441 if (PyErr_Occurred()) SWIG_fail;
15442 }
15443 {
15444 wxDateTime * resultptr;
15445 resultptr = new wxDateTime((wxDateTime &) result);
15446 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15447 }
15448 return resultobj;
15449 fail:
15450 return NULL;
15451 }
15452
15453
15454 static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15455 PyObject *resultobj;
15456 int arg1 = (int) wxDateTime::Inv_Year ;
15457 int arg2 = (int) wxDateTime::Country_Default ;
15458 wxDateTime result;
15459 char *kwnames[] = {
15460 (char *) "year",(char *) "country", NULL
15461 };
15462
15463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetEndDST",kwnames,&arg1,&arg2)) goto fail;
15464 {
15465 PyThreadState* __tstate = wxPyBeginAllowThreads();
15466 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
15467
15468 wxPyEndAllowThreads(__tstate);
15469 if (PyErr_Occurred()) SWIG_fail;
15470 }
15471 {
15472 wxDateTime * resultptr;
15473 resultptr = new wxDateTime((wxDateTime &) result);
15474 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15475 }
15476 return resultobj;
15477 fail:
15478 return NULL;
15479 }
15480
15481
15482 static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
15483 PyObject *resultobj;
15484 wxDateTime result;
15485 char *kwnames[] = {
15486 NULL
15487 };
15488
15489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
15490 {
15491 PyThreadState* __tstate = wxPyBeginAllowThreads();
15492 result = wxDateTime::Now();
15493
15494 wxPyEndAllowThreads(__tstate);
15495 if (PyErr_Occurred()) SWIG_fail;
15496 }
15497 {
15498 wxDateTime * resultptr;
15499 resultptr = new wxDateTime((wxDateTime &) result);
15500 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15501 }
15502 return resultobj;
15503 fail:
15504 return NULL;
15505 }
15506
15507
15508 static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
15509 PyObject *resultobj;
15510 wxDateTime result;
15511 char *kwnames[] = {
15512 NULL
15513 };
15514
15515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
15516 {
15517 PyThreadState* __tstate = wxPyBeginAllowThreads();
15518 result = wxDateTime::UNow();
15519
15520 wxPyEndAllowThreads(__tstate);
15521 if (PyErr_Occurred()) SWIG_fail;
15522 }
15523 {
15524 wxDateTime * resultptr;
15525 resultptr = new wxDateTime((wxDateTime &) result);
15526 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15527 }
15528 return resultobj;
15529 fail:
15530 return NULL;
15531 }
15532
15533
15534 static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
15535 PyObject *resultobj;
15536 wxDateTime result;
15537 char *kwnames[] = {
15538 NULL
15539 };
15540
15541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
15542 {
15543 PyThreadState* __tstate = wxPyBeginAllowThreads();
15544 result = wxDateTime::Today();
15545
15546 wxPyEndAllowThreads(__tstate);
15547 if (PyErr_Occurred()) SWIG_fail;
15548 }
15549 {
15550 wxDateTime * resultptr;
15551 resultptr = new wxDateTime((wxDateTime &) result);
15552 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15553 }
15554 return resultobj;
15555 fail:
15556 return NULL;
15557 }
15558
15559
15560 static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15561 PyObject *resultobj;
15562 wxDateTime *result;
15563 char *kwnames[] = {
15564 NULL
15565 };
15566
15567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
15568 {
15569 PyThreadState* __tstate = wxPyBeginAllowThreads();
15570 result = (wxDateTime *)new wxDateTime();
15571
15572 wxPyEndAllowThreads(__tstate);
15573 if (PyErr_Occurred()) SWIG_fail;
15574 }
15575 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15576 return resultobj;
15577 fail:
15578 return NULL;
15579 }
15580
15581
15582 static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15583 PyObject *resultobj;
15584 time_t arg1 ;
15585 wxDateTime *result;
15586 PyObject * obj0 = 0 ;
15587 char *kwnames[] = {
15588 (char *) "timet", NULL
15589 };
15590
15591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
15592 arg1 = (time_t) PyInt_AsLong(obj0);
15593 if (PyErr_Occurred()) SWIG_fail;
15594 {
15595 PyThreadState* __tstate = wxPyBeginAllowThreads();
15596 result = (wxDateTime *)new wxDateTime(arg1);
15597
15598 wxPyEndAllowThreads(__tstate);
15599 if (PyErr_Occurred()) SWIG_fail;
15600 }
15601 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15602 return resultobj;
15603 fail:
15604 return NULL;
15605 }
15606
15607
15608 static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15609 PyObject *resultobj;
15610 double arg1 ;
15611 wxDateTime *result;
15612 char *kwnames[] = {
15613 (char *) "jdn", NULL
15614 };
15615
15616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"d:new_DateTimeFromJDN",kwnames,&arg1)) goto fail;
15617 {
15618 PyThreadState* __tstate = wxPyBeginAllowThreads();
15619 result = (wxDateTime *)new wxDateTime(arg1);
15620
15621 wxPyEndAllowThreads(__tstate);
15622 if (PyErr_Occurred()) SWIG_fail;
15623 }
15624 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15625 return resultobj;
15626 fail:
15627 return NULL;
15628 }
15629
15630
15631 static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15632 PyObject *resultobj;
15633 int arg1 ;
15634 int arg2 = (int) 0 ;
15635 int arg3 = (int) 0 ;
15636 int arg4 = (int) 0 ;
15637 wxDateTime *result;
15638 char *kwnames[] = {
15639 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15640 };
15641
15642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iii:new_DateTimeFromHMS",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
15643 {
15644 PyThreadState* __tstate = wxPyBeginAllowThreads();
15645 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
15646
15647 wxPyEndAllowThreads(__tstate);
15648 if (PyErr_Occurred()) SWIG_fail;
15649 }
15650 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15651 return resultobj;
15652 fail:
15653 return NULL;
15654 }
15655
15656
15657 static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
15658 PyObject *resultobj;
15659 int arg1 ;
15660 int arg2 = (int) wxDateTime::Inv_Month ;
15661 int arg3 = (int) wxDateTime::Inv_Year ;
15662 int arg4 = (int) 0 ;
15663 int arg5 = (int) 0 ;
15664 int arg6 = (int) 0 ;
15665 int arg7 = (int) 0 ;
15666 wxDateTime *result;
15667 char *kwnames[] = {
15668 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15669 };
15670
15671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iiiiii:new_DateTimeFromDMY",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
15672 {
15673 PyThreadState* __tstate = wxPyBeginAllowThreads();
15674 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
15675
15676 wxPyEndAllowThreads(__tstate);
15677 if (PyErr_Occurred()) SWIG_fail;
15678 }
15679 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15680 return resultobj;
15681 fail:
15682 return NULL;
15683 }
15684
15685
15686 static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15687 PyObject *resultobj;
15688 wxDateTime *arg1 = (wxDateTime *) 0 ;
15689 PyObject * obj0 = 0 ;
15690 char *kwnames[] = {
15691 (char *) "self", NULL
15692 };
15693
15694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
15695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15696 {
15697 PyThreadState* __tstate = wxPyBeginAllowThreads();
15698 delete arg1;
15699
15700 wxPyEndAllowThreads(__tstate);
15701 if (PyErr_Occurred()) SWIG_fail;
15702 }
15703 Py_INCREF(Py_None); resultobj = Py_None;
15704 return resultobj;
15705 fail:
15706 return NULL;
15707 }
15708
15709
15710 static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
15711 PyObject *resultobj;
15712 wxDateTime *arg1 = (wxDateTime *) 0 ;
15713 wxDateTime *result;
15714 PyObject * obj0 = 0 ;
15715 char *kwnames[] = {
15716 (char *) "self", NULL
15717 };
15718
15719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
15720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15721 {
15722 PyThreadState* __tstate = wxPyBeginAllowThreads();
15723 {
15724 wxDateTime &_result_ref = (arg1)->SetToCurrent();
15725 result = (wxDateTime *) &_result_ref;
15726 }
15727
15728 wxPyEndAllowThreads(__tstate);
15729 if (PyErr_Occurred()) SWIG_fail;
15730 }
15731 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15732 return resultobj;
15733 fail:
15734 return NULL;
15735 }
15736
15737
15738 static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15739 PyObject *resultobj;
15740 wxDateTime *arg1 = (wxDateTime *) 0 ;
15741 time_t arg2 ;
15742 wxDateTime *result;
15743 PyObject * obj0 = 0 ;
15744 PyObject * obj1 = 0 ;
15745 char *kwnames[] = {
15746 (char *) "self",(char *) "timet", NULL
15747 };
15748
15749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
15750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15751 arg2 = (time_t) PyInt_AsLong(obj1);
15752 if (PyErr_Occurred()) SWIG_fail;
15753 {
15754 PyThreadState* __tstate = wxPyBeginAllowThreads();
15755 {
15756 wxDateTime &_result_ref = (arg1)->Set(arg2);
15757 result = (wxDateTime *) &_result_ref;
15758 }
15759
15760 wxPyEndAllowThreads(__tstate);
15761 if (PyErr_Occurred()) SWIG_fail;
15762 }
15763 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15764 return resultobj;
15765 fail:
15766 return NULL;
15767 }
15768
15769
15770 static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15771 PyObject *resultobj;
15772 wxDateTime *arg1 = (wxDateTime *) 0 ;
15773 double arg2 ;
15774 wxDateTime *result;
15775 PyObject * obj0 = 0 ;
15776 char *kwnames[] = {
15777 (char *) "self",(char *) "jdn", NULL
15778 };
15779
15780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:DateTime_SetJDN",kwnames,&obj0,&arg2)) goto fail;
15781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15782 {
15783 PyThreadState* __tstate = wxPyBeginAllowThreads();
15784 {
15785 wxDateTime &_result_ref = (arg1)->Set(arg2);
15786 result = (wxDateTime *) &_result_ref;
15787 }
15788
15789 wxPyEndAllowThreads(__tstate);
15790 if (PyErr_Occurred()) SWIG_fail;
15791 }
15792 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15793 return resultobj;
15794 fail:
15795 return NULL;
15796 }
15797
15798
15799 static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15800 PyObject *resultobj;
15801 wxDateTime *arg1 = (wxDateTime *) 0 ;
15802 int arg2 ;
15803 int arg3 = (int) 0 ;
15804 int arg4 = (int) 0 ;
15805 int arg5 = (int) 0 ;
15806 wxDateTime *result;
15807 PyObject * obj0 = 0 ;
15808 char *kwnames[] = {
15809 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15810 };
15811
15812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetHMS",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15814 {
15815 PyThreadState* __tstate = wxPyBeginAllowThreads();
15816 {
15817 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
15818 result = (wxDateTime *) &_result_ref;
15819 }
15820
15821 wxPyEndAllowThreads(__tstate);
15822 if (PyErr_Occurred()) SWIG_fail;
15823 }
15824 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15825 return resultobj;
15826 fail:
15827 return NULL;
15828 }
15829
15830
15831 static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
15832 PyObject *resultobj;
15833 wxDateTime *arg1 = (wxDateTime *) 0 ;
15834 int arg2 ;
15835 int arg3 = (int) wxDateTime::Inv_Month ;
15836 int arg4 = (int) wxDateTime::Inv_Year ;
15837 int arg5 = (int) 0 ;
15838 int arg6 = (int) 0 ;
15839 int arg7 = (int) 0 ;
15840 int arg8 = (int) 0 ;
15841 wxDateTime *result;
15842 PyObject * obj0 = 0 ;
15843 char *kwnames[] = {
15844 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15845 };
15846
15847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiiiii:DateTime_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
15848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15849 {
15850 PyThreadState* __tstate = wxPyBeginAllowThreads();
15851 {
15852 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
15853 result = (wxDateTime *) &_result_ref;
15854 }
15855
15856 wxPyEndAllowThreads(__tstate);
15857 if (PyErr_Occurred()) SWIG_fail;
15858 }
15859 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15860 return resultobj;
15861 fail:
15862 return NULL;
15863 }
15864
15865
15866 static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15867 PyObject *resultobj;
15868 wxDateTime *arg1 = (wxDateTime *) 0 ;
15869 wxDateTime *result;
15870 PyObject * obj0 = 0 ;
15871 char *kwnames[] = {
15872 (char *) "self", NULL
15873 };
15874
15875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
15876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15877 {
15878 PyThreadState* __tstate = wxPyBeginAllowThreads();
15879 {
15880 wxDateTime &_result_ref = (arg1)->ResetTime();
15881 result = (wxDateTime *) &_result_ref;
15882 }
15883
15884 wxPyEndAllowThreads(__tstate);
15885 if (PyErr_Occurred()) SWIG_fail;
15886 }
15887 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15888 return resultobj;
15889 fail:
15890 return NULL;
15891 }
15892
15893
15894 static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15895 PyObject *resultobj;
15896 wxDateTime *arg1 = (wxDateTime *) 0 ;
15897 int arg2 ;
15898 wxDateTime *result;
15899 PyObject * obj0 = 0 ;
15900 char *kwnames[] = {
15901 (char *) "self",(char *) "year", NULL
15902 };
15903
15904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetYear",kwnames,&obj0,&arg2)) goto fail;
15905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15906 {
15907 PyThreadState* __tstate = wxPyBeginAllowThreads();
15908 {
15909 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
15910 result = (wxDateTime *) &_result_ref;
15911 }
15912
15913 wxPyEndAllowThreads(__tstate);
15914 if (PyErr_Occurred()) SWIG_fail;
15915 }
15916 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15917 return resultobj;
15918 fail:
15919 return NULL;
15920 }
15921
15922
15923 static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15924 PyObject *resultobj;
15925 wxDateTime *arg1 = (wxDateTime *) 0 ;
15926 int arg2 ;
15927 wxDateTime *result;
15928 PyObject * obj0 = 0 ;
15929 char *kwnames[] = {
15930 (char *) "self",(char *) "month", NULL
15931 };
15932
15933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMonth",kwnames,&obj0,&arg2)) goto fail;
15934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15935 {
15936 PyThreadState* __tstate = wxPyBeginAllowThreads();
15937 {
15938 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
15939 result = (wxDateTime *) &_result_ref;
15940 }
15941
15942 wxPyEndAllowThreads(__tstate);
15943 if (PyErr_Occurred()) SWIG_fail;
15944 }
15945 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15946 return resultobj;
15947 fail:
15948 return NULL;
15949 }
15950
15951
15952 static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
15953 PyObject *resultobj;
15954 wxDateTime *arg1 = (wxDateTime *) 0 ;
15955 int arg2 ;
15956 wxDateTime *result;
15957 PyObject * obj0 = 0 ;
15958 char *kwnames[] = {
15959 (char *) "self",(char *) "day", NULL
15960 };
15961
15962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetDay",kwnames,&obj0,&arg2)) goto fail;
15963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15964 {
15965 PyThreadState* __tstate = wxPyBeginAllowThreads();
15966 {
15967 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
15968 result = (wxDateTime *) &_result_ref;
15969 }
15970
15971 wxPyEndAllowThreads(__tstate);
15972 if (PyErr_Occurred()) SWIG_fail;
15973 }
15974 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15975 return resultobj;
15976 fail:
15977 return NULL;
15978 }
15979
15980
15981 static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
15982 PyObject *resultobj;
15983 wxDateTime *arg1 = (wxDateTime *) 0 ;
15984 int arg2 ;
15985 wxDateTime *result;
15986 PyObject * obj0 = 0 ;
15987 char *kwnames[] = {
15988 (char *) "self",(char *) "hour", NULL
15989 };
15990
15991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetHour",kwnames,&obj0,&arg2)) goto fail;
15992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15993 {
15994 PyThreadState* __tstate = wxPyBeginAllowThreads();
15995 {
15996 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
15997 result = (wxDateTime *) &_result_ref;
15998 }
15999
16000 wxPyEndAllowThreads(__tstate);
16001 if (PyErr_Occurred()) SWIG_fail;
16002 }
16003 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16004 return resultobj;
16005 fail:
16006 return NULL;
16007 }
16008
16009
16010 static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
16011 PyObject *resultobj;
16012 wxDateTime *arg1 = (wxDateTime *) 0 ;
16013 int arg2 ;
16014 wxDateTime *result;
16015 PyObject * obj0 = 0 ;
16016 char *kwnames[] = {
16017 (char *) "self",(char *) "minute", NULL
16018 };
16019
16020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMinute",kwnames,&obj0,&arg2)) goto fail;
16021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16022 {
16023 PyThreadState* __tstate = wxPyBeginAllowThreads();
16024 {
16025 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
16026 result = (wxDateTime *) &_result_ref;
16027 }
16028
16029 wxPyEndAllowThreads(__tstate);
16030 if (PyErr_Occurred()) SWIG_fail;
16031 }
16032 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16033 return resultobj;
16034 fail:
16035 return NULL;
16036 }
16037
16038
16039 static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16040 PyObject *resultobj;
16041 wxDateTime *arg1 = (wxDateTime *) 0 ;
16042 int arg2 ;
16043 wxDateTime *result;
16044 PyObject * obj0 = 0 ;
16045 char *kwnames[] = {
16046 (char *) "self",(char *) "second", NULL
16047 };
16048
16049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetSecond",kwnames,&obj0,&arg2)) goto fail;
16050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16051 {
16052 PyThreadState* __tstate = wxPyBeginAllowThreads();
16053 {
16054 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
16055 result = (wxDateTime *) &_result_ref;
16056 }
16057
16058 wxPyEndAllowThreads(__tstate);
16059 if (PyErr_Occurred()) SWIG_fail;
16060 }
16061 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16062 return resultobj;
16063 fail:
16064 return NULL;
16065 }
16066
16067
16068 static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16069 PyObject *resultobj;
16070 wxDateTime *arg1 = (wxDateTime *) 0 ;
16071 int arg2 ;
16072 wxDateTime *result;
16073 PyObject * obj0 = 0 ;
16074 char *kwnames[] = {
16075 (char *) "self",(char *) "millisecond", NULL
16076 };
16077
16078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMillisecond",kwnames,&obj0,&arg2)) goto fail;
16079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16080 {
16081 PyThreadState* __tstate = wxPyBeginAllowThreads();
16082 {
16083 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
16084 result = (wxDateTime *) &_result_ref;
16085 }
16086
16087 wxPyEndAllowThreads(__tstate);
16088 if (PyErr_Occurred()) SWIG_fail;
16089 }
16090 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16091 return resultobj;
16092 fail:
16093 return NULL;
16094 }
16095
16096
16097 static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16098 PyObject *resultobj;
16099 wxDateTime *arg1 = (wxDateTime *) 0 ;
16100 int arg2 ;
16101 int arg3 = (int) wxDateTime::Monday_First ;
16102 wxDateTime *result;
16103 PyObject * obj0 = 0 ;
16104 char *kwnames[] = {
16105 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16106 };
16107
16108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16110 {
16111 PyThreadState* __tstate = wxPyBeginAllowThreads();
16112 {
16113 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16114 result = (wxDateTime *) &_result_ref;
16115 }
16116
16117 wxPyEndAllowThreads(__tstate);
16118 if (PyErr_Occurred()) SWIG_fail;
16119 }
16120 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16121 return resultobj;
16122 fail:
16123 return NULL;
16124 }
16125
16126
16127 static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16128 PyObject *resultobj;
16129 wxDateTime *arg1 = (wxDateTime *) 0 ;
16130 int arg2 ;
16131 int arg3 = (int) wxDateTime::Monday_First ;
16132 wxDateTime result;
16133 PyObject * obj0 = 0 ;
16134 char *kwnames[] = {
16135 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16136 };
16137
16138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16140 {
16141 PyThreadState* __tstate = wxPyBeginAllowThreads();
16142 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16143
16144 wxPyEndAllowThreads(__tstate);
16145 if (PyErr_Occurred()) SWIG_fail;
16146 }
16147 {
16148 wxDateTime * resultptr;
16149 resultptr = new wxDateTime((wxDateTime &) result);
16150 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16151 }
16152 return resultobj;
16153 fail:
16154 return NULL;
16155 }
16156
16157
16158 static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16159 PyObject *resultobj;
16160 wxDateTime *arg1 = (wxDateTime *) 0 ;
16161 int arg2 ;
16162 wxDateTime *result;
16163 PyObject * obj0 = 0 ;
16164 char *kwnames[] = {
16165 (char *) "self",(char *) "weekday", NULL
16166 };
16167
16168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16170 {
16171 PyThreadState* __tstate = wxPyBeginAllowThreads();
16172 {
16173 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
16174 result = (wxDateTime *) &_result_ref;
16175 }
16176
16177 wxPyEndAllowThreads(__tstate);
16178 if (PyErr_Occurred()) SWIG_fail;
16179 }
16180 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16181 return resultobj;
16182 fail:
16183 return NULL;
16184 }
16185
16186
16187 static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16188 PyObject *resultobj;
16189 wxDateTime *arg1 = (wxDateTime *) 0 ;
16190 int arg2 ;
16191 wxDateTime result;
16192 PyObject * obj0 = 0 ;
16193 char *kwnames[] = {
16194 (char *) "self",(char *) "weekday", NULL
16195 };
16196
16197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16199 {
16200 PyThreadState* __tstate = wxPyBeginAllowThreads();
16201 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
16202
16203 wxPyEndAllowThreads(__tstate);
16204 if (PyErr_Occurred()) SWIG_fail;
16205 }
16206 {
16207 wxDateTime * resultptr;
16208 resultptr = new wxDateTime((wxDateTime &) result);
16209 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16210 }
16211 return resultobj;
16212 fail:
16213 return NULL;
16214 }
16215
16216
16217 static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16218 PyObject *resultobj;
16219 wxDateTime *arg1 = (wxDateTime *) 0 ;
16220 int arg2 ;
16221 wxDateTime *result;
16222 PyObject * obj0 = 0 ;
16223 char *kwnames[] = {
16224 (char *) "self",(char *) "weekday", NULL
16225 };
16226
16227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16229 {
16230 PyThreadState* __tstate = wxPyBeginAllowThreads();
16231 {
16232 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
16233 result = (wxDateTime *) &_result_ref;
16234 }
16235
16236 wxPyEndAllowThreads(__tstate);
16237 if (PyErr_Occurred()) SWIG_fail;
16238 }
16239 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16240 return resultobj;
16241 fail:
16242 return NULL;
16243 }
16244
16245
16246 static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16247 PyObject *resultobj;
16248 wxDateTime *arg1 = (wxDateTime *) 0 ;
16249 int arg2 ;
16250 wxDateTime result;
16251 PyObject * obj0 = 0 ;
16252 char *kwnames[] = {
16253 (char *) "self",(char *) "weekday", NULL
16254 };
16255
16256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16258 {
16259 PyThreadState* __tstate = wxPyBeginAllowThreads();
16260 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
16261
16262 wxPyEndAllowThreads(__tstate);
16263 if (PyErr_Occurred()) SWIG_fail;
16264 }
16265 {
16266 wxDateTime * resultptr;
16267 resultptr = new wxDateTime((wxDateTime &) result);
16268 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16269 }
16270 return resultobj;
16271 fail:
16272 return NULL;
16273 }
16274
16275
16276 static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16277 PyObject *resultobj;
16278 wxDateTime *arg1 = (wxDateTime *) 0 ;
16279 int arg2 ;
16280 int arg3 = (int) 1 ;
16281 int arg4 = (int) wxDateTime::Inv_Month ;
16282 int arg5 = (int) wxDateTime::Inv_Year ;
16283 bool result;
16284 PyObject * obj0 = 0 ;
16285 char *kwnames[] = {
16286 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16287 };
16288
16289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16291 {
16292 PyThreadState* __tstate = wxPyBeginAllowThreads();
16293 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
16294
16295 wxPyEndAllowThreads(__tstate);
16296 if (PyErr_Occurred()) SWIG_fail;
16297 }
16298 resultobj = PyInt_FromLong((long)result);
16299 return resultobj;
16300 fail:
16301 return NULL;
16302 }
16303
16304
16305 static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16306 PyObject *resultobj;
16307 wxDateTime *arg1 = (wxDateTime *) 0 ;
16308 int arg2 ;
16309 int arg3 = (int) wxDateTime::Inv_Month ;
16310 int arg4 = (int) wxDateTime::Inv_Year ;
16311 bool result;
16312 PyObject * obj0 = 0 ;
16313 char *kwnames[] = {
16314 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16315 };
16316
16317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16319 {
16320 PyThreadState* __tstate = wxPyBeginAllowThreads();
16321 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16322
16323 wxPyEndAllowThreads(__tstate);
16324 if (PyErr_Occurred()) SWIG_fail;
16325 }
16326 resultobj = PyInt_FromLong((long)result);
16327 return resultobj;
16328 fail:
16329 return NULL;
16330 }
16331
16332
16333 static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16334 PyObject *resultobj;
16335 wxDateTime *arg1 = (wxDateTime *) 0 ;
16336 int arg2 ;
16337 int arg3 = (int) wxDateTime::Inv_Month ;
16338 int arg4 = (int) wxDateTime::Inv_Year ;
16339 wxDateTime result;
16340 PyObject * obj0 = 0 ;
16341 char *kwnames[] = {
16342 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16343 };
16344
16345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16347 {
16348 PyThreadState* __tstate = wxPyBeginAllowThreads();
16349 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16350
16351 wxPyEndAllowThreads(__tstate);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 }
16354 {
16355 wxDateTime * resultptr;
16356 resultptr = new wxDateTime((wxDateTime &) result);
16357 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16358 }
16359 return resultobj;
16360 fail:
16361 return NULL;
16362 }
16363
16364
16365 static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16366 PyObject *resultobj;
16367 wxDateTime *arg1 = (wxDateTime *) 0 ;
16368 int arg2 ;
16369 int arg3 = (int) wxDateTime::Mon ;
16370 int arg4 = (int) wxDateTime::Monday_First ;
16371 bool result;
16372 PyObject * obj0 = 0 ;
16373 char *kwnames[] = {
16374 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16375 };
16376
16377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToTheWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16379 {
16380 PyThreadState* __tstate = wxPyBeginAllowThreads();
16381 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16382
16383 wxPyEndAllowThreads(__tstate);
16384 if (PyErr_Occurred()) SWIG_fail;
16385 }
16386 resultobj = PyInt_FromLong((long)result);
16387 return resultobj;
16388 fail:
16389 return NULL;
16390 }
16391
16392
16393 static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16394 PyObject *resultobj;
16395 wxDateTime *arg1 = (wxDateTime *) 0 ;
16396 int arg2 ;
16397 int arg3 = (int) wxDateTime::Mon ;
16398 int arg4 = (int) wxDateTime::Monday_First ;
16399 wxDateTime result;
16400 PyObject * obj0 = 0 ;
16401 char *kwnames[] = {
16402 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16403 };
16404
16405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16407 {
16408 PyThreadState* __tstate = wxPyBeginAllowThreads();
16409 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16410
16411 wxPyEndAllowThreads(__tstate);
16412 if (PyErr_Occurred()) SWIG_fail;
16413 }
16414 {
16415 wxDateTime * resultptr;
16416 resultptr = new wxDateTime((wxDateTime &) result);
16417 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16418 }
16419 return resultobj;
16420 fail:
16421 return NULL;
16422 }
16423
16424
16425 static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16426 PyObject *resultobj;
16427 wxDateTime *arg1 = (wxDateTime *) 0 ;
16428 int arg2 = (int) wxDateTime::Inv_Month ;
16429 int arg3 = (int) wxDateTime::Inv_Year ;
16430 wxDateTime *result;
16431 PyObject * obj0 = 0 ;
16432 char *kwnames[] = {
16433 (char *) "self",(char *) "month",(char *) "year", NULL
16434 };
16435
16436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16438 {
16439 PyThreadState* __tstate = wxPyBeginAllowThreads();
16440 {
16441 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
16442 result = (wxDateTime *) &_result_ref;
16443 }
16444
16445 wxPyEndAllowThreads(__tstate);
16446 if (PyErr_Occurred()) SWIG_fail;
16447 }
16448 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16449 return resultobj;
16450 fail:
16451 return NULL;
16452 }
16453
16454
16455 static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16456 PyObject *resultobj;
16457 wxDateTime *arg1 = (wxDateTime *) 0 ;
16458 int arg2 = (int) wxDateTime::Inv_Month ;
16459 int arg3 = (int) wxDateTime::Inv_Year ;
16460 wxDateTime result;
16461 PyObject * obj0 = 0 ;
16462 char *kwnames[] = {
16463 (char *) "self",(char *) "month",(char *) "year", NULL
16464 };
16465
16466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16468 {
16469 PyThreadState* __tstate = wxPyBeginAllowThreads();
16470 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
16471
16472 wxPyEndAllowThreads(__tstate);
16473 if (PyErr_Occurred()) SWIG_fail;
16474 }
16475 {
16476 wxDateTime * resultptr;
16477 resultptr = new wxDateTime((wxDateTime &) result);
16478 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16479 }
16480 return resultobj;
16481 fail:
16482 return NULL;
16483 }
16484
16485
16486 static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16487 PyObject *resultobj;
16488 wxDateTime *arg1 = (wxDateTime *) 0 ;
16489 int arg2 ;
16490 wxDateTime *result;
16491 PyObject * obj0 = 0 ;
16492 char *kwnames[] = {
16493 (char *) "self",(char *) "yday", NULL
16494 };
16495
16496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToYearDay",kwnames,&obj0,&arg2)) goto fail;
16497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16498 {
16499 PyThreadState* __tstate = wxPyBeginAllowThreads();
16500 {
16501 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
16502 result = (wxDateTime *) &_result_ref;
16503 }
16504
16505 wxPyEndAllowThreads(__tstate);
16506 if (PyErr_Occurred()) SWIG_fail;
16507 }
16508 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16509 return resultobj;
16510 fail:
16511 return NULL;
16512 }
16513
16514
16515 static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16516 PyObject *resultobj;
16517 wxDateTime *arg1 = (wxDateTime *) 0 ;
16518 int arg2 ;
16519 wxDateTime result;
16520 PyObject * obj0 = 0 ;
16521 char *kwnames[] = {
16522 (char *) "self",(char *) "yday", NULL
16523 };
16524
16525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetYearDay",kwnames,&obj0,&arg2)) goto fail;
16526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16527 {
16528 PyThreadState* __tstate = wxPyBeginAllowThreads();
16529 result = (arg1)->GetYearDay(arg2);
16530
16531 wxPyEndAllowThreads(__tstate);
16532 if (PyErr_Occurred()) SWIG_fail;
16533 }
16534 {
16535 wxDateTime * resultptr;
16536 resultptr = new wxDateTime((wxDateTime &) result);
16537 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16538 }
16539 return resultobj;
16540 fail:
16541 return NULL;
16542 }
16543
16544
16545 static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16546 PyObject *resultobj;
16547 wxDateTime *arg1 = (wxDateTime *) 0 ;
16548 double result;
16549 PyObject * obj0 = 0 ;
16550 char *kwnames[] = {
16551 (char *) "self", NULL
16552 };
16553
16554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
16555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16556 {
16557 PyThreadState* __tstate = wxPyBeginAllowThreads();
16558 result = (double)(arg1)->GetJulianDayNumber();
16559
16560 wxPyEndAllowThreads(__tstate);
16561 if (PyErr_Occurred()) SWIG_fail;
16562 }
16563 resultobj = PyFloat_FromDouble(result);
16564 return resultobj;
16565 fail:
16566 return NULL;
16567 }
16568
16569
16570 static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
16571 PyObject *resultobj;
16572 wxDateTime *arg1 = (wxDateTime *) 0 ;
16573 double result;
16574 PyObject * obj0 = 0 ;
16575 char *kwnames[] = {
16576 (char *) "self", NULL
16577 };
16578
16579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
16580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16581 {
16582 PyThreadState* __tstate = wxPyBeginAllowThreads();
16583 result = (double)(arg1)->GetJDN();
16584
16585 wxPyEndAllowThreads(__tstate);
16586 if (PyErr_Occurred()) SWIG_fail;
16587 }
16588 resultobj = PyFloat_FromDouble(result);
16589 return resultobj;
16590 fail:
16591 return NULL;
16592 }
16593
16594
16595 static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16596 PyObject *resultobj;
16597 wxDateTime *arg1 = (wxDateTime *) 0 ;
16598 double result;
16599 PyObject * obj0 = 0 ;
16600 char *kwnames[] = {
16601 (char *) "self", NULL
16602 };
16603
16604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
16605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16606 {
16607 PyThreadState* __tstate = wxPyBeginAllowThreads();
16608 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
16609
16610 wxPyEndAllowThreads(__tstate);
16611 if (PyErr_Occurred()) SWIG_fail;
16612 }
16613 resultobj = PyFloat_FromDouble(result);
16614 return resultobj;
16615 fail:
16616 return NULL;
16617 }
16618
16619
16620 static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
16621 PyObject *resultobj;
16622 wxDateTime *arg1 = (wxDateTime *) 0 ;
16623 double result;
16624 PyObject * obj0 = 0 ;
16625 char *kwnames[] = {
16626 (char *) "self", NULL
16627 };
16628
16629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
16630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16631 {
16632 PyThreadState* __tstate = wxPyBeginAllowThreads();
16633 result = (double)(arg1)->GetMJD();
16634
16635 wxPyEndAllowThreads(__tstate);
16636 if (PyErr_Occurred()) SWIG_fail;
16637 }
16638 resultobj = PyFloat_FromDouble(result);
16639 return resultobj;
16640 fail:
16641 return NULL;
16642 }
16643
16644
16645 static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
16646 PyObject *resultobj;
16647 wxDateTime *arg1 = (wxDateTime *) 0 ;
16648 double result;
16649 PyObject * obj0 = 0 ;
16650 char *kwnames[] = {
16651 (char *) "self", NULL
16652 };
16653
16654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
16655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16656 {
16657 PyThreadState* __tstate = wxPyBeginAllowThreads();
16658 result = (double)(arg1)->GetRataDie();
16659
16660 wxPyEndAllowThreads(__tstate);
16661 if (PyErr_Occurred()) SWIG_fail;
16662 }
16663 resultobj = PyFloat_FromDouble(result);
16664 return resultobj;
16665 fail:
16666 return NULL;
16667 }
16668
16669
16670 static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16671 PyObject *resultobj;
16672 wxDateTime *arg1 = (wxDateTime *) 0 ;
16673 wxDateTime::TimeZone *arg2 = 0 ;
16674 bool arg3 = (bool) False ;
16675 wxDateTime result;
16676 PyObject * obj0 = 0 ;
16677 PyObject * obj1 = 0 ;
16678 PyObject * obj2 = 0 ;
16679 char *kwnames[] = {
16680 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16681 };
16682
16683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16685 {
16686 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16687 }
16688 if (obj2) {
16689 arg3 = PyInt_AsLong(obj2) ? true : false;
16690 if (PyErr_Occurred()) SWIG_fail;
16691 }
16692 {
16693 PyThreadState* __tstate = wxPyBeginAllowThreads();
16694 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16695
16696 wxPyEndAllowThreads(__tstate);
16697 if (PyErr_Occurred()) SWIG_fail;
16698 }
16699 {
16700 wxDateTime * resultptr;
16701 resultptr = new wxDateTime((wxDateTime &) result);
16702 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16703 }
16704 {
16705 if (arg2) delete arg2;
16706 }
16707 return resultobj;
16708 fail:
16709 {
16710 if (arg2) delete arg2;
16711 }
16712 return NULL;
16713 }
16714
16715
16716 static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16717 PyObject *resultobj;
16718 wxDateTime *arg1 = (wxDateTime *) 0 ;
16719 wxDateTime::TimeZone *arg2 = 0 ;
16720 bool arg3 = (bool) False ;
16721 wxDateTime *result;
16722 PyObject * obj0 = 0 ;
16723 PyObject * obj1 = 0 ;
16724 PyObject * obj2 = 0 ;
16725 char *kwnames[] = {
16726 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16727 };
16728
16729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16731 {
16732 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16733 }
16734 if (obj2) {
16735 arg3 = PyInt_AsLong(obj2) ? true : false;
16736 if (PyErr_Occurred()) SWIG_fail;
16737 }
16738 {
16739 PyThreadState* __tstate = wxPyBeginAllowThreads();
16740 {
16741 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16742 result = (wxDateTime *) &_result_ref;
16743 }
16744
16745 wxPyEndAllowThreads(__tstate);
16746 if (PyErr_Occurred()) SWIG_fail;
16747 }
16748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16749 {
16750 if (arg2) delete arg2;
16751 }
16752 return resultobj;
16753 fail:
16754 {
16755 if (arg2) delete arg2;
16756 }
16757 return NULL;
16758 }
16759
16760
16761 static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16762 PyObject *resultobj;
16763 wxDateTime *arg1 = (wxDateTime *) 0 ;
16764 bool arg2 = (bool) False ;
16765 wxDateTime result;
16766 PyObject * obj0 = 0 ;
16767 PyObject * obj1 = 0 ;
16768 char *kwnames[] = {
16769 (char *) "self",(char *) "noDST", NULL
16770 };
16771
16772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
16773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16774 if (obj1) {
16775 arg2 = PyInt_AsLong(obj1) ? true : false;
16776 if (PyErr_Occurred()) SWIG_fail;
16777 }
16778 {
16779 PyThreadState* __tstate = wxPyBeginAllowThreads();
16780 result = (arg1)->ToGMT(arg2);
16781
16782 wxPyEndAllowThreads(__tstate);
16783 if (PyErr_Occurred()) SWIG_fail;
16784 }
16785 {
16786 wxDateTime * resultptr;
16787 resultptr = new wxDateTime((wxDateTime &) result);
16788 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16789 }
16790 return resultobj;
16791 fail:
16792 return NULL;
16793 }
16794
16795
16796 static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16797 PyObject *resultobj;
16798 wxDateTime *arg1 = (wxDateTime *) 0 ;
16799 bool arg2 = (bool) False ;
16800 wxDateTime *result;
16801 PyObject * obj0 = 0 ;
16802 PyObject * obj1 = 0 ;
16803 char *kwnames[] = {
16804 (char *) "self",(char *) "noDST", NULL
16805 };
16806
16807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
16808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16809 if (obj1) {
16810 arg2 = PyInt_AsLong(obj1) ? true : false;
16811 if (PyErr_Occurred()) SWIG_fail;
16812 }
16813 {
16814 PyThreadState* __tstate = wxPyBeginAllowThreads();
16815 {
16816 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
16817 result = (wxDateTime *) &_result_ref;
16818 }
16819
16820 wxPyEndAllowThreads(__tstate);
16821 if (PyErr_Occurred()) SWIG_fail;
16822 }
16823 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16824 return resultobj;
16825 fail:
16826 return NULL;
16827 }
16828
16829
16830 static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
16831 PyObject *resultobj;
16832 wxDateTime *arg1 = (wxDateTime *) 0 ;
16833 int arg2 = (int) wxDateTime::Country_Default ;
16834 int result;
16835 PyObject * obj0 = 0 ;
16836 char *kwnames[] = {
16837 (char *) "self",(char *) "country", NULL
16838 };
16839
16840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsDST",kwnames,&obj0,&arg2)) goto fail;
16841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16842 {
16843 PyThreadState* __tstate = wxPyBeginAllowThreads();
16844 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
16845
16846 wxPyEndAllowThreads(__tstate);
16847 if (PyErr_Occurred()) SWIG_fail;
16848 }
16849 resultobj = PyInt_FromLong((long)result);
16850 return resultobj;
16851 fail:
16852 return NULL;
16853 }
16854
16855
16856 static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
16857 PyObject *resultobj;
16858 wxDateTime *arg1 = (wxDateTime *) 0 ;
16859 bool result;
16860 PyObject * obj0 = 0 ;
16861 char *kwnames[] = {
16862 (char *) "self", NULL
16863 };
16864
16865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
16866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16867 {
16868 PyThreadState* __tstate = wxPyBeginAllowThreads();
16869 result = (bool)((wxDateTime const *)arg1)->IsValid();
16870
16871 wxPyEndAllowThreads(__tstate);
16872 if (PyErr_Occurred()) SWIG_fail;
16873 }
16874 resultobj = PyInt_FromLong((long)result);
16875 return resultobj;
16876 fail:
16877 return NULL;
16878 }
16879
16880
16881 static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
16882 PyObject *resultobj;
16883 wxDateTime *arg1 = (wxDateTime *) 0 ;
16884 time_t result;
16885 PyObject * obj0 = 0 ;
16886 char *kwnames[] = {
16887 (char *) "self", NULL
16888 };
16889
16890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
16891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16892 {
16893 PyThreadState* __tstate = wxPyBeginAllowThreads();
16894 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
16895
16896 wxPyEndAllowThreads(__tstate);
16897 if (PyErr_Occurred()) SWIG_fail;
16898 }
16899 resultobj = PyInt_FromLong((long)result);
16900 return resultobj;
16901 fail:
16902 return NULL;
16903 }
16904
16905
16906 static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16907 PyObject *resultobj;
16908 wxDateTime *arg1 = (wxDateTime *) 0 ;
16909 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
16910 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
16911 int result;
16912 PyObject * obj0 = 0 ;
16913 PyObject * obj1 = 0 ;
16914 char *kwnames[] = {
16915 (char *) "self",(char *) "tz", NULL
16916 };
16917
16918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
16919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16920 if (obj1) {
16921 {
16922 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16923 }
16924 }
16925 {
16926 PyThreadState* __tstate = wxPyBeginAllowThreads();
16927 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
16928
16929 wxPyEndAllowThreads(__tstate);
16930 if (PyErr_Occurred()) SWIG_fail;
16931 }
16932 resultobj = PyInt_FromLong((long)result);
16933 {
16934 if (arg2) delete arg2;
16935 }
16936 return resultobj;
16937 fail:
16938 {
16939 if (arg2) delete arg2;
16940 }
16941 return NULL;
16942 }
16943
16944
16945 static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16946 PyObject *resultobj;
16947 wxDateTime *arg1 = (wxDateTime *) 0 ;
16948 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
16949 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
16950 int result;
16951 PyObject * obj0 = 0 ;
16952 PyObject * obj1 = 0 ;
16953 char *kwnames[] = {
16954 (char *) "self",(char *) "tz", NULL
16955 };
16956
16957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
16958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16959 if (obj1) {
16960 {
16961 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16962 }
16963 }
16964 {
16965 PyThreadState* __tstate = wxPyBeginAllowThreads();
16966 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
16967
16968 wxPyEndAllowThreads(__tstate);
16969 if (PyErr_Occurred()) SWIG_fail;
16970 }
16971 resultobj = PyInt_FromLong((long)result);
16972 {
16973 if (arg2) delete arg2;
16974 }
16975 return resultobj;
16976 fail:
16977 {
16978 if (arg2) delete arg2;
16979 }
16980 return NULL;
16981 }
16982
16983
16984 static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16985 PyObject *resultobj;
16986 wxDateTime *arg1 = (wxDateTime *) 0 ;
16987 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
16988 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
16989 int result;
16990 PyObject * obj0 = 0 ;
16991 PyObject * obj1 = 0 ;
16992 char *kwnames[] = {
16993 (char *) "self",(char *) "tz", NULL
16994 };
16995
16996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
16997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16998 if (obj1) {
16999 {
17000 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17001 }
17002 }
17003 {
17004 PyThreadState* __tstate = wxPyBeginAllowThreads();
17005 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
17006
17007 wxPyEndAllowThreads(__tstate);
17008 if (PyErr_Occurred()) SWIG_fail;
17009 }
17010 resultobj = PyInt_FromLong((long)result);
17011 {
17012 if (arg2) delete arg2;
17013 }
17014 return resultobj;
17015 fail:
17016 {
17017 if (arg2) delete arg2;
17018 }
17019 return NULL;
17020 }
17021
17022
17023 static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17024 PyObject *resultobj;
17025 wxDateTime *arg1 = (wxDateTime *) 0 ;
17026 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17027 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17028 int result;
17029 PyObject * obj0 = 0 ;
17030 PyObject * obj1 = 0 ;
17031 char *kwnames[] = {
17032 (char *) "self",(char *) "tz", NULL
17033 };
17034
17035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
17036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17037 if (obj1) {
17038 {
17039 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17040 }
17041 }
17042 {
17043 PyThreadState* __tstate = wxPyBeginAllowThreads();
17044 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
17045
17046 wxPyEndAllowThreads(__tstate);
17047 if (PyErr_Occurred()) SWIG_fail;
17048 }
17049 resultobj = PyInt_FromLong((long)result);
17050 {
17051 if (arg2) delete arg2;
17052 }
17053 return resultobj;
17054 fail:
17055 {
17056 if (arg2) delete arg2;
17057 }
17058 return NULL;
17059 }
17060
17061
17062 static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17063 PyObject *resultobj;
17064 wxDateTime *arg1 = (wxDateTime *) 0 ;
17065 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17066 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17067 int result;
17068 PyObject * obj0 = 0 ;
17069 PyObject * obj1 = 0 ;
17070 char *kwnames[] = {
17071 (char *) "self",(char *) "tz", NULL
17072 };
17073
17074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
17075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17076 if (obj1) {
17077 {
17078 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17079 }
17080 }
17081 {
17082 PyThreadState* __tstate = wxPyBeginAllowThreads();
17083 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
17084
17085 wxPyEndAllowThreads(__tstate);
17086 if (PyErr_Occurred()) SWIG_fail;
17087 }
17088 resultobj = PyInt_FromLong((long)result);
17089 {
17090 if (arg2) delete arg2;
17091 }
17092 return resultobj;
17093 fail:
17094 {
17095 if (arg2) delete arg2;
17096 }
17097 return NULL;
17098 }
17099
17100
17101 static PyObject *_wrap_DateTime_GetMinute(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 PyObject * obj0 = 0 ;
17108 PyObject * obj1 = 0 ;
17109 char *kwnames[] = {
17110 (char *) "self",(char *) "tz", NULL
17111 };
17112
17113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
17114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17115 if (obj1) {
17116 {
17117 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17118 }
17119 }
17120 {
17121 PyThreadState* __tstate = wxPyBeginAllowThreads();
17122 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
17123
17124 wxPyEndAllowThreads(__tstate);
17125 if (PyErr_Occurred()) SWIG_fail;
17126 }
17127 resultobj = PyInt_FromLong((long)result);
17128 {
17129 if (arg2) delete arg2;
17130 }
17131 return resultobj;
17132 fail:
17133 {
17134 if (arg2) delete arg2;
17135 }
17136 return NULL;
17137 }
17138
17139
17140 static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17141 PyObject *resultobj;
17142 wxDateTime *arg1 = (wxDateTime *) 0 ;
17143 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17144 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17145 int result;
17146 PyObject * obj0 = 0 ;
17147 PyObject * obj1 = 0 ;
17148 char *kwnames[] = {
17149 (char *) "self",(char *) "tz", NULL
17150 };
17151
17152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
17153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17154 if (obj1) {
17155 {
17156 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17157 }
17158 }
17159 {
17160 PyThreadState* __tstate = wxPyBeginAllowThreads();
17161 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
17162
17163 wxPyEndAllowThreads(__tstate);
17164 if (PyErr_Occurred()) SWIG_fail;
17165 }
17166 resultobj = PyInt_FromLong((long)result);
17167 {
17168 if (arg2) delete arg2;
17169 }
17170 return resultobj;
17171 fail:
17172 {
17173 if (arg2) delete arg2;
17174 }
17175 return NULL;
17176 }
17177
17178
17179 static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17180 PyObject *resultobj;
17181 wxDateTime *arg1 = (wxDateTime *) 0 ;
17182 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17183 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17184 int result;
17185 PyObject * obj0 = 0 ;
17186 PyObject * obj1 = 0 ;
17187 char *kwnames[] = {
17188 (char *) "self",(char *) "tz", NULL
17189 };
17190
17191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
17192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17193 if (obj1) {
17194 {
17195 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17196 }
17197 }
17198 {
17199 PyThreadState* __tstate = wxPyBeginAllowThreads();
17200 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
17201
17202 wxPyEndAllowThreads(__tstate);
17203 if (PyErr_Occurred()) SWIG_fail;
17204 }
17205 resultobj = PyInt_FromLong((long)result);
17206 {
17207 if (arg2) delete arg2;
17208 }
17209 return resultobj;
17210 fail:
17211 {
17212 if (arg2) delete arg2;
17213 }
17214 return NULL;
17215 }
17216
17217
17218 static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17219 PyObject *resultobj;
17220 wxDateTime *arg1 = (wxDateTime *) 0 ;
17221 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17222 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17223 int result;
17224 PyObject * obj0 = 0 ;
17225 PyObject * obj1 = 0 ;
17226 char *kwnames[] = {
17227 (char *) "self",(char *) "tz", NULL
17228 };
17229
17230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
17231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17232 if (obj1) {
17233 {
17234 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17235 }
17236 }
17237 {
17238 PyThreadState* __tstate = wxPyBeginAllowThreads();
17239 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
17240
17241 wxPyEndAllowThreads(__tstate);
17242 if (PyErr_Occurred()) SWIG_fail;
17243 }
17244 resultobj = PyInt_FromLong((long)result);
17245 {
17246 if (arg2) delete arg2;
17247 }
17248 return resultobj;
17249 fail:
17250 {
17251 if (arg2) delete arg2;
17252 }
17253 return NULL;
17254 }
17255
17256
17257 static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17258 PyObject *resultobj;
17259 wxDateTime *arg1 = (wxDateTime *) 0 ;
17260 int arg2 = (int) wxDateTime::Monday_First ;
17261 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17262 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
17263 int result;
17264 PyObject * obj0 = 0 ;
17265 PyObject * obj2 = 0 ;
17266 char *kwnames[] = {
17267 (char *) "self",(char *) "flags",(char *) "tz", NULL
17268 };
17269
17270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames,&obj0,&arg2,&obj2)) goto fail;
17271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17272 if (obj2) {
17273 {
17274 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
17275 }
17276 }
17277 {
17278 PyThreadState* __tstate = wxPyBeginAllowThreads();
17279 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
17280
17281 wxPyEndAllowThreads(__tstate);
17282 if (PyErr_Occurred()) SWIG_fail;
17283 }
17284 resultobj = PyInt_FromLong((long)result);
17285 {
17286 if (arg3) delete arg3;
17287 }
17288 return resultobj;
17289 fail:
17290 {
17291 if (arg3) delete arg3;
17292 }
17293 return NULL;
17294 }
17295
17296
17297 static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17298 PyObject *resultobj;
17299 wxDateTime *arg1 = (wxDateTime *) 0 ;
17300 int arg2 = (int) wxDateTime::Monday_First ;
17301 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17302 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
17303 int result;
17304 PyObject * obj0 = 0 ;
17305 PyObject * obj2 = 0 ;
17306 char *kwnames[] = {
17307 (char *) "self",(char *) "flags",(char *) "tz", NULL
17308 };
17309
17310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames,&obj0,&arg2,&obj2)) goto fail;
17311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17312 if (obj2) {
17313 {
17314 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
17315 }
17316 }
17317 {
17318 PyThreadState* __tstate = wxPyBeginAllowThreads();
17319 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
17320
17321 wxPyEndAllowThreads(__tstate);
17322 if (PyErr_Occurred()) SWIG_fail;
17323 }
17324 resultobj = PyInt_FromLong((long)result);
17325 {
17326 if (arg3) delete arg3;
17327 }
17328 return resultobj;
17329 fail:
17330 {
17331 if (arg3) delete arg3;
17332 }
17333 return NULL;
17334 }
17335
17336
17337 static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17338 PyObject *resultobj;
17339 wxDateTime *arg1 = (wxDateTime *) 0 ;
17340 int arg2 = (int) wxDateTime::Country_Default ;
17341 bool result;
17342 PyObject * obj0 = 0 ;
17343 char *kwnames[] = {
17344 (char *) "self",(char *) "country", NULL
17345 };
17346
17347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsWorkDay",kwnames,&obj0,&arg2)) goto fail;
17348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17349 {
17350 PyThreadState* __tstate = wxPyBeginAllowThreads();
17351 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
17352
17353 wxPyEndAllowThreads(__tstate);
17354 if (PyErr_Occurred()) SWIG_fail;
17355 }
17356 resultobj = PyInt_FromLong((long)result);
17357 return resultobj;
17358 fail:
17359 return NULL;
17360 }
17361
17362
17363 static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17364 PyObject *resultobj;
17365 wxDateTime *arg1 = (wxDateTime *) 0 ;
17366 wxDateTime *arg2 = 0 ;
17367 bool result;
17368 PyObject * obj0 = 0 ;
17369 PyObject * obj1 = 0 ;
17370 char *kwnames[] = {
17371 (char *) "self",(char *) "datetime", NULL
17372 };
17373
17374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
17375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17376 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17377 if (arg2 == NULL) {
17378 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17379 }
17380 {
17381 PyThreadState* __tstate = wxPyBeginAllowThreads();
17382 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
17383
17384 wxPyEndAllowThreads(__tstate);
17385 if (PyErr_Occurred()) SWIG_fail;
17386 }
17387 resultobj = PyInt_FromLong((long)result);
17388 return resultobj;
17389 fail:
17390 return NULL;
17391 }
17392
17393
17394 static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17395 PyObject *resultobj;
17396 wxDateTime *arg1 = (wxDateTime *) 0 ;
17397 wxDateTime *arg2 = 0 ;
17398 bool result;
17399 PyObject * obj0 = 0 ;
17400 PyObject * obj1 = 0 ;
17401 char *kwnames[] = {
17402 (char *) "self",(char *) "datetime", NULL
17403 };
17404
17405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
17406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17407 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17408 if (arg2 == NULL) {
17409 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17410 }
17411 {
17412 PyThreadState* __tstate = wxPyBeginAllowThreads();
17413 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
17414
17415 wxPyEndAllowThreads(__tstate);
17416 if (PyErr_Occurred()) SWIG_fail;
17417 }
17418 resultobj = PyInt_FromLong((long)result);
17419 return resultobj;
17420 fail:
17421 return NULL;
17422 }
17423
17424
17425 static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17426 PyObject *resultobj;
17427 wxDateTime *arg1 = (wxDateTime *) 0 ;
17428 wxDateTime *arg2 = 0 ;
17429 bool result;
17430 PyObject * obj0 = 0 ;
17431 PyObject * obj1 = 0 ;
17432 char *kwnames[] = {
17433 (char *) "self",(char *) "datetime", NULL
17434 };
17435
17436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
17437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17438 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17439 if (arg2 == NULL) {
17440 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17441 }
17442 {
17443 PyThreadState* __tstate = wxPyBeginAllowThreads();
17444 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
17445
17446 wxPyEndAllowThreads(__tstate);
17447 if (PyErr_Occurred()) SWIG_fail;
17448 }
17449 resultobj = PyInt_FromLong((long)result);
17450 return resultobj;
17451 fail:
17452 return NULL;
17453 }
17454
17455
17456 static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17457 PyObject *resultobj;
17458 wxDateTime *arg1 = (wxDateTime *) 0 ;
17459 wxDateTime *arg2 = 0 ;
17460 wxDateTime *arg3 = 0 ;
17461 bool result;
17462 PyObject * obj0 = 0 ;
17463 PyObject * obj1 = 0 ;
17464 PyObject * obj2 = 0 ;
17465 char *kwnames[] = {
17466 (char *) "self",(char *) "t1",(char *) "t2", NULL
17467 };
17468
17469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17471 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17472 if (arg2 == NULL) {
17473 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17474 }
17475 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17476 if (arg3 == NULL) {
17477 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17478 }
17479 {
17480 PyThreadState* __tstate = wxPyBeginAllowThreads();
17481 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17482
17483 wxPyEndAllowThreads(__tstate);
17484 if (PyErr_Occurred()) SWIG_fail;
17485 }
17486 resultobj = PyInt_FromLong((long)result);
17487 return resultobj;
17488 fail:
17489 return NULL;
17490 }
17491
17492
17493 static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17494 PyObject *resultobj;
17495 wxDateTime *arg1 = (wxDateTime *) 0 ;
17496 wxDateTime *arg2 = 0 ;
17497 wxDateTime *arg3 = 0 ;
17498 bool result;
17499 PyObject * obj0 = 0 ;
17500 PyObject * obj1 = 0 ;
17501 PyObject * obj2 = 0 ;
17502 char *kwnames[] = {
17503 (char *) "self",(char *) "t1",(char *) "t2", NULL
17504 };
17505
17506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17508 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17509 if (arg2 == NULL) {
17510 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17511 }
17512 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17513 if (arg3 == NULL) {
17514 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17515 }
17516 {
17517 PyThreadState* __tstate = wxPyBeginAllowThreads();
17518 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17519
17520 wxPyEndAllowThreads(__tstate);
17521 if (PyErr_Occurred()) SWIG_fail;
17522 }
17523 resultobj = PyInt_FromLong((long)result);
17524 return resultobj;
17525 fail:
17526 return NULL;
17527 }
17528
17529
17530 static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
17531 PyObject *resultobj;
17532 wxDateTime *arg1 = (wxDateTime *) 0 ;
17533 wxDateTime *arg2 = 0 ;
17534 bool result;
17535 PyObject * obj0 = 0 ;
17536 PyObject * obj1 = 0 ;
17537 char *kwnames[] = {
17538 (char *) "self",(char *) "dt", NULL
17539 };
17540
17541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
17542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17543 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17544 if (arg2 == NULL) {
17545 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17546 }
17547 {
17548 PyThreadState* __tstate = wxPyBeginAllowThreads();
17549 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
17550
17551 wxPyEndAllowThreads(__tstate);
17552 if (PyErr_Occurred()) SWIG_fail;
17553 }
17554 resultobj = PyInt_FromLong((long)result);
17555 return resultobj;
17556 fail:
17557 return NULL;
17558 }
17559
17560
17561 static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17562 PyObject *resultobj;
17563 wxDateTime *arg1 = (wxDateTime *) 0 ;
17564 wxDateTime *arg2 = 0 ;
17565 bool result;
17566 PyObject * obj0 = 0 ;
17567 PyObject * obj1 = 0 ;
17568 char *kwnames[] = {
17569 (char *) "self",(char *) "dt", NULL
17570 };
17571
17572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
17573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17574 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17575 if (arg2 == NULL) {
17576 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17577 }
17578 {
17579 PyThreadState* __tstate = wxPyBeginAllowThreads();
17580 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
17581
17582 wxPyEndAllowThreads(__tstate);
17583 if (PyErr_Occurred()) SWIG_fail;
17584 }
17585 resultobj = PyInt_FromLong((long)result);
17586 return resultobj;
17587 fail:
17588 return NULL;
17589 }
17590
17591
17592 static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17593 PyObject *resultobj;
17594 wxDateTime *arg1 = (wxDateTime *) 0 ;
17595 wxDateTime *arg2 = 0 ;
17596 wxTimeSpan *arg3 = 0 ;
17597 bool result;
17598 PyObject * obj0 = 0 ;
17599 PyObject * obj1 = 0 ;
17600 PyObject * obj2 = 0 ;
17601 char *kwnames[] = {
17602 (char *) "self",(char *) "dt",(char *) "ts", NULL
17603 };
17604
17605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17608 if (arg2 == NULL) {
17609 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17610 }
17611 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17612 if (arg3 == NULL) {
17613 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17614 }
17615 {
17616 PyThreadState* __tstate = wxPyBeginAllowThreads();
17617 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
17618
17619 wxPyEndAllowThreads(__tstate);
17620 if (PyErr_Occurred()) SWIG_fail;
17621 }
17622 resultobj = PyInt_FromLong((long)result);
17623 return resultobj;
17624 fail:
17625 return NULL;
17626 }
17627
17628
17629 static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17630 PyObject *resultobj;
17631 wxDateTime *arg1 = (wxDateTime *) 0 ;
17632 wxTimeSpan *arg2 = 0 ;
17633 wxDateTime *result;
17634 PyObject * obj0 = 0 ;
17635 PyObject * obj1 = 0 ;
17636 char *kwnames[] = {
17637 (char *) "self",(char *) "diff", NULL
17638 };
17639
17640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
17641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17642 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17643 if (arg2 == NULL) {
17644 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17645 }
17646 {
17647 PyThreadState* __tstate = wxPyBeginAllowThreads();
17648 {
17649 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
17650 result = (wxDateTime *) &_result_ref;
17651 }
17652
17653 wxPyEndAllowThreads(__tstate);
17654 if (PyErr_Occurred()) SWIG_fail;
17655 }
17656 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17657 return resultobj;
17658 fail:
17659 return NULL;
17660 }
17661
17662
17663 static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17664 PyObject *resultobj;
17665 wxDateTime *arg1 = (wxDateTime *) 0 ;
17666 wxDateSpan *arg2 = 0 ;
17667 wxDateTime *result;
17668 PyObject * obj0 = 0 ;
17669 PyObject * obj1 = 0 ;
17670 char *kwnames[] = {
17671 (char *) "self",(char *) "diff", NULL
17672 };
17673
17674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
17675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17676 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17677 if (arg2 == NULL) {
17678 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17679 }
17680 {
17681 PyThreadState* __tstate = wxPyBeginAllowThreads();
17682 {
17683 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
17684 result = (wxDateTime *) &_result_ref;
17685 }
17686
17687 wxPyEndAllowThreads(__tstate);
17688 if (PyErr_Occurred()) SWIG_fail;
17689 }
17690 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17691 return resultobj;
17692 fail:
17693 return NULL;
17694 }
17695
17696
17697 static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17698 PyObject *resultobj;
17699 wxDateTime *arg1 = (wxDateTime *) 0 ;
17700 wxTimeSpan *arg2 = 0 ;
17701 wxDateTime *result;
17702 PyObject * obj0 = 0 ;
17703 PyObject * obj1 = 0 ;
17704 char *kwnames[] = {
17705 (char *) "self",(char *) "diff", NULL
17706 };
17707
17708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
17709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17710 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17711 if (arg2 == NULL) {
17712 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17713 }
17714 {
17715 PyThreadState* __tstate = wxPyBeginAllowThreads();
17716 {
17717 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
17718 result = (wxDateTime *) &_result_ref;
17719 }
17720
17721 wxPyEndAllowThreads(__tstate);
17722 if (PyErr_Occurred()) SWIG_fail;
17723 }
17724 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17725 return resultobj;
17726 fail:
17727 return NULL;
17728 }
17729
17730
17731 static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17732 PyObject *resultobj;
17733 wxDateTime *arg1 = (wxDateTime *) 0 ;
17734 wxDateSpan *arg2 = 0 ;
17735 wxDateTime *result;
17736 PyObject * obj0 = 0 ;
17737 PyObject * obj1 = 0 ;
17738 char *kwnames[] = {
17739 (char *) "self",(char *) "diff", NULL
17740 };
17741
17742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
17743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17744 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17745 if (arg2 == NULL) {
17746 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17747 }
17748 {
17749 PyThreadState* __tstate = wxPyBeginAllowThreads();
17750 {
17751 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
17752 result = (wxDateTime *) &_result_ref;
17753 }
17754
17755 wxPyEndAllowThreads(__tstate);
17756 if (PyErr_Occurred()) SWIG_fail;
17757 }
17758 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17759 return resultobj;
17760 fail:
17761 return NULL;
17762 }
17763
17764
17765 static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
17766 PyObject *resultobj;
17767 wxDateTime *arg1 = (wxDateTime *) 0 ;
17768 wxDateTime *arg2 = 0 ;
17769 wxTimeSpan result;
17770 PyObject * obj0 = 0 ;
17771 PyObject * obj1 = 0 ;
17772 char *kwnames[] = {
17773 (char *) "self",(char *) "dt", NULL
17774 };
17775
17776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
17777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17778 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17779 if (arg2 == NULL) {
17780 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17781 }
17782 {
17783 PyThreadState* __tstate = wxPyBeginAllowThreads();
17784 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
17785
17786 wxPyEndAllowThreads(__tstate);
17787 if (PyErr_Occurred()) SWIG_fail;
17788 }
17789 {
17790 wxTimeSpan * resultptr;
17791 resultptr = new wxTimeSpan((wxTimeSpan &) result);
17792 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
17793 }
17794 return resultobj;
17795 fail:
17796 return NULL;
17797 }
17798
17799
17800 static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
17801 PyObject *resultobj;
17802 wxDateTime *arg1 = (wxDateTime *) 0 ;
17803 wxTimeSpan *arg2 = 0 ;
17804 wxDateTime *result;
17805 PyObject * obj0 = 0 ;
17806 PyObject * obj1 = 0 ;
17807
17808 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
17809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17810 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17811 if (arg2 == NULL) {
17812 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17813 }
17814 {
17815 PyThreadState* __tstate = wxPyBeginAllowThreads();
17816 {
17817 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
17818 result = (wxDateTime *) &_result_ref;
17819 }
17820
17821 wxPyEndAllowThreads(__tstate);
17822 if (PyErr_Occurred()) SWIG_fail;
17823 }
17824 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17825 return resultobj;
17826 fail:
17827 return NULL;
17828 }
17829
17830
17831 static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
17832 PyObject *resultobj;
17833 wxDateTime *arg1 = (wxDateTime *) 0 ;
17834 wxDateSpan *arg2 = 0 ;
17835 wxDateTime *result;
17836 PyObject * obj0 = 0 ;
17837 PyObject * obj1 = 0 ;
17838
17839 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
17840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17841 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17842 if (arg2 == NULL) {
17843 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17844 }
17845 {
17846 PyThreadState* __tstate = wxPyBeginAllowThreads();
17847 {
17848 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
17849 result = (wxDateTime *) &_result_ref;
17850 }
17851
17852 wxPyEndAllowThreads(__tstate);
17853 if (PyErr_Occurred()) SWIG_fail;
17854 }
17855 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17856 return resultobj;
17857 fail:
17858 return NULL;
17859 }
17860
17861
17862 static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
17863 int argc;
17864 PyObject *argv[3];
17865 int ii;
17866
17867 argc = PyObject_Length(args);
17868 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
17869 argv[ii] = PyTuple_GetItem(args,ii);
17870 }
17871 if (argc == 2) {
17872 int _v;
17873 {
17874 void *ptr;
17875 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
17876 _v = 0;
17877 PyErr_Clear();
17878 } else {
17879 _v = 1;
17880 }
17881 }
17882 if (_v) {
17883 {
17884 void *ptr;
17885 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
17886 _v = 0;
17887 PyErr_Clear();
17888 } else {
17889 _v = 1;
17890 }
17891 }
17892 if (_v) {
17893 return _wrap_DateTime___iadd____SWIG_0(self,args);
17894 }
17895 }
17896 }
17897 if (argc == 2) {
17898 int _v;
17899 {
17900 void *ptr;
17901 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
17902 _v = 0;
17903 PyErr_Clear();
17904 } else {
17905 _v = 1;
17906 }
17907 }
17908 if (_v) {
17909 {
17910 void *ptr;
17911 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
17912 _v = 0;
17913 PyErr_Clear();
17914 } else {
17915 _v = 1;
17916 }
17917 }
17918 if (_v) {
17919 return _wrap_DateTime___iadd____SWIG_1(self,args);
17920 }
17921 }
17922 }
17923
17924 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
17925 return NULL;
17926 }
17927
17928
17929 static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
17930 PyObject *resultobj;
17931 wxDateTime *arg1 = (wxDateTime *) 0 ;
17932 wxTimeSpan *arg2 = 0 ;
17933 wxDateTime *result;
17934 PyObject * obj0 = 0 ;
17935 PyObject * obj1 = 0 ;
17936
17937 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
17938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17939 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17940 if (arg2 == NULL) {
17941 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17942 }
17943 {
17944 PyThreadState* __tstate = wxPyBeginAllowThreads();
17945 {
17946 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
17947 result = (wxDateTime *) &_result_ref;
17948 }
17949
17950 wxPyEndAllowThreads(__tstate);
17951 if (PyErr_Occurred()) SWIG_fail;
17952 }
17953 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17954 return resultobj;
17955 fail:
17956 return NULL;
17957 }
17958
17959
17960 static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
17961 PyObject *resultobj;
17962 wxDateTime *arg1 = (wxDateTime *) 0 ;
17963 wxDateSpan *arg2 = 0 ;
17964 wxDateTime *result;
17965 PyObject * obj0 = 0 ;
17966 PyObject * obj1 = 0 ;
17967
17968 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
17969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17970 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17971 if (arg2 == NULL) {
17972 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17973 }
17974 {
17975 PyThreadState* __tstate = wxPyBeginAllowThreads();
17976 {
17977 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
17978 result = (wxDateTime *) &_result_ref;
17979 }
17980
17981 wxPyEndAllowThreads(__tstate);
17982 if (PyErr_Occurred()) SWIG_fail;
17983 }
17984 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17985 return resultobj;
17986 fail:
17987 return NULL;
17988 }
17989
17990
17991 static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
17992 int argc;
17993 PyObject *argv[3];
17994 int ii;
17995
17996 argc = PyObject_Length(args);
17997 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
17998 argv[ii] = PyTuple_GetItem(args,ii);
17999 }
18000 if (argc == 2) {
18001 int _v;
18002 {
18003 void *ptr;
18004 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18005 _v = 0;
18006 PyErr_Clear();
18007 } else {
18008 _v = 1;
18009 }
18010 }
18011 if (_v) {
18012 {
18013 void *ptr;
18014 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18015 _v = 0;
18016 PyErr_Clear();
18017 } else {
18018 _v = 1;
18019 }
18020 }
18021 if (_v) {
18022 return _wrap_DateTime___isub____SWIG_0(self,args);
18023 }
18024 }
18025 }
18026 if (argc == 2) {
18027 int _v;
18028 {
18029 void *ptr;
18030 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18031 _v = 0;
18032 PyErr_Clear();
18033 } else {
18034 _v = 1;
18035 }
18036 }
18037 if (_v) {
18038 {
18039 void *ptr;
18040 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18041 _v = 0;
18042 PyErr_Clear();
18043 } else {
18044 _v = 1;
18045 }
18046 }
18047 if (_v) {
18048 return _wrap_DateTime___isub____SWIG_1(self,args);
18049 }
18050 }
18051 }
18052
18053 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
18054 return NULL;
18055 }
18056
18057
18058 static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
18059 PyObject *resultobj;
18060 wxDateTime *arg1 = (wxDateTime *) 0 ;
18061 wxTimeSpan *arg2 = 0 ;
18062 wxDateTime result;
18063 PyObject * obj0 = 0 ;
18064 PyObject * obj1 = 0 ;
18065
18066 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18068 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18069 if (arg2 == NULL) {
18070 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18071 }
18072 {
18073 PyThreadState* __tstate = wxPyBeginAllowThreads();
18074 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
18075
18076 wxPyEndAllowThreads(__tstate);
18077 if (PyErr_Occurred()) SWIG_fail;
18078 }
18079 {
18080 wxDateTime * resultptr;
18081 resultptr = new wxDateTime((wxDateTime &) result);
18082 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18083 }
18084 return resultobj;
18085 fail:
18086 return NULL;
18087 }
18088
18089
18090 static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
18091 PyObject *resultobj;
18092 wxDateTime *arg1 = (wxDateTime *) 0 ;
18093 wxDateSpan *arg2 = 0 ;
18094 wxDateTime result;
18095 PyObject * obj0 = 0 ;
18096 PyObject * obj1 = 0 ;
18097
18098 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18100 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18101 if (arg2 == NULL) {
18102 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18103 }
18104 {
18105 PyThreadState* __tstate = wxPyBeginAllowThreads();
18106 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
18107
18108 wxPyEndAllowThreads(__tstate);
18109 if (PyErr_Occurred()) SWIG_fail;
18110 }
18111 {
18112 wxDateTime * resultptr;
18113 resultptr = new wxDateTime((wxDateTime &) result);
18114 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18115 }
18116 return resultobj;
18117 fail:
18118 return NULL;
18119 }
18120
18121
18122 static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
18123 int argc;
18124 PyObject *argv[3];
18125 int ii;
18126
18127 argc = PyObject_Length(args);
18128 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18129 argv[ii] = PyTuple_GetItem(args,ii);
18130 }
18131 if (argc == 2) {
18132 int _v;
18133 {
18134 void *ptr;
18135 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18136 _v = 0;
18137 PyErr_Clear();
18138 } else {
18139 _v = 1;
18140 }
18141 }
18142 if (_v) {
18143 {
18144 void *ptr;
18145 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18146 _v = 0;
18147 PyErr_Clear();
18148 } else {
18149 _v = 1;
18150 }
18151 }
18152 if (_v) {
18153 return _wrap_DateTime___add____SWIG_0(self,args);
18154 }
18155 }
18156 }
18157 if (argc == 2) {
18158 int _v;
18159 {
18160 void *ptr;
18161 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18162 _v = 0;
18163 PyErr_Clear();
18164 } else {
18165 _v = 1;
18166 }
18167 }
18168 if (_v) {
18169 {
18170 void *ptr;
18171 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18172 _v = 0;
18173 PyErr_Clear();
18174 } else {
18175 _v = 1;
18176 }
18177 }
18178 if (_v) {
18179 return _wrap_DateTime___add____SWIG_1(self,args);
18180 }
18181 }
18182 }
18183
18184 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
18185 return NULL;
18186 }
18187
18188
18189 static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
18190 PyObject *resultobj;
18191 wxDateTime *arg1 = (wxDateTime *) 0 ;
18192 wxDateTime *arg2 = 0 ;
18193 wxTimeSpan result;
18194 PyObject * obj0 = 0 ;
18195 PyObject * obj1 = 0 ;
18196
18197 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18199 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18200 if (arg2 == NULL) {
18201 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18202 }
18203 {
18204 PyThreadState* __tstate = wxPyBeginAllowThreads();
18205 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
18206
18207 wxPyEndAllowThreads(__tstate);
18208 if (PyErr_Occurred()) SWIG_fail;
18209 }
18210 {
18211 wxTimeSpan * resultptr;
18212 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18213 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18214 }
18215 return resultobj;
18216 fail:
18217 return NULL;
18218 }
18219
18220
18221 static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
18222 PyObject *resultobj;
18223 wxDateTime *arg1 = (wxDateTime *) 0 ;
18224 wxTimeSpan *arg2 = 0 ;
18225 wxDateTime result;
18226 PyObject * obj0 = 0 ;
18227 PyObject * obj1 = 0 ;
18228
18229 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18231 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18232 if (arg2 == NULL) {
18233 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18234 }
18235 {
18236 PyThreadState* __tstate = wxPyBeginAllowThreads();
18237 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
18238
18239 wxPyEndAllowThreads(__tstate);
18240 if (PyErr_Occurred()) SWIG_fail;
18241 }
18242 {
18243 wxDateTime * resultptr;
18244 resultptr = new wxDateTime((wxDateTime &) result);
18245 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18246 }
18247 return resultobj;
18248 fail:
18249 return NULL;
18250 }
18251
18252
18253 static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
18254 PyObject *resultobj;
18255 wxDateTime *arg1 = (wxDateTime *) 0 ;
18256 wxDateSpan *arg2 = 0 ;
18257 wxDateTime result;
18258 PyObject * obj0 = 0 ;
18259 PyObject * obj1 = 0 ;
18260
18261 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18263 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18264 if (arg2 == NULL) {
18265 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18266 }
18267 {
18268 PyThreadState* __tstate = wxPyBeginAllowThreads();
18269 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
18270
18271 wxPyEndAllowThreads(__tstate);
18272 if (PyErr_Occurred()) SWIG_fail;
18273 }
18274 {
18275 wxDateTime * resultptr;
18276 resultptr = new wxDateTime((wxDateTime &) result);
18277 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18278 }
18279 return resultobj;
18280 fail:
18281 return NULL;
18282 }
18283
18284
18285 static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
18286 int argc;
18287 PyObject *argv[3];
18288 int ii;
18289
18290 argc = PyObject_Length(args);
18291 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18292 argv[ii] = PyTuple_GetItem(args,ii);
18293 }
18294 if (argc == 2) {
18295 int _v;
18296 {
18297 void *ptr;
18298 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18299 _v = 0;
18300 PyErr_Clear();
18301 } else {
18302 _v = 1;
18303 }
18304 }
18305 if (_v) {
18306 {
18307 void *ptr;
18308 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18309 _v = 0;
18310 PyErr_Clear();
18311 } else {
18312 _v = 1;
18313 }
18314 }
18315 if (_v) {
18316 return _wrap_DateTime___sub____SWIG_0(self,args);
18317 }
18318 }
18319 }
18320 if (argc == 2) {
18321 int _v;
18322 {
18323 void *ptr;
18324 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18325 _v = 0;
18326 PyErr_Clear();
18327 } else {
18328 _v = 1;
18329 }
18330 }
18331 if (_v) {
18332 {
18333 void *ptr;
18334 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18335 _v = 0;
18336 PyErr_Clear();
18337 } else {
18338 _v = 1;
18339 }
18340 }
18341 if (_v) {
18342 return _wrap_DateTime___sub____SWIG_1(self,args);
18343 }
18344 }
18345 }
18346 if (argc == 2) {
18347 int _v;
18348 {
18349 void *ptr;
18350 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18351 _v = 0;
18352 PyErr_Clear();
18353 } else {
18354 _v = 1;
18355 }
18356 }
18357 if (_v) {
18358 {
18359 void *ptr;
18360 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18361 _v = 0;
18362 PyErr_Clear();
18363 } else {
18364 _v = 1;
18365 }
18366 }
18367 if (_v) {
18368 return _wrap_DateTime___sub____SWIG_2(self,args);
18369 }
18370 }
18371 }
18372
18373 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
18374 return NULL;
18375 }
18376
18377
18378 static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
18379 PyObject *resultobj;
18380 wxDateTime *arg1 = (wxDateTime *) 0 ;
18381 wxDateTime *arg2 = 0 ;
18382 bool result;
18383 PyObject * obj0 = 0 ;
18384 PyObject * obj1 = 0 ;
18385
18386 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
18387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18388 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18389 if (arg2 == NULL) {
18390 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18391 }
18392 {
18393 PyThreadState* __tstate = wxPyBeginAllowThreads();
18394 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const &)*arg2);
18395
18396 wxPyEndAllowThreads(__tstate);
18397 if (PyErr_Occurred()) SWIG_fail;
18398 }
18399 resultobj = PyInt_FromLong((long)result);
18400 return resultobj;
18401 fail:
18402 return NULL;
18403 }
18404
18405
18406 static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
18407 PyObject *resultobj;
18408 wxDateTime *arg1 = (wxDateTime *) 0 ;
18409 wxDateTime *arg2 = 0 ;
18410 bool result;
18411 PyObject * obj0 = 0 ;
18412 PyObject * obj1 = 0 ;
18413
18414 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
18415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18416 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18417 if (arg2 == NULL) {
18418 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18419 }
18420 {
18421 PyThreadState* __tstate = wxPyBeginAllowThreads();
18422 result = (bool)wxDateTime___le__(arg1,(wxDateTime const &)*arg2);
18423
18424 wxPyEndAllowThreads(__tstate);
18425 if (PyErr_Occurred()) SWIG_fail;
18426 }
18427 resultobj = PyInt_FromLong((long)result);
18428 return resultobj;
18429 fail:
18430 return NULL;
18431 }
18432
18433
18434 static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
18435 PyObject *resultobj;
18436 wxDateTime *arg1 = (wxDateTime *) 0 ;
18437 wxDateTime *arg2 = 0 ;
18438 bool result;
18439 PyObject * obj0 = 0 ;
18440 PyObject * obj1 = 0 ;
18441
18442 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
18443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18444 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18445 if (arg2 == NULL) {
18446 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18447 }
18448 {
18449 PyThreadState* __tstate = wxPyBeginAllowThreads();
18450 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const &)*arg2);
18451
18452 wxPyEndAllowThreads(__tstate);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 resultobj = PyInt_FromLong((long)result);
18456 return resultobj;
18457 fail:
18458 return NULL;
18459 }
18460
18461
18462 static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
18463 PyObject *resultobj;
18464 wxDateTime *arg1 = (wxDateTime *) 0 ;
18465 wxDateTime *arg2 = 0 ;
18466 bool result;
18467 PyObject * obj0 = 0 ;
18468 PyObject * obj1 = 0 ;
18469
18470 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
18471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18473 if (arg2 == NULL) {
18474 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18475 }
18476 {
18477 PyThreadState* __tstate = wxPyBeginAllowThreads();
18478 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const &)*arg2);
18479
18480 wxPyEndAllowThreads(__tstate);
18481 if (PyErr_Occurred()) SWIG_fail;
18482 }
18483 resultobj = PyInt_FromLong((long)result);
18484 return resultobj;
18485 fail:
18486 return NULL;
18487 }
18488
18489
18490 static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
18491 PyObject *resultobj;
18492 wxDateTime *arg1 = (wxDateTime *) 0 ;
18493 wxDateTime *arg2 = 0 ;
18494 bool result;
18495 PyObject * obj0 = 0 ;
18496 PyObject * obj1 = 0 ;
18497
18498 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
18499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18500 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18501 if (arg2 == NULL) {
18502 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18503 }
18504 {
18505 PyThreadState* __tstate = wxPyBeginAllowThreads();
18506 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const &)*arg2);
18507
18508 wxPyEndAllowThreads(__tstate);
18509 if (PyErr_Occurred()) SWIG_fail;
18510 }
18511 resultobj = PyInt_FromLong((long)result);
18512 return resultobj;
18513 fail:
18514 return NULL;
18515 }
18516
18517
18518 static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
18519 PyObject *resultobj;
18520 wxDateTime *arg1 = (wxDateTime *) 0 ;
18521 wxDateTime *arg2 = 0 ;
18522 bool result;
18523 PyObject * obj0 = 0 ;
18524 PyObject * obj1 = 0 ;
18525
18526 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
18527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18528 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18529 if (arg2 == NULL) {
18530 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18531 }
18532 {
18533 PyThreadState* __tstate = wxPyBeginAllowThreads();
18534 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const &)*arg2);
18535
18536 wxPyEndAllowThreads(__tstate);
18537 if (PyErr_Occurred()) SWIG_fail;
18538 }
18539 resultobj = PyInt_FromLong((long)result);
18540 return resultobj;
18541 fail:
18542 return NULL;
18543 }
18544
18545
18546 static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
18547 PyObject *resultobj;
18548 wxDateTime *arg1 = (wxDateTime *) 0 ;
18549 wxString *arg2 = 0 ;
18550 int result;
18551 bool temp2 = False ;
18552 PyObject * obj0 = 0 ;
18553 PyObject * obj1 = 0 ;
18554 char *kwnames[] = {
18555 (char *) "self",(char *) "date", NULL
18556 };
18557
18558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
18559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18560 {
18561 arg2 = wxString_in_helper(obj1);
18562 if (arg2 == NULL) SWIG_fail;
18563 temp2 = True;
18564 }
18565 {
18566 PyThreadState* __tstate = wxPyBeginAllowThreads();
18567 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
18568
18569 wxPyEndAllowThreads(__tstate);
18570 if (PyErr_Occurred()) SWIG_fail;
18571 }
18572 resultobj = PyInt_FromLong((long)result);
18573 {
18574 if (temp2)
18575 delete arg2;
18576 }
18577 return resultobj;
18578 fail:
18579 {
18580 if (temp2)
18581 delete arg2;
18582 }
18583 return NULL;
18584 }
18585
18586
18587 static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
18588 PyObject *resultobj;
18589 wxDateTime *arg1 = (wxDateTime *) 0 ;
18590 wxString *arg2 = 0 ;
18591 wxString const &arg3_defvalue = wxPyDateFormatStr ;
18592 wxString *arg3 = (wxString *) &arg3_defvalue ;
18593 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
18594 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
18595 int result;
18596 bool temp2 = False ;
18597 bool temp3 = False ;
18598 PyObject * obj0 = 0 ;
18599 PyObject * obj1 = 0 ;
18600 PyObject * obj2 = 0 ;
18601 PyObject * obj3 = 0 ;
18602 char *kwnames[] = {
18603 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18604 };
18605
18606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18608 {
18609 arg2 = wxString_in_helper(obj1);
18610 if (arg2 == NULL) SWIG_fail;
18611 temp2 = True;
18612 }
18613 if (obj2) {
18614 {
18615 arg3 = wxString_in_helper(obj2);
18616 if (arg3 == NULL) SWIG_fail;
18617 temp3 = True;
18618 }
18619 }
18620 if (obj3) {
18621 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18622 if (arg4 == NULL) {
18623 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18624 }
18625 }
18626 {
18627 PyThreadState* __tstate = wxPyBeginAllowThreads();
18628 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
18629
18630 wxPyEndAllowThreads(__tstate);
18631 if (PyErr_Occurred()) SWIG_fail;
18632 }
18633 resultobj = PyInt_FromLong((long)result);
18634 {
18635 if (temp2)
18636 delete arg2;
18637 }
18638 {
18639 if (temp3)
18640 delete arg3;
18641 }
18642 return resultobj;
18643 fail:
18644 {
18645 if (temp2)
18646 delete arg2;
18647 }
18648 {
18649 if (temp3)
18650 delete arg3;
18651 }
18652 return NULL;
18653 }
18654
18655
18656 static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18657 PyObject *resultobj;
18658 wxDateTime *arg1 = (wxDateTime *) 0 ;
18659 wxString *arg2 = 0 ;
18660 int result;
18661 bool temp2 = False ;
18662 PyObject * obj0 = 0 ;
18663 PyObject * obj1 = 0 ;
18664 char *kwnames[] = {
18665 (char *) "self",(char *) "datetime", NULL
18666 };
18667
18668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
18669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18670 {
18671 arg2 = wxString_in_helper(obj1);
18672 if (arg2 == NULL) SWIG_fail;
18673 temp2 = True;
18674 }
18675 {
18676 PyThreadState* __tstate = wxPyBeginAllowThreads();
18677 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
18678
18679 wxPyEndAllowThreads(__tstate);
18680 if (PyErr_Occurred()) SWIG_fail;
18681 }
18682 resultobj = PyInt_FromLong((long)result);
18683 {
18684 if (temp2)
18685 delete arg2;
18686 }
18687 return resultobj;
18688 fail:
18689 {
18690 if (temp2)
18691 delete arg2;
18692 }
18693 return NULL;
18694 }
18695
18696
18697 static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
18698 PyObject *resultobj;
18699 wxDateTime *arg1 = (wxDateTime *) 0 ;
18700 wxString *arg2 = 0 ;
18701 int result;
18702 bool temp2 = False ;
18703 PyObject * obj0 = 0 ;
18704 PyObject * obj1 = 0 ;
18705 char *kwnames[] = {
18706 (char *) "self",(char *) "date", NULL
18707 };
18708
18709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
18710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18711 {
18712 arg2 = wxString_in_helper(obj1);
18713 if (arg2 == NULL) SWIG_fail;
18714 temp2 = True;
18715 }
18716 {
18717 PyThreadState* __tstate = wxPyBeginAllowThreads();
18718 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
18719
18720 wxPyEndAllowThreads(__tstate);
18721 if (PyErr_Occurred()) SWIG_fail;
18722 }
18723 resultobj = PyInt_FromLong((long)result);
18724 {
18725 if (temp2)
18726 delete arg2;
18727 }
18728 return resultobj;
18729 fail:
18730 {
18731 if (temp2)
18732 delete arg2;
18733 }
18734 return NULL;
18735 }
18736
18737
18738 static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18739 PyObject *resultobj;
18740 wxDateTime *arg1 = (wxDateTime *) 0 ;
18741 wxString *arg2 = 0 ;
18742 int result;
18743 bool temp2 = False ;
18744 PyObject * obj0 = 0 ;
18745 PyObject * obj1 = 0 ;
18746 char *kwnames[] = {
18747 (char *) "self",(char *) "time", NULL
18748 };
18749
18750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
18751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18752 {
18753 arg2 = wxString_in_helper(obj1);
18754 if (arg2 == NULL) SWIG_fail;
18755 temp2 = True;
18756 }
18757 {
18758 PyThreadState* __tstate = wxPyBeginAllowThreads();
18759 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
18760
18761 wxPyEndAllowThreads(__tstate);
18762 if (PyErr_Occurred()) SWIG_fail;
18763 }
18764 resultobj = PyInt_FromLong((long)result);
18765 {
18766 if (temp2)
18767 delete arg2;
18768 }
18769 return resultobj;
18770 fail:
18771 {
18772 if (temp2)
18773 delete arg2;
18774 }
18775 return NULL;
18776 }
18777
18778
18779 static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
18780 PyObject *resultobj;
18781 wxDateTime *arg1 = (wxDateTime *) 0 ;
18782 wxString const &arg2_defvalue = wxPyDateFormatStr ;
18783 wxString *arg2 = (wxString *) &arg2_defvalue ;
18784 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
18785 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
18786 wxString result;
18787 bool temp2 = False ;
18788 PyObject * obj0 = 0 ;
18789 PyObject * obj1 = 0 ;
18790 PyObject * obj2 = 0 ;
18791 char *kwnames[] = {
18792 (char *) "self",(char *) "format",(char *) "tz", NULL
18793 };
18794
18795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
18796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18797 if (obj1) {
18798 {
18799 arg2 = wxString_in_helper(obj1);
18800 if (arg2 == NULL) SWIG_fail;
18801 temp2 = True;
18802 }
18803 }
18804 if (obj2) {
18805 {
18806 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
18807 }
18808 }
18809 {
18810 PyThreadState* __tstate = wxPyBeginAllowThreads();
18811 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
18812
18813 wxPyEndAllowThreads(__tstate);
18814 if (PyErr_Occurred()) SWIG_fail;
18815 }
18816 {
18817 #if wxUSE_UNICODE
18818 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18819 #else
18820 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18821 #endif
18822 }
18823 {
18824 if (temp2)
18825 delete arg2;
18826 }
18827 {
18828 if (arg3) delete arg3;
18829 }
18830 return resultobj;
18831 fail:
18832 {
18833 if (temp2)
18834 delete arg2;
18835 }
18836 {
18837 if (arg3) delete arg3;
18838 }
18839 return NULL;
18840 }
18841
18842
18843 static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
18844 PyObject *resultobj;
18845 wxDateTime *arg1 = (wxDateTime *) 0 ;
18846 wxString result;
18847 PyObject * obj0 = 0 ;
18848 char *kwnames[] = {
18849 (char *) "self", NULL
18850 };
18851
18852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
18853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18854 {
18855 PyThreadState* __tstate = wxPyBeginAllowThreads();
18856 result = ((wxDateTime const *)arg1)->FormatDate();
18857
18858 wxPyEndAllowThreads(__tstate);
18859 if (PyErr_Occurred()) SWIG_fail;
18860 }
18861 {
18862 #if wxUSE_UNICODE
18863 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18864 #else
18865 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18866 #endif
18867 }
18868 return resultobj;
18869 fail:
18870 return NULL;
18871 }
18872
18873
18874 static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18875 PyObject *resultobj;
18876 wxDateTime *arg1 = (wxDateTime *) 0 ;
18877 wxString result;
18878 PyObject * obj0 = 0 ;
18879 char *kwnames[] = {
18880 (char *) "self", NULL
18881 };
18882
18883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
18884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18885 {
18886 PyThreadState* __tstate = wxPyBeginAllowThreads();
18887 result = ((wxDateTime const *)arg1)->FormatTime();
18888
18889 wxPyEndAllowThreads(__tstate);
18890 if (PyErr_Occurred()) SWIG_fail;
18891 }
18892 {
18893 #if wxUSE_UNICODE
18894 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18895 #else
18896 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18897 #endif
18898 }
18899 return resultobj;
18900 fail:
18901 return NULL;
18902 }
18903
18904
18905 static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
18906 PyObject *resultobj;
18907 wxDateTime *arg1 = (wxDateTime *) 0 ;
18908 wxString result;
18909 PyObject * obj0 = 0 ;
18910 char *kwnames[] = {
18911 (char *) "self", NULL
18912 };
18913
18914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
18915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18916 {
18917 PyThreadState* __tstate = wxPyBeginAllowThreads();
18918 result = ((wxDateTime const *)arg1)->FormatISODate();
18919
18920 wxPyEndAllowThreads(__tstate);
18921 if (PyErr_Occurred()) SWIG_fail;
18922 }
18923 {
18924 #if wxUSE_UNICODE
18925 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18926 #else
18927 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18928 #endif
18929 }
18930 return resultobj;
18931 fail:
18932 return NULL;
18933 }
18934
18935
18936 static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18937 PyObject *resultobj;
18938 wxDateTime *arg1 = (wxDateTime *) 0 ;
18939 wxString result;
18940 PyObject * obj0 = 0 ;
18941 char *kwnames[] = {
18942 (char *) "self", NULL
18943 };
18944
18945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
18946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18947 {
18948 PyThreadState* __tstate = wxPyBeginAllowThreads();
18949 result = ((wxDateTime const *)arg1)->FormatISOTime();
18950
18951 wxPyEndAllowThreads(__tstate);
18952 if (PyErr_Occurred()) SWIG_fail;
18953 }
18954 {
18955 #if wxUSE_UNICODE
18956 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18957 #else
18958 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18959 #endif
18960 }
18961 return resultobj;
18962 fail:
18963 return NULL;
18964 }
18965
18966
18967 static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
18968 PyObject *obj;
18969 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18970 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
18971 Py_INCREF(obj);
18972 return Py_BuildValue((char *)"");
18973 }
18974 static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
18975 PyObject *resultobj;
18976 long arg1 ;
18977 wxTimeSpan result;
18978 char *kwnames[] = {
18979 (char *) "sec", NULL
18980 };
18981
18982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Seconds",kwnames,&arg1)) goto fail;
18983 {
18984 PyThreadState* __tstate = wxPyBeginAllowThreads();
18985 result = wxTimeSpan::Seconds(arg1);
18986
18987 wxPyEndAllowThreads(__tstate);
18988 if (PyErr_Occurred()) SWIG_fail;
18989 }
18990 {
18991 wxTimeSpan * resultptr;
18992 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18993 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18994 }
18995 return resultobj;
18996 fail:
18997 return NULL;
18998 }
18999
19000
19001 static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
19002 PyObject *resultobj;
19003 wxTimeSpan result;
19004 char *kwnames[] = {
19005 NULL
19006 };
19007
19008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
19009 {
19010 PyThreadState* __tstate = wxPyBeginAllowThreads();
19011 result = wxTimeSpan::Second();
19012
19013 wxPyEndAllowThreads(__tstate);
19014 if (PyErr_Occurred()) SWIG_fail;
19015 }
19016 {
19017 wxTimeSpan * resultptr;
19018 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19019 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19020 }
19021 return resultobj;
19022 fail:
19023 return NULL;
19024 }
19025
19026
19027 static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
19028 PyObject *resultobj;
19029 long arg1 ;
19030 wxTimeSpan result;
19031 char *kwnames[] = {
19032 (char *) "min", NULL
19033 };
19034
19035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Minutes",kwnames,&arg1)) goto fail;
19036 {
19037 PyThreadState* __tstate = wxPyBeginAllowThreads();
19038 result = wxTimeSpan::Minutes(arg1);
19039
19040 wxPyEndAllowThreads(__tstate);
19041 if (PyErr_Occurred()) SWIG_fail;
19042 }
19043 {
19044 wxTimeSpan * resultptr;
19045 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19046 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19047 }
19048 return resultobj;
19049 fail:
19050 return NULL;
19051 }
19052
19053
19054 static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
19055 PyObject *resultobj;
19056 wxTimeSpan result;
19057 char *kwnames[] = {
19058 NULL
19059 };
19060
19061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
19062 {
19063 PyThreadState* __tstate = wxPyBeginAllowThreads();
19064 result = wxTimeSpan::Minute();
19065
19066 wxPyEndAllowThreads(__tstate);
19067 if (PyErr_Occurred()) SWIG_fail;
19068 }
19069 {
19070 wxTimeSpan * resultptr;
19071 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19072 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19073 }
19074 return resultobj;
19075 fail:
19076 return NULL;
19077 }
19078
19079
19080 static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
19081 PyObject *resultobj;
19082 long arg1 ;
19083 wxTimeSpan result;
19084 char *kwnames[] = {
19085 (char *) "hours", NULL
19086 };
19087
19088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Hours",kwnames,&arg1)) goto fail;
19089 {
19090 PyThreadState* __tstate = wxPyBeginAllowThreads();
19091 result = wxTimeSpan::Hours(arg1);
19092
19093 wxPyEndAllowThreads(__tstate);
19094 if (PyErr_Occurred()) SWIG_fail;
19095 }
19096 {
19097 wxTimeSpan * resultptr;
19098 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19099 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19100 }
19101 return resultobj;
19102 fail:
19103 return NULL;
19104 }
19105
19106
19107 static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
19108 PyObject *resultobj;
19109 wxTimeSpan result;
19110 char *kwnames[] = {
19111 NULL
19112 };
19113
19114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
19115 {
19116 PyThreadState* __tstate = wxPyBeginAllowThreads();
19117 result = wxTimeSpan::Hour();
19118
19119 wxPyEndAllowThreads(__tstate);
19120 if (PyErr_Occurred()) SWIG_fail;
19121 }
19122 {
19123 wxTimeSpan * resultptr;
19124 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19125 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19126 }
19127 return resultobj;
19128 fail:
19129 return NULL;
19130 }
19131
19132
19133 static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
19134 PyObject *resultobj;
19135 long arg1 ;
19136 wxTimeSpan result;
19137 char *kwnames[] = {
19138 (char *) "days", NULL
19139 };
19140
19141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Days",kwnames,&arg1)) goto fail;
19142 {
19143 PyThreadState* __tstate = wxPyBeginAllowThreads();
19144 result = wxTimeSpan::Days(arg1);
19145
19146 wxPyEndAllowThreads(__tstate);
19147 if (PyErr_Occurred()) SWIG_fail;
19148 }
19149 {
19150 wxTimeSpan * resultptr;
19151 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19152 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19153 }
19154 return resultobj;
19155 fail:
19156 return NULL;
19157 }
19158
19159
19160 static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
19161 PyObject *resultobj;
19162 wxTimeSpan result;
19163 char *kwnames[] = {
19164 NULL
19165 };
19166
19167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
19168 {
19169 PyThreadState* __tstate = wxPyBeginAllowThreads();
19170 result = wxTimeSpan::Day();
19171
19172 wxPyEndAllowThreads(__tstate);
19173 if (PyErr_Occurred()) SWIG_fail;
19174 }
19175 {
19176 wxTimeSpan * resultptr;
19177 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19178 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19179 }
19180 return resultobj;
19181 fail:
19182 return NULL;
19183 }
19184
19185
19186 static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
19187 PyObject *resultobj;
19188 long arg1 ;
19189 wxTimeSpan result;
19190 char *kwnames[] = {
19191 (char *) "days", NULL
19192 };
19193
19194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Weeks",kwnames,&arg1)) goto fail;
19195 {
19196 PyThreadState* __tstate = wxPyBeginAllowThreads();
19197 result = wxTimeSpan::Weeks(arg1);
19198
19199 wxPyEndAllowThreads(__tstate);
19200 if (PyErr_Occurred()) SWIG_fail;
19201 }
19202 {
19203 wxTimeSpan * resultptr;
19204 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19205 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19206 }
19207 return resultobj;
19208 fail:
19209 return NULL;
19210 }
19211
19212
19213 static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
19214 PyObject *resultobj;
19215 wxTimeSpan result;
19216 char *kwnames[] = {
19217 NULL
19218 };
19219
19220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
19221 {
19222 PyThreadState* __tstate = wxPyBeginAllowThreads();
19223 result = wxTimeSpan::Week();
19224
19225 wxPyEndAllowThreads(__tstate);
19226 if (PyErr_Occurred()) SWIG_fail;
19227 }
19228 {
19229 wxTimeSpan * resultptr;
19230 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19231 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19232 }
19233 return resultobj;
19234 fail:
19235 return NULL;
19236 }
19237
19238
19239 static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19240 PyObject *resultobj;
19241 long arg1 = (long) 0 ;
19242 long arg2 = (long) 0 ;
19243 long arg3 = (long) 0 ;
19244 long arg4 = (long) 0 ;
19245 wxTimeSpan *result;
19246 char *kwnames[] = {
19247 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19248 };
19249
19250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|llll:new_TimeSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
19251 {
19252 PyThreadState* __tstate = wxPyBeginAllowThreads();
19253 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
19254
19255 wxPyEndAllowThreads(__tstate);
19256 if (PyErr_Occurred()) SWIG_fail;
19257 }
19258 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 1);
19259 return resultobj;
19260 fail:
19261 return NULL;
19262 }
19263
19264
19265 static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19266 PyObject *resultobj;
19267 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19268 PyObject * obj0 = 0 ;
19269 char *kwnames[] = {
19270 (char *) "self", NULL
19271 };
19272
19273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
19274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19275 {
19276 PyThreadState* __tstate = wxPyBeginAllowThreads();
19277 delete arg1;
19278
19279 wxPyEndAllowThreads(__tstate);
19280 if (PyErr_Occurred()) SWIG_fail;
19281 }
19282 Py_INCREF(Py_None); resultobj = Py_None;
19283 return resultobj;
19284 fail:
19285 return NULL;
19286 }
19287
19288
19289 static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
19290 PyObject *resultobj;
19291 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19292 wxTimeSpan *arg2 = 0 ;
19293 wxTimeSpan *result;
19294 PyObject * obj0 = 0 ;
19295 PyObject * obj1 = 0 ;
19296 char *kwnames[] = {
19297 (char *) "self",(char *) "diff", NULL
19298 };
19299
19300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
19301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19302 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19303 if (arg2 == NULL) {
19304 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19305 }
19306 {
19307 PyThreadState* __tstate = wxPyBeginAllowThreads();
19308 {
19309 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19310 result = (wxTimeSpan *) &_result_ref;
19311 }
19312
19313 wxPyEndAllowThreads(__tstate);
19314 if (PyErr_Occurred()) SWIG_fail;
19315 }
19316 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19317 return resultobj;
19318 fail:
19319 return NULL;
19320 }
19321
19322
19323 static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19324 PyObject *resultobj;
19325 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19326 wxTimeSpan *arg2 = 0 ;
19327 wxTimeSpan *result;
19328 PyObject * obj0 = 0 ;
19329 PyObject * obj1 = 0 ;
19330 char *kwnames[] = {
19331 (char *) "self",(char *) "diff", NULL
19332 };
19333
19334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
19335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19336 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19337 if (arg2 == NULL) {
19338 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19339 }
19340 {
19341 PyThreadState* __tstate = wxPyBeginAllowThreads();
19342 {
19343 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19344 result = (wxTimeSpan *) &_result_ref;
19345 }
19346
19347 wxPyEndAllowThreads(__tstate);
19348 if (PyErr_Occurred()) SWIG_fail;
19349 }
19350 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19351 return resultobj;
19352 fail:
19353 return NULL;
19354 }
19355
19356
19357 static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
19358 PyObject *resultobj;
19359 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19360 int arg2 ;
19361 wxTimeSpan *result;
19362 PyObject * obj0 = 0 ;
19363 char *kwnames[] = {
19364 (char *) "self",(char *) "n", NULL
19365 };
19366
19367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
19368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19369 {
19370 PyThreadState* __tstate = wxPyBeginAllowThreads();
19371 {
19372 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
19373 result = (wxTimeSpan *) &_result_ref;
19374 }
19375
19376 wxPyEndAllowThreads(__tstate);
19377 if (PyErr_Occurred()) SWIG_fail;
19378 }
19379 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19380 return resultobj;
19381 fail:
19382 return NULL;
19383 }
19384
19385
19386 static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
19387 PyObject *resultobj;
19388 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19389 wxTimeSpan *result;
19390 PyObject * obj0 = 0 ;
19391 char *kwnames[] = {
19392 (char *) "self", NULL
19393 };
19394
19395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
19396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19397 {
19398 PyThreadState* __tstate = wxPyBeginAllowThreads();
19399 {
19400 wxTimeSpan &_result_ref = (arg1)->Neg();
19401 result = (wxTimeSpan *) &_result_ref;
19402 }
19403
19404 wxPyEndAllowThreads(__tstate);
19405 if (PyErr_Occurred()) SWIG_fail;
19406 }
19407 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19408 return resultobj;
19409 fail:
19410 return NULL;
19411 }
19412
19413
19414 static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
19415 PyObject *resultobj;
19416 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19417 wxTimeSpan result;
19418 PyObject * obj0 = 0 ;
19419 char *kwnames[] = {
19420 (char *) "self", NULL
19421 };
19422
19423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
19424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19425 {
19426 PyThreadState* __tstate = wxPyBeginAllowThreads();
19427 result = ((wxTimeSpan const *)arg1)->Abs();
19428
19429 wxPyEndAllowThreads(__tstate);
19430 if (PyErr_Occurred()) SWIG_fail;
19431 }
19432 {
19433 wxTimeSpan * resultptr;
19434 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19435 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19436 }
19437 return resultobj;
19438 fail:
19439 return NULL;
19440 }
19441
19442
19443 static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
19444 PyObject *resultobj;
19445 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19446 wxTimeSpan *arg2 = 0 ;
19447 wxTimeSpan *result;
19448 PyObject * obj0 = 0 ;
19449 PyObject * obj1 = 0 ;
19450 char *kwnames[] = {
19451 (char *) "self",(char *) "diff", NULL
19452 };
19453
19454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
19455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19456 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19457 if (arg2 == NULL) {
19458 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19459 }
19460 {
19461 PyThreadState* __tstate = wxPyBeginAllowThreads();
19462 {
19463 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19464 result = (wxTimeSpan *) &_result_ref;
19465 }
19466
19467 wxPyEndAllowThreads(__tstate);
19468 if (PyErr_Occurred()) SWIG_fail;
19469 }
19470 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19471 return resultobj;
19472 fail:
19473 return NULL;
19474 }
19475
19476
19477 static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19478 PyObject *resultobj;
19479 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19480 wxTimeSpan *arg2 = 0 ;
19481 wxTimeSpan *result;
19482 PyObject * obj0 = 0 ;
19483 PyObject * obj1 = 0 ;
19484 char *kwnames[] = {
19485 (char *) "self",(char *) "diff", NULL
19486 };
19487
19488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
19489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19490 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19491 if (arg2 == NULL) {
19492 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19493 }
19494 {
19495 PyThreadState* __tstate = wxPyBeginAllowThreads();
19496 {
19497 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
19498 result = (wxTimeSpan *) &_result_ref;
19499 }
19500
19501 wxPyEndAllowThreads(__tstate);
19502 if (PyErr_Occurred()) SWIG_fail;
19503 }
19504 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19505 return resultobj;
19506 fail:
19507 return NULL;
19508 }
19509
19510
19511 static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19512 PyObject *resultobj;
19513 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19514 int arg2 ;
19515 wxTimeSpan *result;
19516 PyObject * obj0 = 0 ;
19517 char *kwnames[] = {
19518 (char *) "self",(char *) "n", NULL
19519 };
19520
19521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
19522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19523 {
19524 PyThreadState* __tstate = wxPyBeginAllowThreads();
19525 {
19526 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
19527 result = (wxTimeSpan *) &_result_ref;
19528 }
19529
19530 wxPyEndAllowThreads(__tstate);
19531 if (PyErr_Occurred()) SWIG_fail;
19532 }
19533 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19534 return resultobj;
19535 fail:
19536 return NULL;
19537 }
19538
19539
19540 static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
19541 PyObject *resultobj;
19542 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19543 wxTimeSpan *result;
19544 PyObject * obj0 = 0 ;
19545 char *kwnames[] = {
19546 (char *) "self", NULL
19547 };
19548
19549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
19550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19551 {
19552 PyThreadState* __tstate = wxPyBeginAllowThreads();
19553 {
19554 wxTimeSpan &_result_ref = (arg1)->operator -();
19555 result = (wxTimeSpan *) &_result_ref;
19556 }
19557
19558 wxPyEndAllowThreads(__tstate);
19559 if (PyErr_Occurred()) SWIG_fail;
19560 }
19561 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19562 return resultobj;
19563 fail:
19564 return NULL;
19565 }
19566
19567
19568 static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
19569 PyObject *resultobj;
19570 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19571 wxTimeSpan *arg2 = 0 ;
19572 wxTimeSpan result;
19573 PyObject * obj0 = 0 ;
19574 PyObject * obj1 = 0 ;
19575 char *kwnames[] = {
19576 (char *) "self",(char *) "other", NULL
19577 };
19578
19579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
19580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19581 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19582 if (arg2 == NULL) {
19583 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19584 }
19585 {
19586 PyThreadState* __tstate = wxPyBeginAllowThreads();
19587 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
19588
19589 wxPyEndAllowThreads(__tstate);
19590 if (PyErr_Occurred()) SWIG_fail;
19591 }
19592 {
19593 wxTimeSpan * resultptr;
19594 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19595 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19596 }
19597 return resultobj;
19598 fail:
19599 return NULL;
19600 }
19601
19602
19603 static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19604 PyObject *resultobj;
19605 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19606 wxTimeSpan *arg2 = 0 ;
19607 wxTimeSpan result;
19608 PyObject * obj0 = 0 ;
19609 PyObject * obj1 = 0 ;
19610 char *kwnames[] = {
19611 (char *) "self",(char *) "other", NULL
19612 };
19613
19614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
19615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19616 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19617 if (arg2 == NULL) {
19618 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19619 }
19620 {
19621 PyThreadState* __tstate = wxPyBeginAllowThreads();
19622 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
19623
19624 wxPyEndAllowThreads(__tstate);
19625 if (PyErr_Occurred()) SWIG_fail;
19626 }
19627 {
19628 wxTimeSpan * resultptr;
19629 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19630 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19631 }
19632 return resultobj;
19633 fail:
19634 return NULL;
19635 }
19636
19637
19638 static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19639 PyObject *resultobj;
19640 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19641 int arg2 ;
19642 wxTimeSpan result;
19643 PyObject * obj0 = 0 ;
19644 char *kwnames[] = {
19645 (char *) "self",(char *) "n", NULL
19646 };
19647
19648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
19649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19650 {
19651 PyThreadState* __tstate = wxPyBeginAllowThreads();
19652 result = wxTimeSpan___mul__(arg1,arg2);
19653
19654 wxPyEndAllowThreads(__tstate);
19655 if (PyErr_Occurred()) SWIG_fail;
19656 }
19657 {
19658 wxTimeSpan * resultptr;
19659 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19660 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19661 }
19662 return resultobj;
19663 fail:
19664 return NULL;
19665 }
19666
19667
19668 static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19669 PyObject *resultobj;
19670 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19671 int arg2 ;
19672 wxTimeSpan result;
19673 PyObject * obj0 = 0 ;
19674 char *kwnames[] = {
19675 (char *) "self",(char *) "n", NULL
19676 };
19677
19678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
19679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19680 {
19681 PyThreadState* __tstate = wxPyBeginAllowThreads();
19682 result = wxTimeSpan___rmul__(arg1,arg2);
19683
19684 wxPyEndAllowThreads(__tstate);
19685 if (PyErr_Occurred()) SWIG_fail;
19686 }
19687 {
19688 wxTimeSpan * resultptr;
19689 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19690 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19691 }
19692 return resultobj;
19693 fail:
19694 return NULL;
19695 }
19696
19697
19698 static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19699 PyObject *resultobj;
19700 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19701 wxTimeSpan *arg2 = 0 ;
19702 bool result;
19703 PyObject * obj0 = 0 ;
19704 PyObject * obj1 = 0 ;
19705 char *kwnames[] = {
19706 (char *) "self",(char *) "other", NULL
19707 };
19708
19709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
19710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19711 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19712 if (arg2 == NULL) {
19713 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19714 }
19715 {
19716 PyThreadState* __tstate = wxPyBeginAllowThreads();
19717 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const &)*arg2);
19718
19719 wxPyEndAllowThreads(__tstate);
19720 if (PyErr_Occurred()) SWIG_fail;
19721 }
19722 resultobj = PyInt_FromLong((long)result);
19723 return resultobj;
19724 fail:
19725 return NULL;
19726 }
19727
19728
19729 static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
19730 PyObject *resultobj;
19731 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19732 wxTimeSpan *arg2 = 0 ;
19733 bool result;
19734 PyObject * obj0 = 0 ;
19735 PyObject * obj1 = 0 ;
19736 char *kwnames[] = {
19737 (char *) "self",(char *) "other", NULL
19738 };
19739
19740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
19741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19742 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19743 if (arg2 == NULL) {
19744 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19745 }
19746 {
19747 PyThreadState* __tstate = wxPyBeginAllowThreads();
19748 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const &)*arg2);
19749
19750 wxPyEndAllowThreads(__tstate);
19751 if (PyErr_Occurred()) SWIG_fail;
19752 }
19753 resultobj = PyInt_FromLong((long)result);
19754 return resultobj;
19755 fail:
19756 return NULL;
19757 }
19758
19759
19760 static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19761 PyObject *resultobj;
19762 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19763 wxTimeSpan *arg2 = 0 ;
19764 bool result;
19765 PyObject * obj0 = 0 ;
19766 PyObject * obj1 = 0 ;
19767 char *kwnames[] = {
19768 (char *) "self",(char *) "other", NULL
19769 };
19770
19771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
19772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19773 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19774 if (arg2 == NULL) {
19775 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19776 }
19777 {
19778 PyThreadState* __tstate = wxPyBeginAllowThreads();
19779 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const &)*arg2);
19780
19781 wxPyEndAllowThreads(__tstate);
19782 if (PyErr_Occurred()) SWIG_fail;
19783 }
19784 resultobj = PyInt_FromLong((long)result);
19785 return resultobj;
19786 fail:
19787 return NULL;
19788 }
19789
19790
19791 static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
19792 PyObject *resultobj;
19793 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19794 wxTimeSpan *arg2 = 0 ;
19795 bool result;
19796 PyObject * obj0 = 0 ;
19797 PyObject * obj1 = 0 ;
19798 char *kwnames[] = {
19799 (char *) "self",(char *) "other", NULL
19800 };
19801
19802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
19803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19804 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19805 if (arg2 == NULL) {
19806 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19807 }
19808 {
19809 PyThreadState* __tstate = wxPyBeginAllowThreads();
19810 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const &)*arg2);
19811
19812 wxPyEndAllowThreads(__tstate);
19813 if (PyErr_Occurred()) SWIG_fail;
19814 }
19815 resultobj = PyInt_FromLong((long)result);
19816 return resultobj;
19817 fail:
19818 return NULL;
19819 }
19820
19821
19822 static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19823 PyObject *resultobj;
19824 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19825 wxTimeSpan *arg2 = 0 ;
19826 bool result;
19827 PyObject * obj0 = 0 ;
19828 PyObject * obj1 = 0 ;
19829 char *kwnames[] = {
19830 (char *) "self",(char *) "other", NULL
19831 };
19832
19833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
19834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19835 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19836 if (arg2 == NULL) {
19837 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19838 }
19839 {
19840 PyThreadState* __tstate = wxPyBeginAllowThreads();
19841 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const &)*arg2);
19842
19843 wxPyEndAllowThreads(__tstate);
19844 if (PyErr_Occurred()) SWIG_fail;
19845 }
19846 resultobj = PyInt_FromLong((long)result);
19847 return resultobj;
19848 fail:
19849 return NULL;
19850 }
19851
19852
19853 static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19854 PyObject *resultobj;
19855 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19856 wxTimeSpan *arg2 = 0 ;
19857 bool result;
19858 PyObject * obj0 = 0 ;
19859 PyObject * obj1 = 0 ;
19860 char *kwnames[] = {
19861 (char *) "self",(char *) "other", NULL
19862 };
19863
19864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
19865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19866 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19867 if (arg2 == NULL) {
19868 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19869 }
19870 {
19871 PyThreadState* __tstate = wxPyBeginAllowThreads();
19872 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const &)*arg2);
19873
19874 wxPyEndAllowThreads(__tstate);
19875 if (PyErr_Occurred()) SWIG_fail;
19876 }
19877 resultobj = PyInt_FromLong((long)result);
19878 return resultobj;
19879 fail:
19880 return NULL;
19881 }
19882
19883
19884 static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
19885 PyObject *resultobj;
19886 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19887 bool result;
19888 PyObject * obj0 = 0 ;
19889 char *kwnames[] = {
19890 (char *) "self", NULL
19891 };
19892
19893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
19894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19895 {
19896 PyThreadState* __tstate = wxPyBeginAllowThreads();
19897 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
19898
19899 wxPyEndAllowThreads(__tstate);
19900 if (PyErr_Occurred()) SWIG_fail;
19901 }
19902 resultobj = PyInt_FromLong((long)result);
19903 return resultobj;
19904 fail:
19905 return NULL;
19906 }
19907
19908
19909 static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
19910 PyObject *resultobj;
19911 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19912 bool result;
19913 PyObject * obj0 = 0 ;
19914 char *kwnames[] = {
19915 (char *) "self", NULL
19916 };
19917
19918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
19919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19920 {
19921 PyThreadState* __tstate = wxPyBeginAllowThreads();
19922 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
19923
19924 wxPyEndAllowThreads(__tstate);
19925 if (PyErr_Occurred()) SWIG_fail;
19926 }
19927 resultobj = PyInt_FromLong((long)result);
19928 return resultobj;
19929 fail:
19930 return NULL;
19931 }
19932
19933
19934 static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
19935 PyObject *resultobj;
19936 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19937 bool result;
19938 PyObject * obj0 = 0 ;
19939 char *kwnames[] = {
19940 (char *) "self", NULL
19941 };
19942
19943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
19944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19945 {
19946 PyThreadState* __tstate = wxPyBeginAllowThreads();
19947 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
19948
19949 wxPyEndAllowThreads(__tstate);
19950 if (PyErr_Occurred()) SWIG_fail;
19951 }
19952 resultobj = PyInt_FromLong((long)result);
19953 return resultobj;
19954 fail:
19955 return NULL;
19956 }
19957
19958
19959 static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19960 PyObject *resultobj;
19961 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19962 wxTimeSpan *arg2 = 0 ;
19963 bool result;
19964 PyObject * obj0 = 0 ;
19965 PyObject * obj1 = 0 ;
19966 char *kwnames[] = {
19967 (char *) "self",(char *) "ts", NULL
19968 };
19969
19970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
19971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19972 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19973 if (arg2 == NULL) {
19974 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19975 }
19976 {
19977 PyThreadState* __tstate = wxPyBeginAllowThreads();
19978 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
19979
19980 wxPyEndAllowThreads(__tstate);
19981 if (PyErr_Occurred()) SWIG_fail;
19982 }
19983 resultobj = PyInt_FromLong((long)result);
19984 return resultobj;
19985 fail:
19986 return NULL;
19987 }
19988
19989
19990 static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19991 PyObject *resultobj;
19992 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19993 wxTimeSpan *arg2 = 0 ;
19994 bool result;
19995 PyObject * obj0 = 0 ;
19996 PyObject * obj1 = 0 ;
19997 char *kwnames[] = {
19998 (char *) "self",(char *) "ts", NULL
19999 };
20000
20001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
20002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20003 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20004 if (arg2 == NULL) {
20005 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20006 }
20007 {
20008 PyThreadState* __tstate = wxPyBeginAllowThreads();
20009 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
20010
20011 wxPyEndAllowThreads(__tstate);
20012 if (PyErr_Occurred()) SWIG_fail;
20013 }
20014 resultobj = PyInt_FromLong((long)result);
20015 return resultobj;
20016 fail:
20017 return NULL;
20018 }
20019
20020
20021 static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20022 PyObject *resultobj;
20023 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20024 wxTimeSpan *arg2 = 0 ;
20025 bool result;
20026 PyObject * obj0 = 0 ;
20027 PyObject * obj1 = 0 ;
20028 char *kwnames[] = {
20029 (char *) "self",(char *) "t", NULL
20030 };
20031
20032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
20033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20034 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20035 if (arg2 == NULL) {
20036 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20037 }
20038 {
20039 PyThreadState* __tstate = wxPyBeginAllowThreads();
20040 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
20041
20042 wxPyEndAllowThreads(__tstate);
20043 if (PyErr_Occurred()) SWIG_fail;
20044 }
20045 resultobj = PyInt_FromLong((long)result);
20046 return resultobj;
20047 fail:
20048 return NULL;
20049 }
20050
20051
20052 static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20053 PyObject *resultobj;
20054 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20055 int result;
20056 PyObject * obj0 = 0 ;
20057 char *kwnames[] = {
20058 (char *) "self", NULL
20059 };
20060
20061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
20062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20063 {
20064 PyThreadState* __tstate = wxPyBeginAllowThreads();
20065 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
20066
20067 wxPyEndAllowThreads(__tstate);
20068 if (PyErr_Occurred()) SWIG_fail;
20069 }
20070 resultobj = PyInt_FromLong((long)result);
20071 return resultobj;
20072 fail:
20073 return NULL;
20074 }
20075
20076
20077 static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20078 PyObject *resultobj;
20079 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20080 int result;
20081 PyObject * obj0 = 0 ;
20082 char *kwnames[] = {
20083 (char *) "self", NULL
20084 };
20085
20086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
20087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20088 {
20089 PyThreadState* __tstate = wxPyBeginAllowThreads();
20090 result = (int)((wxTimeSpan const *)arg1)->GetDays();
20091
20092 wxPyEndAllowThreads(__tstate);
20093 if (PyErr_Occurred()) SWIG_fail;
20094 }
20095 resultobj = PyInt_FromLong((long)result);
20096 return resultobj;
20097 fail:
20098 return NULL;
20099 }
20100
20101
20102 static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
20103 PyObject *resultobj;
20104 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20105 int result;
20106 PyObject * obj0 = 0 ;
20107 char *kwnames[] = {
20108 (char *) "self", NULL
20109 };
20110
20111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
20112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20113 {
20114 PyThreadState* __tstate = wxPyBeginAllowThreads();
20115 result = (int)((wxTimeSpan const *)arg1)->GetHours();
20116
20117 wxPyEndAllowThreads(__tstate);
20118 if (PyErr_Occurred()) SWIG_fail;
20119 }
20120 resultobj = PyInt_FromLong((long)result);
20121 return resultobj;
20122 fail:
20123 return NULL;
20124 }
20125
20126
20127 static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
20128 PyObject *resultobj;
20129 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20130 int result;
20131 PyObject * obj0 = 0 ;
20132 char *kwnames[] = {
20133 (char *) "self", NULL
20134 };
20135
20136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
20137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20138 {
20139 PyThreadState* __tstate = wxPyBeginAllowThreads();
20140 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
20141
20142 wxPyEndAllowThreads(__tstate);
20143 if (PyErr_Occurred()) SWIG_fail;
20144 }
20145 resultobj = PyInt_FromLong((long)result);
20146 return resultobj;
20147 fail:
20148 return NULL;
20149 }
20150
20151
20152 static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20153 PyObject *resultobj;
20154 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20155 wxLongLong result;
20156 PyObject * obj0 = 0 ;
20157 char *kwnames[] = {
20158 (char *) "self", NULL
20159 };
20160
20161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
20162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20163 {
20164 PyThreadState* __tstate = wxPyBeginAllowThreads();
20165 result = ((wxTimeSpan const *)arg1)->GetSeconds();
20166
20167 wxPyEndAllowThreads(__tstate);
20168 if (PyErr_Occurred()) SWIG_fail;
20169 }
20170 {
20171 PyObject *hi, *lo, *shifter, *shifted;
20172 hi = PyLong_FromLong( (&result)->GetHi() );
20173 lo = PyLong_FromLong( (&result)->GetLo() );
20174 shifter = PyLong_FromLong(32);
20175 shifted = PyNumber_Lshift(hi, shifter);
20176 resultobj = PyNumber_Or(shifted, lo);
20177 Py_DECREF(hi);
20178 Py_DECREF(lo);
20179 Py_DECREF(shifter);
20180 Py_DECREF(shifted);
20181 }
20182 return resultobj;
20183 fail:
20184 return NULL;
20185 }
20186
20187
20188 static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20189 PyObject *resultobj;
20190 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20191 wxLongLong result;
20192 PyObject * obj0 = 0 ;
20193 char *kwnames[] = {
20194 (char *) "self", NULL
20195 };
20196
20197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
20198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20199 {
20200 PyThreadState* __tstate = wxPyBeginAllowThreads();
20201 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
20202
20203 wxPyEndAllowThreads(__tstate);
20204 if (PyErr_Occurred()) SWIG_fail;
20205 }
20206 {
20207 PyObject *hi, *lo, *shifter, *shifted;
20208 hi = PyLong_FromLong( (&result)->GetHi() );
20209 lo = PyLong_FromLong( (&result)->GetLo() );
20210 shifter = PyLong_FromLong(32);
20211 shifted = PyNumber_Lshift(hi, shifter);
20212 resultobj = PyNumber_Or(shifted, lo);
20213 Py_DECREF(hi);
20214 Py_DECREF(lo);
20215 Py_DECREF(shifter);
20216 Py_DECREF(shifted);
20217 }
20218 return resultobj;
20219 fail:
20220 return NULL;
20221 }
20222
20223
20224 static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20225 PyObject *resultobj;
20226 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20227 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
20228 wxString *arg2 = (wxString *) &arg2_defvalue ;
20229 wxString result;
20230 bool temp2 = False ;
20231 PyObject * obj0 = 0 ;
20232 PyObject * obj1 = 0 ;
20233 char *kwnames[] = {
20234 (char *) "self",(char *) "format", NULL
20235 };
20236
20237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
20238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20239 if (obj1) {
20240 {
20241 arg2 = wxString_in_helper(obj1);
20242 if (arg2 == NULL) SWIG_fail;
20243 temp2 = True;
20244 }
20245 }
20246 {
20247 PyThreadState* __tstate = wxPyBeginAllowThreads();
20248 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
20249
20250 wxPyEndAllowThreads(__tstate);
20251 if (PyErr_Occurred()) SWIG_fail;
20252 }
20253 {
20254 #if wxUSE_UNICODE
20255 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20256 #else
20257 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20258 #endif
20259 }
20260 {
20261 if (temp2)
20262 delete arg2;
20263 }
20264 return resultobj;
20265 fail:
20266 {
20267 if (temp2)
20268 delete arg2;
20269 }
20270 return NULL;
20271 }
20272
20273
20274 static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
20275 PyObject *obj;
20276 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20277 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
20278 Py_INCREF(obj);
20279 return Py_BuildValue((char *)"");
20280 }
20281 static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20282 PyObject *resultobj;
20283 int arg1 = (int) 0 ;
20284 int arg2 = (int) 0 ;
20285 int arg3 = (int) 0 ;
20286 int arg4 = (int) 0 ;
20287 wxDateSpan *result;
20288 char *kwnames[] = {
20289 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20290 };
20291
20292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_DateSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
20293 {
20294 PyThreadState* __tstate = wxPyBeginAllowThreads();
20295 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
20296
20297 wxPyEndAllowThreads(__tstate);
20298 if (PyErr_Occurred()) SWIG_fail;
20299 }
20300 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 1);
20301 return resultobj;
20302 fail:
20303 return NULL;
20304 }
20305
20306
20307 static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20308 PyObject *resultobj;
20309 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20310 PyObject * obj0 = 0 ;
20311 char *kwnames[] = {
20312 (char *) "self", NULL
20313 };
20314
20315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
20316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20317 {
20318 PyThreadState* __tstate = wxPyBeginAllowThreads();
20319 delete arg1;
20320
20321 wxPyEndAllowThreads(__tstate);
20322 if (PyErr_Occurred()) SWIG_fail;
20323 }
20324 Py_INCREF(Py_None); resultobj = Py_None;
20325 return resultobj;
20326 fail:
20327 return NULL;
20328 }
20329
20330
20331 static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
20332 PyObject *resultobj;
20333 int arg1 ;
20334 wxDateSpan result;
20335 char *kwnames[] = {
20336 (char *) "days", NULL
20337 };
20338
20339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Days",kwnames,&arg1)) goto fail;
20340 {
20341 PyThreadState* __tstate = wxPyBeginAllowThreads();
20342 result = wxDateSpan::Days(arg1);
20343
20344 wxPyEndAllowThreads(__tstate);
20345 if (PyErr_Occurred()) SWIG_fail;
20346 }
20347 {
20348 wxDateSpan * resultptr;
20349 resultptr = new wxDateSpan((wxDateSpan &) result);
20350 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20351 }
20352 return resultobj;
20353 fail:
20354 return NULL;
20355 }
20356
20357
20358 static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
20359 PyObject *resultobj;
20360 wxDateSpan result;
20361 char *kwnames[] = {
20362 NULL
20363 };
20364
20365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
20366 {
20367 PyThreadState* __tstate = wxPyBeginAllowThreads();
20368 result = wxDateSpan::Day();
20369
20370 wxPyEndAllowThreads(__tstate);
20371 if (PyErr_Occurred()) SWIG_fail;
20372 }
20373 {
20374 wxDateSpan * resultptr;
20375 resultptr = new wxDateSpan((wxDateSpan &) result);
20376 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20377 }
20378 return resultobj;
20379 fail:
20380 return NULL;
20381 }
20382
20383
20384 static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20385 PyObject *resultobj;
20386 int arg1 ;
20387 wxDateSpan result;
20388 char *kwnames[] = {
20389 (char *) "weeks", NULL
20390 };
20391
20392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Weeks",kwnames,&arg1)) goto fail;
20393 {
20394 PyThreadState* __tstate = wxPyBeginAllowThreads();
20395 result = wxDateSpan::Weeks(arg1);
20396
20397 wxPyEndAllowThreads(__tstate);
20398 if (PyErr_Occurred()) SWIG_fail;
20399 }
20400 {
20401 wxDateSpan * resultptr;
20402 resultptr = new wxDateSpan((wxDateSpan &) result);
20403 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20404 }
20405 return resultobj;
20406 fail:
20407 return NULL;
20408 }
20409
20410
20411 static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
20412 PyObject *resultobj;
20413 wxDateSpan result;
20414 char *kwnames[] = {
20415 NULL
20416 };
20417
20418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
20419 {
20420 PyThreadState* __tstate = wxPyBeginAllowThreads();
20421 result = wxDateSpan::Week();
20422
20423 wxPyEndAllowThreads(__tstate);
20424 if (PyErr_Occurred()) SWIG_fail;
20425 }
20426 {
20427 wxDateSpan * resultptr;
20428 resultptr = new wxDateSpan((wxDateSpan &) result);
20429 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20430 }
20431 return resultobj;
20432 fail:
20433 return NULL;
20434 }
20435
20436
20437 static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
20438 PyObject *resultobj;
20439 int arg1 ;
20440 wxDateSpan result;
20441 char *kwnames[] = {
20442 (char *) "mon", NULL
20443 };
20444
20445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Months",kwnames,&arg1)) goto fail;
20446 {
20447 PyThreadState* __tstate = wxPyBeginAllowThreads();
20448 result = wxDateSpan::Months(arg1);
20449
20450 wxPyEndAllowThreads(__tstate);
20451 if (PyErr_Occurred()) SWIG_fail;
20452 }
20453 {
20454 wxDateSpan * resultptr;
20455 resultptr = new wxDateSpan((wxDateSpan &) result);
20456 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20457 }
20458 return resultobj;
20459 fail:
20460 return NULL;
20461 }
20462
20463
20464 static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
20465 PyObject *resultobj;
20466 wxDateSpan result;
20467 char *kwnames[] = {
20468 NULL
20469 };
20470
20471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
20472 {
20473 PyThreadState* __tstate = wxPyBeginAllowThreads();
20474 result = wxDateSpan::Month();
20475
20476 wxPyEndAllowThreads(__tstate);
20477 if (PyErr_Occurred()) SWIG_fail;
20478 }
20479 {
20480 wxDateSpan * resultptr;
20481 resultptr = new wxDateSpan((wxDateSpan &) result);
20482 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20483 }
20484 return resultobj;
20485 fail:
20486 return NULL;
20487 }
20488
20489
20490 static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
20491 PyObject *resultobj;
20492 int arg1 ;
20493 wxDateSpan result;
20494 char *kwnames[] = {
20495 (char *) "years", NULL
20496 };
20497
20498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Years",kwnames,&arg1)) goto fail;
20499 {
20500 PyThreadState* __tstate = wxPyBeginAllowThreads();
20501 result = wxDateSpan::Years(arg1);
20502
20503 wxPyEndAllowThreads(__tstate);
20504 if (PyErr_Occurred()) SWIG_fail;
20505 }
20506 {
20507 wxDateSpan * resultptr;
20508 resultptr = new wxDateSpan((wxDateSpan &) result);
20509 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20510 }
20511 return resultobj;
20512 fail:
20513 return NULL;
20514 }
20515
20516
20517 static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
20518 PyObject *resultobj;
20519 wxDateSpan result;
20520 char *kwnames[] = {
20521 NULL
20522 };
20523
20524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
20525 {
20526 PyThreadState* __tstate = wxPyBeginAllowThreads();
20527 result = wxDateSpan::Year();
20528
20529 wxPyEndAllowThreads(__tstate);
20530 if (PyErr_Occurred()) SWIG_fail;
20531 }
20532 {
20533 wxDateSpan * resultptr;
20534 resultptr = new wxDateSpan((wxDateSpan &) result);
20535 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20536 }
20537 return resultobj;
20538 fail:
20539 return NULL;
20540 }
20541
20542
20543 static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20544 PyObject *resultobj;
20545 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20546 int arg2 ;
20547 wxDateSpan *result;
20548 PyObject * obj0 = 0 ;
20549 char *kwnames[] = {
20550 (char *) "self",(char *) "n", NULL
20551 };
20552
20553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetYears",kwnames,&obj0,&arg2)) goto fail;
20554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20555 {
20556 PyThreadState* __tstate = wxPyBeginAllowThreads();
20557 {
20558 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
20559 result = (wxDateSpan *) &_result_ref;
20560 }
20561
20562 wxPyEndAllowThreads(__tstate);
20563 if (PyErr_Occurred()) SWIG_fail;
20564 }
20565 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20566 return resultobj;
20567 fail:
20568 return NULL;
20569 }
20570
20571
20572 static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20573 PyObject *resultobj;
20574 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20575 int arg2 ;
20576 wxDateSpan *result;
20577 PyObject * obj0 = 0 ;
20578 char *kwnames[] = {
20579 (char *) "self",(char *) "n", NULL
20580 };
20581
20582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetMonths",kwnames,&obj0,&arg2)) goto fail;
20583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20584 {
20585 PyThreadState* __tstate = wxPyBeginAllowThreads();
20586 {
20587 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
20588 result = (wxDateSpan *) &_result_ref;
20589 }
20590
20591 wxPyEndAllowThreads(__tstate);
20592 if (PyErr_Occurred()) SWIG_fail;
20593 }
20594 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20595 return resultobj;
20596 fail:
20597 return NULL;
20598 }
20599
20600
20601 static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20602 PyObject *resultobj;
20603 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20604 int arg2 ;
20605 wxDateSpan *result;
20606 PyObject * obj0 = 0 ;
20607 char *kwnames[] = {
20608 (char *) "self",(char *) "n", NULL
20609 };
20610
20611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetWeeks",kwnames,&obj0,&arg2)) goto fail;
20612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20613 {
20614 PyThreadState* __tstate = wxPyBeginAllowThreads();
20615 {
20616 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
20617 result = (wxDateSpan *) &_result_ref;
20618 }
20619
20620 wxPyEndAllowThreads(__tstate);
20621 if (PyErr_Occurred()) SWIG_fail;
20622 }
20623 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20624 return resultobj;
20625 fail:
20626 return NULL;
20627 }
20628
20629
20630 static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20631 PyObject *resultobj;
20632 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20633 int arg2 ;
20634 wxDateSpan *result;
20635 PyObject * obj0 = 0 ;
20636 char *kwnames[] = {
20637 (char *) "self",(char *) "n", NULL
20638 };
20639
20640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetDays",kwnames,&obj0,&arg2)) goto fail;
20641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20642 {
20643 PyThreadState* __tstate = wxPyBeginAllowThreads();
20644 {
20645 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
20646 result = (wxDateSpan *) &_result_ref;
20647 }
20648
20649 wxPyEndAllowThreads(__tstate);
20650 if (PyErr_Occurred()) SWIG_fail;
20651 }
20652 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20653 return resultobj;
20654 fail:
20655 return NULL;
20656 }
20657
20658
20659 static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20660 PyObject *resultobj;
20661 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20662 int result;
20663 PyObject * obj0 = 0 ;
20664 char *kwnames[] = {
20665 (char *) "self", NULL
20666 };
20667
20668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
20669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20670 {
20671 PyThreadState* __tstate = wxPyBeginAllowThreads();
20672 result = (int)((wxDateSpan const *)arg1)->GetYears();
20673
20674 wxPyEndAllowThreads(__tstate);
20675 if (PyErr_Occurred()) SWIG_fail;
20676 }
20677 resultobj = PyInt_FromLong((long)result);
20678 return resultobj;
20679 fail:
20680 return NULL;
20681 }
20682
20683
20684 static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20685 PyObject *resultobj;
20686 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20687 int result;
20688 PyObject * obj0 = 0 ;
20689 char *kwnames[] = {
20690 (char *) "self", NULL
20691 };
20692
20693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
20694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20695 {
20696 PyThreadState* __tstate = wxPyBeginAllowThreads();
20697 result = (int)((wxDateSpan const *)arg1)->GetMonths();
20698
20699 wxPyEndAllowThreads(__tstate);
20700 if (PyErr_Occurred()) SWIG_fail;
20701 }
20702 resultobj = PyInt_FromLong((long)result);
20703 return resultobj;
20704 fail:
20705 return NULL;
20706 }
20707
20708
20709 static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20710 PyObject *resultobj;
20711 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20712 int result;
20713 PyObject * obj0 = 0 ;
20714 char *kwnames[] = {
20715 (char *) "self", NULL
20716 };
20717
20718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
20719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20720 {
20721 PyThreadState* __tstate = wxPyBeginAllowThreads();
20722 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
20723
20724 wxPyEndAllowThreads(__tstate);
20725 if (PyErr_Occurred()) SWIG_fail;
20726 }
20727 resultobj = PyInt_FromLong((long)result);
20728 return resultobj;
20729 fail:
20730 return NULL;
20731 }
20732
20733
20734 static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20735 PyObject *resultobj;
20736 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20737 int result;
20738 PyObject * obj0 = 0 ;
20739 char *kwnames[] = {
20740 (char *) "self", NULL
20741 };
20742
20743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
20744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20745 {
20746 PyThreadState* __tstate = wxPyBeginAllowThreads();
20747 result = (int)((wxDateSpan const *)arg1)->GetDays();
20748
20749 wxPyEndAllowThreads(__tstate);
20750 if (PyErr_Occurred()) SWIG_fail;
20751 }
20752 resultobj = PyInt_FromLong((long)result);
20753 return resultobj;
20754 fail:
20755 return NULL;
20756 }
20757
20758
20759 static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20760 PyObject *resultobj;
20761 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20762 int result;
20763 PyObject * obj0 = 0 ;
20764 char *kwnames[] = {
20765 (char *) "self", NULL
20766 };
20767
20768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
20769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20770 {
20771 PyThreadState* __tstate = wxPyBeginAllowThreads();
20772 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
20773
20774 wxPyEndAllowThreads(__tstate);
20775 if (PyErr_Occurred()) SWIG_fail;
20776 }
20777 resultobj = PyInt_FromLong((long)result);
20778 return resultobj;
20779 fail:
20780 return NULL;
20781 }
20782
20783
20784 static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
20785 PyObject *resultobj;
20786 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20787 wxDateSpan *arg2 = 0 ;
20788 wxDateSpan *result;
20789 PyObject * obj0 = 0 ;
20790 PyObject * obj1 = 0 ;
20791 char *kwnames[] = {
20792 (char *) "self",(char *) "other", NULL
20793 };
20794
20795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
20796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20797 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20798 if (arg2 == NULL) {
20799 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20800 }
20801 {
20802 PyThreadState* __tstate = wxPyBeginAllowThreads();
20803 {
20804 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
20805 result = (wxDateSpan *) &_result_ref;
20806 }
20807
20808 wxPyEndAllowThreads(__tstate);
20809 if (PyErr_Occurred()) SWIG_fail;
20810 }
20811 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20812 return resultobj;
20813 fail:
20814 return NULL;
20815 }
20816
20817
20818 static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
20819 PyObject *resultobj;
20820 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20821 wxDateSpan *arg2 = 0 ;
20822 wxDateSpan *result;
20823 PyObject * obj0 = 0 ;
20824 PyObject * obj1 = 0 ;
20825 char *kwnames[] = {
20826 (char *) "self",(char *) "other", NULL
20827 };
20828
20829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
20830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20831 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20832 if (arg2 == NULL) {
20833 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20834 }
20835 {
20836 PyThreadState* __tstate = wxPyBeginAllowThreads();
20837 {
20838 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
20839 result = (wxDateSpan *) &_result_ref;
20840 }
20841
20842 wxPyEndAllowThreads(__tstate);
20843 if (PyErr_Occurred()) SWIG_fail;
20844 }
20845 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20846 return resultobj;
20847 fail:
20848 return NULL;
20849 }
20850
20851
20852 static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
20853 PyObject *resultobj;
20854 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20855 wxDateSpan *result;
20856 PyObject * obj0 = 0 ;
20857 char *kwnames[] = {
20858 (char *) "self", NULL
20859 };
20860
20861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
20862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20863 {
20864 PyThreadState* __tstate = wxPyBeginAllowThreads();
20865 {
20866 wxDateSpan &_result_ref = (arg1)->Neg();
20867 result = (wxDateSpan *) &_result_ref;
20868 }
20869
20870 wxPyEndAllowThreads(__tstate);
20871 if (PyErr_Occurred()) SWIG_fail;
20872 }
20873 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20874 return resultobj;
20875 fail:
20876 return NULL;
20877 }
20878
20879
20880 static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
20881 PyObject *resultobj;
20882 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20883 int arg2 ;
20884 wxDateSpan *result;
20885 PyObject * obj0 = 0 ;
20886 char *kwnames[] = {
20887 (char *) "self",(char *) "factor", NULL
20888 };
20889
20890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
20891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20892 {
20893 PyThreadState* __tstate = wxPyBeginAllowThreads();
20894 {
20895 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
20896 result = (wxDateSpan *) &_result_ref;
20897 }
20898
20899 wxPyEndAllowThreads(__tstate);
20900 if (PyErr_Occurred()) SWIG_fail;
20901 }
20902 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20903 return resultobj;
20904 fail:
20905 return NULL;
20906 }
20907
20908
20909 static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
20910 PyObject *resultobj;
20911 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20912 wxDateSpan *arg2 = 0 ;
20913 wxDateSpan *result;
20914 PyObject * obj0 = 0 ;
20915 PyObject * obj1 = 0 ;
20916 char *kwnames[] = {
20917 (char *) "self",(char *) "other", NULL
20918 };
20919
20920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
20921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20922 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20923 if (arg2 == NULL) {
20924 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20925 }
20926 {
20927 PyThreadState* __tstate = wxPyBeginAllowThreads();
20928 {
20929 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
20930 result = (wxDateSpan *) &_result_ref;
20931 }
20932
20933 wxPyEndAllowThreads(__tstate);
20934 if (PyErr_Occurred()) SWIG_fail;
20935 }
20936 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20937 return resultobj;
20938 fail:
20939 return NULL;
20940 }
20941
20942
20943 static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
20944 PyObject *resultobj;
20945 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20946 wxDateSpan *arg2 = 0 ;
20947 wxDateSpan *result;
20948 PyObject * obj0 = 0 ;
20949 PyObject * obj1 = 0 ;
20950 char *kwnames[] = {
20951 (char *) "self",(char *) "other", NULL
20952 };
20953
20954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
20955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20956 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20957 if (arg2 == NULL) {
20958 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20959 }
20960 {
20961 PyThreadState* __tstate = wxPyBeginAllowThreads();
20962 {
20963 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
20964 result = (wxDateSpan *) &_result_ref;
20965 }
20966
20967 wxPyEndAllowThreads(__tstate);
20968 if (PyErr_Occurred()) SWIG_fail;
20969 }
20970 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20971 return resultobj;
20972 fail:
20973 return NULL;
20974 }
20975
20976
20977 static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
20978 PyObject *resultobj;
20979 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20980 wxDateSpan *result;
20981 PyObject * obj0 = 0 ;
20982 char *kwnames[] = {
20983 (char *) "self", NULL
20984 };
20985
20986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) 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)->operator -();
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___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21006 PyObject *resultobj;
21007 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21008 int arg2 ;
21009 wxDateSpan *result;
21010 PyObject * obj0 = 0 ;
21011 char *kwnames[] = {
21012 (char *) "self",(char *) "factor", NULL
21013 };
21014
21015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
21016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21017 {
21018 PyThreadState* __tstate = wxPyBeginAllowThreads();
21019 {
21020 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
21021 result = (wxDateSpan *) &_result_ref;
21022 }
21023
21024 wxPyEndAllowThreads(__tstate);
21025 if (PyErr_Occurred()) SWIG_fail;
21026 }
21027 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21028 return resultobj;
21029 fail:
21030 return NULL;
21031 }
21032
21033
21034 static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21035 PyObject *resultobj;
21036 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21037 wxDateSpan *arg2 = 0 ;
21038 wxDateSpan result;
21039 PyObject * obj0 = 0 ;
21040 PyObject * obj1 = 0 ;
21041 char *kwnames[] = {
21042 (char *) "self",(char *) "other", NULL
21043 };
21044
21045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21047 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21048 if (arg2 == NULL) {
21049 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21050 }
21051 {
21052 PyThreadState* __tstate = wxPyBeginAllowThreads();
21053 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
21054
21055 wxPyEndAllowThreads(__tstate);
21056 if (PyErr_Occurred()) SWIG_fail;
21057 }
21058 {
21059 wxDateSpan * resultptr;
21060 resultptr = new wxDateSpan((wxDateSpan &) result);
21061 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21062 }
21063 return resultobj;
21064 fail:
21065 return NULL;
21066 }
21067
21068
21069 static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21070 PyObject *resultobj;
21071 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21072 wxDateSpan *arg2 = 0 ;
21073 wxDateSpan result;
21074 PyObject * obj0 = 0 ;
21075 PyObject * obj1 = 0 ;
21076 char *kwnames[] = {
21077 (char *) "self",(char *) "other", NULL
21078 };
21079
21080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21082 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21083 if (arg2 == NULL) {
21084 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21085 }
21086 {
21087 PyThreadState* __tstate = wxPyBeginAllowThreads();
21088 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
21089
21090 wxPyEndAllowThreads(__tstate);
21091 if (PyErr_Occurred()) SWIG_fail;
21092 }
21093 {
21094 wxDateSpan * resultptr;
21095 resultptr = new wxDateSpan((wxDateSpan &) result);
21096 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21097 }
21098 return resultobj;
21099 fail:
21100 return NULL;
21101 }
21102
21103
21104 static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21105 PyObject *resultobj;
21106 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21107 int arg2 ;
21108 wxDateSpan result;
21109 PyObject * obj0 = 0 ;
21110 char *kwnames[] = {
21111 (char *) "self",(char *) "n", NULL
21112 };
21113
21114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
21115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21116 {
21117 PyThreadState* __tstate = wxPyBeginAllowThreads();
21118 result = wxDateSpan___mul__(arg1,arg2);
21119
21120 wxPyEndAllowThreads(__tstate);
21121 if (PyErr_Occurred()) SWIG_fail;
21122 }
21123 {
21124 wxDateSpan * resultptr;
21125 resultptr = new wxDateSpan((wxDateSpan &) result);
21126 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21127 }
21128 return resultobj;
21129 fail:
21130 return NULL;
21131 }
21132
21133
21134 static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21135 PyObject *resultobj;
21136 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21137 int arg2 ;
21138 wxDateSpan result;
21139 PyObject * obj0 = 0 ;
21140 char *kwnames[] = {
21141 (char *) "self",(char *) "n", NULL
21142 };
21143
21144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
21145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21146 {
21147 PyThreadState* __tstate = wxPyBeginAllowThreads();
21148 result = wxDateSpan___rmul__(arg1,arg2);
21149
21150 wxPyEndAllowThreads(__tstate);
21151 if (PyErr_Occurred()) SWIG_fail;
21152 }
21153 {
21154 wxDateSpan * resultptr;
21155 resultptr = new wxDateSpan((wxDateSpan &) result);
21156 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21157 }
21158 return resultobj;
21159 fail:
21160 return NULL;
21161 }
21162
21163
21164 static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
21165 PyObject *resultobj;
21166 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21167 wxDateSpan *arg2 = 0 ;
21168 bool result;
21169 PyObject * obj0 = 0 ;
21170 PyObject * obj1 = 0 ;
21171 char *kwnames[] = {
21172 (char *) "self",(char *) "other", NULL
21173 };
21174
21175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
21176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21177 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21178 if (arg2 == NULL) {
21179 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21180 }
21181 {
21182 PyThreadState* __tstate = wxPyBeginAllowThreads();
21183 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const &)*arg2);
21184
21185 wxPyEndAllowThreads(__tstate);
21186 if (PyErr_Occurred()) SWIG_fail;
21187 }
21188 resultobj = PyInt_FromLong((long)result);
21189 return resultobj;
21190 fail:
21191 return NULL;
21192 }
21193
21194
21195 static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
21196 PyObject *resultobj;
21197 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21198 wxDateSpan *arg2 = 0 ;
21199 bool result;
21200 PyObject * obj0 = 0 ;
21201 PyObject * obj1 = 0 ;
21202 char *kwnames[] = {
21203 (char *) "self",(char *) "other", NULL
21204 };
21205
21206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
21207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21208 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21209 if (arg2 == NULL) {
21210 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21211 }
21212 {
21213 PyThreadState* __tstate = wxPyBeginAllowThreads();
21214 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const &)*arg2);
21215
21216 wxPyEndAllowThreads(__tstate);
21217 if (PyErr_Occurred()) SWIG_fail;
21218 }
21219 resultobj = PyInt_FromLong((long)result);
21220 return resultobj;
21221 fail:
21222 return NULL;
21223 }
21224
21225
21226 static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
21227 PyObject *obj;
21228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21229 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
21230 Py_INCREF(obj);
21231 return Py_BuildValue((char *)"");
21232 }
21233 static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21234 PyObject *resultobj;
21235 long result;
21236 char *kwnames[] = {
21237 NULL
21238 };
21239
21240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
21241 {
21242 PyThreadState* __tstate = wxPyBeginAllowThreads();
21243 result = (long)wxGetLocalTime();
21244
21245 wxPyEndAllowThreads(__tstate);
21246 if (PyErr_Occurred()) SWIG_fail;
21247 }
21248 resultobj = PyInt_FromLong((long)result);
21249 return resultobj;
21250 fail:
21251 return NULL;
21252 }
21253
21254
21255 static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21256 PyObject *resultobj;
21257 long result;
21258 char *kwnames[] = {
21259 NULL
21260 };
21261
21262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
21263 {
21264 PyThreadState* __tstate = wxPyBeginAllowThreads();
21265 result = (long)wxGetUTCTime();
21266
21267 wxPyEndAllowThreads(__tstate);
21268 if (PyErr_Occurred()) SWIG_fail;
21269 }
21270 resultobj = PyInt_FromLong((long)result);
21271 return resultobj;
21272 fail:
21273 return NULL;
21274 }
21275
21276
21277 static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21278 PyObject *resultobj;
21279 long result;
21280 char *kwnames[] = {
21281 NULL
21282 };
21283
21284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
21285 {
21286 PyThreadState* __tstate = wxPyBeginAllowThreads();
21287 result = (long)wxGetCurrentTime();
21288
21289 wxPyEndAllowThreads(__tstate);
21290 if (PyErr_Occurred()) SWIG_fail;
21291 }
21292 resultobj = PyInt_FromLong((long)result);
21293 return resultobj;
21294 fail:
21295 return NULL;
21296 }
21297
21298
21299 static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
21300 PyObject *resultobj;
21301 wxLongLong result;
21302 char *kwnames[] = {
21303 NULL
21304 };
21305
21306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
21307 {
21308 PyThreadState* __tstate = wxPyBeginAllowThreads();
21309 result = wxGetLocalTimeMillis();
21310
21311 wxPyEndAllowThreads(__tstate);
21312 if (PyErr_Occurred()) SWIG_fail;
21313 }
21314 {
21315 PyObject *hi, *lo, *shifter, *shifted;
21316 hi = PyLong_FromLong( (&result)->GetHi() );
21317 lo = PyLong_FromLong( (&result)->GetLo() );
21318 shifter = PyLong_FromLong(32);
21319 shifted = PyNumber_Lshift(hi, shifter);
21320 resultobj = PyNumber_Or(shifted, lo);
21321 Py_DECREF(hi);
21322 Py_DECREF(lo);
21323 Py_DECREF(shifter);
21324 Py_DECREF(shifted);
21325 }
21326 return resultobj;
21327 fail:
21328 return NULL;
21329 }
21330
21331
21332 static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21333 PyObject *resultobj;
21334 int arg1 ;
21335 wxDataFormat *result;
21336 char *kwnames[] = {
21337 (char *) "type", NULL
21338 };
21339
21340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:new_DataFormat",kwnames,&arg1)) goto fail;
21341 {
21342 PyThreadState* __tstate = wxPyBeginAllowThreads();
21343 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
21344
21345 wxPyEndAllowThreads(__tstate);
21346 if (PyErr_Occurred()) SWIG_fail;
21347 }
21348 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21349 return resultobj;
21350 fail:
21351 return NULL;
21352 }
21353
21354
21355 static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21356 PyObject *resultobj;
21357 wxString *arg1 = 0 ;
21358 wxDataFormat *result;
21359 bool temp1 = False ;
21360 PyObject * obj0 = 0 ;
21361 char *kwnames[] = {
21362 (char *) "format", NULL
21363 };
21364
21365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
21366 {
21367 arg1 = wxString_in_helper(obj0);
21368 if (arg1 == NULL) SWIG_fail;
21369 temp1 = True;
21370 }
21371 {
21372 PyThreadState* __tstate = wxPyBeginAllowThreads();
21373 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
21374
21375 wxPyEndAllowThreads(__tstate);
21376 if (PyErr_Occurred()) SWIG_fail;
21377 }
21378 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21379 {
21380 if (temp1)
21381 delete arg1;
21382 }
21383 return resultobj;
21384 fail:
21385 {
21386 if (temp1)
21387 delete arg1;
21388 }
21389 return NULL;
21390 }
21391
21392
21393 static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21394 PyObject *resultobj;
21395 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21396 PyObject * obj0 = 0 ;
21397 char *kwnames[] = {
21398 (char *) "self", NULL
21399 };
21400
21401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
21402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21403 {
21404 PyThreadState* __tstate = wxPyBeginAllowThreads();
21405 delete arg1;
21406
21407 wxPyEndAllowThreads(__tstate);
21408 if (PyErr_Occurred()) SWIG_fail;
21409 }
21410 Py_INCREF(Py_None); resultobj = Py_None;
21411 return resultobj;
21412 fail:
21413 return NULL;
21414 }
21415
21416
21417 static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
21418 PyObject *resultobj;
21419 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21420 int arg2 ;
21421 bool result;
21422 PyObject * obj0 = 0 ;
21423
21424 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___eq__",&obj0,&arg2)) goto fail;
21425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21426 {
21427 PyThreadState* __tstate = wxPyBeginAllowThreads();
21428 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
21429
21430 wxPyEndAllowThreads(__tstate);
21431 if (PyErr_Occurred()) SWIG_fail;
21432 }
21433 resultobj = PyInt_FromLong((long)result);
21434 return resultobj;
21435 fail:
21436 return NULL;
21437 }
21438
21439
21440 static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
21441 PyObject *resultobj;
21442 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21443 int arg2 ;
21444 bool result;
21445 PyObject * obj0 = 0 ;
21446
21447 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___ne__",&obj0,&arg2)) goto fail;
21448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21449 {
21450 PyThreadState* __tstate = wxPyBeginAllowThreads();
21451 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
21452
21453 wxPyEndAllowThreads(__tstate);
21454 if (PyErr_Occurred()) SWIG_fail;
21455 }
21456 resultobj = PyInt_FromLong((long)result);
21457 return resultobj;
21458 fail:
21459 return NULL;
21460 }
21461
21462
21463 static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
21464 PyObject *resultobj;
21465 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21466 wxDataFormat *arg2 = 0 ;
21467 bool result;
21468 PyObject * obj0 = 0 ;
21469 PyObject * obj1 = 0 ;
21470
21471 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
21472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21473 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21474 if (arg2 == NULL) {
21475 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21476 }
21477 {
21478 PyThreadState* __tstate = wxPyBeginAllowThreads();
21479 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
21480
21481 wxPyEndAllowThreads(__tstate);
21482 if (PyErr_Occurred()) SWIG_fail;
21483 }
21484 resultobj = PyInt_FromLong((long)result);
21485 return resultobj;
21486 fail:
21487 return NULL;
21488 }
21489
21490
21491 static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
21492 int argc;
21493 PyObject *argv[3];
21494 int ii;
21495
21496 argc = PyObject_Length(args);
21497 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21498 argv[ii] = PyTuple_GetItem(args,ii);
21499 }
21500 if (argc == 2) {
21501 int _v;
21502 {
21503 void *ptr;
21504 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21505 _v = 0;
21506 PyErr_Clear();
21507 } else {
21508 _v = 1;
21509 }
21510 }
21511 if (_v) {
21512 {
21513 void *ptr;
21514 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21515 _v = 0;
21516 PyErr_Clear();
21517 } else {
21518 _v = 1;
21519 }
21520 }
21521 if (_v) {
21522 return _wrap_DataFormat___eq____SWIG_1(self,args);
21523 }
21524 }
21525 }
21526 if (argc == 2) {
21527 int _v;
21528 {
21529 void *ptr;
21530 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21531 _v = 0;
21532 PyErr_Clear();
21533 } else {
21534 _v = 1;
21535 }
21536 }
21537 if (_v) {
21538 {
21539 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21540 }
21541 if (_v) {
21542 return _wrap_DataFormat___eq____SWIG_0(self,args);
21543 }
21544 }
21545 }
21546
21547 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
21548 return NULL;
21549 }
21550
21551
21552 static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
21553 PyObject *resultobj;
21554 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21555 wxDataFormat *arg2 = 0 ;
21556 bool result;
21557 PyObject * obj0 = 0 ;
21558 PyObject * obj1 = 0 ;
21559
21560 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
21561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21562 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21563 if (arg2 == NULL) {
21564 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21565 }
21566 {
21567 PyThreadState* __tstate = wxPyBeginAllowThreads();
21568 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
21569
21570 wxPyEndAllowThreads(__tstate);
21571 if (PyErr_Occurred()) SWIG_fail;
21572 }
21573 resultobj = PyInt_FromLong((long)result);
21574 return resultobj;
21575 fail:
21576 return NULL;
21577 }
21578
21579
21580 static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
21581 int argc;
21582 PyObject *argv[3];
21583 int ii;
21584
21585 argc = PyObject_Length(args);
21586 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21587 argv[ii] = PyTuple_GetItem(args,ii);
21588 }
21589 if (argc == 2) {
21590 int _v;
21591 {
21592 void *ptr;
21593 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21594 _v = 0;
21595 PyErr_Clear();
21596 } else {
21597 _v = 1;
21598 }
21599 }
21600 if (_v) {
21601 {
21602 void *ptr;
21603 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21604 _v = 0;
21605 PyErr_Clear();
21606 } else {
21607 _v = 1;
21608 }
21609 }
21610 if (_v) {
21611 return _wrap_DataFormat___ne____SWIG_1(self,args);
21612 }
21613 }
21614 }
21615 if (argc == 2) {
21616 int _v;
21617 {
21618 void *ptr;
21619 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21620 _v = 0;
21621 PyErr_Clear();
21622 } else {
21623 _v = 1;
21624 }
21625 }
21626 if (_v) {
21627 {
21628 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21629 }
21630 if (_v) {
21631 return _wrap_DataFormat___ne____SWIG_0(self,args);
21632 }
21633 }
21634 }
21635
21636 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
21637 return NULL;
21638 }
21639
21640
21641 static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21642 PyObject *resultobj;
21643 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21644 int arg2 ;
21645 PyObject * obj0 = 0 ;
21646 char *kwnames[] = {
21647 (char *) "self",(char *) "format", NULL
21648 };
21649
21650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DataFormat_SetType",kwnames,&obj0,&arg2)) goto fail;
21651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21652 {
21653 PyThreadState* __tstate = wxPyBeginAllowThreads();
21654 (arg1)->SetType((wxDataFormatId )arg2);
21655
21656 wxPyEndAllowThreads(__tstate);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
21659 Py_INCREF(Py_None); resultobj = Py_None;
21660 return resultobj;
21661 fail:
21662 return NULL;
21663 }
21664
21665
21666 static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21667 PyObject *resultobj;
21668 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21669 int result;
21670 PyObject * obj0 = 0 ;
21671 char *kwnames[] = {
21672 (char *) "self", NULL
21673 };
21674
21675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
21676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21677 {
21678 PyThreadState* __tstate = wxPyBeginAllowThreads();
21679 result = (int)((wxDataFormat const *)arg1)->GetType();
21680
21681 wxPyEndAllowThreads(__tstate);
21682 if (PyErr_Occurred()) SWIG_fail;
21683 }
21684 resultobj = PyInt_FromLong((long)result);
21685 return resultobj;
21686 fail:
21687 return NULL;
21688 }
21689
21690
21691 static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21692 PyObject *resultobj;
21693 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21694 wxString result;
21695 PyObject * obj0 = 0 ;
21696 char *kwnames[] = {
21697 (char *) "self", NULL
21698 };
21699
21700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
21701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21702 {
21703 PyThreadState* __tstate = wxPyBeginAllowThreads();
21704 result = ((wxDataFormat const *)arg1)->GetId();
21705
21706 wxPyEndAllowThreads(__tstate);
21707 if (PyErr_Occurred()) SWIG_fail;
21708 }
21709 {
21710 #if wxUSE_UNICODE
21711 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21712 #else
21713 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21714 #endif
21715 }
21716 return resultobj;
21717 fail:
21718 return NULL;
21719 }
21720
21721
21722 static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21723 PyObject *resultobj;
21724 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21725 wxString *arg2 = 0 ;
21726 bool temp2 = False ;
21727 PyObject * obj0 = 0 ;
21728 PyObject * obj1 = 0 ;
21729 char *kwnames[] = {
21730 (char *) "self",(char *) "format", NULL
21731 };
21732
21733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
21734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21735 {
21736 arg2 = wxString_in_helper(obj1);
21737 if (arg2 == NULL) SWIG_fail;
21738 temp2 = True;
21739 }
21740 {
21741 PyThreadState* __tstate = wxPyBeginAllowThreads();
21742 (arg1)->SetId((wxString const &)*arg2);
21743
21744 wxPyEndAllowThreads(__tstate);
21745 if (PyErr_Occurred()) SWIG_fail;
21746 }
21747 Py_INCREF(Py_None); resultobj = Py_None;
21748 {
21749 if (temp2)
21750 delete arg2;
21751 }
21752 return resultobj;
21753 fail:
21754 {
21755 if (temp2)
21756 delete arg2;
21757 }
21758 return NULL;
21759 }
21760
21761
21762 static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
21763 PyObject *obj;
21764 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21765 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
21766 Py_INCREF(obj);
21767 return Py_BuildValue((char *)"");
21768 }
21769 static int _wrap_FormatInvalid_set(PyObject *_val) {
21770 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
21771 return 1;
21772 }
21773
21774
21775 static PyObject *_wrap_FormatInvalid_get() {
21776 PyObject *pyobj;
21777
21778 pyobj = SWIG_NewPointerObj((void *) &wxFormatInvalid, SWIGTYPE_p_wxDataFormat, 0);
21779 return pyobj;
21780 }
21781
21782
21783 static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
21784 PyObject *resultobj;
21785 wxDataObject *arg1 = (wxDataObject *) 0 ;
21786 PyObject * obj0 = 0 ;
21787 char *kwnames[] = {
21788 (char *) "self", NULL
21789 };
21790
21791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
21792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21793 {
21794 PyThreadState* __tstate = wxPyBeginAllowThreads();
21795 delete arg1;
21796
21797 wxPyEndAllowThreads(__tstate);
21798 if (PyErr_Occurred()) SWIG_fail;
21799 }
21800 Py_INCREF(Py_None); resultobj = Py_None;
21801 return resultobj;
21802 fail:
21803 return NULL;
21804 }
21805
21806
21807 static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21808 PyObject *resultobj;
21809 wxDataObject *arg1 = (wxDataObject *) 0 ;
21810 int arg2 = (int) wxDataObject::Get ;
21811 SwigValueWrapper< wxDataFormat > result;
21812 PyObject * obj0 = 0 ;
21813 char *kwnames[] = {
21814 (char *) "self",(char *) "dir", NULL
21815 };
21816
21817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetPreferredFormat",kwnames,&obj0,&arg2)) goto fail;
21818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21819 {
21820 PyThreadState* __tstate = wxPyBeginAllowThreads();
21821 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
21822
21823 wxPyEndAllowThreads(__tstate);
21824 if (PyErr_Occurred()) SWIG_fail;
21825 }
21826 {
21827 wxDataFormat * resultptr;
21828 resultptr = new wxDataFormat((wxDataFormat &) result);
21829 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDataFormat, 1);
21830 }
21831 return resultobj;
21832 fail:
21833 return NULL;
21834 }
21835
21836
21837 static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21838 PyObject *resultobj;
21839 wxDataObject *arg1 = (wxDataObject *) 0 ;
21840 int arg2 = (int) wxDataObject::Get ;
21841 size_t result;
21842 PyObject * obj0 = 0 ;
21843 char *kwnames[] = {
21844 (char *) "self",(char *) "dir", NULL
21845 };
21846
21847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetFormatCount",kwnames,&obj0,&arg2)) goto fail;
21848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21849 {
21850 PyThreadState* __tstate = wxPyBeginAllowThreads();
21851 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
21852
21853 wxPyEndAllowThreads(__tstate);
21854 if (PyErr_Occurred()) SWIG_fail;
21855 }
21856 resultobj = PyInt_FromLong((long)result);
21857 return resultobj;
21858 fail:
21859 return NULL;
21860 }
21861
21862
21863 static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
21864 PyObject *resultobj;
21865 wxDataObject *arg1 = (wxDataObject *) 0 ;
21866 wxDataFormat *arg2 = 0 ;
21867 int arg3 = (int) wxDataObject::Get ;
21868 bool result;
21869 PyObject * obj0 = 0 ;
21870 PyObject * obj1 = 0 ;
21871 char *kwnames[] = {
21872 (char *) "self",(char *) "format",(char *) "dir", NULL
21873 };
21874
21875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_IsSupported",kwnames,&obj0,&obj1,&arg3)) goto fail;
21876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21877 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21878 if (arg2 == NULL) {
21879 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21880 }
21881 {
21882 PyThreadState* __tstate = wxPyBeginAllowThreads();
21883 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
21884
21885 wxPyEndAllowThreads(__tstate);
21886 if (PyErr_Occurred()) SWIG_fail;
21887 }
21888 resultobj = PyInt_FromLong((long)result);
21889 return resultobj;
21890 fail:
21891 return NULL;
21892 }
21893
21894
21895 static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21896 PyObject *resultobj;
21897 wxDataObject *arg1 = (wxDataObject *) 0 ;
21898 wxDataFormat *arg2 = 0 ;
21899 size_t result;
21900 PyObject * obj0 = 0 ;
21901 PyObject * obj1 = 0 ;
21902 char *kwnames[] = {
21903 (char *) "self",(char *) "format", NULL
21904 };
21905
21906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
21907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21908 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21909 if (arg2 == NULL) {
21910 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21911 }
21912 {
21913 PyThreadState* __tstate = wxPyBeginAllowThreads();
21914 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
21915
21916 wxPyEndAllowThreads(__tstate);
21917 if (PyErr_Occurred()) SWIG_fail;
21918 }
21919 resultobj = PyInt_FromLong((long)result);
21920 return resultobj;
21921 fail:
21922 return NULL;
21923 }
21924
21925
21926 static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
21927 PyObject *resultobj;
21928 wxDataObject *arg1 = (wxDataObject *) 0 ;
21929 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
21930 int arg3 = (int) wxDataObject::Get ;
21931 PyObject * obj0 = 0 ;
21932 PyObject * obj1 = 0 ;
21933 char *kwnames[] = {
21934 (char *) "self",(char *) "formats",(char *) "dir", NULL
21935 };
21936
21937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&arg3)) goto fail;
21938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21939 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21940 {
21941 PyThreadState* __tstate = wxPyBeginAllowThreads();
21942 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
21943
21944 wxPyEndAllowThreads(__tstate);
21945 if (PyErr_Occurred()) SWIG_fail;
21946 }
21947 Py_INCREF(Py_None); resultobj = Py_None;
21948 return resultobj;
21949 fail:
21950 return NULL;
21951 }
21952
21953
21954 static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
21955 PyObject *resultobj;
21956 wxDataObject *arg1 = (wxDataObject *) 0 ;
21957 wxDataFormat *arg2 = 0 ;
21958 void *arg3 = (void *) 0 ;
21959 bool result;
21960 PyObject * obj0 = 0 ;
21961 PyObject * obj1 = 0 ;
21962 PyObject * obj2 = 0 ;
21963 char *kwnames[] = {
21964 (char *) "self",(char *) "format",(char *) "buf", NULL
21965 };
21966
21967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
21968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21969 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21970 if (arg2 == NULL) {
21971 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21972 }
21973 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21974 {
21975 PyThreadState* __tstate = wxPyBeginAllowThreads();
21976 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
21977
21978 wxPyEndAllowThreads(__tstate);
21979 if (PyErr_Occurred()) SWIG_fail;
21980 }
21981 resultobj = PyInt_FromLong((long)result);
21982 return resultobj;
21983 fail:
21984 return NULL;
21985 }
21986
21987
21988 static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
21989 PyObject *resultobj;
21990 wxDataObject *arg1 = (wxDataObject *) 0 ;
21991 wxDataFormat *arg2 = 0 ;
21992 size_t arg3 ;
21993 void *arg4 = (void *) 0 ;
21994 bool result;
21995 PyObject * obj0 = 0 ;
21996 PyObject * obj1 = 0 ;
21997 PyObject * obj2 = 0 ;
21998 PyObject * obj3 = 0 ;
21999 char *kwnames[] = {
22000 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
22001 };
22002
22003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22006 if (arg2 == NULL) {
22007 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22008 }
22009 arg3 = (size_t) PyInt_AsLong(obj2);
22010 if (PyErr_Occurred()) SWIG_fail;
22011 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22012 {
22013 PyThreadState* __tstate = wxPyBeginAllowThreads();
22014 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
22015
22016 wxPyEndAllowThreads(__tstate);
22017 if (PyErr_Occurred()) SWIG_fail;
22018 }
22019 resultobj = PyInt_FromLong((long)result);
22020 return resultobj;
22021 fail:
22022 return NULL;
22023 }
22024
22025
22026 static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
22027 PyObject *obj;
22028 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22029 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
22030 Py_INCREF(obj);
22031 return Py_BuildValue((char *)"");
22032 }
22033 static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22034 PyObject *resultobj;
22035 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22036 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22037 wxDataObjectSimple *result;
22038 PyObject * obj0 = 0 ;
22039 char *kwnames[] = {
22040 (char *) "format", NULL
22041 };
22042
22043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
22044 if (obj0) {
22045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22046 if (arg1 == NULL) {
22047 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22048 }
22049 }
22050 {
22051 PyThreadState* __tstate = wxPyBeginAllowThreads();
22052 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
22053
22054 wxPyEndAllowThreads(__tstate);
22055 if (PyErr_Occurred()) SWIG_fail;
22056 }
22057 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectSimple, 1);
22058 return resultobj;
22059 fail:
22060 return NULL;
22061 }
22062
22063
22064 static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22065 PyObject *resultobj;
22066 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22067 wxDataFormat *result;
22068 PyObject * obj0 = 0 ;
22069 char *kwnames[] = {
22070 (char *) "self", NULL
22071 };
22072
22073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
22074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22075 {
22076 PyThreadState* __tstate = wxPyBeginAllowThreads();
22077 {
22078 wxDataFormat const &_result_ref = (arg1)->GetFormat();
22079 result = (wxDataFormat *) &_result_ref;
22080 }
22081
22082 wxPyEndAllowThreads(__tstate);
22083 if (PyErr_Occurred()) SWIG_fail;
22084 }
22085 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 0);
22086 return resultobj;
22087 fail:
22088 return NULL;
22089 }
22090
22091
22092 static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22093 PyObject *resultobj;
22094 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22095 wxDataFormat *arg2 = 0 ;
22096 PyObject * obj0 = 0 ;
22097 PyObject * obj1 = 0 ;
22098 char *kwnames[] = {
22099 (char *) "self",(char *) "format", NULL
22100 };
22101
22102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
22103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22104 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22105 if (arg2 == NULL) {
22106 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22107 }
22108 {
22109 PyThreadState* __tstate = wxPyBeginAllowThreads();
22110 (arg1)->SetFormat((wxDataFormat const &)*arg2);
22111
22112 wxPyEndAllowThreads(__tstate);
22113 if (PyErr_Occurred()) SWIG_fail;
22114 }
22115 Py_INCREF(Py_None); resultobj = Py_None;
22116 return resultobj;
22117 fail:
22118 return NULL;
22119 }
22120
22121
22122 static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22123 PyObject *obj;
22124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22125 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
22126 Py_INCREF(obj);
22127 return Py_BuildValue((char *)"");
22128 }
22129 static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22130 PyObject *resultobj;
22131 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22132 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22133 wxPyDataObjectSimple *result;
22134 PyObject * obj0 = 0 ;
22135 char *kwnames[] = {
22136 (char *) "format", NULL
22137 };
22138
22139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",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 = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
22149
22150 wxPyEndAllowThreads(__tstate);
22151 if (PyErr_Occurred()) SWIG_fail;
22152 }
22153 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDataObjectSimple, 1);
22154 return resultobj;
22155 fail:
22156 return NULL;
22157 }
22158
22159
22160 static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22161 PyObject *resultobj;
22162 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
22163 PyObject *arg2 = (PyObject *) 0 ;
22164 PyObject *arg3 = (PyObject *) 0 ;
22165 PyObject * obj0 = 0 ;
22166 PyObject * obj1 = 0 ;
22167 PyObject * obj2 = 0 ;
22168 char *kwnames[] = {
22169 (char *) "self",(char *) "self",(char *) "_class", NULL
22170 };
22171
22172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22174 arg2 = obj1;
22175 arg3 = obj2;
22176 {
22177 PyThreadState* __tstate = wxPyBeginAllowThreads();
22178 (arg1)->_setCallbackInfo(arg2,arg3);
22179
22180 wxPyEndAllowThreads(__tstate);
22181 if (PyErr_Occurred()) SWIG_fail;
22182 }
22183 Py_INCREF(Py_None); resultobj = Py_None;
22184 return resultobj;
22185 fail:
22186 return NULL;
22187 }
22188
22189
22190 static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22191 PyObject *obj;
22192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22193 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
22194 Py_INCREF(obj);
22195 return Py_BuildValue((char *)"");
22196 }
22197 static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
22198 PyObject *resultobj;
22199 wxDataObjectComposite *result;
22200 char *kwnames[] = {
22201 NULL
22202 };
22203
22204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
22205 {
22206 PyThreadState* __tstate = wxPyBeginAllowThreads();
22207 result = (wxDataObjectComposite *)new wxDataObjectComposite();
22208
22209 wxPyEndAllowThreads(__tstate);
22210 if (PyErr_Occurred()) SWIG_fail;
22211 }
22212 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectComposite, 1);
22213 return resultobj;
22214 fail:
22215 return NULL;
22216 }
22217
22218
22219 static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
22220 PyObject *resultobj;
22221 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
22222 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
22223 int arg3 = (int) False ;
22224 PyObject * obj0 = 0 ;
22225 PyObject * obj1 = 0 ;
22226 char *kwnames[] = {
22227 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22228 };
22229
22230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObjectComposite_Add",kwnames,&obj0,&obj1,&arg3)) goto fail;
22231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectComposite,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22232 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22233 {
22234 PyThreadState* __tstate = wxPyBeginAllowThreads();
22235 (arg1)->Add(arg2,arg3);
22236
22237 wxPyEndAllowThreads(__tstate);
22238 if (PyErr_Occurred()) SWIG_fail;
22239 }
22240 Py_INCREF(Py_None); resultobj = Py_None;
22241 return resultobj;
22242 fail:
22243 return NULL;
22244 }
22245
22246
22247 static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
22248 PyObject *obj;
22249 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22250 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
22251 Py_INCREF(obj);
22252 return Py_BuildValue((char *)"");
22253 }
22254 static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22255 PyObject *resultobj;
22256 wxString const &arg1_defvalue = wxPyEmptyString ;
22257 wxString *arg1 = (wxString *) &arg1_defvalue ;
22258 wxTextDataObject *result;
22259 bool temp1 = False ;
22260 PyObject * obj0 = 0 ;
22261 char *kwnames[] = {
22262 (char *) "text", NULL
22263 };
22264
22265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
22266 if (obj0) {
22267 {
22268 arg1 = wxString_in_helper(obj0);
22269 if (arg1 == NULL) SWIG_fail;
22270 temp1 = True;
22271 }
22272 }
22273 {
22274 PyThreadState* __tstate = wxPyBeginAllowThreads();
22275 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
22276
22277 wxPyEndAllowThreads(__tstate);
22278 if (PyErr_Occurred()) SWIG_fail;
22279 }
22280 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextDataObject, 1);
22281 {
22282 if (temp1)
22283 delete arg1;
22284 }
22285 return resultobj;
22286 fail:
22287 {
22288 if (temp1)
22289 delete arg1;
22290 }
22291 return NULL;
22292 }
22293
22294
22295 static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
22296 PyObject *resultobj;
22297 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22298 size_t result;
22299 PyObject * obj0 = 0 ;
22300 char *kwnames[] = {
22301 (char *) "self", NULL
22302 };
22303
22304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
22305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22306 {
22307 PyThreadState* __tstate = wxPyBeginAllowThreads();
22308 result = (size_t)(arg1)->GetTextLength();
22309
22310 wxPyEndAllowThreads(__tstate);
22311 if (PyErr_Occurred()) SWIG_fail;
22312 }
22313 resultobj = PyInt_FromLong((long)result);
22314 return resultobj;
22315 fail:
22316 return NULL;
22317 }
22318
22319
22320 static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22321 PyObject *resultobj;
22322 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22323 wxString result;
22324 PyObject * obj0 = 0 ;
22325 char *kwnames[] = {
22326 (char *) "self", NULL
22327 };
22328
22329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
22330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22331 {
22332 PyThreadState* __tstate = wxPyBeginAllowThreads();
22333 result = (arg1)->GetText();
22334
22335 wxPyEndAllowThreads(__tstate);
22336 if (PyErr_Occurred()) SWIG_fail;
22337 }
22338 {
22339 #if wxUSE_UNICODE
22340 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22341 #else
22342 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22343 #endif
22344 }
22345 return resultobj;
22346 fail:
22347 return NULL;
22348 }
22349
22350
22351 static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22352 PyObject *resultobj;
22353 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22354 wxString *arg2 = 0 ;
22355 bool temp2 = False ;
22356 PyObject * obj0 = 0 ;
22357 PyObject * obj1 = 0 ;
22358 char *kwnames[] = {
22359 (char *) "self",(char *) "text", NULL
22360 };
22361
22362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
22363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22364 {
22365 arg2 = wxString_in_helper(obj1);
22366 if (arg2 == NULL) SWIG_fail;
22367 temp2 = True;
22368 }
22369 {
22370 PyThreadState* __tstate = wxPyBeginAllowThreads();
22371 (arg1)->SetText((wxString const &)*arg2);
22372
22373 wxPyEndAllowThreads(__tstate);
22374 if (PyErr_Occurred()) SWIG_fail;
22375 }
22376 Py_INCREF(Py_None); resultobj = Py_None;
22377 {
22378 if (temp2)
22379 delete arg2;
22380 }
22381 return resultobj;
22382 fail:
22383 {
22384 if (temp2)
22385 delete arg2;
22386 }
22387 return NULL;
22388 }
22389
22390
22391 static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
22392 PyObject *obj;
22393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22394 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
22395 Py_INCREF(obj);
22396 return Py_BuildValue((char *)"");
22397 }
22398 static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22399 PyObject *resultobj;
22400 wxString const &arg1_defvalue = wxPyEmptyString ;
22401 wxString *arg1 = (wxString *) &arg1_defvalue ;
22402 wxPyTextDataObject *result;
22403 bool temp1 = False ;
22404 PyObject * obj0 = 0 ;
22405 char *kwnames[] = {
22406 (char *) "text", NULL
22407 };
22408
22409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
22410 if (obj0) {
22411 {
22412 arg1 = wxString_in_helper(obj0);
22413 if (arg1 == NULL) SWIG_fail;
22414 temp1 = True;
22415 }
22416 }
22417 {
22418 PyThreadState* __tstate = wxPyBeginAllowThreads();
22419 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
22420
22421 wxPyEndAllowThreads(__tstate);
22422 if (PyErr_Occurred()) SWIG_fail;
22423 }
22424 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDataObject, 1);
22425 {
22426 if (temp1)
22427 delete arg1;
22428 }
22429 return resultobj;
22430 fail:
22431 {
22432 if (temp1)
22433 delete arg1;
22434 }
22435 return NULL;
22436 }
22437
22438
22439 static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22440 PyObject *resultobj;
22441 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
22442 PyObject *arg2 = (PyObject *) 0 ;
22443 PyObject *arg3 = (PyObject *) 0 ;
22444 PyObject * obj0 = 0 ;
22445 PyObject * obj1 = 0 ;
22446 PyObject * obj2 = 0 ;
22447 char *kwnames[] = {
22448 (char *) "self",(char *) "self",(char *) "_class", NULL
22449 };
22450
22451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22453 arg2 = obj1;
22454 arg3 = obj2;
22455 {
22456 PyThreadState* __tstate = wxPyBeginAllowThreads();
22457 (arg1)->_setCallbackInfo(arg2,arg3);
22458
22459 wxPyEndAllowThreads(__tstate);
22460 if (PyErr_Occurred()) SWIG_fail;
22461 }
22462 Py_INCREF(Py_None); resultobj = Py_None;
22463 return resultobj;
22464 fail:
22465 return NULL;
22466 }
22467
22468
22469 static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
22470 PyObject *obj;
22471 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22472 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
22473 Py_INCREF(obj);
22474 return Py_BuildValue((char *)"");
22475 }
22476 static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22477 PyObject *resultobj;
22478 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22479 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22480 wxBitmapDataObject *result;
22481 PyObject * obj0 = 0 ;
22482 char *kwnames[] = {
22483 (char *) "bitmap", NULL
22484 };
22485
22486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
22487 if (obj0) {
22488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22489 if (arg1 == NULL) {
22490 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22491 }
22492 }
22493 {
22494 PyThreadState* __tstate = wxPyBeginAllowThreads();
22495 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
22496
22497 wxPyEndAllowThreads(__tstate);
22498 if (PyErr_Occurred()) SWIG_fail;
22499 }
22500 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmapDataObject, 1);
22501 return resultobj;
22502 fail:
22503 return NULL;
22504 }
22505
22506
22507 static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22508 PyObject *resultobj;
22509 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22510 wxBitmap result;
22511 PyObject * obj0 = 0 ;
22512 char *kwnames[] = {
22513 (char *) "self", NULL
22514 };
22515
22516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
22517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22518 {
22519 PyThreadState* __tstate = wxPyBeginAllowThreads();
22520 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
22521
22522 wxPyEndAllowThreads(__tstate);
22523 if (PyErr_Occurred()) SWIG_fail;
22524 }
22525 {
22526 wxBitmap * resultptr;
22527 resultptr = new wxBitmap((wxBitmap &) result);
22528 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
22529 }
22530 return resultobj;
22531 fail:
22532 return NULL;
22533 }
22534
22535
22536 static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22537 PyObject *resultobj;
22538 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22539 wxBitmap *arg2 = 0 ;
22540 PyObject * obj0 = 0 ;
22541 PyObject * obj1 = 0 ;
22542 char *kwnames[] = {
22543 (char *) "self",(char *) "bitmap", NULL
22544 };
22545
22546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
22547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22548 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22549 if (arg2 == NULL) {
22550 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22551 }
22552 {
22553 PyThreadState* __tstate = wxPyBeginAllowThreads();
22554 (arg1)->SetBitmap((wxBitmap const &)*arg2);
22555
22556 wxPyEndAllowThreads(__tstate);
22557 if (PyErr_Occurred()) SWIG_fail;
22558 }
22559 Py_INCREF(Py_None); resultobj = Py_None;
22560 return resultobj;
22561 fail:
22562 return NULL;
22563 }
22564
22565
22566 static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22567 PyObject *obj;
22568 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22569 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
22570 Py_INCREF(obj);
22571 return Py_BuildValue((char *)"");
22572 }
22573 static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22574 PyObject *resultobj;
22575 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22576 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22577 wxPyBitmapDataObject *result;
22578 PyObject * obj0 = 0 ;
22579 char *kwnames[] = {
22580 (char *) "bitmap", NULL
22581 };
22582
22583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
22584 if (obj0) {
22585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22586 if (arg1 == NULL) {
22587 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22588 }
22589 }
22590 {
22591 PyThreadState* __tstate = wxPyBeginAllowThreads();
22592 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
22593
22594 wxPyEndAllowThreads(__tstate);
22595 if (PyErr_Occurred()) SWIG_fail;
22596 }
22597 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapDataObject, 1);
22598 return resultobj;
22599 fail:
22600 return NULL;
22601 }
22602
22603
22604 static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22605 PyObject *resultobj;
22606 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
22607 PyObject *arg2 = (PyObject *) 0 ;
22608 PyObject *arg3 = (PyObject *) 0 ;
22609 PyObject * obj0 = 0 ;
22610 PyObject * obj1 = 0 ;
22611 PyObject * obj2 = 0 ;
22612 char *kwnames[] = {
22613 (char *) "self",(char *) "self",(char *) "_class", NULL
22614 };
22615
22616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22618 arg2 = obj1;
22619 arg3 = obj2;
22620 {
22621 PyThreadState* __tstate = wxPyBeginAllowThreads();
22622 (arg1)->_setCallbackInfo(arg2,arg3);
22623
22624 wxPyEndAllowThreads(__tstate);
22625 if (PyErr_Occurred()) SWIG_fail;
22626 }
22627 Py_INCREF(Py_None); resultobj = Py_None;
22628 return resultobj;
22629 fail:
22630 return NULL;
22631 }
22632
22633
22634 static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22635 PyObject *obj;
22636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22637 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
22638 Py_INCREF(obj);
22639 return Py_BuildValue((char *)"");
22640 }
22641 static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22642 PyObject *resultobj;
22643 wxFileDataObject *result;
22644 char *kwnames[] = {
22645 NULL
22646 };
22647
22648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
22649 {
22650 PyThreadState* __tstate = wxPyBeginAllowThreads();
22651 result = (wxFileDataObject *)new wxFileDataObject();
22652
22653 wxPyEndAllowThreads(__tstate);
22654 if (PyErr_Occurred()) SWIG_fail;
22655 }
22656 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDataObject, 1);
22657 return resultobj;
22658 fail:
22659 return NULL;
22660 }
22661
22662
22663 static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
22664 PyObject *resultobj;
22665 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
22666 wxArrayString *result;
22667 PyObject * obj0 = 0 ;
22668 char *kwnames[] = {
22669 (char *) "self", NULL
22670 };
22671
22672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
22673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22674 {
22675 PyThreadState* __tstate = wxPyBeginAllowThreads();
22676 {
22677 wxArrayString const &_result_ref = (arg1)->GetFilenames();
22678 result = (wxArrayString *) &_result_ref;
22679 }
22680
22681 wxPyEndAllowThreads(__tstate);
22682 if (PyErr_Occurred()) SWIG_fail;
22683 }
22684 {
22685 resultobj = wxArrayString2PyList_helper(*result);
22686 }
22687 return resultobj;
22688 fail:
22689 return NULL;
22690 }
22691
22692
22693 static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
22694 PyObject *obj;
22695 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22696 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
22697 Py_INCREF(obj);
22698 return Py_BuildValue((char *)"");
22699 }
22700 static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22701 PyObject *resultobj;
22702 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22703 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22704 wxCustomDataObject *result;
22705 PyObject * obj0 = 0 ;
22706 char *kwnames[] = {
22707 (char *) "format", NULL
22708 };
22709
22710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
22711 if (obj0) {
22712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22713 if (arg1 == NULL) {
22714 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22715 }
22716 }
22717 {
22718 PyThreadState* __tstate = wxPyBeginAllowThreads();
22719 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
22720
22721 wxPyEndAllowThreads(__tstate);
22722 if (PyErr_Occurred()) SWIG_fail;
22723 }
22724 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCustomDataObject, 1);
22725 return resultobj;
22726 fail:
22727 return NULL;
22728 }
22729
22730
22731 static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
22732 PyObject *resultobj;
22733 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22734 PyObject *arg2 = (PyObject *) 0 ;
22735 PyObject * obj0 = 0 ;
22736 PyObject * obj1 = 0 ;
22737 char *kwnames[] = {
22738 (char *) "self",(char *) "data", NULL
22739 };
22740
22741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
22742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22743 arg2 = obj1;
22744 {
22745 PyThreadState* __tstate = wxPyBeginAllowThreads();
22746 wxCustomDataObject_TakeData(arg1,arg2);
22747
22748 wxPyEndAllowThreads(__tstate);
22749 if (PyErr_Occurred()) SWIG_fail;
22750 }
22751 Py_INCREF(Py_None); resultobj = Py_None;
22752 return resultobj;
22753 fail:
22754 return NULL;
22755 }
22756
22757
22758 static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22759 PyObject *resultobj;
22760 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22761 PyObject *arg2 = (PyObject *) 0 ;
22762 bool result;
22763 PyObject * obj0 = 0 ;
22764 PyObject * obj1 = 0 ;
22765 char *kwnames[] = {
22766 (char *) "self",(char *) "data", NULL
22767 };
22768
22769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
22770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22771 arg2 = obj1;
22772 {
22773 PyThreadState* __tstate = wxPyBeginAllowThreads();
22774 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
22775
22776 wxPyEndAllowThreads(__tstate);
22777 if (PyErr_Occurred()) SWIG_fail;
22778 }
22779 resultobj = PyInt_FromLong((long)result);
22780 return resultobj;
22781 fail:
22782 return NULL;
22783 }
22784
22785
22786 static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22787 PyObject *resultobj;
22788 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22789 size_t result;
22790 PyObject * obj0 = 0 ;
22791 char *kwnames[] = {
22792 (char *) "self", NULL
22793 };
22794
22795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
22796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22797 {
22798 PyThreadState* __tstate = wxPyBeginAllowThreads();
22799 result = (size_t)(arg1)->GetSize();
22800
22801 wxPyEndAllowThreads(__tstate);
22802 if (PyErr_Occurred()) SWIG_fail;
22803 }
22804 resultobj = PyInt_FromLong((long)result);
22805 return resultobj;
22806 fail:
22807 return NULL;
22808 }
22809
22810
22811 static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22812 PyObject *resultobj;
22813 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22814 PyObject *result;
22815 PyObject * obj0 = 0 ;
22816 char *kwnames[] = {
22817 (char *) "self", NULL
22818 };
22819
22820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
22821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22822 {
22823 PyThreadState* __tstate = wxPyBeginAllowThreads();
22824 result = (PyObject *)wxCustomDataObject_GetData(arg1);
22825
22826 wxPyEndAllowThreads(__tstate);
22827 if (PyErr_Occurred()) SWIG_fail;
22828 }
22829 resultobj = result;
22830 return resultobj;
22831 fail:
22832 return NULL;
22833 }
22834
22835
22836 static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
22837 PyObject *obj;
22838 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22839 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
22840 Py_INCREF(obj);
22841 return Py_BuildValue((char *)"");
22842 }
22843 static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22844 PyObject *resultobj;
22845 wxURLDataObject *result;
22846 char *kwnames[] = {
22847 NULL
22848 };
22849
22850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
22851 {
22852 PyThreadState* __tstate = wxPyBeginAllowThreads();
22853 result = (wxURLDataObject *)new wxURLDataObject();
22854
22855 wxPyEndAllowThreads(__tstate);
22856 if (PyErr_Occurred()) SWIG_fail;
22857 }
22858 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxURLDataObject, 1);
22859 return resultobj;
22860 fail:
22861 return NULL;
22862 }
22863
22864
22865 static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
22866 PyObject *resultobj;
22867 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
22868 wxString result;
22869 PyObject * obj0 = 0 ;
22870 char *kwnames[] = {
22871 (char *) "self", NULL
22872 };
22873
22874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
22875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22876 {
22877 PyThreadState* __tstate = wxPyBeginAllowThreads();
22878 result = (arg1)->GetURL();
22879
22880 wxPyEndAllowThreads(__tstate);
22881 if (PyErr_Occurred()) SWIG_fail;
22882 }
22883 {
22884 #if wxUSE_UNICODE
22885 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22886 #else
22887 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22888 #endif
22889 }
22890 return resultobj;
22891 fail:
22892 return NULL;
22893 }
22894
22895
22896 static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
22897 PyObject *resultobj;
22898 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
22899 wxString *arg2 = 0 ;
22900 bool temp2 = False ;
22901 PyObject * obj0 = 0 ;
22902 PyObject * obj1 = 0 ;
22903 char *kwnames[] = {
22904 (char *) "self",(char *) "url", NULL
22905 };
22906
22907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
22908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22909 {
22910 arg2 = wxString_in_helper(obj1);
22911 if (arg2 == NULL) SWIG_fail;
22912 temp2 = True;
22913 }
22914 {
22915 PyThreadState* __tstate = wxPyBeginAllowThreads();
22916 (arg1)->SetURL((wxString const &)*arg2);
22917
22918 wxPyEndAllowThreads(__tstate);
22919 if (PyErr_Occurred()) SWIG_fail;
22920 }
22921 Py_INCREF(Py_None); resultobj = Py_None;
22922 {
22923 if (temp2)
22924 delete arg2;
22925 }
22926 return resultobj;
22927 fail:
22928 {
22929 if (temp2)
22930 delete arg2;
22931 }
22932 return NULL;
22933 }
22934
22935
22936 static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
22937 PyObject *obj;
22938 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22939 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
22940 Py_INCREF(obj);
22941 return Py_BuildValue((char *)"");
22942 }
22943 static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22944 PyObject *resultobj;
22945 wxMetafileDataObject *result;
22946 char *kwnames[] = {
22947 NULL
22948 };
22949
22950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
22951 {
22952 PyThreadState* __tstate = wxPyBeginAllowThreads();
22953 result = (wxMetafileDataObject *)new wxMetafileDataObject();
22954
22955 wxPyEndAllowThreads(__tstate);
22956 if (PyErr_Occurred()) SWIG_fail;
22957 }
22958 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMetafileDataObject, 1);
22959 return resultobj;
22960 fail:
22961 return NULL;
22962 }
22963
22964
22965 static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
22966 PyObject *obj;
22967 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22968 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
22969 Py_INCREF(obj);
22970 return Py_BuildValue((char *)"");
22971 }
22972 static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
22973 PyObject *resultobj;
22974 int arg1 ;
22975 bool result;
22976 char *kwnames[] = {
22977 (char *) "res", NULL
22978 };
22979
22980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:IsDragResultOk",kwnames,&arg1)) goto fail;
22981 {
22982 PyThreadState* __tstate = wxPyBeginAllowThreads();
22983 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
22984
22985 wxPyEndAllowThreads(__tstate);
22986 if (PyErr_Occurred()) SWIG_fail;
22987 }
22988 resultobj = PyInt_FromLong((long)result);
22989 return resultobj;
22990 fail:
22991 return NULL;
22992 }
22993
22994
22995 static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
22996 PyObject *resultobj;
22997 wxWindow *arg1 = (wxWindow *) NULL ;
22998 wxIcon const &arg2_defvalue = wxNullIcon ;
22999 wxIcon *arg2 = (wxIcon *) &arg2_defvalue ;
23000 wxIcon const &arg3_defvalue = wxNullIcon ;
23001 wxIcon *arg3 = (wxIcon *) &arg3_defvalue ;
23002 wxIcon const &arg4_defvalue = wxNullIcon ;
23003 wxIcon *arg4 = (wxIcon *) &arg4_defvalue ;
23004 wxPyDropSource *result;
23005 PyObject * obj0 = 0 ;
23006 PyObject * obj1 = 0 ;
23007 PyObject * obj2 = 0 ;
23008 PyObject * obj3 = 0 ;
23009 char *kwnames[] = {
23010 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
23011 };
23012
23013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23014 if (obj0) {
23015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23016 }
23017 if (obj1) {
23018 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23019 if (arg2 == NULL) {
23020 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23021 }
23022 }
23023 if (obj2) {
23024 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23025 if (arg3 == NULL) {
23026 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23027 }
23028 }
23029 if (obj3) {
23030 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23031 if (arg4 == NULL) {
23032 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23033 }
23034 }
23035 {
23036 PyThreadState* __tstate = wxPyBeginAllowThreads();
23037 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxIcon const &)*arg2,(wxIcon const &)*arg3,(wxIcon const &)*arg4);
23038
23039 wxPyEndAllowThreads(__tstate);
23040 if (PyErr_Occurred()) SWIG_fail;
23041 }
23042 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropSource, 1);
23043 return resultobj;
23044 fail:
23045 return NULL;
23046 }
23047
23048
23049 static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23050 PyObject *resultobj;
23051 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23052 PyObject *arg2 = (PyObject *) 0 ;
23053 PyObject *arg3 = (PyObject *) 0 ;
23054 int arg4 ;
23055 PyObject * obj0 = 0 ;
23056 PyObject * obj1 = 0 ;
23057 PyObject * obj2 = 0 ;
23058 char *kwnames[] = {
23059 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23060 };
23061
23062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOi:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
23063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23064 arg2 = obj1;
23065 arg3 = obj2;
23066 {
23067 PyThreadState* __tstate = wxPyBeginAllowThreads();
23068 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
23069
23070 wxPyEndAllowThreads(__tstate);
23071 if (PyErr_Occurred()) SWIG_fail;
23072 }
23073 Py_INCREF(Py_None); resultobj = Py_None;
23074 return resultobj;
23075 fail:
23076 return NULL;
23077 }
23078
23079
23080 static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23081 PyObject *resultobj;
23082 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23083 PyObject * obj0 = 0 ;
23084 char *kwnames[] = {
23085 (char *) "self", NULL
23086 };
23087
23088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
23089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23090 {
23091 PyThreadState* __tstate = wxPyBeginAllowThreads();
23092 delete arg1;
23093
23094 wxPyEndAllowThreads(__tstate);
23095 if (PyErr_Occurred()) SWIG_fail;
23096 }
23097 Py_INCREF(Py_None); resultobj = Py_None;
23098 return resultobj;
23099 fail:
23100 return NULL;
23101 }
23102
23103
23104 static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23105 PyObject *resultobj;
23106 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23107 wxDataObject *arg2 = 0 ;
23108 PyObject * obj0 = 0 ;
23109 PyObject * obj1 = 0 ;
23110 char *kwnames[] = {
23111 (char *) "self",(char *) "data", NULL
23112 };
23113
23114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
23115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23116 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23117 if (arg2 == NULL) {
23118 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23119 }
23120 {
23121 PyThreadState* __tstate = wxPyBeginAllowThreads();
23122 (arg1)->SetData(*arg2);
23123
23124 wxPyEndAllowThreads(__tstate);
23125 if (PyErr_Occurred()) SWIG_fail;
23126 }
23127 Py_INCREF(Py_None); resultobj = Py_None;
23128 return resultobj;
23129 fail:
23130 return NULL;
23131 }
23132
23133
23134 static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23135 PyObject *resultobj;
23136 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23137 wxDataObject *result;
23138 PyObject * obj0 = 0 ;
23139 char *kwnames[] = {
23140 (char *) "self", NULL
23141 };
23142
23143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
23144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23145 {
23146 PyThreadState* __tstate = wxPyBeginAllowThreads();
23147 result = (wxDataObject *)(arg1)->GetDataObject();
23148
23149 wxPyEndAllowThreads(__tstate);
23150 if (PyErr_Occurred()) SWIG_fail;
23151 }
23152 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23153 return resultobj;
23154 fail:
23155 return NULL;
23156 }
23157
23158
23159 static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
23160 PyObject *resultobj;
23161 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23162 int arg2 ;
23163 wxCursor *arg3 = 0 ;
23164 PyObject * obj0 = 0 ;
23165 PyObject * obj2 = 0 ;
23166 char *kwnames[] = {
23167 (char *) "self",(char *) "res",(char *) "cursor", NULL
23168 };
23169
23170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:DropSource_SetCursor",kwnames,&obj0,&arg2,&obj2)) goto fail;
23171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23172 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23173 if (arg3 == NULL) {
23174 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23175 }
23176 {
23177 PyThreadState* __tstate = wxPyBeginAllowThreads();
23178 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
23179
23180 wxPyEndAllowThreads(__tstate);
23181 if (PyErr_Occurred()) SWIG_fail;
23182 }
23183 Py_INCREF(Py_None); resultobj = Py_None;
23184 return resultobj;
23185 fail:
23186 return NULL;
23187 }
23188
23189
23190 static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23191 PyObject *resultobj;
23192 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23193 int arg2 = (int) wxDrag_CopyOnly ;
23194 int result;
23195 PyObject * obj0 = 0 ;
23196 char *kwnames[] = {
23197 (char *) "self",(char *) "flags", NULL
23198 };
23199
23200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DropSource_DoDragDrop",kwnames,&obj0,&arg2)) goto fail;
23201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23202 {
23203 PyThreadState* __tstate = wxPyBeginAllowThreads();
23204 result = (int)(arg1)->DoDragDrop(arg2);
23205
23206 wxPyEndAllowThreads(__tstate);
23207 if (PyErr_Occurred()) SWIG_fail;
23208 }
23209 resultobj = PyInt_FromLong((long)result);
23210 return resultobj;
23211 fail:
23212 return NULL;
23213 }
23214
23215
23216 static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
23217 PyObject *resultobj;
23218 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23219 int arg2 ;
23220 bool result;
23221 PyObject * obj0 = 0 ;
23222 char *kwnames[] = {
23223 (char *) "self",(char *) "effect", NULL
23224 };
23225
23226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DropSource_base_GiveFeedback",kwnames,&obj0,&arg2)) goto fail;
23227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23228 {
23229 PyThreadState* __tstate = wxPyBeginAllowThreads();
23230 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
23231
23232 wxPyEndAllowThreads(__tstate);
23233 if (PyErr_Occurred()) SWIG_fail;
23234 }
23235 resultobj = PyInt_FromLong((long)result);
23236 return resultobj;
23237 fail:
23238 return NULL;
23239 }
23240
23241
23242 static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
23243 PyObject *obj;
23244 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23245 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
23246 Py_INCREF(obj);
23247 return Py_BuildValue((char *)"");
23248 }
23249 static PyObject *_wrap_new_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23250 PyObject *resultobj;
23251 wxDataObject *arg1 = (wxDataObject *) NULL ;
23252 wxPyDropTarget *result;
23253 PyObject * obj0 = 0 ;
23254 char *kwnames[] = {
23255 (char *) "dataObject", NULL
23256 };
23257
23258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
23259 if (obj0) {
23260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23261 }
23262 {
23263 PyThreadState* __tstate = wxPyBeginAllowThreads();
23264 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
23265
23266 wxPyEndAllowThreads(__tstate);
23267 if (PyErr_Occurred()) SWIG_fail;
23268 }
23269 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 1);
23270 return resultobj;
23271 fail:
23272 return NULL;
23273 }
23274
23275
23276 static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23277 PyObject *resultobj;
23278 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23279 PyObject *arg2 = (PyObject *) 0 ;
23280 PyObject *arg3 = (PyObject *) 0 ;
23281 PyObject * obj0 = 0 ;
23282 PyObject * obj1 = 0 ;
23283 PyObject * obj2 = 0 ;
23284 char *kwnames[] = {
23285 (char *) "self",(char *) "self",(char *) "_class", NULL
23286 };
23287
23288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23290 arg2 = obj1;
23291 arg3 = obj2;
23292 {
23293 PyThreadState* __tstate = wxPyBeginAllowThreads();
23294 (arg1)->_setCallbackInfo(arg2,arg3);
23295
23296 wxPyEndAllowThreads(__tstate);
23297 if (PyErr_Occurred()) SWIG_fail;
23298 }
23299 Py_INCREF(Py_None); resultobj = Py_None;
23300 return resultobj;
23301 fail:
23302 return NULL;
23303 }
23304
23305
23306 static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23307 PyObject *resultobj;
23308 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23309 PyObject * obj0 = 0 ;
23310 char *kwnames[] = {
23311 (char *) "self", NULL
23312 };
23313
23314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
23315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23316 {
23317 PyThreadState* __tstate = wxPyBeginAllowThreads();
23318 delete arg1;
23319
23320 wxPyEndAllowThreads(__tstate);
23321 if (PyErr_Occurred()) SWIG_fail;
23322 }
23323 Py_INCREF(Py_None); resultobj = Py_None;
23324 return resultobj;
23325 fail:
23326 return NULL;
23327 }
23328
23329
23330 static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23331 PyObject *resultobj;
23332 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23333 wxDataObject *result;
23334 PyObject * obj0 = 0 ;
23335 char *kwnames[] = {
23336 (char *) "self", NULL
23337 };
23338
23339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
23340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23341 {
23342 PyThreadState* __tstate = wxPyBeginAllowThreads();
23343 result = (wxDataObject *)(arg1)->GetDataObject();
23344
23345 wxPyEndAllowThreads(__tstate);
23346 if (PyErr_Occurred()) SWIG_fail;
23347 }
23348 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23349 return resultobj;
23350 fail:
23351 return NULL;
23352 }
23353
23354
23355 static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23356 PyObject *resultobj;
23357 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23358 wxDataObject *arg2 = (wxDataObject *) 0 ;
23359 PyObject * obj0 = 0 ;
23360 PyObject * obj1 = 0 ;
23361 char *kwnames[] = {
23362 (char *) "self",(char *) "dataObject", NULL
23363 };
23364
23365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
23366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23367 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23368 {
23369 PyThreadState* __tstate = wxPyBeginAllowThreads();
23370 (arg1)->SetDataObject(arg2);
23371
23372 wxPyEndAllowThreads(__tstate);
23373 if (PyErr_Occurred()) SWIG_fail;
23374 }
23375 Py_INCREF(Py_None); resultobj = Py_None;
23376 return resultobj;
23377 fail:
23378 return NULL;
23379 }
23380
23381
23382 static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23383 PyObject *resultobj;
23384 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23385 int arg2 ;
23386 int arg3 ;
23387 int arg4 ;
23388 int result;
23389 PyObject * obj0 = 0 ;
23390 char *kwnames[] = {
23391 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23392 };
23393
23394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23396 {
23397 PyThreadState* __tstate = wxPyBeginAllowThreads();
23398 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23399
23400 wxPyEndAllowThreads(__tstate);
23401 if (PyErr_Occurred()) SWIG_fail;
23402 }
23403 resultobj = PyInt_FromLong((long)result);
23404 return resultobj;
23405 fail:
23406 return NULL;
23407 }
23408
23409
23410 static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23411 PyObject *resultobj;
23412 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23413 int arg2 ;
23414 int arg3 ;
23415 int arg4 ;
23416 int result;
23417 PyObject * obj0 = 0 ;
23418 char *kwnames[] = {
23419 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23420 };
23421
23422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23424 {
23425 PyThreadState* __tstate = wxPyBeginAllowThreads();
23426 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23427
23428 wxPyEndAllowThreads(__tstate);
23429 if (PyErr_Occurred()) SWIG_fail;
23430 }
23431 resultobj = PyInt_FromLong((long)result);
23432 return resultobj;
23433 fail:
23434 return NULL;
23435 }
23436
23437
23438 static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23439 PyObject *resultobj;
23440 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23441 PyObject * obj0 = 0 ;
23442 char *kwnames[] = {
23443 (char *) "self", NULL
23444 };
23445
23446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23448 {
23449 PyThreadState* __tstate = wxPyBeginAllowThreads();
23450 (arg1)->base_OnLeave();
23451
23452 wxPyEndAllowThreads(__tstate);
23453 if (PyErr_Occurred()) SWIG_fail;
23454 }
23455 Py_INCREF(Py_None); resultobj = Py_None;
23456 return resultobj;
23457 fail:
23458 return NULL;
23459 }
23460
23461
23462 static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23463 PyObject *resultobj;
23464 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23465 int arg2 ;
23466 int arg3 ;
23467 bool result;
23468 PyObject * obj0 = 0 ;
23469 char *kwnames[] = {
23470 (char *) "self",(char *) "x",(char *) "y", NULL
23471 };
23472
23473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:DropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23475 {
23476 PyThreadState* __tstate = wxPyBeginAllowThreads();
23477 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23478
23479 wxPyEndAllowThreads(__tstate);
23480 if (PyErr_Occurred()) SWIG_fail;
23481 }
23482 resultobj = PyInt_FromLong((long)result);
23483 return resultobj;
23484 fail:
23485 return NULL;
23486 }
23487
23488
23489 static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23490 PyObject *resultobj;
23491 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23492 bool result;
23493 PyObject * obj0 = 0 ;
23494 char *kwnames[] = {
23495 (char *) "self", NULL
23496 };
23497
23498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
23499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23500 {
23501 PyThreadState* __tstate = wxPyBeginAllowThreads();
23502 result = (bool)(arg1)->GetData();
23503
23504 wxPyEndAllowThreads(__tstate);
23505 if (PyErr_Occurred()) SWIG_fail;
23506 }
23507 resultobj = PyInt_FromLong((long)result);
23508 return resultobj;
23509 fail:
23510 return NULL;
23511 }
23512
23513
23514 static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
23515 PyObject *obj;
23516 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23517 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
23518 Py_INCREF(obj);
23519 return Py_BuildValue((char *)"");
23520 }
23521 static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23522 PyObject *resultobj;
23523 wxPyTextDropTarget *result;
23524 char *kwnames[] = {
23525 NULL
23526 };
23527
23528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
23529 {
23530 PyThreadState* __tstate = wxPyBeginAllowThreads();
23531 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
23532
23533 wxPyEndAllowThreads(__tstate);
23534 if (PyErr_Occurred()) SWIG_fail;
23535 }
23536 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDropTarget, 1);
23537 return resultobj;
23538 fail:
23539 return NULL;
23540 }
23541
23542
23543 static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23544 PyObject *resultobj;
23545 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23546 PyObject *arg2 = (PyObject *) 0 ;
23547 PyObject *arg3 = (PyObject *) 0 ;
23548 PyObject * obj0 = 0 ;
23549 PyObject * obj1 = 0 ;
23550 PyObject * obj2 = 0 ;
23551 char *kwnames[] = {
23552 (char *) "self",(char *) "self",(char *) "_class", NULL
23553 };
23554
23555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23557 arg2 = obj1;
23558 arg3 = obj2;
23559 {
23560 PyThreadState* __tstate = wxPyBeginAllowThreads();
23561 (arg1)->_setCallbackInfo(arg2,arg3);
23562
23563 wxPyEndAllowThreads(__tstate);
23564 if (PyErr_Occurred()) SWIG_fail;
23565 }
23566 Py_INCREF(Py_None); resultobj = Py_None;
23567 return resultobj;
23568 fail:
23569 return NULL;
23570 }
23571
23572
23573 static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23574 PyObject *resultobj;
23575 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23576 int arg2 ;
23577 int arg3 ;
23578 int arg4 ;
23579 int result;
23580 PyObject * obj0 = 0 ;
23581 char *kwnames[] = {
23582 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23583 };
23584
23585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23587 {
23588 PyThreadState* __tstate = wxPyBeginAllowThreads();
23589 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23590
23591 wxPyEndAllowThreads(__tstate);
23592 if (PyErr_Occurred()) SWIG_fail;
23593 }
23594 resultobj = PyInt_FromLong((long)result);
23595 return resultobj;
23596 fail:
23597 return NULL;
23598 }
23599
23600
23601 static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23602 PyObject *resultobj;
23603 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23604 int arg2 ;
23605 int arg3 ;
23606 int arg4 ;
23607 int result;
23608 PyObject * obj0 = 0 ;
23609 char *kwnames[] = {
23610 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23611 };
23612
23613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23615 {
23616 PyThreadState* __tstate = wxPyBeginAllowThreads();
23617 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23618
23619 wxPyEndAllowThreads(__tstate);
23620 if (PyErr_Occurred()) SWIG_fail;
23621 }
23622 resultobj = PyInt_FromLong((long)result);
23623 return resultobj;
23624 fail:
23625 return NULL;
23626 }
23627
23628
23629 static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23630 PyObject *resultobj;
23631 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23632 PyObject * obj0 = 0 ;
23633 char *kwnames[] = {
23634 (char *) "self", NULL
23635 };
23636
23637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23639 {
23640 PyThreadState* __tstate = wxPyBeginAllowThreads();
23641 (arg1)->base_OnLeave();
23642
23643 wxPyEndAllowThreads(__tstate);
23644 if (PyErr_Occurred()) SWIG_fail;
23645 }
23646 Py_INCREF(Py_None); resultobj = Py_None;
23647 return resultobj;
23648 fail:
23649 return NULL;
23650 }
23651
23652
23653 static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23654 PyObject *resultobj;
23655 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23656 int arg2 ;
23657 int arg3 ;
23658 bool result;
23659 PyObject * obj0 = 0 ;
23660 char *kwnames[] = {
23661 (char *) "self",(char *) "x",(char *) "y", NULL
23662 };
23663
23664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23666 {
23667 PyThreadState* __tstate = wxPyBeginAllowThreads();
23668 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23669
23670 wxPyEndAllowThreads(__tstate);
23671 if (PyErr_Occurred()) SWIG_fail;
23672 }
23673 resultobj = PyInt_FromLong((long)result);
23674 return resultobj;
23675 fail:
23676 return NULL;
23677 }
23678
23679
23680 static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
23681 PyObject *resultobj;
23682 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23683 int arg2 ;
23684 int arg3 ;
23685 int arg4 ;
23686 int result;
23687 PyObject * obj0 = 0 ;
23688 char *kwnames[] = {
23689 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23690 };
23691
23692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23694 {
23695 PyThreadState* __tstate = wxPyBeginAllowThreads();
23696 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
23697
23698 wxPyEndAllowThreads(__tstate);
23699 if (PyErr_Occurred()) SWIG_fail;
23700 }
23701 resultobj = PyInt_FromLong((long)result);
23702 return resultobj;
23703 fail:
23704 return NULL;
23705 }
23706
23707
23708 static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
23709 PyObject *obj;
23710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23711 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
23712 Py_INCREF(obj);
23713 return Py_BuildValue((char *)"");
23714 }
23715 static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23716 PyObject *resultobj;
23717 wxPyFileDropTarget *result;
23718 char *kwnames[] = {
23719 NULL
23720 };
23721
23722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
23723 {
23724 PyThreadState* __tstate = wxPyBeginAllowThreads();
23725 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
23726
23727 wxPyEndAllowThreads(__tstate);
23728 if (PyErr_Occurred()) SWIG_fail;
23729 }
23730 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileDropTarget, 1);
23731 return resultobj;
23732 fail:
23733 return NULL;
23734 }
23735
23736
23737 static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23738 PyObject *resultobj;
23739 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23740 PyObject *arg2 = (PyObject *) 0 ;
23741 PyObject *arg3 = (PyObject *) 0 ;
23742 PyObject * obj0 = 0 ;
23743 PyObject * obj1 = 0 ;
23744 PyObject * obj2 = 0 ;
23745 char *kwnames[] = {
23746 (char *) "self",(char *) "self",(char *) "_class", NULL
23747 };
23748
23749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23751 arg2 = obj1;
23752 arg3 = obj2;
23753 {
23754 PyThreadState* __tstate = wxPyBeginAllowThreads();
23755 (arg1)->_setCallbackInfo(arg2,arg3);
23756
23757 wxPyEndAllowThreads(__tstate);
23758 if (PyErr_Occurred()) SWIG_fail;
23759 }
23760 Py_INCREF(Py_None); resultobj = Py_None;
23761 return resultobj;
23762 fail:
23763 return NULL;
23764 }
23765
23766
23767 static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23768 PyObject *resultobj;
23769 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23770 int arg2 ;
23771 int arg3 ;
23772 int arg4 ;
23773 int result;
23774 PyObject * obj0 = 0 ;
23775 char *kwnames[] = {
23776 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23777 };
23778
23779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23781 {
23782 PyThreadState* __tstate = wxPyBeginAllowThreads();
23783 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23784
23785 wxPyEndAllowThreads(__tstate);
23786 if (PyErr_Occurred()) SWIG_fail;
23787 }
23788 resultobj = PyInt_FromLong((long)result);
23789 return resultobj;
23790 fail:
23791 return NULL;
23792 }
23793
23794
23795 static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23796 PyObject *resultobj;
23797 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23798 int arg2 ;
23799 int arg3 ;
23800 int arg4 ;
23801 int result;
23802 PyObject * obj0 = 0 ;
23803 char *kwnames[] = {
23804 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23805 };
23806
23807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23809 {
23810 PyThreadState* __tstate = wxPyBeginAllowThreads();
23811 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23812
23813 wxPyEndAllowThreads(__tstate);
23814 if (PyErr_Occurred()) SWIG_fail;
23815 }
23816 resultobj = PyInt_FromLong((long)result);
23817 return resultobj;
23818 fail:
23819 return NULL;
23820 }
23821
23822
23823 static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23824 PyObject *resultobj;
23825 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23826 PyObject * obj0 = 0 ;
23827 char *kwnames[] = {
23828 (char *) "self", NULL
23829 };
23830
23831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23833 {
23834 PyThreadState* __tstate = wxPyBeginAllowThreads();
23835 (arg1)->base_OnLeave();
23836
23837 wxPyEndAllowThreads(__tstate);
23838 if (PyErr_Occurred()) SWIG_fail;
23839 }
23840 Py_INCREF(Py_None); resultobj = Py_None;
23841 return resultobj;
23842 fail:
23843 return NULL;
23844 }
23845
23846
23847 static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23848 PyObject *resultobj;
23849 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23850 int arg2 ;
23851 int arg3 ;
23852 bool result;
23853 PyObject * obj0 = 0 ;
23854 char *kwnames[] = {
23855 (char *) "self",(char *) "x",(char *) "y", NULL
23856 };
23857
23858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23860 {
23861 PyThreadState* __tstate = wxPyBeginAllowThreads();
23862 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23863
23864 wxPyEndAllowThreads(__tstate);
23865 if (PyErr_Occurred()) SWIG_fail;
23866 }
23867 resultobj = PyInt_FromLong((long)result);
23868 return resultobj;
23869 fail:
23870 return NULL;
23871 }
23872
23873
23874 static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
23875 PyObject *resultobj;
23876 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23877 int arg2 ;
23878 int arg3 ;
23879 int arg4 ;
23880 int result;
23881 PyObject * obj0 = 0 ;
23882 char *kwnames[] = {
23883 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23884 };
23885
23886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23888 {
23889 PyThreadState* __tstate = wxPyBeginAllowThreads();
23890 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
23891
23892 wxPyEndAllowThreads(__tstate);
23893 if (PyErr_Occurred()) SWIG_fail;
23894 }
23895 resultobj = PyInt_FromLong((long)result);
23896 return resultobj;
23897 fail:
23898 return NULL;
23899 }
23900
23901
23902 static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
23903 PyObject *obj;
23904 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23905 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
23906 Py_INCREF(obj);
23907 return Py_BuildValue((char *)"");
23908 }
23909 static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
23910 PyObject *resultobj;
23911 wxClipboard *result;
23912 char *kwnames[] = {
23913 NULL
23914 };
23915
23916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
23917 {
23918 PyThreadState* __tstate = wxPyBeginAllowThreads();
23919 result = (wxClipboard *)new wxClipboard();
23920
23921 wxPyEndAllowThreads(__tstate);
23922 if (PyErr_Occurred()) SWIG_fail;
23923 }
23924 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboard, 1);
23925 return resultobj;
23926 fail:
23927 return NULL;
23928 }
23929
23930
23931 static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
23932 PyObject *resultobj;
23933 wxClipboard *arg1 = (wxClipboard *) 0 ;
23934 PyObject * obj0 = 0 ;
23935 char *kwnames[] = {
23936 (char *) "self", NULL
23937 };
23938
23939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
23940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23941 {
23942 PyThreadState* __tstate = wxPyBeginAllowThreads();
23943 delete arg1;
23944
23945 wxPyEndAllowThreads(__tstate);
23946 if (PyErr_Occurred()) SWIG_fail;
23947 }
23948 Py_INCREF(Py_None); resultobj = Py_None;
23949 return resultobj;
23950 fail:
23951 return NULL;
23952 }
23953
23954
23955 static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
23956 PyObject *resultobj;
23957 wxClipboard *arg1 = (wxClipboard *) 0 ;
23958 bool result;
23959 PyObject * obj0 = 0 ;
23960 char *kwnames[] = {
23961 (char *) "self", NULL
23962 };
23963
23964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
23965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23966 {
23967 PyThreadState* __tstate = wxPyBeginAllowThreads();
23968 result = (bool)(arg1)->Open();
23969
23970 wxPyEndAllowThreads(__tstate);
23971 if (PyErr_Occurred()) SWIG_fail;
23972 }
23973 resultobj = PyInt_FromLong((long)result);
23974 return resultobj;
23975 fail:
23976 return NULL;
23977 }
23978
23979
23980 static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
23981 PyObject *resultobj;
23982 wxClipboard *arg1 = (wxClipboard *) 0 ;
23983 PyObject * obj0 = 0 ;
23984 char *kwnames[] = {
23985 (char *) "self", NULL
23986 };
23987
23988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
23989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23990 {
23991 PyThreadState* __tstate = wxPyBeginAllowThreads();
23992 (arg1)->Close();
23993
23994 wxPyEndAllowThreads(__tstate);
23995 if (PyErr_Occurred()) SWIG_fail;
23996 }
23997 Py_INCREF(Py_None); resultobj = Py_None;
23998 return resultobj;
23999 fail:
24000 return NULL;
24001 }
24002
24003
24004 static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
24005 PyObject *resultobj;
24006 wxClipboard *arg1 = (wxClipboard *) 0 ;
24007 bool result;
24008 PyObject * obj0 = 0 ;
24009 char *kwnames[] = {
24010 (char *) "self", NULL
24011 };
24012
24013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
24014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24015 {
24016 PyThreadState* __tstate = wxPyBeginAllowThreads();
24017 result = (bool)((wxClipboard const *)arg1)->IsOpened();
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_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
24030 PyObject *resultobj;
24031 wxClipboard *arg1 = (wxClipboard *) 0 ;
24032 wxDataObject *arg2 = (wxDataObject *) 0 ;
24033 bool result;
24034 PyObject * obj0 = 0 ;
24035 PyObject * obj1 = 0 ;
24036 char *kwnames[] = {
24037 (char *) "self",(char *) "data", NULL
24038 };
24039
24040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
24041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24042 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24043 {
24044 PyThreadState* __tstate = wxPyBeginAllowThreads();
24045 result = (bool)(arg1)->AddData(arg2);
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 *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24058 PyObject *resultobj;
24059 wxClipboard *arg1 = (wxClipboard *) 0 ;
24060 wxDataObject *arg2 = (wxDataObject *) 0 ;
24061 bool result;
24062 PyObject * obj0 = 0 ;
24063 PyObject * obj1 = 0 ;
24064 char *kwnames[] = {
24065 (char *) "self",(char *) "data", NULL
24066 };
24067
24068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
24069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24070 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24071 {
24072 PyThreadState* __tstate = wxPyBeginAllowThreads();
24073 result = (bool)(arg1)->SetData(arg2);
24074
24075 wxPyEndAllowThreads(__tstate);
24076 if (PyErr_Occurred()) SWIG_fail;
24077 }
24078 resultobj = PyInt_FromLong((long)result);
24079 return resultobj;
24080 fail:
24081 return NULL;
24082 }
24083
24084
24085 static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24086 PyObject *resultobj;
24087 wxClipboard *arg1 = (wxClipboard *) 0 ;
24088 wxDataFormat *arg2 = 0 ;
24089 bool result;
24090 PyObject * obj0 = 0 ;
24091 PyObject * obj1 = 0 ;
24092 char *kwnames[] = {
24093 (char *) "self",(char *) "format", NULL
24094 };
24095
24096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
24097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24098 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24099 if (arg2 == NULL) {
24100 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24101 }
24102 {
24103 PyThreadState* __tstate = wxPyBeginAllowThreads();
24104 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
24105
24106 wxPyEndAllowThreads(__tstate);
24107 if (PyErr_Occurred()) SWIG_fail;
24108 }
24109 resultobj = PyInt_FromLong((long)result);
24110 return resultobj;
24111 fail:
24112 return NULL;
24113 }
24114
24115
24116 static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24117 PyObject *resultobj;
24118 wxClipboard *arg1 = (wxClipboard *) 0 ;
24119 wxDataObject *arg2 = 0 ;
24120 bool result;
24121 PyObject * obj0 = 0 ;
24122 PyObject * obj1 = 0 ;
24123 char *kwnames[] = {
24124 (char *) "self",(char *) "data", NULL
24125 };
24126
24127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
24128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24129 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24130 if (arg2 == NULL) {
24131 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24132 }
24133 {
24134 PyThreadState* __tstate = wxPyBeginAllowThreads();
24135 result = (bool)(arg1)->GetData(*arg2);
24136
24137 wxPyEndAllowThreads(__tstate);
24138 if (PyErr_Occurred()) SWIG_fail;
24139 }
24140 resultobj = PyInt_FromLong((long)result);
24141 return resultobj;
24142 fail:
24143 return NULL;
24144 }
24145
24146
24147 static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
24148 PyObject *resultobj;
24149 wxClipboard *arg1 = (wxClipboard *) 0 ;
24150 PyObject * obj0 = 0 ;
24151 char *kwnames[] = {
24152 (char *) "self", NULL
24153 };
24154
24155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
24156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24157 {
24158 PyThreadState* __tstate = wxPyBeginAllowThreads();
24159 (arg1)->Clear();
24160
24161 wxPyEndAllowThreads(__tstate);
24162 if (PyErr_Occurred()) SWIG_fail;
24163 }
24164 Py_INCREF(Py_None); resultobj = Py_None;
24165 return resultobj;
24166 fail:
24167 return NULL;
24168 }
24169
24170
24171 static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
24172 PyObject *resultobj;
24173 wxClipboard *arg1 = (wxClipboard *) 0 ;
24174 bool result;
24175 PyObject * obj0 = 0 ;
24176 char *kwnames[] = {
24177 (char *) "self", NULL
24178 };
24179
24180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
24181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24182 {
24183 PyThreadState* __tstate = wxPyBeginAllowThreads();
24184 result = (bool)(arg1)->Flush();
24185
24186 wxPyEndAllowThreads(__tstate);
24187 if (PyErr_Occurred()) SWIG_fail;
24188 }
24189 resultobj = PyInt_FromLong((long)result);
24190 return resultobj;
24191 fail:
24192 return NULL;
24193 }
24194
24195
24196 static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
24197 PyObject *resultobj;
24198 wxClipboard *arg1 = (wxClipboard *) 0 ;
24199 bool arg2 = (bool) False ;
24200 PyObject * obj0 = 0 ;
24201 PyObject * obj1 = 0 ;
24202 char *kwnames[] = {
24203 (char *) "self",(char *) "primary", NULL
24204 };
24205
24206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
24207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24208 if (obj1) {
24209 arg2 = PyInt_AsLong(obj1) ? true : false;
24210 if (PyErr_Occurred()) SWIG_fail;
24211 }
24212 {
24213 PyThreadState* __tstate = wxPyBeginAllowThreads();
24214 (arg1)->UsePrimarySelection(arg2);
24215
24216 wxPyEndAllowThreads(__tstate);
24217 if (PyErr_Occurred()) SWIG_fail;
24218 }
24219 Py_INCREF(Py_None); resultobj = Py_None;
24220 return resultobj;
24221 fail:
24222 return NULL;
24223 }
24224
24225
24226 static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
24227 PyObject *obj;
24228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24229 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
24230 Py_INCREF(obj);
24231 return Py_BuildValue((char *)"");
24232 }
24233 static int _wrap_TheClipboard_set(PyObject *_val) {
24234 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
24235 return 1;
24236 }
24237
24238
24239 static PyObject *_wrap_TheClipboard_get() {
24240 PyObject *pyobj;
24241
24242 pyobj = SWIG_NewPointerObj((void *) wxTheClipboard, SWIGTYPE_p_wxClipboard, 0);
24243 return pyobj;
24244 }
24245
24246
24247 static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24248 PyObject *resultobj;
24249 wxClipboard *arg1 = (wxClipboard *) NULL ;
24250 wxClipboardLocker *result;
24251 PyObject * obj0 = 0 ;
24252 char *kwnames[] = {
24253 (char *) "clipboard", NULL
24254 };
24255
24256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
24257 if (obj0) {
24258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24259 }
24260 {
24261 PyThreadState* __tstate = wxPyBeginAllowThreads();
24262 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
24263
24264 wxPyEndAllowThreads(__tstate);
24265 if (PyErr_Occurred()) SWIG_fail;
24266 }
24267 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboardLocker, 1);
24268 return resultobj;
24269 fail:
24270 return NULL;
24271 }
24272
24273
24274 static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24275 PyObject *resultobj;
24276 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24277 PyObject * obj0 = 0 ;
24278 char *kwnames[] = {
24279 (char *) "self", NULL
24280 };
24281
24282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
24283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24284 {
24285 PyThreadState* __tstate = wxPyBeginAllowThreads();
24286 delete arg1;
24287
24288 wxPyEndAllowThreads(__tstate);
24289 if (PyErr_Occurred()) SWIG_fail;
24290 }
24291 Py_INCREF(Py_None); resultobj = Py_None;
24292 return resultobj;
24293 fail:
24294 return NULL;
24295 }
24296
24297
24298 static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
24299 PyObject *resultobj;
24300 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24301 bool result;
24302 PyObject * obj0 = 0 ;
24303 char *kwnames[] = {
24304 (char *) "self", NULL
24305 };
24306
24307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
24308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24309 {
24310 PyThreadState* __tstate = wxPyBeginAllowThreads();
24311 result = (bool)wxClipboardLocker___nonzero__(arg1);
24312
24313 wxPyEndAllowThreads(__tstate);
24314 if (PyErr_Occurred()) SWIG_fail;
24315 }
24316 resultobj = PyInt_FromLong((long)result);
24317 return resultobj;
24318 fail:
24319 return NULL;
24320 }
24321
24322
24323 static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
24324 PyObject *obj;
24325 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24326 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
24327 Py_INCREF(obj);
24328 return Py_BuildValue((char *)"");
24329 }
24330 static PyMethodDef SwigMethods[] = {
24331 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
24332 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
24333 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
24334 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
24335 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
24336 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
24337 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
24338 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
24339 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
24340 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
24341 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
24342 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
24343 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
24344 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
24345 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
24346 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
24347 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
24348 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
24349 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
24350 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
24351 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
24352 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
24353 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
24354 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
24355 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
24356 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
24357 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
24358 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
24359 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
24360 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
24361 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
24362 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
24363 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
24364 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
24365 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
24366 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
24367 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
24368 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
24369 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
24370 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
24371 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
24372 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
24373 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
24374 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
24375 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
24376 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
24377 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
24378 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
24379 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
24380 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
24381 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
24382 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
24383 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
24384 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
24385 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
24386 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
24387 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
24388 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24389 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24390 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24391 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24392 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
24393 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
24394 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
24395 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24396 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24397 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
24398 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
24399 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
24400 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
24401 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24402 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24403 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
24404 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
24405 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
24406 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
24407 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
24408 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
24409 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
24410 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
24411 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
24412 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
24413 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
24414 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
24415 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
24416 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
24417 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
24418 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
24419 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
24420 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
24421 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
24422 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
24423 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
24424 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
24425 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
24426 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
24427 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
24428 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24429 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24430 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24431 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24432 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
24433 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24434 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24435 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
24436 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24437 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24438 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
24439 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
24440 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
24441 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
24442 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
24443 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
24444 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
24445 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
24446 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
24447 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
24448 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
24449 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
24450 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
24451 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
24452 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
24453 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
24454 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
24455 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
24456 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
24457 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
24458 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
24459 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24460 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24461 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24462 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
24463 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
24464 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
24465 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
24466 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
24467 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
24468 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
24469 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
24470 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
24471 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
24472 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24473 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
24474 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
24475 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
24476 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
24477 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
24478 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
24479 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
24480 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
24481 { (char *)"Timer_Notify", (PyCFunction) _wrap_Timer_Notify, METH_VARARGS | METH_KEYWORDS },
24482 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
24483 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
24484 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
24485 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
24486 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
24487 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
24488 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
24489 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
24490 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
24491 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
24492 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
24493 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
24494 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
24495 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
24496 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
24497 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
24498 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
24499 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24500 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24501 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
24502 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
24503 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
24504 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
24505 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24506 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
24507 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
24508 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
24509 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
24510 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
24511 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
24512 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
24513 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
24514 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
24515 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
24516 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
24517 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
24518 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
24519 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
24520 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
24521 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
24522 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
24523 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
24524 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
24525 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
24526 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
24527 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
24528 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
24529 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24530 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24531 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
24532 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
24533 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24538 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
24539 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
24540 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
24541 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
24542 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
24549 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
24551 { (char *)"LogTrace", (PyCFunction) _wrap_LogTrace, METH_VARARGS | METH_KEYWORDS },
24552 { (char *)"LogTraceMask", (PyCFunction) _wrap_LogTraceMask, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
24554 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
24556 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
24557 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
24558 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
24559 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24560 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
24561 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
24563 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
24565 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24566 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
24567 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
24568 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
24569 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
24570 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
24572 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
24578 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
24580 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
24581 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
24582 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
24586 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
24587 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
24588 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
24589 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
24602 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
24604 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
24606 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
24608 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
24632 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
24660 { (char *)"new_Wave", (PyCFunction) _wrap_new_Wave, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"new_WaveData", (PyCFunction) _wrap_new_WaveData, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"delete_Wave", (PyCFunction) _wrap_delete_Wave, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"Wave_IsOk", (PyCFunction) _wrap_Wave_IsOk, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"Wave_Play", (PyCFunction) _wrap_Wave_Play, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"Wave_swigregister", Wave_swigregister, METH_VARARGS },
24666 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
24682 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
24698 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
24712 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"delete_ArtProvider", (PyCFunction) _wrap_delete_ArtProvider, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
24721 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
24764 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
24768 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
24771 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
24774 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
24866 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
24867 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
24868 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
24869 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
24870 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
24871 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
24872 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
24873 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
24874 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
24875 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
24886 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
24931 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
24965 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
24973 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
24974 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
24979 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
24988 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
24992 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
24995 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
24998 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
25003 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
25006 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
25010 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
25013 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
25016 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
25022 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
25026 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
25028 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
25038 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
25049 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
25057 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
25065 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
25078 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
25082 { NULL, NULL }
25083 };
25084
25085
25086 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25087
25088 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25089 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25090 }
25091 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25092 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25093 }
25094 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25095 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25096 }
25097 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25098 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25099 }
25100 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25101 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25102 }
25103 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25104 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25105 }
25106 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
25107 return (void *)((wxEvent *) ((wxTimerEvent *) x));
25108 }
25109 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25110 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25111 }
25112 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25113 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25114 }
25115 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25116 return (void *)((wxEvent *) ((wxPyEvent *) x));
25117 }
25118 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25119 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25120 }
25121 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
25122 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
25123 }
25124 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25125 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25126 }
25127 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25128 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25129 }
25130 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25131 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25132 }
25133 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25134 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25135 }
25136 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25137 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25138 }
25139 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25140 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25141 }
25142 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25143 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25144 }
25145 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25146 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25147 }
25148 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25149 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25150 }
25151 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25152 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25153 }
25154 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25155 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25156 }
25157 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25158 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25159 }
25160 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25161 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25162 }
25163 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25164 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25165 }
25166 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25167 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25168 }
25169 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25170 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25171 }
25172 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25173 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25174 }
25175 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25176 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25177 }
25178 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
25179 return (void *)((wxEvent *) ((wxProcessEvent *) x));
25180 }
25181 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25182 return (void *)((wxEvent *) ((wxShowEvent *) x));
25183 }
25184 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25185 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25186 }
25187 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25188 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25189 }
25190 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25191 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25192 }
25193 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25194 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25195 }
25196 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25197 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25198 }
25199 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25200 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25201 }
25202 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
25203 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
25204 }
25205 static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
25206 return (void *)((wxConfigBase *) ((wxConfig *) x));
25207 }
25208 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
25209 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25210 }
25211 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
25212 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
25213 }
25214 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
25215 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
25216 }
25217 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
25218 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25219 }
25220 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
25221 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
25222 }
25223 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
25224 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
25225 }
25226 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
25227 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
25228 }
25229 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
25230 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25231 }
25232 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
25233 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25234 }
25235 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
25236 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
25237 }
25238 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
25239 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
25240 }
25241 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
25242 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
25243 }
25244 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
25245 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25246 }
25247 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
25248 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
25249 }
25250 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
25251 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25252 }
25253 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25254 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
25255 }
25256 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25257 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
25258 }
25259 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25260 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25261 }
25262 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25263 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25264 }
25265 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
25266 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
25267 }
25268 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
25269 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
25270 }
25271 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
25272 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25273 }
25274 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25275 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25276 }
25277 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25278 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25279 }
25280 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25281 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25282 }
25283 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25284 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25285 }
25286 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
25287 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
25288 }
25289 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25290 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25291 }
25292 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25293 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25294 }
25295 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25296 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25297 }
25298 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25299 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25300 }
25301 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
25302 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
25303 }
25304 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
25305 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
25306 }
25307 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25308 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25309 }
25310 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25311 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25312 }
25313 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25314 return (void *)((wxObject *) ((wxSizerItem *) x));
25315 }
25316 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25317 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25318 }
25319 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25320 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25321 }
25322 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25323 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25324 }
25325 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25326 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25327 }
25328 static void *_p_wxSizerTo_p_wxObject(void *x) {
25329 return (void *)((wxObject *) ((wxSizer *) x));
25330 }
25331 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25332 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25333 }
25334 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
25335 return (void *)((wxObject *) ((wxFileHistory *) x));
25336 }
25337 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25338 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25339 }
25340 static void *_p_wxEventTo_p_wxObject(void *x) {
25341 return (void *)((wxObject *) ((wxEvent *) x));
25342 }
25343 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25344 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25345 }
25346 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25347 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25348 }
25349 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25350 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25351 }
25352 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25353 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25354 }
25355 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25356 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25357 }
25358 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25359 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25360 }
25361 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25362 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25363 }
25364 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25365 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25366 }
25367 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25368 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25369 }
25370 static void *_p_wxControlTo_p_wxObject(void *x) {
25371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25372 }
25373 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25374 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25375 }
25376 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
25377 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
25378 }
25379 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25380 return (void *)((wxObject *) ((wxFSFile *) x));
25381 }
25382 static void *_p_wxClipboardTo_p_wxObject(void *x) {
25383 return (void *)((wxObject *) ((wxClipboard *) x));
25384 }
25385 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25386 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25387 }
25388 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25389 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25390 }
25391 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25392 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25393 }
25394 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25395 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25396 }
25397 static void *_p_wxToolTipTo_p_wxObject(void *x) {
25398 return (void *)((wxObject *) ((wxToolTip *) x));
25399 }
25400 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25401 return (void *)((wxObject *) ((wxMenuItem *) x));
25402 }
25403 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25404 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25405 }
25406 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25407 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25408 }
25409 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25410 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25411 }
25412 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25413 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25414 }
25415 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25416 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25417 }
25418 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25419 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25420 }
25421 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25422 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25423 }
25424 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25425 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25426 }
25427 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25428 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25429 }
25430 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25431 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25432 }
25433 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25434 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25435 }
25436 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25437 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25438 }
25439 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25440 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25441 }
25442 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25443 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25444 }
25445 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25446 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25447 }
25448 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25449 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25450 }
25451 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25452 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25453 }
25454 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25455 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25456 }
25457 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25458 return (void *)((wxObject *) ((wxImageHandler *) x));
25459 }
25460 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25461 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25462 }
25463 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25464 return (void *)((wxObject *) ((wxEvtHandler *) x));
25465 }
25466 static void *_p_wxImageTo_p_wxObject(void *x) {
25467 return (void *)((wxObject *) ((wxImage *) x));
25468 }
25469 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25470 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25471 }
25472 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
25473 return (void *)((wxObject *) ((wxSystemOptions *) x));
25474 }
25475 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
25476 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
25477 }
25478 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25479 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25480 }
25481 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25482 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25483 }
25484 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25485 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25486 }
25487 static void *_p_wxWindowTo_p_wxObject(void *x) {
25488 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25489 }
25490 static void *_p_wxMenuTo_p_wxObject(void *x) {
25491 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25492 }
25493 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25494 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25495 }
25496 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
25497 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
25498 }
25499 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25500 return (void *)((wxObject *) ((wxFileSystem *) x));
25501 }
25502 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25503 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25504 }
25505 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25506 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25507 }
25508 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25509 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25510 }
25511 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25512 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25513 }
25514 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25515 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25516 }
25517 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25518 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25519 }
25520 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
25521 return (void *)((wxObject *) ((wxBusyInfo *) x));
25522 }
25523 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25524 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25525 }
25526 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25527 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25528 }
25529 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25530 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25531 }
25532 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25533 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25534 }
25535 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25536 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25537 }
25538 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
25539 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
25540 }
25541 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25542 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25543 }
25544 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25545 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25546 }
25547 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25548 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25549 }
25550 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
25551 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
25552 }
25553 static void *_p_wxLogStderrTo_p_wxLog(void *x) {
25554 return (void *)((wxLog *) ((wxLogStderr *) x));
25555 }
25556 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
25557 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
25558 }
25559 static void *_p_wxLogWindowTo_p_wxLog(void *x) {
25560 return (void *)((wxLog *) ((wxLogWindow *) x));
25561 }
25562 static void *_p_wxLogChainTo_p_wxLog(void *x) {
25563 return (void *)((wxLog *) ((wxLogChain *) x));
25564 }
25565 static void *_p_wxLogGuiTo_p_wxLog(void *x) {
25566 return (void *)((wxLog *) ((wxLogGui *) x));
25567 }
25568 static void *_p_wxPyLogTo_p_wxLog(void *x) {
25569 return (void *)((wxLog *) ((wxPyLog *) x));
25570 }
25571 static void *_p_wxControlTo_p_wxWindow(void *x) {
25572 return (void *)((wxWindow *) ((wxControl *) x));
25573 }
25574 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25575 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25576 }
25577 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25578 return (void *)((wxWindow *) ((wxMenuBar *) x));
25579 }
25580 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
25581 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
25582 }
25583 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
25584 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
25585 }
25586 static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25587 static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
25588 static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25589 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}};
25590 static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25591 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25592 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}};
25593 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}};
25594 static swig_type_info _swigt__p_wxWave[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25595 static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25596 static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25597 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25598 static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25599 static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25600 static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25601 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25602 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25603 static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25604 static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25605 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25606 static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25607 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25608 static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25609 static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25610 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25611 static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25612 static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25613 static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25614 static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25615 static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject},{0}};
25616 static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject},{0}};
25617 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}};
25618 static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25619 static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25620 static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25621 static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25622 static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25623 static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25624 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25625 static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25626 static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25627 static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite},{0}};
25628 static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25629 static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25630 static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25631 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}};
25632 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}};
25633 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25634 static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25635 static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25636 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25637 static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25638 static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25639 static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25640 static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25641 static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider},{0}};
25642 static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25643 static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25644 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25645 static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25646 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
25647 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}};
25648 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25649 static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25650 static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25651 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}};
25652 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25653 static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25654 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25655 static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25656 static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25657 static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25658 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}};
25659 static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25660 static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25661 static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25662 static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25663 static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25664 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25665 static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25666 static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25667 static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25668
25669 static swig_type_info *swig_types_initial[] = {
25670 _swigt__p_wxLogChain,
25671 _swigt__p_wxMutexGuiLocker,
25672 _swigt__p_wxFileHistory,
25673 _swigt__p_wxLog,
25674 _swigt__p_wxDateTime__TimeZone,
25675 _swigt__p_wxMenu,
25676 _swigt__p_wxEvent,
25677 _swigt__p_wxConfigBase,
25678 _swigt__p_wxWave,
25679 _swigt__p_wxFileType,
25680 _swigt__p_wxLogGui,
25681 _swigt__p_wxFont,
25682 _swigt__p_wxDataFormat,
25683 _swigt__p_wxTimerEvent,
25684 _swigt__p_wxCaret,
25685 _swigt__p_int,
25686 _swigt__p_wxSize,
25687 _swigt__p_wxClipboard,
25688 _swigt__p_wxStopWatch,
25689 _swigt__p_wxDC,
25690 _swigt__p_wxClipboardLocker,
25691 _swigt__p_wxIcon,
25692 _swigt__p_wxLogStderr,
25693 _swigt__p_wxLogTextCtrl,
25694 _swigt__p_wxTextCtrl,
25695 _swigt__p_wxBusyCursor,
25696 _swigt__p_wxFileDataObject,
25697 _swigt__p_wxPyBitmapDataObject,
25698 _swigt__p_wxPyTextDataObject,
25699 _swigt__p_wxBitmapDataObject,
25700 _swigt__p_wxTextDataObject,
25701 _swigt__p_wxDataObject,
25702 _swigt__p_wxCustomDataObject,
25703 _swigt__p_wxURLDataObject,
25704 _swigt__p_wxMetafileDataObject,
25705 _swigt__p_wxTimerRunner,
25706 _swigt__p_wxLogWindow,
25707 _swigt__p_wxTimeSpan,
25708 _swigt__p_wxArrayString,
25709 _swigt__p_wxWindowDisabler,
25710 _swigt__p_wxToolTip,
25711 _swigt__p_wxDataObjectComposite,
25712 _swigt__p_wxFileConfig,
25713 _swigt__p_wxSystemSettings,
25714 _swigt__p_wxPyDataObjectSimple,
25715 _swigt__p_wxDataObjectSimple,
25716 _swigt__p_wxEvtHandler,
25717 _swigt__p_wxRect,
25718 _swigt__p_wxSingleInstanceChecker,
25719 _swigt__p_wxFileTypeInfo,
25720 _swigt__p_wxFrame,
25721 _swigt__p_wxTimer,
25722 _swigt__p_wxMimeTypesManager,
25723 _swigt__p_wxPyArtProvider,
25724 _swigt__p_wxPyTipProvider,
25725 _swigt__p_wxTipProvider,
25726 _swigt__p_wxJoystick,
25727 _swigt__p_wxSystemOptions,
25728 _swigt__p_wxPoint,
25729 _swigt__p_wxJoystickEvent,
25730 _swigt__p_wxCursor,
25731 _swigt__p_wxObject,
25732 _swigt__p_wxOutputStream,
25733 _swigt__p_wxDateTime,
25734 _swigt__p_wxPyDropSource,
25735 _swigt__p_wxWindow,
25736 _swigt__p_wxString,
25737 _swigt__p_wxPyProcess,
25738 _swigt__p_wxBitmap,
25739 _swigt__p_wxConfig,
25740 _swigt__p_wxChar,
25741 _swigt__p_wxBusyInfo,
25742 _swigt__p_wxPyDropTarget,
25743 _swigt__p_wxPyTextDropTarget,
25744 _swigt__p_wxPyFileDropTarget,
25745 _swigt__p_wxProcessEvent,
25746 _swigt__p_wxPyLog,
25747 _swigt__p_wxLogNull,
25748 _swigt__p_wxColour,
25749 _swigt__p_wxConfigPathChanger,
25750 _swigt__p_wxPyTimer,
25751 _swigt__p_wxDateSpan,
25752 0
25753 };
25754
25755
25756 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25757
25758 static swig_const_info swig_const_table[] = {
25759 { SWIG_PY_INT, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT, 0, 0, 0},
25760 { SWIG_PY_INT, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT, 0, 0, 0},
25761 { SWIG_PY_INT, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT, 0, 0, 0},
25762 { SWIG_PY_INT, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT, 0, 0, 0},
25763 { SWIG_PY_INT, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT, 0, 0, 0},
25764 { SWIG_PY_INT, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE, 0, 0, 0},
25765 { SWIG_PY_INT, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT, 0, 0, 0},
25766 { SWIG_PY_INT, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT, 0, 0, 0},
25767 { SWIG_PY_INT, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT, 0, 0, 0},
25768 { SWIG_PY_INT, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR, 0, 0, 0},
25769 { SWIG_PY_INT, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND, 0, 0, 0},
25770 { SWIG_PY_INT, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP, 0, 0, 0},
25771 { SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION, 0, 0, 0},
25772 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION, 0, 0, 0},
25773 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU, 0, 0, 0},
25774 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW, 0, 0, 0},
25775 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME, 0, 0, 0},
25776 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT, 0, 0, 0},
25777 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT, 0, 0, 0},
25778 { SWIG_PY_INT, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT, 0, 0, 0},
25779 { SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER, 0, 0, 0},
25780 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER, 0, 0, 0},
25781 { SWIG_PY_INT, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE, 0, 0, 0},
25782 { SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT, 0, 0, 0},
25783 { SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT, 0, 0, 0},
25784 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE, 0, 0, 0},
25785 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE, 0, 0, 0},
25786 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW, 0, 0, 0},
25787 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW, 0, 0, 0},
25788 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT, 0, 0, 0},
25789 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT, 0, 0, 0},
25790 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT, 0, 0, 0},
25791 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT, 0, 0, 0},
25792 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT, 0, 0, 0},
25793 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT, 0, 0, 0},
25794 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT, 0, 0, 0},
25795 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW, 0, 0, 0},
25796 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT, 0, 0, 0},
25797 { SWIG_PY_INT, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT, 0, 0, 0},
25798 { SWIG_PY_INT, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK, 0, 0, 0},
25799 { SWIG_PY_INT, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX, 0, 0, 0},
25800 { SWIG_PY_INT, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT, 0, 0, 0},
25801 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION, 0, 0, 0},
25802 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION, 0, 0, 0},
25803 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT, 0, 0, 0},
25804 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR, 0, 0, 0},
25805 { SWIG_PY_INT, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX, 0, 0, 0},
25806 { SWIG_PY_INT, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS, 0, 0, 0},
25807 { SWIG_PY_INT, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X, 0, 0, 0},
25808 { SWIG_PY_INT, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y, 0, 0, 0},
25809 { SWIG_PY_INT, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X, 0, 0, 0},
25810 { SWIG_PY_INT, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y, 0, 0, 0},
25811 { SWIG_PY_INT, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X, 0, 0, 0},
25812 { SWIG_PY_INT, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y, 0, 0, 0},
25813 { SWIG_PY_INT, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X, 0, 0, 0},
25814 { SWIG_PY_INT, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y, 0, 0, 0},
25815 { SWIG_PY_INT, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X, 0, 0, 0},
25816 { SWIG_PY_INT, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y, 0, 0, 0},
25817 { SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X, 0, 0, 0},
25818 { SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y, 0, 0, 0},
25819 { SWIG_PY_INT, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X, 0, 0, 0},
25820 { SWIG_PY_INT, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X, 0, 0, 0},
25821 { SWIG_PY_INT, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y, 0, 0, 0},
25822 { SWIG_PY_INT, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X, 0, 0, 0},
25823 { SWIG_PY_INT, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y, 0, 0, 0},
25824 { SWIG_PY_INT, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X, 0, 0, 0},
25825 { SWIG_PY_INT, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y, 0, 0, 0},
25826 { SWIG_PY_INT, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X, 0, 0, 0},
25827 { SWIG_PY_INT, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y, 0, 0, 0},
25828 { SWIG_PY_INT, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X, 0, 0, 0},
25829 { SWIG_PY_INT, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y, 0, 0, 0},
25830 { SWIG_PY_INT, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X, 0, 0, 0},
25831 { SWIG_PY_INT, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y, 0, 0, 0},
25832 { SWIG_PY_INT, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y, 0, 0, 0},
25833 { SWIG_PY_INT, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X, 0, 0, 0},
25834 { SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X, 0, 0, 0},
25835 { SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y, 0, 0, 0},
25836 { SWIG_PY_INT, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y, 0, 0, 0},
25837 { SWIG_PY_INT, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y, 0, 0, 0},
25838 { SWIG_PY_INT, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y, 0, 0, 0},
25839 { SWIG_PY_INT, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT, 0, 0, 0},
25840 { SWIG_PY_INT, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT, 0, 0, 0},
25841 { SWIG_PY_INT, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS, 0, 0, 0},
25842 { SWIG_PY_INT, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS, 0, 0, 0},
25843 { SWIG_PY_INT, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS, 0, 0, 0},
25844 { SWIG_PY_INT, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME, 0, 0, 0},
25845 { SWIG_PY_INT, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE, 0, 0, 0},
25846 { SWIG_PY_INT, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY, 0, 0, 0},
25847 { SWIG_PY_INT, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA, 0, 0, 0},
25848 { SWIG_PY_INT, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL, 0, 0, 0},
25849 { SWIG_PY_INT, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP, 0, 0, 0},
25850 { SWIG_PY_INT, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF, 0, 0, 0},
25851 { SWIG_PY_INT, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT, 0, 0, 0},
25852 { SWIG_PY_INT, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS, 0, 0, 0},
25853 { SWIG_PY_INT, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT, 0, 0, 0},
25854 { SWIG_PY_INT, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER, 0, 0, 0},
25855 { SWIG_PY_INT, (char *)"LOG_FatalError", (long) wxLOG_FatalError, 0, 0, 0},
25856 { SWIG_PY_INT, (char *)"LOG_Error", (long) wxLOG_Error, 0, 0, 0},
25857 { SWIG_PY_INT, (char *)"LOG_Warning", (long) wxLOG_Warning, 0, 0, 0},
25858 { SWIG_PY_INT, (char *)"LOG_Message", (long) wxLOG_Message, 0, 0, 0},
25859 { SWIG_PY_INT, (char *)"LOG_Status", (long) wxLOG_Status, 0, 0, 0},
25860 { SWIG_PY_INT, (char *)"LOG_Info", (long) wxLOG_Info, 0, 0, 0},
25861 { SWIG_PY_INT, (char *)"LOG_Debug", (long) wxLOG_Debug, 0, 0, 0},
25862 { SWIG_PY_INT, (char *)"LOG_Trace", (long) wxLOG_Trace, 0, 0, 0},
25863 { SWIG_PY_INT, (char *)"LOG_Progress", (long) wxLOG_Progress, 0, 0, 0},
25864 { SWIG_PY_INT, (char *)"LOG_User", (long) wxLOG_User, 0, 0, 0},
25865 { SWIG_PY_INT, (char *)"LOG_Max", (long) wxLOG_Max, 0, 0, 0},
25866 { SWIG_PY_STRING, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
25867 { SWIG_PY_STRING, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
25868 { SWIG_PY_STRING, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
25869 { SWIG_PY_STRING, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
25870 { SWIG_PY_STRING, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
25871 { SWIG_PY_INT, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
25872 { SWIG_PY_INT, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
25873 { SWIG_PY_INT, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
25874 { SWIG_PY_INT, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
25875 { SWIG_PY_INT, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
25876 { SWIG_PY_INT, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT, 0, 0, 0},
25877 { SWIG_PY_INT, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT, 0, 0, 0},
25878 { SWIG_PY_INT, (char *)"KILL_OK", (long) wxKILL_OK, 0, 0, 0},
25879 { SWIG_PY_INT, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL, 0, 0, 0},
25880 { SWIG_PY_INT, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED, 0, 0, 0},
25881 { SWIG_PY_INT, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS, 0, 0, 0},
25882 { SWIG_PY_INT, (char *)"KILL_ERROR", (long) wxKILL_ERROR, 0, 0, 0},
25883 { SWIG_PY_INT, (char *)"SIGNONE", (long) wxSIGNONE, 0, 0, 0},
25884 { SWIG_PY_INT, (char *)"SIGHUP", (long) wxSIGHUP, 0, 0, 0},
25885 { SWIG_PY_INT, (char *)"SIGINT", (long) wxSIGINT, 0, 0, 0},
25886 { SWIG_PY_INT, (char *)"SIGQUIT", (long) wxSIGQUIT, 0, 0, 0},
25887 { SWIG_PY_INT, (char *)"SIGILL", (long) wxSIGILL, 0, 0, 0},
25888 { SWIG_PY_INT, (char *)"SIGTRAP", (long) wxSIGTRAP, 0, 0, 0},
25889 { SWIG_PY_INT, (char *)"SIGABRT", (long) wxSIGABRT, 0, 0, 0},
25890 { SWIG_PY_INT, (char *)"SIGIOT", (long) wxSIGIOT, 0, 0, 0},
25891 { SWIG_PY_INT, (char *)"SIGEMT", (long) wxSIGEMT, 0, 0, 0},
25892 { SWIG_PY_INT, (char *)"SIGFPE", (long) wxSIGFPE, 0, 0, 0},
25893 { SWIG_PY_INT, (char *)"SIGKILL", (long) wxSIGKILL, 0, 0, 0},
25894 { SWIG_PY_INT, (char *)"SIGBUS", (long) wxSIGBUS, 0, 0, 0},
25895 { SWIG_PY_INT, (char *)"SIGSEGV", (long) wxSIGSEGV, 0, 0, 0},
25896 { SWIG_PY_INT, (char *)"SIGSYS", (long) wxSIGSYS, 0, 0, 0},
25897 { SWIG_PY_INT, (char *)"SIGPIPE", (long) wxSIGPIPE, 0, 0, 0},
25898 { SWIG_PY_INT, (char *)"SIGALRM", (long) wxSIGALRM, 0, 0, 0},
25899 { SWIG_PY_INT, (char *)"SIGTERM", (long) wxSIGTERM, 0, 0, 0},
25900 { SWIG_PY_INT, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS, 0, 0, 0},
25901 { SWIG_PY_INT, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC, 0, 0, 0},
25902 { SWIG_PY_INT, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC, 0, 0, 0},
25903 { SWIG_PY_INT, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE, 0, 0, 0},
25904 { SWIG_PY_INT, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER, 0, 0, 0},
25905 { SWIG_PY_INT, (char *)"JOYSTICK1", (long) wxJOYSTICK1, 0, 0, 0},
25906 { SWIG_PY_INT, (char *)"JOYSTICK2", (long) wxJOYSTICK2, 0, 0, 0},
25907 { SWIG_PY_INT, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY, 0, 0, 0},
25908 { SWIG_PY_INT, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1, 0, 0, 0},
25909 { SWIG_PY_INT, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2, 0, 0, 0},
25910 { SWIG_PY_INT, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3, 0, 0, 0},
25911 { SWIG_PY_INT, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4, 0, 0, 0},
25912 { SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN, 0, 0, 0},
25913 { SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP, 0, 0, 0},
25914 { SWIG_PY_INT, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE, 0, 0, 0},
25915 { SWIG_PY_INT, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE, 0, 0, 0},
25916 { SWIG_PY_INT, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD, 0, 0, 0},
25917 { SWIG_PY_INT, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE, 0, 0, 0},
25918 { SWIG_PY_INT, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE, 0, 0, 0},
25919 { SWIG_PY_INT, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME, 0, 0, 0},
25920 { SWIG_PY_INT, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL, 0, 0, 0},
25921 { SWIG_PY_INT, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE, 0, 0, 0},
25922 { SWIG_PY_INT, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE, 0, 0, 0},
25923 { SWIG_PY_INT, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH, 0, 0, 0},
25924 { SWIG_PY_INT, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS, 0, 0, 0},
25925 { SWIG_PY_INT, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown, 0, 0, 0},
25926 { SWIG_PY_INT, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String, 0, 0, 0},
25927 { SWIG_PY_INT, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean, 0, 0, 0},
25928 { SWIG_PY_INT, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer, 0, 0, 0},
25929 { SWIG_PY_INT, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float, 0, 0, 0},
25930 { SWIG_PY_INT, (char *)"DateTime_Local", (long) wxDateTime::Local, 0, 0, 0},
25931 { SWIG_PY_INT, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12, 0, 0, 0},
25932 { SWIG_PY_INT, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11, 0, 0, 0},
25933 { SWIG_PY_INT, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10, 0, 0, 0},
25934 { SWIG_PY_INT, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9, 0, 0, 0},
25935 { SWIG_PY_INT, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8, 0, 0, 0},
25936 { SWIG_PY_INT, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7, 0, 0, 0},
25937 { SWIG_PY_INT, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6, 0, 0, 0},
25938 { SWIG_PY_INT, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5, 0, 0, 0},
25939 { SWIG_PY_INT, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4, 0, 0, 0},
25940 { SWIG_PY_INT, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3, 0, 0, 0},
25941 { SWIG_PY_INT, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2, 0, 0, 0},
25942 { SWIG_PY_INT, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1, 0, 0, 0},
25943 { SWIG_PY_INT, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0, 0, 0, 0},
25944 { SWIG_PY_INT, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1, 0, 0, 0},
25945 { SWIG_PY_INT, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2, 0, 0, 0},
25946 { SWIG_PY_INT, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3, 0, 0, 0},
25947 { SWIG_PY_INT, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4, 0, 0, 0},
25948 { SWIG_PY_INT, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5, 0, 0, 0},
25949 { SWIG_PY_INT, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6, 0, 0, 0},
25950 { SWIG_PY_INT, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7, 0, 0, 0},
25951 { SWIG_PY_INT, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8, 0, 0, 0},
25952 { SWIG_PY_INT, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9, 0, 0, 0},
25953 { SWIG_PY_INT, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10, 0, 0, 0},
25954 { SWIG_PY_INT, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11, 0, 0, 0},
25955 { SWIG_PY_INT, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12, 0, 0, 0},
25956 { SWIG_PY_INT, (char *)"DateTime_WET", (long) wxDateTime::WET, 0, 0, 0},
25957 { SWIG_PY_INT, (char *)"DateTime_WEST", (long) wxDateTime::WEST, 0, 0, 0},
25958 { SWIG_PY_INT, (char *)"DateTime_CET", (long) wxDateTime::CET, 0, 0, 0},
25959 { SWIG_PY_INT, (char *)"DateTime_CEST", (long) wxDateTime::CEST, 0, 0, 0},
25960 { SWIG_PY_INT, (char *)"DateTime_EET", (long) wxDateTime::EET, 0, 0, 0},
25961 { SWIG_PY_INT, (char *)"DateTime_EEST", (long) wxDateTime::EEST, 0, 0, 0},
25962 { SWIG_PY_INT, (char *)"DateTime_MSK", (long) wxDateTime::MSK, 0, 0, 0},
25963 { SWIG_PY_INT, (char *)"DateTime_MSD", (long) wxDateTime::MSD, 0, 0, 0},
25964 { SWIG_PY_INT, (char *)"DateTime_AST", (long) wxDateTime::AST, 0, 0, 0},
25965 { SWIG_PY_INT, (char *)"DateTime_ADT", (long) wxDateTime::ADT, 0, 0, 0},
25966 { SWIG_PY_INT, (char *)"DateTime_EST", (long) wxDateTime::EST, 0, 0, 0},
25967 { SWIG_PY_INT, (char *)"DateTime_EDT", (long) wxDateTime::EDT, 0, 0, 0},
25968 { SWIG_PY_INT, (char *)"DateTime_CST", (long) wxDateTime::CST, 0, 0, 0},
25969 { SWIG_PY_INT, (char *)"DateTime_CDT", (long) wxDateTime::CDT, 0, 0, 0},
25970 { SWIG_PY_INT, (char *)"DateTime_MST", (long) wxDateTime::MST, 0, 0, 0},
25971 { SWIG_PY_INT, (char *)"DateTime_MDT", (long) wxDateTime::MDT, 0, 0, 0},
25972 { SWIG_PY_INT, (char *)"DateTime_PST", (long) wxDateTime::PST, 0, 0, 0},
25973 { SWIG_PY_INT, (char *)"DateTime_PDT", (long) wxDateTime::PDT, 0, 0, 0},
25974 { SWIG_PY_INT, (char *)"DateTime_HST", (long) wxDateTime::HST, 0, 0, 0},
25975 { SWIG_PY_INT, (char *)"DateTime_AKST", (long) wxDateTime::AKST, 0, 0, 0},
25976 { SWIG_PY_INT, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT, 0, 0, 0},
25977 { SWIG_PY_INT, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST, 0, 0, 0},
25978 { SWIG_PY_INT, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST, 0, 0, 0},
25979 { SWIG_PY_INT, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST, 0, 0, 0},
25980 { SWIG_PY_INT, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST, 0, 0, 0},
25981 { SWIG_PY_INT, (char *)"DateTime_UTC", (long) wxDateTime::UTC, 0, 0, 0},
25982 { SWIG_PY_INT, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian, 0, 0, 0},
25983 { SWIG_PY_INT, (char *)"DateTime_Julian", (long) wxDateTime::Julian, 0, 0, 0},
25984 { SWIG_PY_INT, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown, 0, 0, 0},
25985 { SWIG_PY_INT, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard, 0, 0, 0},
25986 { SWIG_PY_INT, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska, 0, 0, 0},
25987 { SWIG_PY_INT, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania, 0, 0, 0},
25988 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria, 0, 0, 0},
25989 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen, 0, 0, 0},
25990 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg, 0, 0, 0},
25991 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol, 0, 0, 0},
25992 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia, 0, 0, 0},
25993 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria, 0, 0, 0},
25994 { SWIG_PY_INT, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium, 0, 0, 0},
25995 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria, 0, 0, 0},
25996 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1, 0, 0, 0},
25997 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2, 0, 0, 0},
25998 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3, 0, 0, 0},
25999 { SWIG_PY_INT, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada, 0, 0, 0},
26000 { SWIG_PY_INT, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China, 0, 0, 0},
26001 { SWIG_PY_INT, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1, 0, 0, 0},
26002 { SWIG_PY_INT, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2, 0, 0, 0},
26003 { SWIG_PY_INT, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia, 0, 0, 0},
26004 { SWIG_PY_INT, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark, 0, 0, 0},
26005 { SWIG_PY_INT, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt, 0, 0, 0},
26006 { SWIG_PY_INT, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia, 0, 0, 0},
26007 { SWIG_PY_INT, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland, 0, 0, 0},
26008 { SWIG_PY_INT, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France, 0, 0, 0},
26009 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace, 0, 0, 0},
26010 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine, 0, 0, 0},
26011 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg, 0, 0, 0},
26012 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany, 0, 0, 0},
26013 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic, 0, 0, 0},
26014 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia, 0, 0, 0},
26015 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant, 0, 0, 0},
26016 { SWIG_PY_INT, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain, 0, 0, 0},
26017 { SWIG_PY_INT, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece, 0, 0, 0},
26018 { SWIG_PY_INT, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary, 0, 0, 0},
26019 { SWIG_PY_INT, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland, 0, 0, 0},
26020 { SWIG_PY_INT, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy, 0, 0, 0},
26021 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan, 0, 0, 0},
26022 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1, 0, 0, 0},
26023 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2, 0, 0, 0},
26024 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3, 0, 0, 0},
26025 { SWIG_PY_INT, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia, 0, 0, 0},
26026 { SWIG_PY_INT, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania, 0, 0, 0},
26027 { SWIG_PY_INT, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg, 0, 0, 0},
26028 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands, 0, 0, 0},
26029 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen, 0, 0, 0},
26030 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland, 0, 0, 0},
26031 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht, 0, 0, 0},
26032 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland, 0, 0, 0},
26033 { SWIG_PY_INT, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway, 0, 0, 0},
26034 { SWIG_PY_INT, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland, 0, 0, 0},
26035 { SWIG_PY_INT, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal, 0, 0, 0},
26036 { SWIG_PY_INT, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania, 0, 0, 0},
26037 { SWIG_PY_INT, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia, 0, 0, 0},
26038 { SWIG_PY_INT, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland, 0, 0, 0},
26039 { SWIG_PY_INT, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain, 0, 0, 0},
26040 { SWIG_PY_INT, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden, 0, 0, 0},
26041 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland, 0, 0, 0},
26042 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic, 0, 0, 0},
26043 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant, 0, 0, 0},
26044 { SWIG_PY_INT, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey, 0, 0, 0},
26045 { SWIG_PY_INT, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA, 0, 0, 0},
26046 { SWIG_PY_INT, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales, 0, 0, 0},
26047 { SWIG_PY_INT, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia, 0, 0, 0},
26048 { SWIG_PY_INT, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown, 0, 0, 0},
26049 { SWIG_PY_INT, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default, 0, 0, 0},
26050 { SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start, 0, 0, 0},
26051 { SWIG_PY_INT, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC, 0, 0, 0},
26052 { SWIG_PY_INT, (char *)"DateTime_France", (long) wxDateTime::France, 0, 0, 0},
26053 { SWIG_PY_INT, (char *)"DateTime_Germany", (long) wxDateTime::Germany, 0, 0, 0},
26054 { SWIG_PY_INT, (char *)"DateTime_UK", (long) wxDateTime::UK, 0, 0, 0},
26055 { SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End, 0, 0, 0},
26056 { SWIG_PY_INT, (char *)"DateTime_Russia", (long) wxDateTime::Russia, 0, 0, 0},
26057 { SWIG_PY_INT, (char *)"DateTime_USA", (long) wxDateTime::USA, 0, 0, 0},
26058 { SWIG_PY_INT, (char *)"DateTime_Jan", (long) wxDateTime::Jan, 0, 0, 0},
26059 { SWIG_PY_INT, (char *)"DateTime_Feb", (long) wxDateTime::Feb, 0, 0, 0},
26060 { SWIG_PY_INT, (char *)"DateTime_Mar", (long) wxDateTime::Mar, 0, 0, 0},
26061 { SWIG_PY_INT, (char *)"DateTime_Apr", (long) wxDateTime::Apr, 0, 0, 0},
26062 { SWIG_PY_INT, (char *)"DateTime_May", (long) wxDateTime::May, 0, 0, 0},
26063 { SWIG_PY_INT, (char *)"DateTime_Jun", (long) wxDateTime::Jun, 0, 0, 0},
26064 { SWIG_PY_INT, (char *)"DateTime_Jul", (long) wxDateTime::Jul, 0, 0, 0},
26065 { SWIG_PY_INT, (char *)"DateTime_Aug", (long) wxDateTime::Aug, 0, 0, 0},
26066 { SWIG_PY_INT, (char *)"DateTime_Sep", (long) wxDateTime::Sep, 0, 0, 0},
26067 { SWIG_PY_INT, (char *)"DateTime_Oct", (long) wxDateTime::Oct, 0, 0, 0},
26068 { SWIG_PY_INT, (char *)"DateTime_Nov", (long) wxDateTime::Nov, 0, 0, 0},
26069 { SWIG_PY_INT, (char *)"DateTime_Dec", (long) wxDateTime::Dec, 0, 0, 0},
26070 { SWIG_PY_INT, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month, 0, 0, 0},
26071 { SWIG_PY_INT, (char *)"DateTime_Sun", (long) wxDateTime::Sun, 0, 0, 0},
26072 { SWIG_PY_INT, (char *)"DateTime_Mon", (long) wxDateTime::Mon, 0, 0, 0},
26073 { SWIG_PY_INT, (char *)"DateTime_Tue", (long) wxDateTime::Tue, 0, 0, 0},
26074 { SWIG_PY_INT, (char *)"DateTime_Wed", (long) wxDateTime::Wed, 0, 0, 0},
26075 { SWIG_PY_INT, (char *)"DateTime_Thu", (long) wxDateTime::Thu, 0, 0, 0},
26076 { SWIG_PY_INT, (char *)"DateTime_Fri", (long) wxDateTime::Fri, 0, 0, 0},
26077 { SWIG_PY_INT, (char *)"DateTime_Sat", (long) wxDateTime::Sat, 0, 0, 0},
26078 { SWIG_PY_INT, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay, 0, 0, 0},
26079 { SWIG_PY_INT, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year, 0, 0, 0},
26080 { SWIG_PY_INT, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full, 0, 0, 0},
26081 { SWIG_PY_INT, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr, 0, 0, 0},
26082 { SWIG_PY_INT, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First, 0, 0, 0},
26083 { SWIG_PY_INT, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First, 0, 0, 0},
26084 { SWIG_PY_INT, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First, 0, 0, 0},
26085 { SWIG_PY_INT, (char *)"DF_INVALID", (long) wxDF_INVALID, 0, 0, 0},
26086 { SWIG_PY_INT, (char *)"DF_TEXT", (long) wxDF_TEXT, 0, 0, 0},
26087 { SWIG_PY_INT, (char *)"DF_BITMAP", (long) wxDF_BITMAP, 0, 0, 0},
26088 { SWIG_PY_INT, (char *)"DF_METAFILE", (long) wxDF_METAFILE, 0, 0, 0},
26089 { SWIG_PY_INT, (char *)"DF_SYLK", (long) wxDF_SYLK, 0, 0, 0},
26090 { SWIG_PY_INT, (char *)"DF_DIF", (long) wxDF_DIF, 0, 0, 0},
26091 { SWIG_PY_INT, (char *)"DF_TIFF", (long) wxDF_TIFF, 0, 0, 0},
26092 { SWIG_PY_INT, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT, 0, 0, 0},
26093 { SWIG_PY_INT, (char *)"DF_DIB", (long) wxDF_DIB, 0, 0, 0},
26094 { SWIG_PY_INT, (char *)"DF_PALETTE", (long) wxDF_PALETTE, 0, 0, 0},
26095 { SWIG_PY_INT, (char *)"DF_PENDATA", (long) wxDF_PENDATA, 0, 0, 0},
26096 { SWIG_PY_INT, (char *)"DF_RIFF", (long) wxDF_RIFF, 0, 0, 0},
26097 { SWIG_PY_INT, (char *)"DF_WAVE", (long) wxDF_WAVE, 0, 0, 0},
26098 { SWIG_PY_INT, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT, 0, 0, 0},
26099 { SWIG_PY_INT, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE, 0, 0, 0},
26100 { SWIG_PY_INT, (char *)"DF_FILENAME", (long) wxDF_FILENAME, 0, 0, 0},
26101 { SWIG_PY_INT, (char *)"DF_LOCALE", (long) wxDF_LOCALE, 0, 0, 0},
26102 { SWIG_PY_INT, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE, 0, 0, 0},
26103 { SWIG_PY_INT, (char *)"DF_HTML", (long) wxDF_HTML, 0, 0, 0},
26104 { SWIG_PY_INT, (char *)"DF_MAX", (long) wxDF_MAX, 0, 0, 0},
26105 { SWIG_PY_INT, (char *)"DataObject_Get", (long) wxDataObject::Get, 0, 0, 0},
26106 { SWIG_PY_INT, (char *)"DataObject_Set", (long) wxDataObject::Set, 0, 0, 0},
26107 { SWIG_PY_INT, (char *)"DataObject_Both", (long) wxDataObject::Both, 0, 0, 0},
26108 { SWIG_PY_INT, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly, 0, 0, 0},
26109 { SWIG_PY_INT, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove, 0, 0, 0},
26110 { SWIG_PY_INT, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove, 0, 0, 0},
26111 { SWIG_PY_INT, (char *)"DragError", (long) wxDragError, 0, 0, 0},
26112 { SWIG_PY_INT, (char *)"DragNone", (long) wxDragNone, 0, 0, 0},
26113 { SWIG_PY_INT, (char *)"DragCopy", (long) wxDragCopy, 0, 0, 0},
26114 { SWIG_PY_INT, (char *)"DragMove", (long) wxDragMove, 0, 0, 0},
26115 { SWIG_PY_INT, (char *)"DragLink", (long) wxDragLink, 0, 0, 0},
26116 { SWIG_PY_INT, (char *)"DragCancel", (long) wxDragCancel, 0, 0, 0},
26117 {0}};
26118
26119 #ifdef __cplusplus
26120 }
26121 #endif
26122
26123 #ifdef __cplusplus
26124 extern "C"
26125 #endif
26126 SWIGEXPORT(void) SWIG_init(void) {
26127 static PyObject *SWIG_globals = 0;
26128 static int typeinit = 0;
26129 PyObject *m, *d;
26130 int i;
26131 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26132 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26133 d = PyModule_GetDict(m);
26134
26135 if (!typeinit) {
26136 for (i = 0; swig_types_initial[i]; i++) {
26137 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26138 }
26139 typeinit = 1;
26140 }
26141 SWIG_InstallConstants(d,swig_const_table);
26142
26143 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
26144 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
26145
26146 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26147
26148 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
26149 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
26150 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
26151 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
26152 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26153 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
26154 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
26155 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
26156 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
26157 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
26158 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
26159 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
26160 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
26161 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
26162 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
26163 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
26164 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
26165 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
26166 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
26167 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
26168 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
26169 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
26170 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
26171 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
26172 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
26173 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
26174 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
26175 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
26176 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
26177 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
26178 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
26179 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
26180 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
26181 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
26182 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
26183 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
26184 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
26185 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
26186 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
26187 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
26188 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
26189 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
26190 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
26191 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
26192
26193 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26194
26195 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
26196
26197 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26198 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26199 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26200 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26201
26202 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
26203 }
26204