]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/misc_wrap.cpp
shift the print position a little
[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 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #ifdef __cplusplus
141 extern "C" {
142 #endif
143
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
149
150 /* Flags for pointer conversion */
151
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
154
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
157
158 /* Constant information structure */
159 typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166 } swig_const_info;
167
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199
200 /* Contract support */
201
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
203
204 #ifdef __cplusplus
205 }
206 #endif
207
208
209
210 /* -------- TYPES TABLE (BEGIN) -------- */
211
212 #define SWIGTYPE_p_wxLogChain swig_types[0]
213 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
214 #define SWIGTYPE_p_wxFileHistory swig_types[2]
215 #define SWIGTYPE_p_wxLog swig_types[3]
216 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
217 #define SWIGTYPE_p_wxMenu swig_types[5]
218 #define SWIGTYPE_p_wxEvent swig_types[6]
219 #define SWIGTYPE_p_wxConfigBase swig_types[7]
220 #define SWIGTYPE_p_wxWave swig_types[8]
221 #define SWIGTYPE_p_wxFileType swig_types[9]
222 #define SWIGTYPE_p_wxLogGui swig_types[10]
223 #define SWIGTYPE_p_wxFont swig_types[11]
224 #define SWIGTYPE_p_wxDataFormat swig_types[12]
225 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
226 #define SWIGTYPE_p_wxCaret swig_types[14]
227 #define SWIGTYPE_p_int swig_types[15]
228 #define SWIGTYPE_p_wxSize swig_types[16]
229 #define SWIGTYPE_p_wxClipboard swig_types[17]
230 #define SWIGTYPE_p_wxStopWatch swig_types[18]
231 #define SWIGTYPE_p_wxDC swig_types[19]
232 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
233 #define SWIGTYPE_p_wxIcon swig_types[21]
234 #define SWIGTYPE_p_wxLogStderr swig_types[22]
235 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
236 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
237 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
238 #define SWIGTYPE_p_wxFileDataObject swig_types[26]
239 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
240 #define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
241 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
242 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
243 #define SWIGTYPE_p_wxDataObject swig_types[31]
244 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
245 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
246 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
247 #define SWIGTYPE_p_wxTimerRunner swig_types[35]
248 #define SWIGTYPE_p_wxLogWindow swig_types[36]
249 #define SWIGTYPE_p_wxTimeSpan swig_types[37]
250 #define SWIGTYPE_p_wxArrayString swig_types[38]
251 #define SWIGTYPE_p_wxWindowDisabler swig_types[39]
252 #define SWIGTYPE_p_wxToolTip swig_types[40]
253 #define SWIGTYPE_p_wxDataObjectComposite swig_types[41]
254 #define SWIGTYPE_p_wxFileConfig swig_types[42]
255 #define SWIGTYPE_p_wxSystemSettings swig_types[43]
256 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[44]
257 #define SWIGTYPE_p_wxDataObjectSimple swig_types[45]
258 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
259 #define SWIGTYPE_p_wxRect swig_types[47]
260 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[48]
261 #define SWIGTYPE_p_wxFileTypeInfo swig_types[49]
262 #define SWIGTYPE_p_wxFrame swig_types[50]
263 #define SWIGTYPE_p_wxTimer swig_types[51]
264 #define SWIGTYPE_p_wxMimeTypesManager swig_types[52]
265 #define SWIGTYPE_p_wxPyArtProvider swig_types[53]
266 #define SWIGTYPE_p_wxPyTipProvider swig_types[54]
267 #define SWIGTYPE_p_wxTipProvider swig_types[55]
268 #define SWIGTYPE_p_wxJoystick swig_types[56]
269 #define SWIGTYPE_p_wxSystemOptions swig_types[57]
270 #define SWIGTYPE_p_wxPoint swig_types[58]
271 #define SWIGTYPE_p_wxJoystickEvent swig_types[59]
272 #define SWIGTYPE_p_wxCursor swig_types[60]
273 #define SWIGTYPE_p_wxObject swig_types[61]
274 #define SWIGTYPE_p_wxOutputStream swig_types[62]
275 #define SWIGTYPE_p_wxDateTime swig_types[63]
276 #define SWIGTYPE_p_wxPyDropSource swig_types[64]
277 #define SWIGTYPE_p_wxWindow swig_types[65]
278 #define SWIGTYPE_p_wxString swig_types[66]
279 #define SWIGTYPE_p_wxPyProcess swig_types[67]
280 #define SWIGTYPE_p_wxBitmap swig_types[68]
281 #define SWIGTYPE_p_wxConfig swig_types[69]
282 #define SWIGTYPE_p_wxChar swig_types[70]
283 #define SWIGTYPE_p_wxBusyInfo swig_types[71]
284 #define SWIGTYPE_p_wxPyDropTarget swig_types[72]
285 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[73]
286 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[74]
287 #define SWIGTYPE_p_wxProcessEvent swig_types[75]
288 #define SWIGTYPE_p_wxPyLog swig_types[76]
289 #define SWIGTYPE_p_wxLogNull swig_types[77]
290 #define SWIGTYPE_p_wxColour swig_types[78]
291 #define SWIGTYPE_p_wxConfigPathChanger swig_types[79]
292 #define SWIGTYPE_p_wxPyTimer swig_types[80]
293 #define SWIGTYPE_p_wxDateSpan swig_types[81]
294 static swig_type_info *swig_types[83];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _misc.so
301 ------------------------------------------------*/
302 #define SWIG_init init_misc
303
304 #define SWIG_name "_misc"
305
306 #include "wx/wxPython/wxPython.h"
307 #include "wx/wxPython/pyclasses.h"
308 #include "wx/wxPython/pyistream.h"
309
310
311 static const wxString wxPyEmptyString(wxEmptyString);
312
313
314 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
315 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
316 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
317
318 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
319 PyObject* o2;
320 PyObject* o3;
321
322 if (!target) {
323 target = o;
324 } else if (target == Py_None) {
325 Py_DECREF(Py_None);
326 target = o;
327 } else {
328 if (!PyTuple_Check(target)) {
329 o2 = target;
330 target = PyTuple_New(1);
331 PyTuple_SetItem(target, 0, o2);
332 }
333 o3 = PyTuple_New(1);
334 PyTuple_SetItem(o3, 0, o);
335
336 o2 = target;
337 target = PySequence_Concat(o2, o3);
338 Py_DECREF(o2);
339 Py_DECREF(o3);
340 }
341 return target;
342 }
343
344
345 long wxGetFreeMemory()
346 { wxPyRaiseNotImplemented(); return 0; }
347
348
349 bool wxGetKeyState(wxKeyCode key)
350 { wxPyRaiseNotImplemented(); return False; }
351
352
353 void wxWakeUpMainThread() {}
354
355
356 bool wxThread_IsMain() {
357 #ifdef WXP_WITH_THREAD
358 return wxThread::IsMain();
359 #else
360 return True;
361 #endif
362 }
363
364
365 int wxCaret_GetBlinkTime() {
366 return wxCaret::GetBlinkTime();
367 }
368
369 void wxCaret_SetBlinkTime(int milliseconds) {
370 wxCaret::SetBlinkTime(milliseconds);
371 }
372
373
374 #include <wx/snglinst.h>
375
376
377 #ifdef __WXMSW__
378 #include <wx/msw/private.h>
379 #include <wx/dynload.h>
380 #endif
381
382
383
384 void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
385 {
386 #ifdef __WXMSW__
387
388 switch (method)
389 {
390 case 1:
391 // This one only partially works. Appears to be an undocumented
392 // "standard" convention that not all widgets adhear to. For
393 // example, for some widgets backgrounds or non-client areas may
394 // not be painted.
395 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
396 break;
397
398 case 2:
399 // This one works much better, except for on XP. On Win2k nearly
400 // all widgets and their children are captured correctly[**]. On
401 // XP with Themes activated most native widgets draw only
402 // partially, if at all. Without themes it works just like on
403 // Win2k.
404 //
405 // ** For example the radio buttons in a wxRadioBox are not its
406 // children by default, but you can capture it via the panel
407 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
408 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
409 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
410 PRF_ERASEBKGND | PRF_OWNED );
411 break;
412
413 case 3:
414 // This one is only defined in the latest SDK and is only
415 // available on XP. MSDN says it is similar to sending WM_PRINT
416 // so I expect that it will work similar to the above. Since it
417 // is avaialble only on XP, it can't be compiled like this and
418 // will have to be loaded dynamically.
419 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
420
421 // fall through
422
423 case 4:
424 // Use PrintWindow if available, or fallback to WM_PRINT
425 // otherwise. Unfortunately using PrintWindow is even worse than
426 // WM_PRINT. For most native widgets nothing is drawn to the dc
427 // at all, with or without Themes.
428 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
429 static bool s_triedToLoad = False;
430 static PrintWindow_t pfnPrintWindow = NULL;
431 if ( !s_triedToLoad )
432 {
433
434 s_triedToLoad = True;
435 wxDynamicLibrary dllUser32(_T("user32.dll"));
436 if ( dllUser32.IsLoaded() )
437 {
438 wxLogNull nolog; // Don't report errors here
439 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
440 }
441 }
442 if (pfnPrintWindow)
443 {
444 printf("Using PrintWindow\n");
445 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
446 }
447 else
448 {
449 printf("Using WM_PRINT\n");
450 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
451 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
452 }
453 }
454 #endif
455 }
456
457
458
459 #include <wx/tipdlg.h>
460
461
462 class wxPyTipProvider : public wxTipProvider {
463 public:
464 wxPyTipProvider(size_t currentTip)
465 : wxTipProvider(currentTip) {}
466
467 DEC_PYCALLBACK_STRING__pure(GetTip);
468 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
469 PYPRIVATE;
470 };
471
472 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
473 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
474
475
476 IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
477
478 wxString Log_TimeStamp(){
479 wxString msg;
480 wxLog::TimeStamp(&msg);
481 return msg;
482 }
483 void wxLog_Destroy(wxLog *self){ delete self; }
484
485 // A wxLog class that can be derived from in wxPython
486 class wxPyLog : public wxLog {
487 public:
488 wxPyLog() : wxLog() {}
489
490 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
491 bool found;
492 wxPyBeginBlockThreads();
493 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
494 PyObject* s = wx2PyString(szString);
495 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
496 Py_DECREF(s);
497 }
498 wxPyEndBlockThreads();
499 if (! found)
500 wxLog::DoLog(level, szString, t);
501 }
502
503 virtual void DoLogString(const wxChar *szString, time_t t) {
504 bool found;
505 wxPyBeginBlockThreads();
506 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
507 PyObject* s = wx2PyString(szString);
508 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
509 Py_DECREF(s);
510 }
511 wxPyEndBlockThreads();
512 if (! found)
513 wxLog::DoLogString(szString, t);
514 }
515
516 PYPRIVATE;
517 };
518
519
520
521
522 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
523
524
525 #include <wx/joystick.h>
526
527
528 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
529 // A C++ stub class for wxJoystick for platforms that don't have it.
530 class wxJoystick : public wxObject {
531 public:
532 wxJoystick(int joystick = wxJOYSTICK1) {
533 wxPyBeginBlockThreads();
534 PyErr_SetString(PyExc_NotImplementedError,
535 "wxJoystick is not available on this platform.");
536 wxPyEndBlockThreads();
537 }
538 wxPoint GetPosition() { return wxPoint(-1,-1); }
539 int GetZPosition() { return -1; }
540 int GetButtonState() { return -1; }
541 int GetPOVPosition() { return -1; }
542 int GetPOVCTSPosition() { return -1; }
543 int GetRudderPosition() { return -1; }
544 int GetUPosition() { return -1; }
545 int GetVPosition() { return -1; }
546 int GetMovementThreshold() { return -1; }
547 void SetMovementThreshold(int threshold) {}
548
549 bool IsOk(void) { return False; }
550 int GetNumberJoysticks() { return -1; }
551 int GetManufacturerId() { return -1; }
552 int GetProductId() { return -1; }
553 wxString GetProductName() { return ""; }
554 int GetXMin() { return -1; }
555 int GetYMin() { return -1; }
556 int GetZMin() { return -1; }
557 int GetXMax() { return -1; }
558 int GetYMax() { return -1; }
559 int GetZMax() { return -1; }
560 int GetNumberButtons() { return -1; }
561 int GetNumberAxes() { return -1; }
562 int GetMaxButtons() { return -1; }
563 int GetMaxAxes() { return -1; }
564 int GetPollingMin() { return -1; }
565 int GetPollingMax() { return -1; }
566 int GetRudderMin() { return -1; }
567 int GetRudderMax() { return -1; }
568 int GetUMin() { return -1; }
569 int GetUMax() { return -1; }
570 int GetVMin() { return -1; }
571 int GetVMax() { return -1; }
572
573 bool HasRudder() { return False; }
574 bool HasZ() { return False; }
575 bool HasU() { return False; }
576 bool HasV() { return False; }
577 bool HasPOV() { return False; }
578 bool HasPOV4Dir() { return False; }
579 bool HasPOVCTS() { return False; }
580
581 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
582 bool ReleaseCapture() { return False; }
583 };
584 #endif
585
586
587 #include <wx/wave.h>
588
589
590 #if !wxUSE_WAVE
591 // A C++ stub class for wxWave for platforms that don't have it.
592 class wxWave : public wxObject
593 {
594 public:
595 wxWave(const wxString& fileName, bool isResource = False) {
596 wxPyBeginBlockThreads();
597 PyErr_SetString(PyExc_NotImplementedError,
598 "wxWave is not available on this platform.");
599 wxPyEndBlockThreads();
600 }
601 wxWave(int size, const wxByte* data) {
602 wxPyBeginBlockThreads();
603 PyErr_SetString(PyExc_NotImplementedError,
604 "wxWave is not available on this platform.");
605 wxPyEndBlockThreads();
606 }
607
608 ~wxWave() {}
609
610 bool IsOk() const { return False; }
611 bool Play(bool async = True, bool looped = False) const { return False; }
612 };
613
614 #endif
615
616 wxWave *new_wxWave(wxString const &data){
617 return new wxWave(data.Len(), (wxByte*)data.c_str());
618 }
619
620 #include <wx/mimetype.h>
621
622 PyObject *wxFileType_GetMimeType(wxFileType *self){
623 wxString str;
624 if (self->GetMimeType(&str))
625 return wx2PyString(str);
626 else
627 RETURN_NONE();
628 }
629 PyObject *wxFileType_GetMimeTypes(wxFileType *self){
630 wxArrayString arr;
631 if (self->GetMimeTypes(arr))
632 return wxArrayString2PyList_helper(arr);
633 else
634 RETURN_NONE();
635 }
636 PyObject *wxFileType_GetExtensions(wxFileType *self){
637 wxArrayString arr;
638 if (self->GetExtensions(arr))
639 return wxArrayString2PyList_helper(arr);
640 else
641 RETURN_NONE();
642 }
643 wxIcon *wxFileType_GetIcon(wxFileType *self){
644 wxIconLocation loc;
645 if (self->GetIcon(&loc))
646 return new wxIcon(loc);
647 else
648 return NULL;
649 }
650 PyObject *wxFileType_GetIconInfo(wxFileType *self){
651 wxIconLocation loc;
652 if (self->GetIcon(&loc)) {
653 wxString iconFile = loc.GetFileName();
654 int iconIndex = -1;
655
656
657
658 // Make a tuple and put the values in it
659 wxPyBeginBlockThreads();
660 PyObject* tuple = PyTuple_New(3);
661 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
662 wxT("wxIcon"), True));
663 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
664 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
665 wxPyEndBlockThreads();
666 return tuple;
667 }
668 else
669 RETURN_NONE();
670 }
671 PyObject *wxFileType_GetDescription(wxFileType *self){
672 wxString str;
673 if (self->GetDescription(&str))
674 return wx2PyString(str);
675 else
676 RETURN_NONE();
677 }
678 PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
679 wxString str;
680 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
681 return wx2PyString(str);
682 else
683 RETURN_NONE();
684 }
685 PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
686 wxString str;
687 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
688 return wx2PyString(str);
689 else
690 RETURN_NONE();
691 }
692 PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
693 wxArrayString verbs;
694 wxArrayString commands;
695 if (self->GetAllCommands(&verbs, &commands,
696 wxFileType::MessageParameters(filename, mimetype))) {
697 wxPyBeginBlockThreads();
698 PyObject* tuple = PyTuple_New(2);
699 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
700 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
701 wxPyEndBlockThreads();
702 return tuple;
703 }
704 else
705 RETURN_NONE();
706 }
707 wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
708 return wxFileType::ExpandCommand(command,
709 wxFileType::MessageParameters(filename, mimetype));
710 }
711 PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
712 wxArrayString arr;
713 self->EnumAllFileTypes(arr);
714 return wxArrayString2PyList_helper(arr);
715 }
716
717 #include <wx/artprov.h>
718
719 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
720 static const wxString wxPyART_MENU(wxART_MENU);
721 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
722 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
723 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
724 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
725 static const wxString wxPyART_OTHER(wxART_OTHER);
726 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
727 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
728 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
729 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
730 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
731 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
732 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
733 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
734 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
735 static const wxString wxPyART_GO_UP(wxART_GO_UP);
736 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
737 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
738 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
739 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
740 static const wxString wxPyART_PRINT(wxART_PRINT);
741 static const wxString wxPyART_HELP(wxART_HELP);
742 static const wxString wxPyART_TIP(wxART_TIP);
743 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
744 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
745 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
746 static const wxString wxPyART_FOLDER(wxART_FOLDER);
747 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
748 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
749 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
750 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
751 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
752 static const wxString wxPyART_ERROR(wxART_ERROR);
753 static const wxString wxPyART_QUESTION(wxART_QUESTION);
754 static const wxString wxPyART_WARNING(wxART_WARNING);
755 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
756 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
757 // Python aware wxArtProvider
758 class wxPyArtProvider : public wxArtProvider {
759 public:
760
761 virtual wxBitmap CreateBitmap(const wxArtID& id,
762 const wxArtClient& client,
763 const wxSize& size) {
764 wxBitmap rval = wxNullBitmap;
765 wxPyBeginBlockThreads();
766 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
767 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
768 PyObject* ro;
769 wxBitmap* ptr;
770 PyObject* s1, *s2;
771 s1 = wx2PyString(id);
772 s2 = wx2PyString(client);
773 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
774 Py_DECREF(so);
775 Py_DECREF(s1);
776 Py_DECREF(s2);
777 if (ro) {
778 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
779 rval = *ptr;
780 Py_DECREF(ro);
781 }
782 }
783 wxPyEndBlockThreads();
784 return rval;
785 }
786
787 PYPRIVATE;
788 };
789
790 void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
791
792
793
794 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
795 PyObject* ret = PyTuple_New(3);
796 if (ret) {
797 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
798 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
799 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
800 }
801 return ret;
802 }
803
804 PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
805 bool cont;
806 long index = 0;
807 wxString value;
808
809 cont = self->GetFirstGroup(value, index);
810 return __EnumerationHelper(cont, value, index);
811 }
812 PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
813 bool cont;
814 wxString value;
815
816 cont = self->GetNextGroup(value, index);
817 return __EnumerationHelper(cont, value, index);
818 }
819 PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
820 bool cont;
821 long index = 0;
822 wxString value;
823
824 cont = self->GetFirstEntry(value, index);
825 return __EnumerationHelper(cont, value, index);
826 }
827 PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
828 bool cont;
829 wxString value;
830
831 cont = self->GetNextEntry(value, index);
832 return __EnumerationHelper(cont, value, index);
833 }
834 long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
835 long rv;
836 self->Read(key, &rv, defaultVal);
837 return rv;
838 }
839 double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
840 double rv;
841 self->Read(key, &rv, defaultVal);
842 return rv;
843 }
844 bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
845 bool rv;
846 self->Read(key, &rv, defaultVal);
847 return rv;
848 }
849
850 #include <wx/datetime.h>
851
852
853 static const wxString wxPyDateFormatStr(wxT(wxT("%c")));
854 static const wxString wxPyTimeSpanFormatStr(wxT(wxT("%H:%M:%S")));
855
856 #define LOCAL_TZ wxDateTime::Local
857
858 wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
859 wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
860 wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
861 wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
862 wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
863 bool wxDateTime___lt__(wxDateTime *self,wxDateTime const &other){ return *self < other; }
864 bool wxDateTime___le__(wxDateTime *self,wxDateTime const &other){ return *self <= other; }
865 bool wxDateTime___gt__(wxDateTime *self,wxDateTime const &other){ return *self > other; }
866 bool wxDateTime___ge__(wxDateTime *self,wxDateTime const &other){ return *self >= other; }
867 bool wxDateTime___eq__(wxDateTime *self,wxDateTime const &other){ return *self == other; }
868 bool wxDateTime___ne__(wxDateTime *self,wxDateTime const &other){ return *self != other; }
869 int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
870 const wxChar* rv;
871 const wxChar* _date = date;
872 rv = self->ParseRfc822Date(_date);
873 if (rv == NULL) return -1;
874 return rv - _date;
875 }
876 int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
877 const wxChar* rv;
878 const wxChar* _date = date;
879 rv = self->ParseFormat(_date, format, dateDef);
880 if (rv == NULL) return -1;
881 return rv - _date;
882 }
883 int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
884 const wxChar* rv;
885 const wxChar* _datetime = datetime;
886 rv = self->ParseDateTime(_datetime);
887 if (rv == NULL) return -1;
888 return rv - _datetime;
889 }
890 int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
891 const wxChar* rv;
892 const wxChar* _date = date;
893 rv = self->ParseDate(_date);
894 if (rv == NULL) return -1;
895 return rv - _date;
896 }
897 int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
898 const wxChar* rv;
899 const wxChar* _time = time;
900 rv = self->ParseTime(_time);
901 if (rv == NULL) return -1;
902 return rv - _time;
903 }
904 wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
905 wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
906 wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
907 wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
908 bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self < other; }
909 bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const &other){ return *self <= other; }
910 bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self > other; }
911 bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const &other){ return *self >= other; }
912 bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const &other){ return *self == other; }
913 bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const &other){ return *self != other; }
914 wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
915 wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
916 wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
917 wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
918 bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const &other){ return *self == other; }
919 bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const &other){ return *self != other; }
920
921 #include <wx/dataobj.h>
922
923 // Create a new class for wxPython to use
924 class wxPyDataObjectSimple : public wxDataObjectSimple {
925 public:
926 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
927 : wxDataObjectSimple(format) {}
928
929 DEC_PYCALLBACK_SIZET__const(GetDataSize);
930 bool GetDataHere(void *buf) const;
931 bool SetData(size_t len, const void *buf) const;
932 PYPRIVATE;
933 };
934
935 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
936
937 bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
938 // We need to get the data for this object and write it to buf. I think
939 // the best way to do this for wxPython is to have the Python method
940 // return either a string or None and then act appropriately with the
941 // C++ version.
942
943 bool rval = False;
944 wxPyBeginBlockThreads();
945 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
946 PyObject* ro;
947 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
948 if (ro) {
949 rval = (ro != Py_None && PyString_Check(ro));
950 if (rval)
951 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
952 Py_DECREF(ro);
953 }
954 }
955 wxPyEndBlockThreads();
956 return rval;
957 }
958
959 bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
960 // For this one we simply need to make a string from buf and len
961 // and send it to the Python method.
962 bool rval = False;
963 wxPyBeginBlockThreads();
964 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
965 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
966 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
967 Py_DECREF(data);
968 }
969 wxPyEndBlockThreads();
970 return rval;
971 }
972
973 // Create a new class for wxPython to use
974 class wxPyTextDataObject : public wxTextDataObject {
975 public:
976 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
977 : wxTextDataObject(text) {}
978
979 DEC_PYCALLBACK_SIZET__const(GetTextLength);
980 DEC_PYCALLBACK_STRING__const(GetText);
981 DEC_PYCALLBACK__STRING(SetText);
982 PYPRIVATE;
983 };
984
985 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
986 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
987 IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
988
989
990 // Create a new class for wxPython to use
991 class wxPyBitmapDataObject : public wxBitmapDataObject {
992 public:
993 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
994 : wxBitmapDataObject(bitmap) {}
995
996 wxBitmap GetBitmap() const;
997 void SetBitmap(const wxBitmap& bitmap);
998 PYPRIVATE;
999 };
1000
1001 wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1002 wxBitmap* rval = &wxNullBitmap;
1003 wxPyBeginBlockThreads();
1004 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1005 PyObject* ro;
1006 wxBitmap* ptr;
1007 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1008 if (ro) {
1009 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1010 rval = ptr;
1011 Py_DECREF(ro);
1012 }
1013 }
1014 wxPyEndBlockThreads();
1015 return *rval;
1016 }
1017
1018 void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1019 wxPyBeginBlockThreads();
1020 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1021 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
1022 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1023 Py_DECREF(bo);
1024 }
1025 wxPyEndBlockThreads();
1026 }
1027
1028 void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1029 if (PyString_Check(data)) {
1030 // for Python we just call SetData here since we always need it to make a copy.
1031 self->SetData(PyString_Size(data), PyString_AsString(data));
1032 }
1033 else {
1034 // raise a TypeError if not a string
1035 PyErr_SetString(PyExc_TypeError, "String expected.");
1036 }
1037 }
1038 bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1039 if (PyString_Check(data)) {
1040 return self->SetData(PyString_Size(data), PyString_AsString(data));
1041 }
1042 else {
1043 // raise a TypeError if not a string
1044 PyErr_SetString(PyExc_TypeError, "String expected.");
1045 return False;
1046 }
1047 }
1048 PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1049 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1050 }
1051
1052 class wxMetafileDataObject : public wxDataObjectSimple
1053 {
1054 public:
1055 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1056 };
1057
1058
1059
1060
1061 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1062
1063
1064 IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1065 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1066 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1067 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1068 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1069
1070
1071 class wxPyTextDropTarget : public wxTextDropTarget {
1072 public:
1073 wxPyTextDropTarget() {}
1074
1075 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1076
1077 DEC_PYCALLBACK__(OnLeave);
1078 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1079 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1080 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1081 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1082
1083 PYPRIVATE;
1084 };
1085
1086 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1087 IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1088 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1089 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1090 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1091 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1092
1093
1094
1095 class wxPyFileDropTarget : public wxFileDropTarget {
1096 public:
1097 wxPyFileDropTarget() {}
1098
1099 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1100
1101 DEC_PYCALLBACK__(OnLeave);
1102 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1103 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1104 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1105 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1106
1107 PYPRIVATE;
1108 };
1109
1110 bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1111 const wxArrayString& filenames) {
1112 bool rval = False;
1113 wxPyBeginBlockThreads();
1114 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1115 PyObject* list = wxArrayString2PyList_helper(filenames);
1116 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1117 Py_DECREF(list);
1118 }
1119 wxPyEndBlockThreads();
1120 return rval;
1121 }
1122
1123
1124
1125 IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1126 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1127 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1128 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1129 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1130
1131
1132
1133
1134 bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1135 #ifdef __cplusplus
1136 extern "C" {
1137 #endif
1138 static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1139 PyObject *resultobj;
1140 int arg1 ;
1141 wxColour result;
1142 char *kwnames[] = {
1143 (char *) "index", NULL
1144 };
1145
1146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetColour",kwnames,&arg1)) goto fail;
1147 {
1148 PyThreadState* __tstate = wxPyBeginAllowThreads();
1149 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1150
1151 wxPyEndAllowThreads(__tstate);
1152 if (PyErr_Occurred()) SWIG_fail;
1153 }
1154 {
1155 wxColour * resultptr;
1156 resultptr = new wxColour((wxColour &) result);
1157 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1158 }
1159 return resultobj;
1160 fail:
1161 return NULL;
1162 }
1163
1164
1165 static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1166 PyObject *resultobj;
1167 int arg1 ;
1168 wxFont result;
1169 char *kwnames[] = {
1170 (char *) "index", NULL
1171 };
1172
1173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetFont",kwnames,&arg1)) goto fail;
1174 {
1175 PyThreadState* __tstate = wxPyBeginAllowThreads();
1176 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1177
1178 wxPyEndAllowThreads(__tstate);
1179 if (PyErr_Occurred()) SWIG_fail;
1180 }
1181 {
1182 wxFont * resultptr;
1183 resultptr = new wxFont((wxFont &) result);
1184 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
1185 }
1186 return resultobj;
1187 fail:
1188 return NULL;
1189 }
1190
1191
1192 static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1193 PyObject *resultobj;
1194 int arg1 ;
1195 int result;
1196 char *kwnames[] = {
1197 (char *) "index", NULL
1198 };
1199
1200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetMetric",kwnames,&arg1)) goto fail;
1201 {
1202 PyThreadState* __tstate = wxPyBeginAllowThreads();
1203 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1204
1205 wxPyEndAllowThreads(__tstate);
1206 if (PyErr_Occurred()) SWIG_fail;
1207 }
1208 resultobj = PyInt_FromLong((long)result);
1209 return resultobj;
1210 fail:
1211 return NULL;
1212 }
1213
1214
1215 static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1216 PyObject *resultobj;
1217 int arg1 ;
1218 bool result;
1219 char *kwnames[] = {
1220 (char *) "index", NULL
1221 };
1222
1223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_HasFeature",kwnames,&arg1)) goto fail;
1224 {
1225 PyThreadState* __tstate = wxPyBeginAllowThreads();
1226 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1227
1228 wxPyEndAllowThreads(__tstate);
1229 if (PyErr_Occurred()) SWIG_fail;
1230 }
1231 resultobj = PyInt_FromLong((long)result);
1232 return resultobj;
1233 fail:
1234 return NULL;
1235 }
1236
1237
1238 static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1239 PyObject *resultobj;
1240 int result;
1241 char *kwnames[] = {
1242 NULL
1243 };
1244
1245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1246 {
1247 PyThreadState* __tstate = wxPyBeginAllowThreads();
1248 result = (int)wxSystemSettings::GetScreenType();
1249
1250 wxPyEndAllowThreads(__tstate);
1251 if (PyErr_Occurred()) SWIG_fail;
1252 }
1253 resultobj = PyInt_FromLong((long)result);
1254 return resultobj;
1255 fail:
1256 return NULL;
1257 }
1258
1259
1260 static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1261 PyObject *resultobj;
1262 int arg1 ;
1263 char *kwnames[] = {
1264 (char *) "screen", NULL
1265 };
1266
1267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_SetScreenType",kwnames,&arg1)) goto fail;
1268 {
1269 PyThreadState* __tstate = wxPyBeginAllowThreads();
1270 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1271
1272 wxPyEndAllowThreads(__tstate);
1273 if (PyErr_Occurred()) SWIG_fail;
1274 }
1275 Py_INCREF(Py_None); resultobj = Py_None;
1276 return resultobj;
1277 fail:
1278 return NULL;
1279 }
1280
1281
1282 static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1283 PyObject *obj;
1284 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1285 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1286 Py_INCREF(obj);
1287 return Py_BuildValue((char *)"");
1288 }
1289 static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1290 PyObject *resultobj;
1291 wxSystemOptions *result;
1292 char *kwnames[] = {
1293 NULL
1294 };
1295
1296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1297 {
1298 PyThreadState* __tstate = wxPyBeginAllowThreads();
1299 result = (wxSystemOptions *)new wxSystemOptions();
1300
1301 wxPyEndAllowThreads(__tstate);
1302 if (PyErr_Occurred()) SWIG_fail;
1303 }
1304 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSystemOptions, 1);
1305 return resultobj;
1306 fail:
1307 return NULL;
1308 }
1309
1310
1311 static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1312 PyObject *resultobj;
1313 wxString *arg1 = 0 ;
1314 wxString *arg2 = 0 ;
1315 bool temp1 = False ;
1316 bool temp2 = False ;
1317 PyObject * obj0 = 0 ;
1318 PyObject * obj1 = 0 ;
1319 char *kwnames[] = {
1320 (char *) "name",(char *) "value", NULL
1321 };
1322
1323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1324 {
1325 arg1 = wxString_in_helper(obj0);
1326 if (arg1 == NULL) SWIG_fail;
1327 temp1 = True;
1328 }
1329 {
1330 arg2 = wxString_in_helper(obj1);
1331 if (arg2 == NULL) SWIG_fail;
1332 temp2 = True;
1333 }
1334 {
1335 PyThreadState* __tstate = wxPyBeginAllowThreads();
1336 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1337
1338 wxPyEndAllowThreads(__tstate);
1339 if (PyErr_Occurred()) SWIG_fail;
1340 }
1341 Py_INCREF(Py_None); resultobj = Py_None;
1342 {
1343 if (temp1)
1344 delete arg1;
1345 }
1346 {
1347 if (temp2)
1348 delete arg2;
1349 }
1350 return resultobj;
1351 fail:
1352 {
1353 if (temp1)
1354 delete arg1;
1355 }
1356 {
1357 if (temp2)
1358 delete arg2;
1359 }
1360 return NULL;
1361 }
1362
1363
1364 static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1365 PyObject *resultobj;
1366 wxString *arg1 = 0 ;
1367 int arg2 ;
1368 bool temp1 = False ;
1369 PyObject * obj0 = 0 ;
1370 char *kwnames[] = {
1371 (char *) "name",(char *) "value", NULL
1372 };
1373
1374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SystemOptions_SetOptionInt",kwnames,&obj0,&arg2)) goto fail;
1375 {
1376 arg1 = wxString_in_helper(obj0);
1377 if (arg1 == NULL) SWIG_fail;
1378 temp1 = True;
1379 }
1380 {
1381 PyThreadState* __tstate = wxPyBeginAllowThreads();
1382 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1383
1384 wxPyEndAllowThreads(__tstate);
1385 if (PyErr_Occurred()) SWIG_fail;
1386 }
1387 Py_INCREF(Py_None); resultobj = Py_None;
1388 {
1389 if (temp1)
1390 delete arg1;
1391 }
1392 return resultobj;
1393 fail:
1394 {
1395 if (temp1)
1396 delete arg1;
1397 }
1398 return NULL;
1399 }
1400
1401
1402 static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1403 PyObject *resultobj;
1404 wxString *arg1 = 0 ;
1405 wxString result;
1406 bool temp1 = False ;
1407 PyObject * obj0 = 0 ;
1408 char *kwnames[] = {
1409 (char *) "name", NULL
1410 };
1411
1412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1413 {
1414 arg1 = wxString_in_helper(obj0);
1415 if (arg1 == NULL) SWIG_fail;
1416 temp1 = True;
1417 }
1418 {
1419 PyThreadState* __tstate = wxPyBeginAllowThreads();
1420 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1421
1422 wxPyEndAllowThreads(__tstate);
1423 if (PyErr_Occurred()) SWIG_fail;
1424 }
1425 {
1426 #if wxUSE_UNICODE
1427 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1428 #else
1429 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1430 #endif
1431 }
1432 {
1433 if (temp1)
1434 delete arg1;
1435 }
1436 return resultobj;
1437 fail:
1438 {
1439 if (temp1)
1440 delete arg1;
1441 }
1442 return NULL;
1443 }
1444
1445
1446 static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1447 PyObject *resultobj;
1448 wxString *arg1 = 0 ;
1449 int result;
1450 bool temp1 = False ;
1451 PyObject * obj0 = 0 ;
1452 char *kwnames[] = {
1453 (char *) "name", NULL
1454 };
1455
1456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1457 {
1458 arg1 = wxString_in_helper(obj0);
1459 if (arg1 == NULL) SWIG_fail;
1460 temp1 = True;
1461 }
1462 {
1463 PyThreadState* __tstate = wxPyBeginAllowThreads();
1464 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1465
1466 wxPyEndAllowThreads(__tstate);
1467 if (PyErr_Occurred()) SWIG_fail;
1468 }
1469 resultobj = PyInt_FromLong((long)result);
1470 {
1471 if (temp1)
1472 delete arg1;
1473 }
1474 return resultobj;
1475 fail:
1476 {
1477 if (temp1)
1478 delete arg1;
1479 }
1480 return NULL;
1481 }
1482
1483
1484 static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1485 PyObject *resultobj;
1486 wxString *arg1 = 0 ;
1487 bool result;
1488 bool temp1 = False ;
1489 PyObject * obj0 = 0 ;
1490 char *kwnames[] = {
1491 (char *) "name", NULL
1492 };
1493
1494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1495 {
1496 arg1 = wxString_in_helper(obj0);
1497 if (arg1 == NULL) SWIG_fail;
1498 temp1 = True;
1499 }
1500 {
1501 PyThreadState* __tstate = wxPyBeginAllowThreads();
1502 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1503
1504 wxPyEndAllowThreads(__tstate);
1505 if (PyErr_Occurred()) SWIG_fail;
1506 }
1507 resultobj = PyInt_FromLong((long)result);
1508 {
1509 if (temp1)
1510 delete arg1;
1511 }
1512 return resultobj;
1513 fail:
1514 {
1515 if (temp1)
1516 delete arg1;
1517 }
1518 return NULL;
1519 }
1520
1521
1522 static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1523 PyObject *obj;
1524 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1525 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1526 Py_INCREF(obj);
1527 return Py_BuildValue((char *)"");
1528 }
1529 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
1530 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
1531 return 1;
1532 }
1533
1534
1535 static PyObject *_wrap_FileSelectorPromptStr_get() {
1536 PyObject *pyobj;
1537
1538 {
1539 #if wxUSE_UNICODE
1540 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1541 #else
1542 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1543 #endif
1544 }
1545 return pyobj;
1546 }
1547
1548
1549 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
1550 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
1551 return 1;
1552 }
1553
1554
1555 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
1556 PyObject *pyobj;
1557
1558 {
1559 #if wxUSE_UNICODE
1560 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1561 #else
1562 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1563 #endif
1564 }
1565 return pyobj;
1566 }
1567
1568
1569 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
1570 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
1571 return 1;
1572 }
1573
1574
1575 static PyObject *_wrap_DirSelectorPromptStr_get() {
1576 PyObject *pyobj;
1577
1578 {
1579 #if wxUSE_UNICODE
1580 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1581 #else
1582 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1583 #endif
1584 }
1585 return pyobj;
1586 }
1587
1588
1589 static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1590 PyObject *resultobj;
1591 long result;
1592 char *kwnames[] = {
1593 NULL
1594 };
1595
1596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1597 {
1598 PyThreadState* __tstate = wxPyBeginAllowThreads();
1599 result = (long)wxNewId();
1600
1601 wxPyEndAllowThreads(__tstate);
1602 if (PyErr_Occurred()) SWIG_fail;
1603 }
1604 resultobj = PyInt_FromLong((long)result);
1605 return resultobj;
1606 fail:
1607 return NULL;
1608 }
1609
1610
1611 static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1612 PyObject *resultobj;
1613 long arg1 ;
1614 char *kwnames[] = {
1615 (char *) "id", NULL
1616 };
1617
1618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:RegisterId",kwnames,&arg1)) goto fail;
1619 {
1620 PyThreadState* __tstate = wxPyBeginAllowThreads();
1621 wxRegisterId(arg1);
1622
1623 wxPyEndAllowThreads(__tstate);
1624 if (PyErr_Occurred()) SWIG_fail;
1625 }
1626 Py_INCREF(Py_None); resultobj = Py_None;
1627 return resultobj;
1628 fail:
1629 return NULL;
1630 }
1631
1632
1633 static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1634 PyObject *resultobj;
1635 long result;
1636 char *kwnames[] = {
1637 NULL
1638 };
1639
1640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1641 {
1642 PyThreadState* __tstate = wxPyBeginAllowThreads();
1643 result = (long)wxGetCurrentId();
1644
1645 wxPyEndAllowThreads(__tstate);
1646 if (PyErr_Occurred()) SWIG_fail;
1647 }
1648 resultobj = PyInt_FromLong((long)result);
1649 return resultobj;
1650 fail:
1651 return NULL;
1652 }
1653
1654
1655 static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1656 PyObject *resultobj;
1657 char *kwnames[] = {
1658 NULL
1659 };
1660
1661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1662 {
1663 PyThreadState* __tstate = wxPyBeginAllowThreads();
1664 wxBell();
1665
1666 wxPyEndAllowThreads(__tstate);
1667 if (PyErr_Occurred()) SWIG_fail;
1668 }
1669 Py_INCREF(Py_None); resultobj = Py_None;
1670 return resultobj;
1671 fail:
1672 return NULL;
1673 }
1674
1675
1676 static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1677 PyObject *resultobj;
1678 char *kwnames[] = {
1679 NULL
1680 };
1681
1682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
1683 {
1684 PyThreadState* __tstate = wxPyBeginAllowThreads();
1685 wxEndBusyCursor();
1686
1687 wxPyEndAllowThreads(__tstate);
1688 if (PyErr_Occurred()) SWIG_fail;
1689 }
1690 Py_INCREF(Py_None); resultobj = Py_None;
1691 return resultobj;
1692 fail:
1693 return NULL;
1694 }
1695
1696
1697 static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1698 PyObject *resultobj;
1699 bool arg1 = (bool) True ;
1700 long result;
1701 PyObject * obj0 = 0 ;
1702 char *kwnames[] = {
1703 (char *) "resetTimer", NULL
1704 };
1705
1706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
1707 if (obj0) {
1708 arg1 = PyInt_AsLong(obj0) ? true : false;
1709 if (PyErr_Occurred()) SWIG_fail;
1710 }
1711 {
1712 PyThreadState* __tstate = wxPyBeginAllowThreads();
1713 result = (long)wxGetElapsedTime(arg1);
1714
1715 wxPyEndAllowThreads(__tstate);
1716 if (PyErr_Occurred()) SWIG_fail;
1717 }
1718 resultobj = PyInt_FromLong((long)result);
1719 return resultobj;
1720 fail:
1721 return NULL;
1722 }
1723
1724
1725 static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1726 PyObject *resultobj;
1727 int *arg1 = (int *) 0 ;
1728 int *arg2 = (int *) 0 ;
1729 int temp1 ;
1730 int temp2 ;
1731 char *kwnames[] = {
1732 NULL
1733 };
1734
1735 arg1 = &temp1;
1736 arg2 = &temp2;
1737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
1738 {
1739 PyThreadState* __tstate = wxPyBeginAllowThreads();
1740 wxGetMousePosition(arg1,arg2);
1741
1742 wxPyEndAllowThreads(__tstate);
1743 if (PyErr_Occurred()) SWIG_fail;
1744 }
1745 Py_INCREF(Py_None); resultobj = Py_None;
1746 {
1747 PyObject *o = PyInt_FromLong((long) (*arg1));
1748 resultobj = t_output_helper(resultobj,o);
1749 }
1750 {
1751 PyObject *o = PyInt_FromLong((long) (*arg2));
1752 resultobj = t_output_helper(resultobj,o);
1753 }
1754 return resultobj;
1755 fail:
1756 return NULL;
1757 }
1758
1759
1760 static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
1761 PyObject *resultobj;
1762 bool result;
1763 char *kwnames[] = {
1764 NULL
1765 };
1766
1767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
1768 {
1769 PyThreadState* __tstate = wxPyBeginAllowThreads();
1770 result = (bool)wxIsBusy();
1771
1772 wxPyEndAllowThreads(__tstate);
1773 if (PyErr_Occurred()) SWIG_fail;
1774 }
1775 resultobj = PyInt_FromLong((long)result);
1776 return resultobj;
1777 fail:
1778 return NULL;
1779 }
1780
1781
1782 static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
1783 PyObject *resultobj;
1784 wxString result;
1785 char *kwnames[] = {
1786 NULL
1787 };
1788
1789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
1790 {
1791 PyThreadState* __tstate = wxPyBeginAllowThreads();
1792 result = wxNow();
1793
1794 wxPyEndAllowThreads(__tstate);
1795 if (PyErr_Occurred()) SWIG_fail;
1796 }
1797 {
1798 #if wxUSE_UNICODE
1799 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1800 #else
1801 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1802 #endif
1803 }
1804 return resultobj;
1805 fail:
1806 return NULL;
1807 }
1808
1809
1810 static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
1811 PyObject *resultobj;
1812 wxString const &arg1_defvalue = wxPyEmptyString ;
1813 wxString *arg1 = (wxString *) &arg1_defvalue ;
1814 bool result;
1815 bool temp1 = False ;
1816 PyObject * obj0 = 0 ;
1817 char *kwnames[] = {
1818 (char *) "command", NULL
1819 };
1820
1821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
1822 if (obj0) {
1823 {
1824 arg1 = wxString_in_helper(obj0);
1825 if (arg1 == NULL) SWIG_fail;
1826 temp1 = True;
1827 }
1828 }
1829 {
1830 PyThreadState* __tstate = wxPyBeginAllowThreads();
1831 result = (bool)wxShell((wxString const &)*arg1);
1832
1833 wxPyEndAllowThreads(__tstate);
1834 if (PyErr_Occurred()) SWIG_fail;
1835 }
1836 resultobj = PyInt_FromLong((long)result);
1837 {
1838 if (temp1)
1839 delete arg1;
1840 }
1841 return resultobj;
1842 fail:
1843 {
1844 if (temp1)
1845 delete arg1;
1846 }
1847 return NULL;
1848 }
1849
1850
1851 static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
1852 PyObject *resultobj;
1853 char *kwnames[] = {
1854 NULL
1855 };
1856
1857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
1858 {
1859 PyThreadState* __tstate = wxPyBeginAllowThreads();
1860 wxStartTimer();
1861
1862 wxPyEndAllowThreads(__tstate);
1863 if (PyErr_Occurred()) SWIG_fail;
1864 }
1865 Py_INCREF(Py_None); resultobj = Py_None;
1866 return resultobj;
1867 fail:
1868 return NULL;
1869 }
1870
1871
1872 static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
1873 PyObject *resultobj;
1874 int *arg1 = (int *) 0 ;
1875 int *arg2 = (int *) 0 ;
1876 int result;
1877 int temp1 ;
1878 int temp2 ;
1879 char *kwnames[] = {
1880 NULL
1881 };
1882
1883 arg1 = &temp1;
1884 arg2 = &temp2;
1885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
1886 {
1887 PyThreadState* __tstate = wxPyBeginAllowThreads();
1888 result = (int)wxGetOsVersion(arg1,arg2);
1889
1890 wxPyEndAllowThreads(__tstate);
1891 if (PyErr_Occurred()) SWIG_fail;
1892 }
1893 resultobj = PyInt_FromLong((long)result);
1894 {
1895 PyObject *o = PyInt_FromLong((long) (*arg1));
1896 resultobj = t_output_helper(resultobj,o);
1897 }
1898 {
1899 PyObject *o = PyInt_FromLong((long) (*arg2));
1900 resultobj = t_output_helper(resultobj,o);
1901 }
1902 return resultobj;
1903 fail:
1904 return NULL;
1905 }
1906
1907
1908 static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
1909 PyObject *resultobj;
1910 wxString result;
1911 char *kwnames[] = {
1912 NULL
1913 };
1914
1915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
1916 {
1917 PyThreadState* __tstate = wxPyBeginAllowThreads();
1918 result = wxGetOsDescription();
1919
1920 wxPyEndAllowThreads(__tstate);
1921 if (PyErr_Occurred()) SWIG_fail;
1922 }
1923 {
1924 #if wxUSE_UNICODE
1925 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1926 #else
1927 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1928 #endif
1929 }
1930 return resultobj;
1931 fail:
1932 return NULL;
1933 }
1934
1935
1936 static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
1937 PyObject *resultobj;
1938 long result;
1939 char *kwnames[] = {
1940 NULL
1941 };
1942
1943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
1944 {
1945 PyThreadState* __tstate = wxPyBeginAllowThreads();
1946 result = (long)wxGetFreeMemory();
1947
1948 wxPyEndAllowThreads(__tstate);
1949 if (PyErr_Occurred()) SWIG_fail;
1950 }
1951 resultobj = PyInt_FromLong((long)result);
1952 return resultobj;
1953 fail:
1954 return NULL;
1955 }
1956
1957
1958 static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
1959 PyObject *resultobj;
1960 int arg1 ;
1961 bool result;
1962 char *kwnames[] = {
1963 (char *) "wFlags", NULL
1964 };
1965
1966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Shutdown",kwnames,&arg1)) goto fail;
1967 {
1968 PyThreadState* __tstate = wxPyBeginAllowThreads();
1969 result = (bool)wxShutdown((wxShutdownFlags )arg1);
1970
1971 wxPyEndAllowThreads(__tstate);
1972 if (PyErr_Occurred()) SWIG_fail;
1973 }
1974 resultobj = PyInt_FromLong((long)result);
1975 return resultobj;
1976 fail:
1977 return NULL;
1978 }
1979
1980
1981 static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1982 PyObject *resultobj;
1983 int arg1 ;
1984 char *kwnames[] = {
1985 (char *) "secs", NULL
1986 };
1987
1988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Sleep",kwnames,&arg1)) goto fail;
1989 {
1990 PyThreadState* __tstate = wxPyBeginAllowThreads();
1991 wxSleep(arg1);
1992
1993 wxPyEndAllowThreads(__tstate);
1994 if (PyErr_Occurred()) SWIG_fail;
1995 }
1996 Py_INCREF(Py_None); resultobj = Py_None;
1997 return resultobj;
1998 fail:
1999 return NULL;
2000 }
2001
2002
2003 static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2004 PyObject *resultobj;
2005 unsigned long arg1 ;
2006 PyObject * obj0 = 0 ;
2007 char *kwnames[] = {
2008 (char *) "milliseconds", NULL
2009 };
2010
2011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
2012 arg1 = (unsigned long) PyInt_AsLong(obj0);
2013 if (PyErr_Occurred()) SWIG_fail;
2014 {
2015 PyThreadState* __tstate = wxPyBeginAllowThreads();
2016 wxUsleep(arg1);
2017
2018 wxPyEndAllowThreads(__tstate);
2019 if (PyErr_Occurred()) SWIG_fail;
2020 }
2021 Py_INCREF(Py_None); resultobj = Py_None;
2022 return resultobj;
2023 fail:
2024 return NULL;
2025 }
2026
2027
2028 static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2029 PyObject *resultobj;
2030 bool arg1 ;
2031 PyObject * obj0 = 0 ;
2032 char *kwnames[] = {
2033 (char *) "enable", NULL
2034 };
2035
2036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2037 arg1 = PyInt_AsLong(obj0) ? true : false;
2038 if (PyErr_Occurred()) SWIG_fail;
2039 {
2040 PyThreadState* __tstate = wxPyBeginAllowThreads();
2041 wxEnableTopLevelWindows(arg1);
2042
2043 wxPyEndAllowThreads(__tstate);
2044 if (PyErr_Occurred()) SWIG_fail;
2045 }
2046 Py_INCREF(Py_None); resultobj = Py_None;
2047 return resultobj;
2048 fail:
2049 return NULL;
2050 }
2051
2052
2053 static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2054 PyObject *resultobj;
2055 wxString *arg1 = 0 ;
2056 wxString result;
2057 bool temp1 = False ;
2058 PyObject * obj0 = 0 ;
2059 char *kwnames[] = {
2060 (char *) "in", NULL
2061 };
2062
2063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2064 {
2065 arg1 = wxString_in_helper(obj0);
2066 if (arg1 == NULL) SWIG_fail;
2067 temp1 = True;
2068 }
2069 {
2070 PyThreadState* __tstate = wxPyBeginAllowThreads();
2071 result = wxStripMenuCodes((wxString const &)*arg1);
2072
2073 wxPyEndAllowThreads(__tstate);
2074 if (PyErr_Occurred()) SWIG_fail;
2075 }
2076 {
2077 #if wxUSE_UNICODE
2078 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2079 #else
2080 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2081 #endif
2082 }
2083 {
2084 if (temp1)
2085 delete arg1;
2086 }
2087 return resultobj;
2088 fail:
2089 {
2090 if (temp1)
2091 delete arg1;
2092 }
2093 return NULL;
2094 }
2095
2096
2097 static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2098 PyObject *resultobj;
2099 wxString result;
2100 char *kwnames[] = {
2101 NULL
2102 };
2103
2104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2105 {
2106 PyThreadState* __tstate = wxPyBeginAllowThreads();
2107 result = wxGetEmailAddress();
2108
2109 wxPyEndAllowThreads(__tstate);
2110 if (PyErr_Occurred()) SWIG_fail;
2111 }
2112 {
2113 #if wxUSE_UNICODE
2114 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2115 #else
2116 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2117 #endif
2118 }
2119 return resultobj;
2120 fail:
2121 return NULL;
2122 }
2123
2124
2125 static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2126 PyObject *resultobj;
2127 wxString result;
2128 char *kwnames[] = {
2129 NULL
2130 };
2131
2132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2133 {
2134 PyThreadState* __tstate = wxPyBeginAllowThreads();
2135 result = wxGetHostName();
2136
2137 wxPyEndAllowThreads(__tstate);
2138 if (PyErr_Occurred()) SWIG_fail;
2139 }
2140 {
2141 #if wxUSE_UNICODE
2142 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2143 #else
2144 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2145 #endif
2146 }
2147 return resultobj;
2148 fail:
2149 return NULL;
2150 }
2151
2152
2153 static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2154 PyObject *resultobj;
2155 wxString result;
2156 char *kwnames[] = {
2157 NULL
2158 };
2159
2160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2161 {
2162 PyThreadState* __tstate = wxPyBeginAllowThreads();
2163 result = wxGetFullHostName();
2164
2165 wxPyEndAllowThreads(__tstate);
2166 if (PyErr_Occurred()) SWIG_fail;
2167 }
2168 {
2169 #if wxUSE_UNICODE
2170 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2171 #else
2172 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2173 #endif
2174 }
2175 return resultobj;
2176 fail:
2177 return NULL;
2178 }
2179
2180
2181 static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2182 PyObject *resultobj;
2183 wxString result;
2184 char *kwnames[] = {
2185 NULL
2186 };
2187
2188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2189 {
2190 PyThreadState* __tstate = wxPyBeginAllowThreads();
2191 result = wxGetUserId();
2192
2193 wxPyEndAllowThreads(__tstate);
2194 if (PyErr_Occurred()) SWIG_fail;
2195 }
2196 {
2197 #if wxUSE_UNICODE
2198 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2199 #else
2200 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2201 #endif
2202 }
2203 return resultobj;
2204 fail:
2205 return NULL;
2206 }
2207
2208
2209 static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2210 PyObject *resultobj;
2211 wxString result;
2212 char *kwnames[] = {
2213 NULL
2214 };
2215
2216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2217 {
2218 PyThreadState* __tstate = wxPyBeginAllowThreads();
2219 result = wxGetUserName();
2220
2221 wxPyEndAllowThreads(__tstate);
2222 if (PyErr_Occurred()) SWIG_fail;
2223 }
2224 {
2225 #if wxUSE_UNICODE
2226 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2227 #else
2228 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2229 #endif
2230 }
2231 return resultobj;
2232 fail:
2233 return NULL;
2234 }
2235
2236
2237 static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2238 PyObject *resultobj;
2239 wxString result;
2240 char *kwnames[] = {
2241 NULL
2242 };
2243
2244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 result = wxGetHomeDir();
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
2252 {
2253 #if wxUSE_UNICODE
2254 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2255 #else
2256 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2257 #endif
2258 }
2259 return resultobj;
2260 fail:
2261 return NULL;
2262 }
2263
2264
2265 static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2266 PyObject *resultobj;
2267 wxString const &arg1_defvalue = wxPyEmptyString ;
2268 wxString *arg1 = (wxString *) &arg1_defvalue ;
2269 wxString result;
2270 bool temp1 = False ;
2271 PyObject * obj0 = 0 ;
2272 char *kwnames[] = {
2273 (char *) "user", NULL
2274 };
2275
2276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2277 if (obj0) {
2278 {
2279 arg1 = wxString_in_helper(obj0);
2280 if (arg1 == NULL) SWIG_fail;
2281 temp1 = True;
2282 }
2283 }
2284 {
2285 PyThreadState* __tstate = wxPyBeginAllowThreads();
2286 result = wxGetUserHome((wxString const &)*arg1);
2287
2288 wxPyEndAllowThreads(__tstate);
2289 if (PyErr_Occurred()) SWIG_fail;
2290 }
2291 {
2292 #if wxUSE_UNICODE
2293 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2294 #else
2295 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2296 #endif
2297 }
2298 {
2299 if (temp1)
2300 delete arg1;
2301 }
2302 return resultobj;
2303 fail:
2304 {
2305 if (temp1)
2306 delete arg1;
2307 }
2308 return NULL;
2309 }
2310
2311
2312 static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2313 PyObject *resultobj;
2314 unsigned long result;
2315 char *kwnames[] = {
2316 NULL
2317 };
2318
2319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2320 {
2321 PyThreadState* __tstate = wxPyBeginAllowThreads();
2322 result = (unsigned long)wxGetProcessId();
2323
2324 wxPyEndAllowThreads(__tstate);
2325 if (PyErr_Occurred()) SWIG_fail;
2326 }
2327 resultobj = PyInt_FromLong((long)result);
2328 return resultobj;
2329 fail:
2330 return NULL;
2331 }
2332
2333
2334 static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2335 PyObject *resultobj;
2336 char *kwnames[] = {
2337 NULL
2338 };
2339
2340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2341 {
2342 PyThreadState* __tstate = wxPyBeginAllowThreads();
2343 wxTrap();
2344
2345 wxPyEndAllowThreads(__tstate);
2346 if (PyErr_Occurred()) SWIG_fail;
2347 }
2348 Py_INCREF(Py_None); resultobj = Py_None;
2349 return resultobj;
2350 fail:
2351 return NULL;
2352 }
2353
2354
2355 static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2356 PyObject *resultobj;
2357 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2358 wxString *arg1 = (wxString *) &arg1_defvalue ;
2359 wxString const &arg2_defvalue = wxPyEmptyString ;
2360 wxString *arg2 = (wxString *) &arg2_defvalue ;
2361 wxString const &arg3_defvalue = wxPyEmptyString ;
2362 wxString *arg3 = (wxString *) &arg3_defvalue ;
2363 wxString const &arg4_defvalue = wxPyEmptyString ;
2364 wxString *arg4 = (wxString *) &arg4_defvalue ;
2365 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2366 wxString *arg5 = (wxString *) &arg5_defvalue ;
2367 int arg6 = (int) 0 ;
2368 wxWindow *arg7 = (wxWindow *) NULL ;
2369 int arg8 = (int) -1 ;
2370 int arg9 = (int) -1 ;
2371 wxString result;
2372 bool temp1 = False ;
2373 bool temp2 = False ;
2374 bool temp3 = False ;
2375 bool temp4 = False ;
2376 bool temp5 = False ;
2377 PyObject * obj0 = 0 ;
2378 PyObject * obj1 = 0 ;
2379 PyObject * obj2 = 0 ;
2380 PyObject * obj3 = 0 ;
2381 PyObject * obj4 = 0 ;
2382 PyObject * obj6 = 0 ;
2383 char *kwnames[] = {
2384 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2385 };
2386
2387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOiOii:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&arg9)) goto fail;
2388 if (obj0) {
2389 {
2390 arg1 = wxString_in_helper(obj0);
2391 if (arg1 == NULL) SWIG_fail;
2392 temp1 = True;
2393 }
2394 }
2395 if (obj1) {
2396 {
2397 arg2 = wxString_in_helper(obj1);
2398 if (arg2 == NULL) SWIG_fail;
2399 temp2 = True;
2400 }
2401 }
2402 if (obj2) {
2403 {
2404 arg3 = wxString_in_helper(obj2);
2405 if (arg3 == NULL) SWIG_fail;
2406 temp3 = True;
2407 }
2408 }
2409 if (obj3) {
2410 {
2411 arg4 = wxString_in_helper(obj3);
2412 if (arg4 == NULL) SWIG_fail;
2413 temp4 = True;
2414 }
2415 }
2416 if (obj4) {
2417 {
2418 arg5 = wxString_in_helper(obj4);
2419 if (arg5 == NULL) SWIG_fail;
2420 temp5 = True;
2421 }
2422 }
2423 if (obj6) {
2424 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2425 }
2426 {
2427 PyThreadState* __tstate = wxPyBeginAllowThreads();
2428 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2429
2430 wxPyEndAllowThreads(__tstate);
2431 if (PyErr_Occurred()) SWIG_fail;
2432 }
2433 {
2434 #if wxUSE_UNICODE
2435 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2436 #else
2437 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2438 #endif
2439 }
2440 {
2441 if (temp1)
2442 delete arg1;
2443 }
2444 {
2445 if (temp2)
2446 delete arg2;
2447 }
2448 {
2449 if (temp3)
2450 delete arg3;
2451 }
2452 {
2453 if (temp4)
2454 delete arg4;
2455 }
2456 {
2457 if (temp5)
2458 delete arg5;
2459 }
2460 return resultobj;
2461 fail:
2462 {
2463 if (temp1)
2464 delete arg1;
2465 }
2466 {
2467 if (temp2)
2468 delete arg2;
2469 }
2470 {
2471 if (temp3)
2472 delete arg3;
2473 }
2474 {
2475 if (temp4)
2476 delete arg4;
2477 }
2478 {
2479 if (temp5)
2480 delete arg5;
2481 }
2482 return NULL;
2483 }
2484
2485
2486 static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2487 PyObject *resultobj;
2488 wxString *arg1 = 0 ;
2489 wxString *arg2 = 0 ;
2490 wxString const &arg3_defvalue = wxPyEmptyString ;
2491 wxString *arg3 = (wxString *) &arg3_defvalue ;
2492 wxWindow *arg4 = (wxWindow *) NULL ;
2493 wxString result;
2494 bool temp1 = False ;
2495 bool temp2 = False ;
2496 bool temp3 = False ;
2497 PyObject * obj0 = 0 ;
2498 PyObject * obj1 = 0 ;
2499 PyObject * obj2 = 0 ;
2500 PyObject * obj3 = 0 ;
2501 char *kwnames[] = {
2502 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2503 };
2504
2505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2506 {
2507 arg1 = wxString_in_helper(obj0);
2508 if (arg1 == NULL) SWIG_fail;
2509 temp1 = True;
2510 }
2511 {
2512 arg2 = wxString_in_helper(obj1);
2513 if (arg2 == NULL) SWIG_fail;
2514 temp2 = True;
2515 }
2516 if (obj2) {
2517 {
2518 arg3 = wxString_in_helper(obj2);
2519 if (arg3 == NULL) SWIG_fail;
2520 temp3 = True;
2521 }
2522 }
2523 if (obj3) {
2524 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2525 }
2526 {
2527 PyThreadState* __tstate = wxPyBeginAllowThreads();
2528 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2529
2530 wxPyEndAllowThreads(__tstate);
2531 if (PyErr_Occurred()) SWIG_fail;
2532 }
2533 {
2534 #if wxUSE_UNICODE
2535 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2536 #else
2537 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2538 #endif
2539 }
2540 {
2541 if (temp1)
2542 delete arg1;
2543 }
2544 {
2545 if (temp2)
2546 delete arg2;
2547 }
2548 {
2549 if (temp3)
2550 delete arg3;
2551 }
2552 return resultobj;
2553 fail:
2554 {
2555 if (temp1)
2556 delete arg1;
2557 }
2558 {
2559 if (temp2)
2560 delete arg2;
2561 }
2562 {
2563 if (temp3)
2564 delete arg3;
2565 }
2566 return NULL;
2567 }
2568
2569
2570 static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2571 PyObject *resultobj;
2572 wxString *arg1 = 0 ;
2573 wxString *arg2 = 0 ;
2574 wxString const &arg3_defvalue = wxPyEmptyString ;
2575 wxString *arg3 = (wxString *) &arg3_defvalue ;
2576 wxWindow *arg4 = (wxWindow *) NULL ;
2577 wxString result;
2578 bool temp1 = False ;
2579 bool temp2 = False ;
2580 bool temp3 = False ;
2581 PyObject * obj0 = 0 ;
2582 PyObject * obj1 = 0 ;
2583 PyObject * obj2 = 0 ;
2584 PyObject * obj3 = 0 ;
2585 char *kwnames[] = {
2586 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2587 };
2588
2589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2590 {
2591 arg1 = wxString_in_helper(obj0);
2592 if (arg1 == NULL) SWIG_fail;
2593 temp1 = True;
2594 }
2595 {
2596 arg2 = wxString_in_helper(obj1);
2597 if (arg2 == NULL) SWIG_fail;
2598 temp2 = True;
2599 }
2600 if (obj2) {
2601 {
2602 arg3 = wxString_in_helper(obj2);
2603 if (arg3 == NULL) SWIG_fail;
2604 temp3 = True;
2605 }
2606 }
2607 if (obj3) {
2608 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2609 }
2610 {
2611 PyThreadState* __tstate = wxPyBeginAllowThreads();
2612 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2613
2614 wxPyEndAllowThreads(__tstate);
2615 if (PyErr_Occurred()) SWIG_fail;
2616 }
2617 {
2618 #if wxUSE_UNICODE
2619 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2620 #else
2621 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2622 #endif
2623 }
2624 {
2625 if (temp1)
2626 delete arg1;
2627 }
2628 {
2629 if (temp2)
2630 delete arg2;
2631 }
2632 {
2633 if (temp3)
2634 delete arg3;
2635 }
2636 return resultobj;
2637 fail:
2638 {
2639 if (temp1)
2640 delete arg1;
2641 }
2642 {
2643 if (temp2)
2644 delete arg2;
2645 }
2646 {
2647 if (temp3)
2648 delete arg3;
2649 }
2650 return NULL;
2651 }
2652
2653
2654 static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2655 PyObject *resultobj;
2656 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
2657 wxString *arg1 = (wxString *) &arg1_defvalue ;
2658 wxString const &arg2_defvalue = wxPyEmptyString ;
2659 wxString *arg2 = (wxString *) &arg2_defvalue ;
2660 long arg3 = (long) wxDD_DEFAULT_STYLE ;
2661 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2662 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2663 wxWindow *arg5 = (wxWindow *) NULL ;
2664 wxString result;
2665 bool temp1 = False ;
2666 bool temp2 = False ;
2667 wxPoint temp4 ;
2668 PyObject * obj0 = 0 ;
2669 PyObject * obj1 = 0 ;
2670 PyObject * obj3 = 0 ;
2671 PyObject * obj4 = 0 ;
2672 char *kwnames[] = {
2673 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2674 };
2675
2676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOlOO:DirSelector",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
2677 if (obj0) {
2678 {
2679 arg1 = wxString_in_helper(obj0);
2680 if (arg1 == NULL) SWIG_fail;
2681 temp1 = True;
2682 }
2683 }
2684 if (obj1) {
2685 {
2686 arg2 = wxString_in_helper(obj1);
2687 if (arg2 == NULL) SWIG_fail;
2688 temp2 = True;
2689 }
2690 }
2691 if (obj3) {
2692 {
2693 arg4 = &temp4;
2694 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2695 }
2696 }
2697 if (obj4) {
2698 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2699 }
2700 {
2701 PyThreadState* __tstate = wxPyBeginAllowThreads();
2702 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
2703
2704 wxPyEndAllowThreads(__tstate);
2705 if (PyErr_Occurred()) SWIG_fail;
2706 }
2707 {
2708 #if wxUSE_UNICODE
2709 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2710 #else
2711 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2712 #endif
2713 }
2714 {
2715 if (temp1)
2716 delete arg1;
2717 }
2718 {
2719 if (temp2)
2720 delete arg2;
2721 }
2722 return resultobj;
2723 fail:
2724 {
2725 if (temp1)
2726 delete arg1;
2727 }
2728 {
2729 if (temp2)
2730 delete arg2;
2731 }
2732 return NULL;
2733 }
2734
2735
2736 static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2737 PyObject *resultobj;
2738 wxString *arg1 = 0 ;
2739 wxString const &arg2_defvalue = wxPyEmptyString ;
2740 wxString *arg2 = (wxString *) &arg2_defvalue ;
2741 wxString const &arg3_defvalue = wxPyEmptyString ;
2742 wxString *arg3 = (wxString *) &arg3_defvalue ;
2743 wxWindow *arg4 = (wxWindow *) NULL ;
2744 int arg5 = (int) -1 ;
2745 int arg6 = (int) -1 ;
2746 bool arg7 = (bool) True ;
2747 wxString result;
2748 bool temp1 = False ;
2749 bool temp2 = False ;
2750 bool temp3 = False ;
2751 PyObject * obj0 = 0 ;
2752 PyObject * obj1 = 0 ;
2753 PyObject * obj2 = 0 ;
2754 PyObject * obj3 = 0 ;
2755 PyObject * obj6 = 0 ;
2756 char *kwnames[] = {
2757 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2758 };
2759
2760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOiiO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
2761 {
2762 arg1 = wxString_in_helper(obj0);
2763 if (arg1 == NULL) SWIG_fail;
2764 temp1 = True;
2765 }
2766 if (obj1) {
2767 {
2768 arg2 = wxString_in_helper(obj1);
2769 if (arg2 == NULL) SWIG_fail;
2770 temp2 = True;
2771 }
2772 }
2773 if (obj2) {
2774 {
2775 arg3 = wxString_in_helper(obj2);
2776 if (arg3 == NULL) SWIG_fail;
2777 temp3 = True;
2778 }
2779 }
2780 if (obj3) {
2781 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2782 }
2783 if (obj6) {
2784 arg7 = PyInt_AsLong(obj6) ? true : false;
2785 if (PyErr_Occurred()) SWIG_fail;
2786 }
2787 {
2788 PyThreadState* __tstate = wxPyBeginAllowThreads();
2789 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
2790
2791 wxPyEndAllowThreads(__tstate);
2792 if (PyErr_Occurred()) SWIG_fail;
2793 }
2794 {
2795 #if wxUSE_UNICODE
2796 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2797 #else
2798 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2799 #endif
2800 }
2801 {
2802 if (temp1)
2803 delete arg1;
2804 }
2805 {
2806 if (temp2)
2807 delete arg2;
2808 }
2809 {
2810 if (temp3)
2811 delete arg3;
2812 }
2813 return resultobj;
2814 fail:
2815 {
2816 if (temp1)
2817 delete arg1;
2818 }
2819 {
2820 if (temp2)
2821 delete arg2;
2822 }
2823 {
2824 if (temp3)
2825 delete arg3;
2826 }
2827 return NULL;
2828 }
2829
2830
2831 static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2832 PyObject *resultobj;
2833 wxString *arg1 = 0 ;
2834 wxString const &arg2_defvalue = wxPyEmptyString ;
2835 wxString *arg2 = (wxString *) &arg2_defvalue ;
2836 wxString const &arg3_defvalue = wxPyEmptyString ;
2837 wxString *arg3 = (wxString *) &arg3_defvalue ;
2838 wxWindow *arg4 = (wxWindow *) NULL ;
2839 wxString result;
2840 bool temp1 = False ;
2841 bool temp2 = False ;
2842 bool temp3 = False ;
2843 PyObject * obj0 = 0 ;
2844 PyObject * obj1 = 0 ;
2845 PyObject * obj2 = 0 ;
2846 PyObject * obj3 = 0 ;
2847 char *kwnames[] = {
2848 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2849 };
2850
2851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2852 {
2853 arg1 = wxString_in_helper(obj0);
2854 if (arg1 == NULL) SWIG_fail;
2855 temp1 = True;
2856 }
2857 if (obj1) {
2858 {
2859 arg2 = wxString_in_helper(obj1);
2860 if (arg2 == NULL) SWIG_fail;
2861 temp2 = True;
2862 }
2863 }
2864 if (obj2) {
2865 {
2866 arg3 = wxString_in_helper(obj2);
2867 if (arg3 == NULL) SWIG_fail;
2868 temp3 = True;
2869 }
2870 }
2871 if (obj3) {
2872 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2873 }
2874 {
2875 PyThreadState* __tstate = wxPyBeginAllowThreads();
2876 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2877
2878 wxPyEndAllowThreads(__tstate);
2879 if (PyErr_Occurred()) SWIG_fail;
2880 }
2881 {
2882 #if wxUSE_UNICODE
2883 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2884 #else
2885 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2886 #endif
2887 }
2888 {
2889 if (temp1)
2890 delete arg1;
2891 }
2892 {
2893 if (temp2)
2894 delete arg2;
2895 }
2896 {
2897 if (temp3)
2898 delete arg3;
2899 }
2900 return resultobj;
2901 fail:
2902 {
2903 if (temp1)
2904 delete arg1;
2905 }
2906 {
2907 if (temp2)
2908 delete arg2;
2909 }
2910 {
2911 if (temp3)
2912 delete arg3;
2913 }
2914 return NULL;
2915 }
2916
2917
2918 static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2919 PyObject *resultobj;
2920 wxString *arg1 = 0 ;
2921 wxString *arg2 = 0 ;
2922 int arg3 ;
2923 wxString *arg4 = (wxString *) 0 ;
2924 wxWindow *arg5 = (wxWindow *) NULL ;
2925 int arg6 = (int) -1 ;
2926 int arg7 = (int) -1 ;
2927 bool arg8 = (bool) True ;
2928 int arg9 = (int) 150 ;
2929 int arg10 = (int) 200 ;
2930 wxString result;
2931 bool temp1 = False ;
2932 bool temp2 = False ;
2933 PyObject * obj0 = 0 ;
2934 PyObject * obj1 = 0 ;
2935 PyObject * obj2 = 0 ;
2936 PyObject * obj3 = 0 ;
2937 PyObject * obj6 = 0 ;
2938 char *kwnames[] = {
2939 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2940 };
2941
2942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
2943 {
2944 arg1 = wxString_in_helper(obj0);
2945 if (arg1 == NULL) SWIG_fail;
2946 temp1 = True;
2947 }
2948 {
2949 arg2 = wxString_in_helper(obj1);
2950 if (arg2 == NULL) SWIG_fail;
2951 temp2 = True;
2952 }
2953 {
2954 arg3 = PyList_Size(obj2);
2955 arg4 = wxString_LIST_helper(obj2);
2956 if (arg4 == NULL) SWIG_fail;
2957 }
2958 if (obj3) {
2959 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2960 }
2961 if (obj6) {
2962 arg8 = PyInt_AsLong(obj6) ? true : false;
2963 if (PyErr_Occurred()) SWIG_fail;
2964 }
2965 {
2966 PyThreadState* __tstate = wxPyBeginAllowThreads();
2967 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
2968
2969 wxPyEndAllowThreads(__tstate);
2970 if (PyErr_Occurred()) SWIG_fail;
2971 }
2972 {
2973 #if wxUSE_UNICODE
2974 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2975 #else
2976 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2977 #endif
2978 }
2979 {
2980 if (temp1)
2981 delete arg1;
2982 }
2983 {
2984 if (temp2)
2985 delete arg2;
2986 }
2987 {
2988 if (arg4) delete [] arg4;
2989 }
2990 return resultobj;
2991 fail:
2992 {
2993 if (temp1)
2994 delete arg1;
2995 }
2996 {
2997 if (temp2)
2998 delete arg2;
2999 }
3000 {
3001 if (arg4) delete [] arg4;
3002 }
3003 return NULL;
3004 }
3005
3006
3007 static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3008 PyObject *resultobj;
3009 wxString *arg1 = 0 ;
3010 wxString *arg2 = 0 ;
3011 int arg3 ;
3012 wxString *arg4 = (wxString *) 0 ;
3013 wxWindow *arg5 = (wxWindow *) NULL ;
3014 int arg6 = (int) -1 ;
3015 int arg7 = (int) -1 ;
3016 bool arg8 = (bool) True ;
3017 int arg9 = (int) 150 ;
3018 int arg10 = (int) 200 ;
3019 int result;
3020 bool temp1 = False ;
3021 bool temp2 = False ;
3022 PyObject * obj0 = 0 ;
3023 PyObject * obj1 = 0 ;
3024 PyObject * obj2 = 0 ;
3025 PyObject * obj3 = 0 ;
3026 PyObject * obj6 = 0 ;
3027 char *kwnames[] = {
3028 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3029 };
3030
3031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
3032 {
3033 arg1 = wxString_in_helper(obj0);
3034 if (arg1 == NULL) SWIG_fail;
3035 temp1 = True;
3036 }
3037 {
3038 arg2 = wxString_in_helper(obj1);
3039 if (arg2 == NULL) SWIG_fail;
3040 temp2 = True;
3041 }
3042 {
3043 arg3 = PyList_Size(obj2);
3044 arg4 = wxString_LIST_helper(obj2);
3045 if (arg4 == NULL) SWIG_fail;
3046 }
3047 if (obj3) {
3048 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3049 }
3050 if (obj6) {
3051 arg8 = PyInt_AsLong(obj6) ? true : false;
3052 if (PyErr_Occurred()) SWIG_fail;
3053 }
3054 {
3055 PyThreadState* __tstate = wxPyBeginAllowThreads();
3056 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3057
3058 wxPyEndAllowThreads(__tstate);
3059 if (PyErr_Occurred()) SWIG_fail;
3060 }
3061 resultobj = PyInt_FromLong((long)result);
3062 {
3063 if (temp1)
3064 delete arg1;
3065 }
3066 {
3067 if (temp2)
3068 delete arg2;
3069 }
3070 {
3071 if (arg4) delete [] arg4;
3072 }
3073 return resultobj;
3074 fail:
3075 {
3076 if (temp1)
3077 delete arg1;
3078 }
3079 {
3080 if (temp2)
3081 delete arg2;
3082 }
3083 {
3084 if (arg4) delete [] arg4;
3085 }
3086 return NULL;
3087 }
3088
3089
3090 static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3091 PyObject *resultobj;
3092 wxString *arg1 = 0 ;
3093 wxString const &arg2_defvalue = wxPyEmptyString ;
3094 wxString *arg2 = (wxString *) &arg2_defvalue ;
3095 int arg3 = (int) wxOK|wxCENTRE ;
3096 wxWindow *arg4 = (wxWindow *) NULL ;
3097 int arg5 = (int) -1 ;
3098 int arg6 = (int) -1 ;
3099 int result;
3100 bool temp1 = False ;
3101 bool temp2 = False ;
3102 PyObject * obj0 = 0 ;
3103 PyObject * obj1 = 0 ;
3104 PyObject * obj3 = 0 ;
3105 char *kwnames[] = {
3106 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3107 };
3108
3109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OiOii:MessageBox",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5,&arg6)) goto fail;
3110 {
3111 arg1 = wxString_in_helper(obj0);
3112 if (arg1 == NULL) SWIG_fail;
3113 temp1 = True;
3114 }
3115 if (obj1) {
3116 {
3117 arg2 = wxString_in_helper(obj1);
3118 if (arg2 == NULL) SWIG_fail;
3119 temp2 = True;
3120 }
3121 }
3122 if (obj3) {
3123 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3124 }
3125 {
3126 PyThreadState* __tstate = wxPyBeginAllowThreads();
3127 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3128
3129 wxPyEndAllowThreads(__tstate);
3130 if (PyErr_Occurred()) SWIG_fail;
3131 }
3132 resultobj = PyInt_FromLong((long)result);
3133 {
3134 if (temp1)
3135 delete arg1;
3136 }
3137 {
3138 if (temp2)
3139 delete arg2;
3140 }
3141 return resultobj;
3142 fail:
3143 {
3144 if (temp1)
3145 delete arg1;
3146 }
3147 {
3148 if (temp2)
3149 delete arg2;
3150 }
3151 return NULL;
3152 }
3153
3154
3155 static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3156 PyObject *resultobj;
3157 wxString *arg1 = 0 ;
3158 wxString *arg2 = 0 ;
3159 wxString *arg3 = 0 ;
3160 long arg4 ;
3161 long arg5 = (long) 0 ;
3162 long arg6 = (long) 100 ;
3163 wxWindow *arg7 = (wxWindow *) NULL ;
3164 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3165 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3166 long result;
3167 bool temp1 = False ;
3168 bool temp2 = False ;
3169 bool temp3 = False ;
3170 wxPoint temp8 ;
3171 PyObject * obj0 = 0 ;
3172 PyObject * obj1 = 0 ;
3173 PyObject * obj2 = 0 ;
3174 PyObject * obj6 = 0 ;
3175 PyObject * obj7 = 0 ;
3176 char *kwnames[] = {
3177 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3178 };
3179
3180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOl|llOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&obj6,&obj7)) goto fail;
3181 {
3182 arg1 = wxString_in_helper(obj0);
3183 if (arg1 == NULL) SWIG_fail;
3184 temp1 = True;
3185 }
3186 {
3187 arg2 = wxString_in_helper(obj1);
3188 if (arg2 == NULL) SWIG_fail;
3189 temp2 = True;
3190 }
3191 {
3192 arg3 = wxString_in_helper(obj2);
3193 if (arg3 == NULL) SWIG_fail;
3194 temp3 = True;
3195 }
3196 if (obj6) {
3197 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3198 }
3199 if (obj7) {
3200 {
3201 arg8 = &temp8;
3202 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3203 }
3204 }
3205 {
3206 PyThreadState* __tstate = wxPyBeginAllowThreads();
3207 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3208
3209 wxPyEndAllowThreads(__tstate);
3210 if (PyErr_Occurred()) SWIG_fail;
3211 }
3212 resultobj = PyInt_FromLong((long)result);
3213 {
3214 if (temp1)
3215 delete arg1;
3216 }
3217 {
3218 if (temp2)
3219 delete arg2;
3220 }
3221 {
3222 if (temp3)
3223 delete arg3;
3224 }
3225 return resultobj;
3226 fail:
3227 {
3228 if (temp1)
3229 delete arg1;
3230 }
3231 {
3232 if (temp2)
3233 delete arg2;
3234 }
3235 {
3236 if (temp3)
3237 delete arg3;
3238 }
3239 return NULL;
3240 }
3241
3242
3243 static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3244 PyObject *resultobj;
3245 bool result;
3246 char *kwnames[] = {
3247 NULL
3248 };
3249
3250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3251 {
3252 PyThreadState* __tstate = wxPyBeginAllowThreads();
3253 result = (bool)wxColourDisplay();
3254
3255 wxPyEndAllowThreads(__tstate);
3256 if (PyErr_Occurred()) SWIG_fail;
3257 }
3258 resultobj = PyInt_FromLong((long)result);
3259 return resultobj;
3260 fail:
3261 return NULL;
3262 }
3263
3264
3265 static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3266 PyObject *resultobj;
3267 int result;
3268 char *kwnames[] = {
3269 NULL
3270 };
3271
3272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3273 {
3274 PyThreadState* __tstate = wxPyBeginAllowThreads();
3275 result = (int)wxDisplayDepth();
3276
3277 wxPyEndAllowThreads(__tstate);
3278 if (PyErr_Occurred()) SWIG_fail;
3279 }
3280 resultobj = PyInt_FromLong((long)result);
3281 return resultobj;
3282 fail:
3283 return NULL;
3284 }
3285
3286
3287 static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3288 PyObject *resultobj;
3289 int result;
3290 char *kwnames[] = {
3291 NULL
3292 };
3293
3294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3295 {
3296 PyThreadState* __tstate = wxPyBeginAllowThreads();
3297 result = (int)wxGetDisplayDepth();
3298
3299 wxPyEndAllowThreads(__tstate);
3300 if (PyErr_Occurred()) SWIG_fail;
3301 }
3302 resultobj = PyInt_FromLong((long)result);
3303 return resultobj;
3304 fail:
3305 return NULL;
3306 }
3307
3308
3309 static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3310 PyObject *resultobj;
3311 int *arg1 = (int *) 0 ;
3312 int *arg2 = (int *) 0 ;
3313 int temp1 ;
3314 int temp2 ;
3315 char *kwnames[] = {
3316 NULL
3317 };
3318
3319 arg1 = &temp1;
3320 arg2 = &temp2;
3321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3322 {
3323 PyThreadState* __tstate = wxPyBeginAllowThreads();
3324 wxDisplaySize(arg1,arg2);
3325
3326 wxPyEndAllowThreads(__tstate);
3327 if (PyErr_Occurred()) SWIG_fail;
3328 }
3329 Py_INCREF(Py_None); resultobj = Py_None;
3330 {
3331 PyObject *o = PyInt_FromLong((long) (*arg1));
3332 resultobj = t_output_helper(resultobj,o);
3333 }
3334 {
3335 PyObject *o = PyInt_FromLong((long) (*arg2));
3336 resultobj = t_output_helper(resultobj,o);
3337 }
3338 return resultobj;
3339 fail:
3340 return NULL;
3341 }
3342
3343
3344 static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3345 PyObject *resultobj;
3346 wxSize result;
3347 char *kwnames[] = {
3348 NULL
3349 };
3350
3351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3352 {
3353 PyThreadState* __tstate = wxPyBeginAllowThreads();
3354 result = wxGetDisplaySize();
3355
3356 wxPyEndAllowThreads(__tstate);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 }
3359 {
3360 wxSize * resultptr;
3361 resultptr = new wxSize((wxSize &) result);
3362 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3363 }
3364 return resultobj;
3365 fail:
3366 return NULL;
3367 }
3368
3369
3370 static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3371 PyObject *resultobj;
3372 int *arg1 = (int *) 0 ;
3373 int *arg2 = (int *) 0 ;
3374 int temp1 ;
3375 int temp2 ;
3376 char *kwnames[] = {
3377 NULL
3378 };
3379
3380 arg1 = &temp1;
3381 arg2 = &temp2;
3382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3383 {
3384 PyThreadState* __tstate = wxPyBeginAllowThreads();
3385 wxDisplaySizeMM(arg1,arg2);
3386
3387 wxPyEndAllowThreads(__tstate);
3388 if (PyErr_Occurred()) SWIG_fail;
3389 }
3390 Py_INCREF(Py_None); resultobj = Py_None;
3391 {
3392 PyObject *o = PyInt_FromLong((long) (*arg1));
3393 resultobj = t_output_helper(resultobj,o);
3394 }
3395 {
3396 PyObject *o = PyInt_FromLong((long) (*arg2));
3397 resultobj = t_output_helper(resultobj,o);
3398 }
3399 return resultobj;
3400 fail:
3401 return NULL;
3402 }
3403
3404
3405 static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3406 PyObject *resultobj;
3407 wxSize result;
3408 char *kwnames[] = {
3409 NULL
3410 };
3411
3412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3413 {
3414 PyThreadState* __tstate = wxPyBeginAllowThreads();
3415 result = wxGetDisplaySizeMM();
3416
3417 wxPyEndAllowThreads(__tstate);
3418 if (PyErr_Occurred()) SWIG_fail;
3419 }
3420 {
3421 wxSize * resultptr;
3422 resultptr = new wxSize((wxSize &) result);
3423 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3424 }
3425 return resultobj;
3426 fail:
3427 return NULL;
3428 }
3429
3430
3431 static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3432 PyObject *resultobj;
3433 int *arg1 = (int *) 0 ;
3434 int *arg2 = (int *) 0 ;
3435 int *arg3 = (int *) 0 ;
3436 int *arg4 = (int *) 0 ;
3437 int temp1 ;
3438 int temp2 ;
3439 int temp3 ;
3440 int temp4 ;
3441 char *kwnames[] = {
3442 NULL
3443 };
3444
3445 arg1 = &temp1;
3446 arg2 = &temp2;
3447 arg3 = &temp3;
3448 arg4 = &temp4;
3449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3450 {
3451 PyThreadState* __tstate = wxPyBeginAllowThreads();
3452 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3453
3454 wxPyEndAllowThreads(__tstate);
3455 if (PyErr_Occurred()) SWIG_fail;
3456 }
3457 Py_INCREF(Py_None); resultobj = Py_None;
3458 {
3459 PyObject *o = PyInt_FromLong((long) (*arg1));
3460 resultobj = t_output_helper(resultobj,o);
3461 }
3462 {
3463 PyObject *o = PyInt_FromLong((long) (*arg2));
3464 resultobj = t_output_helper(resultobj,o);
3465 }
3466 {
3467 PyObject *o = PyInt_FromLong((long) (*arg3));
3468 resultobj = t_output_helper(resultobj,o);
3469 }
3470 {
3471 PyObject *o = PyInt_FromLong((long) (*arg4));
3472 resultobj = t_output_helper(resultobj,o);
3473 }
3474 return resultobj;
3475 fail:
3476 return NULL;
3477 }
3478
3479
3480 static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3481 PyObject *resultobj;
3482 wxRect result;
3483 char *kwnames[] = {
3484 NULL
3485 };
3486
3487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3488 {
3489 PyThreadState* __tstate = wxPyBeginAllowThreads();
3490 result = wxGetClientDisplayRect();
3491
3492 wxPyEndAllowThreads(__tstate);
3493 if (PyErr_Occurred()) SWIG_fail;
3494 }
3495 {
3496 wxRect * resultptr;
3497 resultptr = new wxRect((wxRect &) result);
3498 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3499 }
3500 return resultobj;
3501 fail:
3502 return NULL;
3503 }
3504
3505
3506 static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3507 PyObject *resultobj;
3508 wxCursor *arg1 = 0 ;
3509 PyObject * obj0 = 0 ;
3510 char *kwnames[] = {
3511 (char *) "cursor", NULL
3512 };
3513
3514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3516 if (arg1 == NULL) {
3517 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3518 }
3519 {
3520 PyThreadState* __tstate = wxPyBeginAllowThreads();
3521 wxSetCursor(*arg1);
3522
3523 wxPyEndAllowThreads(__tstate);
3524 if (PyErr_Occurred()) SWIG_fail;
3525 }
3526 Py_INCREF(Py_None); resultobj = Py_None;
3527 return resultobj;
3528 fail:
3529 return NULL;
3530 }
3531
3532
3533 static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3534 PyObject *resultobj;
3535 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3536 PyObject * obj0 = 0 ;
3537 char *kwnames[] = {
3538 (char *) "cursor", NULL
3539 };
3540
3541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3542 if (obj0) {
3543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3544 }
3545 {
3546 PyThreadState* __tstate = wxPyBeginAllowThreads();
3547 wxBeginBusyCursor(arg1);
3548
3549 wxPyEndAllowThreads(__tstate);
3550 if (PyErr_Occurred()) SWIG_fail;
3551 }
3552 Py_INCREF(Py_None); resultobj = Py_None;
3553 return resultobj;
3554 fail:
3555 return NULL;
3556 }
3557
3558
3559 static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3560 PyObject *resultobj;
3561 wxWindow *result;
3562 char *kwnames[] = {
3563 NULL
3564 };
3565
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
3567 {
3568 PyThreadState* __tstate = wxPyBeginAllowThreads();
3569 result = (wxWindow *)wxGetActiveWindow();
3570
3571 wxPyEndAllowThreads(__tstate);
3572 if (PyErr_Occurred()) SWIG_fail;
3573 }
3574 {
3575 resultobj = wxPyMake_wxObject(result);
3576 }
3577 return resultobj;
3578 fail:
3579 return NULL;
3580 }
3581
3582
3583 static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3584 PyObject *resultobj;
3585 wxPoint *arg1 = 0 ;
3586 wxWindow *result;
3587 wxPoint temp1 ;
3588 PyObject * obj0 = 0 ;
3589 char *kwnames[] = {
3590 (char *) "pt", NULL
3591 };
3592
3593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
3594 {
3595 arg1 = &temp1;
3596 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3597 }
3598 {
3599 PyThreadState* __tstate = wxPyBeginAllowThreads();
3600 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
3601
3602 wxPyEndAllowThreads(__tstate);
3603 if (PyErr_Occurred()) SWIG_fail;
3604 }
3605 {
3606 resultobj = wxPyMake_wxObject(result);
3607 }
3608 return resultobj;
3609 fail:
3610 return NULL;
3611 }
3612
3613
3614 static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3615 PyObject *resultobj;
3616 wxPoint *arg1 = 0 ;
3617 wxWindow *result;
3618 wxPoint temp1 ;
3619 PyObject * obj0 = 0 ;
3620 char *kwnames[] = {
3621 (char *) "pt", NULL
3622 };
3623
3624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
3625 {
3626 arg1 = &temp1;
3627 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3628 }
3629 {
3630 PyThreadState* __tstate = wxPyBeginAllowThreads();
3631 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
3632
3633 wxPyEndAllowThreads(__tstate);
3634 if (PyErr_Occurred()) SWIG_fail;
3635 }
3636 {
3637 resultobj = wxPyMake_wxObject(result);
3638 }
3639 return resultobj;
3640 fail:
3641 return NULL;
3642 }
3643
3644
3645 static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3646 PyObject *resultobj;
3647 wxWindow *arg1 = (wxWindow *) 0 ;
3648 wxWindow *result;
3649 PyObject * obj0 = 0 ;
3650 char *kwnames[] = {
3651 (char *) "win", NULL
3652 };
3653
3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
3655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3656 {
3657 PyThreadState* __tstate = wxPyBeginAllowThreads();
3658 result = (wxWindow *)wxGetTopLevelParent(arg1);
3659
3660 wxPyEndAllowThreads(__tstate);
3661 if (PyErr_Occurred()) SWIG_fail;
3662 }
3663 {
3664 resultobj = wxPyMake_wxObject(result);
3665 }
3666 return resultobj;
3667 fail:
3668 return NULL;
3669 }
3670
3671
3672 static PyObject *_wrap_GetKeyState(PyObject *self, PyObject *args, PyObject *kwargs) {
3673 PyObject *resultobj;
3674 int arg1 ;
3675 bool result;
3676 char *kwnames[] = {
3677 (char *) "key", NULL
3678 };
3679
3680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:GetKeyState",kwnames,&arg1)) goto fail;
3681 {
3682 PyThreadState* __tstate = wxPyBeginAllowThreads();
3683 result = (bool)wxGetKeyState((wxKeyCode )arg1);
3684
3685 wxPyEndAllowThreads(__tstate);
3686 if (PyErr_Occurred()) SWIG_fail;
3687 }
3688 resultobj = PyInt_FromLong((long)result);
3689 return resultobj;
3690 fail:
3691 return NULL;
3692 }
3693
3694
3695 static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
3696 PyObject *resultobj;
3697 char *kwnames[] = {
3698 NULL
3699 };
3700
3701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
3702 {
3703 PyThreadState* __tstate = wxPyBeginAllowThreads();
3704 wxWakeUpMainThread();
3705
3706 wxPyEndAllowThreads(__tstate);
3707 if (PyErr_Occurred()) SWIG_fail;
3708 }
3709 Py_INCREF(Py_None); resultobj = Py_None;
3710 return resultobj;
3711 fail:
3712 return NULL;
3713 }
3714
3715
3716 static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
3717 PyObject *resultobj;
3718 char *kwnames[] = {
3719 NULL
3720 };
3721
3722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
3723 {
3724 PyThreadState* __tstate = wxPyBeginAllowThreads();
3725 wxMutexGuiEnter();
3726
3727 wxPyEndAllowThreads(__tstate);
3728 if (PyErr_Occurred()) SWIG_fail;
3729 }
3730 Py_INCREF(Py_None); resultobj = Py_None;
3731 return resultobj;
3732 fail:
3733 return NULL;
3734 }
3735
3736
3737 static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
3738 PyObject *resultobj;
3739 char *kwnames[] = {
3740 NULL
3741 };
3742
3743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
3744 {
3745 PyThreadState* __tstate = wxPyBeginAllowThreads();
3746 wxMutexGuiLeave();
3747
3748 wxPyEndAllowThreads(__tstate);
3749 if (PyErr_Occurred()) SWIG_fail;
3750 }
3751 Py_INCREF(Py_None); resultobj = Py_None;
3752 return resultobj;
3753 fail:
3754 return NULL;
3755 }
3756
3757
3758 static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3759 PyObject *resultobj;
3760 wxMutexGuiLocker *result;
3761 char *kwnames[] = {
3762 NULL
3763 };
3764
3765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
3766 {
3767 PyThreadState* __tstate = wxPyBeginAllowThreads();
3768 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
3769
3770 wxPyEndAllowThreads(__tstate);
3771 if (PyErr_Occurred()) SWIG_fail;
3772 }
3773 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMutexGuiLocker, 1);
3774 return resultobj;
3775 fail:
3776 return NULL;
3777 }
3778
3779
3780 static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3781 PyObject *resultobj;
3782 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
3783 PyObject * obj0 = 0 ;
3784 char *kwnames[] = {
3785 (char *) "self", NULL
3786 };
3787
3788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
3789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMutexGuiLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 delete arg1;
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
3797 Py_INCREF(Py_None); resultobj = Py_None;
3798 return resultobj;
3799 fail:
3800 return NULL;
3801 }
3802
3803
3804 static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
3805 PyObject *obj;
3806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3807 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
3808 Py_INCREF(obj);
3809 return Py_BuildValue((char *)"");
3810 }
3811 static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
3812 PyObject *resultobj;
3813 bool result;
3814 char *kwnames[] = {
3815 NULL
3816 };
3817
3818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
3819 {
3820 PyThreadState* __tstate = wxPyBeginAllowThreads();
3821 result = (bool)wxThread_IsMain();
3822
3823 wxPyEndAllowThreads(__tstate);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 }
3826 resultobj = PyInt_FromLong((long)result);
3827 return resultobj;
3828 fail:
3829 return NULL;
3830 }
3831
3832
3833 static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3834 PyObject *resultobj;
3835 wxString *arg1 = 0 ;
3836 wxToolTip *result;
3837 bool temp1 = False ;
3838 PyObject * obj0 = 0 ;
3839 char *kwnames[] = {
3840 (char *) "tip", NULL
3841 };
3842
3843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
3844 {
3845 arg1 = wxString_in_helper(obj0);
3846 if (arg1 == NULL) SWIG_fail;
3847 temp1 = True;
3848 }
3849 {
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
3852
3853 wxPyEndAllowThreads(__tstate);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
3856 {
3857 resultobj = wxPyMake_wxObject(result);
3858 }
3859 {
3860 if (temp1)
3861 delete arg1;
3862 }
3863 return resultobj;
3864 fail:
3865 {
3866 if (temp1)
3867 delete arg1;
3868 }
3869 return NULL;
3870 }
3871
3872
3873 static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3874 PyObject *resultobj;
3875 wxToolTip *arg1 = (wxToolTip *) 0 ;
3876 wxString *arg2 = 0 ;
3877 bool temp2 = False ;
3878 PyObject * obj0 = 0 ;
3879 PyObject * obj1 = 0 ;
3880 char *kwnames[] = {
3881 (char *) "self",(char *) "tip", NULL
3882 };
3883
3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
3885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3886 {
3887 arg2 = wxString_in_helper(obj1);
3888 if (arg2 == NULL) SWIG_fail;
3889 temp2 = True;
3890 }
3891 {
3892 PyThreadState* __tstate = wxPyBeginAllowThreads();
3893 (arg1)->SetTip((wxString const &)*arg2);
3894
3895 wxPyEndAllowThreads(__tstate);
3896 if (PyErr_Occurred()) SWIG_fail;
3897 }
3898 Py_INCREF(Py_None); resultobj = Py_None;
3899 {
3900 if (temp2)
3901 delete arg2;
3902 }
3903 return resultobj;
3904 fail:
3905 {
3906 if (temp2)
3907 delete arg2;
3908 }
3909 return NULL;
3910 }
3911
3912
3913 static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3914 PyObject *resultobj;
3915 wxToolTip *arg1 = (wxToolTip *) 0 ;
3916 wxString result;
3917 PyObject * obj0 = 0 ;
3918 char *kwnames[] = {
3919 (char *) "self", NULL
3920 };
3921
3922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
3923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3924 {
3925 PyThreadState* __tstate = wxPyBeginAllowThreads();
3926 result = (arg1)->GetTip();
3927
3928 wxPyEndAllowThreads(__tstate);
3929 if (PyErr_Occurred()) SWIG_fail;
3930 }
3931 {
3932 #if wxUSE_UNICODE
3933 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3934 #else
3935 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3936 #endif
3937 }
3938 return resultobj;
3939 fail:
3940 return NULL;
3941 }
3942
3943
3944 static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3945 PyObject *resultobj;
3946 wxToolTip *arg1 = (wxToolTip *) 0 ;
3947 wxWindow *result;
3948 PyObject * obj0 = 0 ;
3949 char *kwnames[] = {
3950 (char *) "self", NULL
3951 };
3952
3953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
3954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3955 {
3956 PyThreadState* __tstate = wxPyBeginAllowThreads();
3957 result = (wxWindow *)(arg1)->GetWindow();
3958
3959 wxPyEndAllowThreads(__tstate);
3960 if (PyErr_Occurred()) SWIG_fail;
3961 }
3962 {
3963 resultobj = wxPyMake_wxObject(result);
3964 }
3965 return resultobj;
3966 fail:
3967 return NULL;
3968 }
3969
3970
3971 static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
3972 PyObject *resultobj;
3973 bool arg1 ;
3974 PyObject * obj0 = 0 ;
3975 char *kwnames[] = {
3976 (char *) "flag", NULL
3977 };
3978
3979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
3980 arg1 = PyInt_AsLong(obj0) ? true : false;
3981 if (PyErr_Occurred()) SWIG_fail;
3982 {
3983 PyThreadState* __tstate = wxPyBeginAllowThreads();
3984 wxToolTip::Enable(arg1);
3985
3986 wxPyEndAllowThreads(__tstate);
3987 if (PyErr_Occurred()) SWIG_fail;
3988 }
3989 Py_INCREF(Py_None); resultobj = Py_None;
3990 return resultobj;
3991 fail:
3992 return NULL;
3993 }
3994
3995
3996 static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
3997 PyObject *resultobj;
3998 long arg1 ;
3999 char *kwnames[] = {
4000 (char *) "milliseconds", NULL
4001 };
4002
4003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:ToolTip_SetDelay",kwnames,&arg1)) goto fail;
4004 {
4005 PyThreadState* __tstate = wxPyBeginAllowThreads();
4006 wxToolTip::SetDelay(arg1);
4007
4008 wxPyEndAllowThreads(__tstate);
4009 if (PyErr_Occurred()) SWIG_fail;
4010 }
4011 Py_INCREF(Py_None); resultobj = Py_None;
4012 return resultobj;
4013 fail:
4014 return NULL;
4015 }
4016
4017
4018 static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
4019 PyObject *obj;
4020 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4021 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4022 Py_INCREF(obj);
4023 return Py_BuildValue((char *)"");
4024 }
4025 static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4026 PyObject *resultobj;
4027 wxWindow *arg1 = (wxWindow *) 0 ;
4028 wxSize *arg2 = 0 ;
4029 wxCaret *result;
4030 wxSize temp2 ;
4031 PyObject * obj0 = 0 ;
4032 PyObject * obj1 = 0 ;
4033 char *kwnames[] = {
4034 (char *) "window",(char *) "size", NULL
4035 };
4036
4037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4039 {
4040 arg2 = &temp2;
4041 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4042 }
4043 {
4044 PyThreadState* __tstate = wxPyBeginAllowThreads();
4045 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4046
4047 wxPyEndAllowThreads(__tstate);
4048 if (PyErr_Occurred()) SWIG_fail;
4049 }
4050 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 1);
4051 return resultobj;
4052 fail:
4053 return NULL;
4054 }
4055
4056
4057 static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4058 PyObject *resultobj;
4059 wxCaret *arg1 = (wxCaret *) 0 ;
4060 PyObject * obj0 = 0 ;
4061 char *kwnames[] = {
4062 (char *) "self", NULL
4063 };
4064
4065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4067 {
4068 PyThreadState* __tstate = wxPyBeginAllowThreads();
4069 delete arg1;
4070
4071 wxPyEndAllowThreads(__tstate);
4072 if (PyErr_Occurred()) SWIG_fail;
4073 }
4074 Py_INCREF(Py_None); resultobj = Py_None;
4075 return resultobj;
4076 fail:
4077 return NULL;
4078 }
4079
4080
4081 static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4082 PyObject *resultobj;
4083 wxCaret *arg1 = (wxCaret *) 0 ;
4084 bool result;
4085 PyObject * obj0 = 0 ;
4086 char *kwnames[] = {
4087 (char *) "self", NULL
4088 };
4089
4090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4092 {
4093 PyThreadState* __tstate = wxPyBeginAllowThreads();
4094 result = (bool)(arg1)->IsOk();
4095
4096 wxPyEndAllowThreads(__tstate);
4097 if (PyErr_Occurred()) SWIG_fail;
4098 }
4099 resultobj = PyInt_FromLong((long)result);
4100 return resultobj;
4101 fail:
4102 return NULL;
4103 }
4104
4105
4106 static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4107 PyObject *resultobj;
4108 wxCaret *arg1 = (wxCaret *) 0 ;
4109 bool result;
4110 PyObject * obj0 = 0 ;
4111 char *kwnames[] = {
4112 (char *) "self", NULL
4113 };
4114
4115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4117 {
4118 PyThreadState* __tstate = wxPyBeginAllowThreads();
4119 result = (bool)(arg1)->IsVisible();
4120
4121 wxPyEndAllowThreads(__tstate);
4122 if (PyErr_Occurred()) SWIG_fail;
4123 }
4124 resultobj = PyInt_FromLong((long)result);
4125 return resultobj;
4126 fail:
4127 return NULL;
4128 }
4129
4130
4131 static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4132 PyObject *resultobj;
4133 wxCaret *arg1 = (wxCaret *) 0 ;
4134 wxPoint result;
4135 PyObject * obj0 = 0 ;
4136 char *kwnames[] = {
4137 (char *) "self", NULL
4138 };
4139
4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4142 {
4143 PyThreadState* __tstate = wxPyBeginAllowThreads();
4144 result = (arg1)->GetPosition();
4145
4146 wxPyEndAllowThreads(__tstate);
4147 if (PyErr_Occurred()) SWIG_fail;
4148 }
4149 {
4150 wxPoint * resultptr;
4151 resultptr = new wxPoint((wxPoint &) result);
4152 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4153 }
4154 return resultobj;
4155 fail:
4156 return NULL;
4157 }
4158
4159
4160 static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4161 PyObject *resultobj;
4162 wxCaret *arg1 = (wxCaret *) 0 ;
4163 int *arg2 = (int *) 0 ;
4164 int *arg3 = (int *) 0 ;
4165 int temp2 ;
4166 int temp3 ;
4167 PyObject * obj0 = 0 ;
4168 char *kwnames[] = {
4169 (char *) "self", NULL
4170 };
4171
4172 arg2 = &temp2;
4173 arg3 = &temp3;
4174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4176 {
4177 PyThreadState* __tstate = wxPyBeginAllowThreads();
4178 (arg1)->GetPosition(arg2,arg3);
4179
4180 wxPyEndAllowThreads(__tstate);
4181 if (PyErr_Occurred()) SWIG_fail;
4182 }
4183 Py_INCREF(Py_None); resultobj = Py_None;
4184 {
4185 PyObject *o = PyInt_FromLong((long) (*arg2));
4186 resultobj = t_output_helper(resultobj,o);
4187 }
4188 {
4189 PyObject *o = PyInt_FromLong((long) (*arg3));
4190 resultobj = t_output_helper(resultobj,o);
4191 }
4192 return resultobj;
4193 fail:
4194 return NULL;
4195 }
4196
4197
4198 static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4199 PyObject *resultobj;
4200 wxCaret *arg1 = (wxCaret *) 0 ;
4201 wxSize result;
4202 PyObject * obj0 = 0 ;
4203 char *kwnames[] = {
4204 (char *) "self", NULL
4205 };
4206
4207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4209 {
4210 PyThreadState* __tstate = wxPyBeginAllowThreads();
4211 result = (arg1)->GetSize();
4212
4213 wxPyEndAllowThreads(__tstate);
4214 if (PyErr_Occurred()) SWIG_fail;
4215 }
4216 {
4217 wxSize * resultptr;
4218 resultptr = new wxSize((wxSize &) result);
4219 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
4220 }
4221 return resultobj;
4222 fail:
4223 return NULL;
4224 }
4225
4226
4227 static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4228 PyObject *resultobj;
4229 wxCaret *arg1 = (wxCaret *) 0 ;
4230 int *arg2 = (int *) 0 ;
4231 int *arg3 = (int *) 0 ;
4232 int temp2 ;
4233 int temp3 ;
4234 PyObject * obj0 = 0 ;
4235 char *kwnames[] = {
4236 (char *) "self", NULL
4237 };
4238
4239 arg2 = &temp2;
4240 arg3 = &temp3;
4241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4243 {
4244 PyThreadState* __tstate = wxPyBeginAllowThreads();
4245 (arg1)->GetSize(arg2,arg3);
4246
4247 wxPyEndAllowThreads(__tstate);
4248 if (PyErr_Occurred()) SWIG_fail;
4249 }
4250 Py_INCREF(Py_None); resultobj = Py_None;
4251 {
4252 PyObject *o = PyInt_FromLong((long) (*arg2));
4253 resultobj = t_output_helper(resultobj,o);
4254 }
4255 {
4256 PyObject *o = PyInt_FromLong((long) (*arg3));
4257 resultobj = t_output_helper(resultobj,o);
4258 }
4259 return resultobj;
4260 fail:
4261 return NULL;
4262 }
4263
4264
4265 static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4266 PyObject *resultobj;
4267 wxCaret *arg1 = (wxCaret *) 0 ;
4268 wxWindow *result;
4269 PyObject * obj0 = 0 ;
4270 char *kwnames[] = {
4271 (char *) "self", NULL
4272 };
4273
4274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4276 {
4277 PyThreadState* __tstate = wxPyBeginAllowThreads();
4278 result = (wxWindow *)(arg1)->GetWindow();
4279
4280 wxPyEndAllowThreads(__tstate);
4281 if (PyErr_Occurred()) SWIG_fail;
4282 }
4283 {
4284 resultobj = wxPyMake_wxObject(result);
4285 }
4286 return resultobj;
4287 fail:
4288 return NULL;
4289 }
4290
4291
4292 static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4293 PyObject *resultobj;
4294 wxCaret *arg1 = (wxCaret *) 0 ;
4295 int arg2 ;
4296 int arg3 ;
4297 PyObject * obj0 = 0 ;
4298 char *kwnames[] = {
4299 (char *) "self",(char *) "x",(char *) "y", NULL
4300 };
4301
4302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_MoveXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
4303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4304 {
4305 PyThreadState* __tstate = wxPyBeginAllowThreads();
4306 (arg1)->Move(arg2,arg3);
4307
4308 wxPyEndAllowThreads(__tstate);
4309 if (PyErr_Occurred()) SWIG_fail;
4310 }
4311 Py_INCREF(Py_None); resultobj = Py_None;
4312 return resultobj;
4313 fail:
4314 return NULL;
4315 }
4316
4317
4318 static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4319 PyObject *resultobj;
4320 wxCaret *arg1 = (wxCaret *) 0 ;
4321 wxPoint *arg2 = 0 ;
4322 wxPoint temp2 ;
4323 PyObject * obj0 = 0 ;
4324 PyObject * obj1 = 0 ;
4325 char *kwnames[] = {
4326 (char *) "self",(char *) "pt", NULL
4327 };
4328
4329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4331 {
4332 arg2 = &temp2;
4333 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4334 }
4335 {
4336 PyThreadState* __tstate = wxPyBeginAllowThreads();
4337 (arg1)->Move((wxPoint const &)*arg2);
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_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4350 PyObject *resultobj;
4351 wxCaret *arg1 = (wxCaret *) 0 ;
4352 int arg2 ;
4353 int arg3 ;
4354 PyObject * obj0 = 0 ;
4355 char *kwnames[] = {
4356 (char *) "self",(char *) "width",(char *) "height", NULL
4357 };
4358
4359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
4360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4361 {
4362 PyThreadState* __tstate = wxPyBeginAllowThreads();
4363 (arg1)->SetSize(arg2,arg3);
4364
4365 wxPyEndAllowThreads(__tstate);
4366 if (PyErr_Occurred()) SWIG_fail;
4367 }
4368 Py_INCREF(Py_None); resultobj = Py_None;
4369 return resultobj;
4370 fail:
4371 return NULL;
4372 }
4373
4374
4375 static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4376 PyObject *resultobj;
4377 wxCaret *arg1 = (wxCaret *) 0 ;
4378 wxSize *arg2 = 0 ;
4379 wxSize temp2 ;
4380 PyObject * obj0 = 0 ;
4381 PyObject * obj1 = 0 ;
4382 char *kwnames[] = {
4383 (char *) "self",(char *) "size", NULL
4384 };
4385
4386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4388 {
4389 arg2 = &temp2;
4390 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4391 }
4392 {
4393 PyThreadState* __tstate = wxPyBeginAllowThreads();
4394 (arg1)->SetSize((wxSize const &)*arg2);
4395
4396 wxPyEndAllowThreads(__tstate);
4397 if (PyErr_Occurred()) SWIG_fail;
4398 }
4399 Py_INCREF(Py_None); resultobj = Py_None;
4400 return resultobj;
4401 fail:
4402 return NULL;
4403 }
4404
4405
4406 static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4407 PyObject *resultobj;
4408 wxCaret *arg1 = (wxCaret *) 0 ;
4409 int arg2 = (int) True ;
4410 PyObject * obj0 = 0 ;
4411 char *kwnames[] = {
4412 (char *) "self",(char *) "show", NULL
4413 };
4414
4415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Caret_Show",kwnames,&obj0,&arg2)) goto fail;
4416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4417 {
4418 PyThreadState* __tstate = wxPyBeginAllowThreads();
4419 (arg1)->Show(arg2);
4420
4421 wxPyEndAllowThreads(__tstate);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 }
4424 Py_INCREF(Py_None); resultobj = Py_None;
4425 return resultobj;
4426 fail:
4427 return NULL;
4428 }
4429
4430
4431 static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4432 PyObject *resultobj;
4433 wxCaret *arg1 = (wxCaret *) 0 ;
4434 PyObject * obj0 = 0 ;
4435 char *kwnames[] = {
4436 (char *) "self", NULL
4437 };
4438
4439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4441 {
4442 PyThreadState* __tstate = wxPyBeginAllowThreads();
4443 (arg1)->Hide();
4444
4445 wxPyEndAllowThreads(__tstate);
4446 if (PyErr_Occurred()) SWIG_fail;
4447 }
4448 Py_INCREF(Py_None); resultobj = Py_None;
4449 return resultobj;
4450 fail:
4451 return NULL;
4452 }
4453
4454
4455 static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4456 PyObject *obj;
4457 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4458 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4459 Py_INCREF(obj);
4460 return Py_BuildValue((char *)"");
4461 }
4462 static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4463 PyObject *resultobj;
4464 int result;
4465 char *kwnames[] = {
4466 NULL
4467 };
4468
4469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4470 {
4471 PyThreadState* __tstate = wxPyBeginAllowThreads();
4472 result = (int)wxCaret_GetBlinkTime();
4473
4474 wxPyEndAllowThreads(__tstate);
4475 if (PyErr_Occurred()) SWIG_fail;
4476 }
4477 resultobj = PyInt_FromLong((long)result);
4478 return resultobj;
4479 fail:
4480 return NULL;
4481 }
4482
4483
4484 static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4485 PyObject *resultobj;
4486 int arg1 ;
4487 char *kwnames[] = {
4488 (char *) "milliseconds", NULL
4489 };
4490
4491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Caret_SetBlinkTime",kwnames,&arg1)) goto fail;
4492 {
4493 PyThreadState* __tstate = wxPyBeginAllowThreads();
4494 wxCaret_SetBlinkTime(arg1);
4495
4496 wxPyEndAllowThreads(__tstate);
4497 if (PyErr_Occurred()) SWIG_fail;
4498 }
4499 Py_INCREF(Py_None); resultobj = Py_None;
4500 return resultobj;
4501 fail:
4502 return NULL;
4503 }
4504
4505
4506 static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4507 PyObject *resultobj;
4508 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4509 wxBusyCursor *result;
4510 PyObject * obj0 = 0 ;
4511 char *kwnames[] = {
4512 (char *) "cursor", NULL
4513 };
4514
4515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
4516 if (obj0) {
4517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4518 }
4519 {
4520 PyThreadState* __tstate = wxPyBeginAllowThreads();
4521 result = (wxBusyCursor *)new wxBusyCursor(arg1);
4522
4523 wxPyEndAllowThreads(__tstate);
4524 if (PyErr_Occurred()) SWIG_fail;
4525 }
4526 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyCursor, 1);
4527 return resultobj;
4528 fail:
4529 return NULL;
4530 }
4531
4532
4533 static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4534 PyObject *resultobj;
4535 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
4536 PyObject * obj0 = 0 ;
4537 char *kwnames[] = {
4538 (char *) "self", NULL
4539 };
4540
4541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
4542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4543 {
4544 PyThreadState* __tstate = wxPyBeginAllowThreads();
4545 delete arg1;
4546
4547 wxPyEndAllowThreads(__tstate);
4548 if (PyErr_Occurred()) SWIG_fail;
4549 }
4550 Py_INCREF(Py_None); resultobj = Py_None;
4551 return resultobj;
4552 fail:
4553 return NULL;
4554 }
4555
4556
4557 static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
4558 PyObject *obj;
4559 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4560 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
4561 Py_INCREF(obj);
4562 return Py_BuildValue((char *)"");
4563 }
4564 static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4565 PyObject *resultobj;
4566 wxWindow *arg1 = (wxWindow *) NULL ;
4567 wxWindowDisabler *result;
4568 PyObject * obj0 = 0 ;
4569 char *kwnames[] = {
4570 (char *) "winToSkip", NULL
4571 };
4572
4573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
4574 if (obj0) {
4575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4576 }
4577 {
4578 PyThreadState* __tstate = wxPyBeginAllowThreads();
4579 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
4580
4581 wxPyEndAllowThreads(__tstate);
4582 if (PyErr_Occurred()) SWIG_fail;
4583 }
4584 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDisabler, 1);
4585 return resultobj;
4586 fail:
4587 return NULL;
4588 }
4589
4590
4591 static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4592 PyObject *resultobj;
4593 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
4594 PyObject * obj0 = 0 ;
4595 char *kwnames[] = {
4596 (char *) "self", NULL
4597 };
4598
4599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
4600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4601 {
4602 PyThreadState* __tstate = wxPyBeginAllowThreads();
4603 delete arg1;
4604
4605 wxPyEndAllowThreads(__tstate);
4606 if (PyErr_Occurred()) SWIG_fail;
4607 }
4608 Py_INCREF(Py_None); resultobj = Py_None;
4609 return resultobj;
4610 fail:
4611 return NULL;
4612 }
4613
4614
4615 static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
4616 PyObject *obj;
4617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4618 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
4619 Py_INCREF(obj);
4620 return Py_BuildValue((char *)"");
4621 }
4622 static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4623 PyObject *resultobj;
4624 wxString *arg1 = 0 ;
4625 wxBusyInfo *result;
4626 bool temp1 = False ;
4627 PyObject * obj0 = 0 ;
4628 char *kwnames[] = {
4629 (char *) "message", NULL
4630 };
4631
4632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
4633 {
4634 arg1 = wxString_in_helper(obj0);
4635 if (arg1 == NULL) SWIG_fail;
4636 temp1 = True;
4637 }
4638 {
4639 PyThreadState* __tstate = wxPyBeginAllowThreads();
4640 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
4641
4642 wxPyEndAllowThreads(__tstate);
4643 if (PyErr_Occurred()) SWIG_fail;
4644 }
4645 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyInfo, 1);
4646 {
4647 if (temp1)
4648 delete arg1;
4649 }
4650 return resultobj;
4651 fail:
4652 {
4653 if (temp1)
4654 delete arg1;
4655 }
4656 return NULL;
4657 }
4658
4659
4660 static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4661 PyObject *resultobj;
4662 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
4663 PyObject * obj0 = 0 ;
4664 char *kwnames[] = {
4665 (char *) "self", NULL
4666 };
4667
4668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
4669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4670 {
4671 PyThreadState* __tstate = wxPyBeginAllowThreads();
4672 delete arg1;
4673
4674 wxPyEndAllowThreads(__tstate);
4675 if (PyErr_Occurred()) SWIG_fail;
4676 }
4677 Py_INCREF(Py_None); resultobj = Py_None;
4678 return resultobj;
4679 fail:
4680 return NULL;
4681 }
4682
4683
4684 static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
4685 PyObject *obj;
4686 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4687 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
4688 Py_INCREF(obj);
4689 return Py_BuildValue((char *)"");
4690 }
4691 static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
4692 PyObject *resultobj;
4693 wxStopWatch *result;
4694 char *kwnames[] = {
4695 NULL
4696 };
4697
4698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
4699 {
4700 PyThreadState* __tstate = wxPyBeginAllowThreads();
4701 result = (wxStopWatch *)new wxStopWatch();
4702
4703 wxPyEndAllowThreads(__tstate);
4704 if (PyErr_Occurred()) SWIG_fail;
4705 }
4706 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStopWatch, 1);
4707 return resultobj;
4708 fail:
4709 return NULL;
4710 }
4711
4712
4713 static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
4714 PyObject *resultobj;
4715 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4716 long arg2 = (long) 0 ;
4717 PyObject * obj0 = 0 ;
4718 char *kwnames[] = {
4719 (char *) "self",(char *) "t0", NULL
4720 };
4721
4722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:StopWatch_Start",kwnames,&obj0,&arg2)) goto fail;
4723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4724 {
4725 PyThreadState* __tstate = wxPyBeginAllowThreads();
4726 (arg1)->Start(arg2);
4727
4728 wxPyEndAllowThreads(__tstate);
4729 if (PyErr_Occurred()) SWIG_fail;
4730 }
4731 Py_INCREF(Py_None); resultobj = Py_None;
4732 return resultobj;
4733 fail:
4734 return NULL;
4735 }
4736
4737
4738 static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
4739 PyObject *resultobj;
4740 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4741 PyObject * obj0 = 0 ;
4742 char *kwnames[] = {
4743 (char *) "self", NULL
4744 };
4745
4746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
4747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4748 {
4749 PyThreadState* __tstate = wxPyBeginAllowThreads();
4750 (arg1)->Pause();
4751
4752 wxPyEndAllowThreads(__tstate);
4753 if (PyErr_Occurred()) SWIG_fail;
4754 }
4755 Py_INCREF(Py_None); resultobj = Py_None;
4756 return resultobj;
4757 fail:
4758 return NULL;
4759 }
4760
4761
4762 static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4763 PyObject *resultobj;
4764 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4765 PyObject * obj0 = 0 ;
4766 char *kwnames[] = {
4767 (char *) "self", NULL
4768 };
4769
4770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
4771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4772 {
4773 PyThreadState* __tstate = wxPyBeginAllowThreads();
4774 (arg1)->Resume();
4775
4776 wxPyEndAllowThreads(__tstate);
4777 if (PyErr_Occurred()) SWIG_fail;
4778 }
4779 Py_INCREF(Py_None); resultobj = Py_None;
4780 return resultobj;
4781 fail:
4782 return NULL;
4783 }
4784
4785
4786 static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
4787 PyObject *resultobj;
4788 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4789 long result;
4790 PyObject * obj0 = 0 ;
4791 char *kwnames[] = {
4792 (char *) "self", NULL
4793 };
4794
4795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
4796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 result = (long)((wxStopWatch const *)arg1)->Time();
4800
4801 wxPyEndAllowThreads(__tstate);
4802 if (PyErr_Occurred()) SWIG_fail;
4803 }
4804 resultobj = PyInt_FromLong((long)result);
4805 return resultobj;
4806 fail:
4807 return NULL;
4808 }
4809
4810
4811 static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
4812 PyObject *obj;
4813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4814 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
4815 Py_INCREF(obj);
4816 return Py_BuildValue((char *)"");
4817 }
4818 static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4819 PyObject *resultobj;
4820 int arg1 = (int) 9 ;
4821 wxFileHistory *result;
4822 char *kwnames[] = {
4823 (char *) "maxFiles", NULL
4824 };
4825
4826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FileHistory",kwnames,&arg1)) goto fail;
4827 {
4828 PyThreadState* __tstate = wxPyBeginAllowThreads();
4829 result = (wxFileHistory *)new wxFileHistory(arg1);
4830
4831 wxPyEndAllowThreads(__tstate);
4832 if (PyErr_Occurred()) SWIG_fail;
4833 }
4834 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileHistory, 1);
4835 return resultobj;
4836 fail:
4837 return NULL;
4838 }
4839
4840
4841 static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4842 PyObject *resultobj;
4843 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4844 PyObject * obj0 = 0 ;
4845 char *kwnames[] = {
4846 (char *) "self", NULL
4847 };
4848
4849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
4850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4851 {
4852 PyThreadState* __tstate = wxPyBeginAllowThreads();
4853 delete arg1;
4854
4855 wxPyEndAllowThreads(__tstate);
4856 if (PyErr_Occurred()) SWIG_fail;
4857 }
4858 Py_INCREF(Py_None); resultobj = Py_None;
4859 return resultobj;
4860 fail:
4861 return NULL;
4862 }
4863
4864
4865 static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4866 PyObject *resultobj;
4867 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4868 wxString *arg2 = 0 ;
4869 bool temp2 = False ;
4870 PyObject * obj0 = 0 ;
4871 PyObject * obj1 = 0 ;
4872 char *kwnames[] = {
4873 (char *) "self",(char *) "file", NULL
4874 };
4875
4876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
4877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4878 {
4879 arg2 = wxString_in_helper(obj1);
4880 if (arg2 == NULL) SWIG_fail;
4881 temp2 = True;
4882 }
4883 {
4884 PyThreadState* __tstate = wxPyBeginAllowThreads();
4885 (arg1)->AddFileToHistory((wxString const &)*arg2);
4886
4887 wxPyEndAllowThreads(__tstate);
4888 if (PyErr_Occurred()) SWIG_fail;
4889 }
4890 Py_INCREF(Py_None); resultobj = Py_None;
4891 {
4892 if (temp2)
4893 delete arg2;
4894 }
4895 return resultobj;
4896 fail:
4897 {
4898 if (temp2)
4899 delete arg2;
4900 }
4901 return NULL;
4902 }
4903
4904
4905 static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4906 PyObject *resultobj;
4907 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4908 int arg2 ;
4909 PyObject * obj0 = 0 ;
4910 char *kwnames[] = {
4911 (char *) "self",(char *) "i", NULL
4912 };
4913
4914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&arg2)) goto fail;
4915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4916 {
4917 PyThreadState* __tstate = wxPyBeginAllowThreads();
4918 (arg1)->RemoveFileFromHistory(arg2);
4919
4920 wxPyEndAllowThreads(__tstate);
4921 if (PyErr_Occurred()) SWIG_fail;
4922 }
4923 Py_INCREF(Py_None); resultobj = Py_None;
4924 return resultobj;
4925 fail:
4926 return NULL;
4927 }
4928
4929
4930 static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
4931 PyObject *resultobj;
4932 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4933 int result;
4934 PyObject * obj0 = 0 ;
4935 char *kwnames[] = {
4936 (char *) "self", NULL
4937 };
4938
4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
4940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4941 {
4942 PyThreadState* __tstate = wxPyBeginAllowThreads();
4943 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
4944
4945 wxPyEndAllowThreads(__tstate);
4946 if (PyErr_Occurred()) SWIG_fail;
4947 }
4948 resultobj = PyInt_FromLong((long)result);
4949 return resultobj;
4950 fail:
4951 return NULL;
4952 }
4953
4954
4955 static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4956 PyObject *resultobj;
4957 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4958 wxMenu *arg2 = (wxMenu *) 0 ;
4959 PyObject * obj0 = 0 ;
4960 PyObject * obj1 = 0 ;
4961 char *kwnames[] = {
4962 (char *) "self",(char *) "menu", NULL
4963 };
4964
4965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
4966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4967 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4968 {
4969 PyThreadState* __tstate = wxPyBeginAllowThreads();
4970 (arg1)->UseMenu(arg2);
4971
4972 wxPyEndAllowThreads(__tstate);
4973 if (PyErr_Occurred()) SWIG_fail;
4974 }
4975 Py_INCREF(Py_None); resultobj = Py_None;
4976 return resultobj;
4977 fail:
4978 return NULL;
4979 }
4980
4981
4982 static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4983 PyObject *resultobj;
4984 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4985 wxMenu *arg2 = (wxMenu *) 0 ;
4986 PyObject * obj0 = 0 ;
4987 PyObject * obj1 = 0 ;
4988 char *kwnames[] = {
4989 (char *) "self",(char *) "menu", NULL
4990 };
4991
4992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
4993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4994 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4995 {
4996 PyThreadState* __tstate = wxPyBeginAllowThreads();
4997 (arg1)->RemoveMenu(arg2);
4998
4999 wxPyEndAllowThreads(__tstate);
5000 if (PyErr_Occurred()) SWIG_fail;
5001 }
5002 Py_INCREF(Py_None); resultobj = Py_None;
5003 return resultobj;
5004 fail:
5005 return NULL;
5006 }
5007
5008
5009 static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
5010 PyObject *resultobj;
5011 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5012 wxConfigBase *arg2 = 0 ;
5013 PyObject * obj0 = 0 ;
5014 PyObject * obj1 = 0 ;
5015 char *kwnames[] = {
5016 (char *) "self",(char *) "config", NULL
5017 };
5018
5019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
5020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5022 if (arg2 == NULL) {
5023 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5024 }
5025 {
5026 PyThreadState* __tstate = wxPyBeginAllowThreads();
5027 (arg1)->Load(*arg2);
5028
5029 wxPyEndAllowThreads(__tstate);
5030 if (PyErr_Occurred()) SWIG_fail;
5031 }
5032 Py_INCREF(Py_None); resultobj = Py_None;
5033 return resultobj;
5034 fail:
5035 return NULL;
5036 }
5037
5038
5039 static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5040 PyObject *resultobj;
5041 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5042 wxConfigBase *arg2 = 0 ;
5043 PyObject * obj0 = 0 ;
5044 PyObject * obj1 = 0 ;
5045 char *kwnames[] = {
5046 (char *) "self",(char *) "config", NULL
5047 };
5048
5049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5051 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5052 if (arg2 == NULL) {
5053 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5054 }
5055 {
5056 PyThreadState* __tstate = wxPyBeginAllowThreads();
5057 (arg1)->Save(*arg2);
5058
5059 wxPyEndAllowThreads(__tstate);
5060 if (PyErr_Occurred()) SWIG_fail;
5061 }
5062 Py_INCREF(Py_None); resultobj = Py_None;
5063 return resultobj;
5064 fail:
5065 return NULL;
5066 }
5067
5068
5069 static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5070 PyObject *resultobj;
5071 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5072 PyObject * obj0 = 0 ;
5073 char *kwnames[] = {
5074 (char *) "self", NULL
5075 };
5076
5077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5079 {
5080 PyThreadState* __tstate = wxPyBeginAllowThreads();
5081 (arg1)->AddFilesToMenu();
5082
5083 wxPyEndAllowThreads(__tstate);
5084 if (PyErr_Occurred()) SWIG_fail;
5085 }
5086 Py_INCREF(Py_None); resultobj = Py_None;
5087 return resultobj;
5088 fail:
5089 return NULL;
5090 }
5091
5092
5093 static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5094 PyObject *resultobj;
5095 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5096 wxMenu *arg2 = (wxMenu *) 0 ;
5097 PyObject * obj0 = 0 ;
5098 PyObject * obj1 = 0 ;
5099 char *kwnames[] = {
5100 (char *) "self",(char *) "menu", NULL
5101 };
5102
5103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5105 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5106 {
5107 PyThreadState* __tstate = wxPyBeginAllowThreads();
5108 (arg1)->AddFilesToMenu(arg2);
5109
5110 wxPyEndAllowThreads(__tstate);
5111 if (PyErr_Occurred()) SWIG_fail;
5112 }
5113 Py_INCREF(Py_None); resultobj = Py_None;
5114 return resultobj;
5115 fail:
5116 return NULL;
5117 }
5118
5119
5120 static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5121 PyObject *resultobj;
5122 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5123 int arg2 ;
5124 wxString result;
5125 PyObject * obj0 = 0 ;
5126 char *kwnames[] = {
5127 (char *) "self",(char *) "i", NULL
5128 };
5129
5130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_GetHistoryFile",kwnames,&obj0,&arg2)) goto fail;
5131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5132 {
5133 PyThreadState* __tstate = wxPyBeginAllowThreads();
5134 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5135
5136 wxPyEndAllowThreads(__tstate);
5137 if (PyErr_Occurred()) SWIG_fail;
5138 }
5139 {
5140 #if wxUSE_UNICODE
5141 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5142 #else
5143 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5144 #endif
5145 }
5146 return resultobj;
5147 fail:
5148 return NULL;
5149 }
5150
5151
5152 static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5153 PyObject *resultobj;
5154 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5155 int result;
5156 PyObject * obj0 = 0 ;
5157 char *kwnames[] = {
5158 (char *) "self", NULL
5159 };
5160
5161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5163 {
5164 PyThreadState* __tstate = wxPyBeginAllowThreads();
5165 result = (int)((wxFileHistory const *)arg1)->GetCount();
5166
5167 wxPyEndAllowThreads(__tstate);
5168 if (PyErr_Occurred()) SWIG_fail;
5169 }
5170 resultobj = PyInt_FromLong((long)result);
5171 return resultobj;
5172 fail:
5173 return NULL;
5174 }
5175
5176
5177 static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5178 PyObject *obj;
5179 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5180 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5181 Py_INCREF(obj);
5182 return Py_BuildValue((char *)"");
5183 }
5184 static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5185 PyObject *resultobj;
5186 wxString *arg1 = 0 ;
5187 wxString const &arg2_defvalue = wxPyEmptyString ;
5188 wxString *arg2 = (wxString *) &arg2_defvalue ;
5189 wxSingleInstanceChecker *result;
5190 bool temp1 = False ;
5191 bool temp2 = False ;
5192 PyObject * obj0 = 0 ;
5193 PyObject * obj1 = 0 ;
5194 char *kwnames[] = {
5195 (char *) "name",(char *) "path", NULL
5196 };
5197
5198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5199 {
5200 arg1 = wxString_in_helper(obj0);
5201 if (arg1 == NULL) SWIG_fail;
5202 temp1 = True;
5203 }
5204 if (obj1) {
5205 {
5206 arg2 = wxString_in_helper(obj1);
5207 if (arg2 == NULL) SWIG_fail;
5208 temp2 = True;
5209 }
5210 }
5211 {
5212 PyThreadState* __tstate = wxPyBeginAllowThreads();
5213 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5214
5215 wxPyEndAllowThreads(__tstate);
5216 if (PyErr_Occurred()) SWIG_fail;
5217 }
5218 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5219 {
5220 if (temp1)
5221 delete arg1;
5222 }
5223 {
5224 if (temp2)
5225 delete arg2;
5226 }
5227 return resultobj;
5228 fail:
5229 {
5230 if (temp1)
5231 delete arg1;
5232 }
5233 {
5234 if (temp2)
5235 delete arg2;
5236 }
5237 return NULL;
5238 }
5239
5240
5241 static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5242 PyObject *resultobj;
5243 wxSingleInstanceChecker *result;
5244 char *kwnames[] = {
5245 NULL
5246 };
5247
5248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5249 {
5250 PyThreadState* __tstate = wxPyBeginAllowThreads();
5251 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5252
5253 wxPyEndAllowThreads(__tstate);
5254 if (PyErr_Occurred()) SWIG_fail;
5255 }
5256 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5257 return resultobj;
5258 fail:
5259 return NULL;
5260 }
5261
5262
5263 static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5264 PyObject *resultobj;
5265 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5266 PyObject * obj0 = 0 ;
5267 char *kwnames[] = {
5268 (char *) "self", NULL
5269 };
5270
5271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5273 {
5274 PyThreadState* __tstate = wxPyBeginAllowThreads();
5275 delete arg1;
5276
5277 wxPyEndAllowThreads(__tstate);
5278 if (PyErr_Occurred()) SWIG_fail;
5279 }
5280 Py_INCREF(Py_None); resultobj = Py_None;
5281 return resultobj;
5282 fail:
5283 return NULL;
5284 }
5285
5286
5287 static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5288 PyObject *resultobj;
5289 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5290 wxString *arg2 = 0 ;
5291 wxString const &arg3_defvalue = wxPyEmptyString ;
5292 wxString *arg3 = (wxString *) &arg3_defvalue ;
5293 bool result;
5294 bool temp2 = False ;
5295 bool temp3 = False ;
5296 PyObject * obj0 = 0 ;
5297 PyObject * obj1 = 0 ;
5298 PyObject * obj2 = 0 ;
5299 char *kwnames[] = {
5300 (char *) "self",(char *) "name",(char *) "path", NULL
5301 };
5302
5303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5305 {
5306 arg2 = wxString_in_helper(obj1);
5307 if (arg2 == NULL) SWIG_fail;
5308 temp2 = True;
5309 }
5310 if (obj2) {
5311 {
5312 arg3 = wxString_in_helper(obj2);
5313 if (arg3 == NULL) SWIG_fail;
5314 temp3 = True;
5315 }
5316 }
5317 {
5318 PyThreadState* __tstate = wxPyBeginAllowThreads();
5319 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5320
5321 wxPyEndAllowThreads(__tstate);
5322 if (PyErr_Occurred()) SWIG_fail;
5323 }
5324 resultobj = PyInt_FromLong((long)result);
5325 {
5326 if (temp2)
5327 delete arg2;
5328 }
5329 {
5330 if (temp3)
5331 delete arg3;
5332 }
5333 return resultobj;
5334 fail:
5335 {
5336 if (temp2)
5337 delete arg2;
5338 }
5339 {
5340 if (temp3)
5341 delete arg3;
5342 }
5343 return NULL;
5344 }
5345
5346
5347 static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5348 PyObject *resultobj;
5349 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5350 bool result;
5351 PyObject * obj0 = 0 ;
5352 char *kwnames[] = {
5353 (char *) "self", NULL
5354 };
5355
5356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5358 {
5359 PyThreadState* __tstate = wxPyBeginAllowThreads();
5360 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5361
5362 wxPyEndAllowThreads(__tstate);
5363 if (PyErr_Occurred()) SWIG_fail;
5364 }
5365 resultobj = PyInt_FromLong((long)result);
5366 return resultobj;
5367 fail:
5368 return NULL;
5369 }
5370
5371
5372 static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5373 PyObject *obj;
5374 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5375 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5376 Py_INCREF(obj);
5377 return Py_BuildValue((char *)"");
5378 }
5379 static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5380 PyObject *resultobj;
5381 wxWindow *arg1 = (wxWindow *) 0 ;
5382 wxDC *arg2 = 0 ;
5383 int arg3 ;
5384 PyObject * obj0 = 0 ;
5385 PyObject * obj1 = 0 ;
5386 char *kwnames[] = {
5387 (char *) "window",(char *) "dc",(char *) "method", NULL
5388 };
5389
5390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DrawWindowOnDC",kwnames,&obj0,&obj1,&arg3)) goto fail;
5391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5392 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5393 if (arg2 == NULL) {
5394 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5395 }
5396 {
5397 PyThreadState* __tstate = wxPyBeginAllowThreads();
5398 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5399
5400 wxPyEndAllowThreads(__tstate);
5401 if (PyErr_Occurred()) SWIG_fail;
5402 }
5403 Py_INCREF(Py_None); resultobj = Py_None;
5404 return resultobj;
5405 fail:
5406 return NULL;
5407 }
5408
5409
5410 static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5411 PyObject *resultobj;
5412 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5413 PyObject * obj0 = 0 ;
5414 char *kwnames[] = {
5415 (char *) "self", NULL
5416 };
5417
5418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5420 {
5421 PyThreadState* __tstate = wxPyBeginAllowThreads();
5422 delete arg1;
5423
5424 wxPyEndAllowThreads(__tstate);
5425 if (PyErr_Occurred()) SWIG_fail;
5426 }
5427 Py_INCREF(Py_None); resultobj = Py_None;
5428 return resultobj;
5429 fail:
5430 return NULL;
5431 }
5432
5433
5434 static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5435 PyObject *resultobj;
5436 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5437 wxString result;
5438 PyObject * obj0 = 0 ;
5439 char *kwnames[] = {
5440 (char *) "self", NULL
5441 };
5442
5443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
5444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5445 {
5446 PyThreadState* __tstate = wxPyBeginAllowThreads();
5447 result = (arg1)->GetTip();
5448
5449 wxPyEndAllowThreads(__tstate);
5450 if (PyErr_Occurred()) SWIG_fail;
5451 }
5452 {
5453 #if wxUSE_UNICODE
5454 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5455 #else
5456 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5457 #endif
5458 }
5459 return resultobj;
5460 fail:
5461 return NULL;
5462 }
5463
5464
5465 static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5466 PyObject *resultobj;
5467 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5468 size_t result;
5469 PyObject * obj0 = 0 ;
5470 char *kwnames[] = {
5471 (char *) "self", NULL
5472 };
5473
5474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
5475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5476 {
5477 PyThreadState* __tstate = wxPyBeginAllowThreads();
5478 result = (size_t)(arg1)->GetCurrentTip();
5479
5480 wxPyEndAllowThreads(__tstate);
5481 if (PyErr_Occurred()) SWIG_fail;
5482 }
5483 resultobj = PyInt_FromLong((long)result);
5484 return resultobj;
5485 fail:
5486 return NULL;
5487 }
5488
5489
5490 static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5491 PyObject *resultobj;
5492 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5493 wxString *arg2 = 0 ;
5494 wxString result;
5495 bool temp2 = False ;
5496 PyObject * obj0 = 0 ;
5497 PyObject * obj1 = 0 ;
5498 char *kwnames[] = {
5499 (char *) "self",(char *) "tip", NULL
5500 };
5501
5502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
5503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5504 {
5505 arg2 = wxString_in_helper(obj1);
5506 if (arg2 == NULL) SWIG_fail;
5507 temp2 = True;
5508 }
5509 {
5510 PyThreadState* __tstate = wxPyBeginAllowThreads();
5511 result = (arg1)->PreprocessTip((wxString const &)*arg2);
5512
5513 wxPyEndAllowThreads(__tstate);
5514 if (PyErr_Occurred()) SWIG_fail;
5515 }
5516 {
5517 #if wxUSE_UNICODE
5518 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5519 #else
5520 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5521 #endif
5522 }
5523 {
5524 if (temp2)
5525 delete arg2;
5526 }
5527 return resultobj;
5528 fail:
5529 {
5530 if (temp2)
5531 delete arg2;
5532 }
5533 return NULL;
5534 }
5535
5536
5537 static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
5538 PyObject *obj;
5539 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5540 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
5541 Py_INCREF(obj);
5542 return Py_BuildValue((char *)"");
5543 }
5544 static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5545 PyObject *resultobj;
5546 size_t arg1 ;
5547 wxPyTipProvider *result;
5548 PyObject * obj0 = 0 ;
5549 char *kwnames[] = {
5550 (char *) "currentTip", NULL
5551 };
5552
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
5554 arg1 = (size_t) PyInt_AsLong(obj0);
5555 if (PyErr_Occurred()) SWIG_fail;
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
5559
5560 wxPyEndAllowThreads(__tstate);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 }
5563 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTipProvider, 1);
5564 return resultobj;
5565 fail:
5566 return NULL;
5567 }
5568
5569
5570 static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5571 PyObject *resultobj;
5572 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
5573 PyObject *arg2 = (PyObject *) 0 ;
5574 PyObject *arg3 = (PyObject *) 0 ;
5575 PyObject * obj0 = 0 ;
5576 PyObject * obj1 = 0 ;
5577 PyObject * obj2 = 0 ;
5578 char *kwnames[] = {
5579 (char *) "self",(char *) "self",(char *) "_class", NULL
5580 };
5581
5582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5584 arg2 = obj1;
5585 arg3 = obj2;
5586 {
5587 PyThreadState* __tstate = wxPyBeginAllowThreads();
5588 (arg1)->_setCallbackInfo(arg2,arg3);
5589
5590 wxPyEndAllowThreads(__tstate);
5591 if (PyErr_Occurred()) SWIG_fail;
5592 }
5593 Py_INCREF(Py_None); resultobj = Py_None;
5594 return resultobj;
5595 fail:
5596 return NULL;
5597 }
5598
5599
5600 static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
5601 PyObject *obj;
5602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5603 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
5604 Py_INCREF(obj);
5605 return Py_BuildValue((char *)"");
5606 }
5607 static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5608 PyObject *resultobj;
5609 wxWindow *arg1 = (wxWindow *) 0 ;
5610 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
5611 bool arg3 = (bool) True ;
5612 bool result;
5613 PyObject * obj0 = 0 ;
5614 PyObject * obj1 = 0 ;
5615 PyObject * obj2 = 0 ;
5616 char *kwnames[] = {
5617 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5618 };
5619
5620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
5621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5622 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5623 if (obj2) {
5624 arg3 = PyInt_AsLong(obj2) ? true : false;
5625 if (PyErr_Occurred()) SWIG_fail;
5626 }
5627 {
5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
5629 result = (bool)wxShowTip(arg1,arg2,arg3);
5630
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
5634 resultobj = PyInt_FromLong((long)result);
5635 return resultobj;
5636 fail:
5637 return NULL;
5638 }
5639
5640
5641 static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5642 PyObject *resultobj;
5643 wxString *arg1 = 0 ;
5644 size_t arg2 ;
5645 wxTipProvider *result;
5646 bool temp1 = False ;
5647 PyObject * obj0 = 0 ;
5648 PyObject * obj1 = 0 ;
5649 char *kwnames[] = {
5650 (char *) "filename",(char *) "currentTip", NULL
5651 };
5652
5653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
5654 {
5655 arg1 = wxString_in_helper(obj0);
5656 if (arg1 == NULL) SWIG_fail;
5657 temp1 = True;
5658 }
5659 arg2 = (size_t) PyInt_AsLong(obj1);
5660 if (PyErr_Occurred()) SWIG_fail;
5661 {
5662 PyThreadState* __tstate = wxPyBeginAllowThreads();
5663 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
5664
5665 wxPyEndAllowThreads(__tstate);
5666 if (PyErr_Occurred()) SWIG_fail;
5667 }
5668 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipProvider, 1);
5669 {
5670 if (temp1)
5671 delete arg1;
5672 }
5673 return resultobj;
5674 fail:
5675 {
5676 if (temp1)
5677 delete arg1;
5678 }
5679 return NULL;
5680 }
5681
5682
5683 static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5684 PyObject *resultobj;
5685 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
5686 int arg2 = (int) -1 ;
5687 wxPyTimer *result;
5688 PyObject * obj0 = 0 ;
5689 char *kwnames[] = {
5690 (char *) "owner",(char *) "id", NULL
5691 };
5692
5693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Timer",kwnames,&obj0,&arg2)) goto fail;
5694 if (obj0) {
5695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5696 }
5697 {
5698 PyThreadState* __tstate = wxPyBeginAllowThreads();
5699 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
5700
5701 wxPyEndAllowThreads(__tstate);
5702 if (PyErr_Occurred()) SWIG_fail;
5703 }
5704 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTimer, 1);
5705 return resultobj;
5706 fail:
5707 return NULL;
5708 }
5709
5710
5711 static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5712 PyObject *resultobj;
5713 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5714 PyObject * obj0 = 0 ;
5715 char *kwnames[] = {
5716 (char *) "self", NULL
5717 };
5718
5719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
5720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5721 {
5722 PyThreadState* __tstate = wxPyBeginAllowThreads();
5723 delete arg1;
5724
5725 wxPyEndAllowThreads(__tstate);
5726 if (PyErr_Occurred()) SWIG_fail;
5727 }
5728 Py_INCREF(Py_None); resultobj = Py_None;
5729 return resultobj;
5730 fail:
5731 return NULL;
5732 }
5733
5734
5735 static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5736 PyObject *resultobj;
5737 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5738 PyObject *arg2 = (PyObject *) 0 ;
5739 PyObject *arg3 = (PyObject *) 0 ;
5740 PyObject * obj0 = 0 ;
5741 PyObject * obj1 = 0 ;
5742 PyObject * obj2 = 0 ;
5743 char *kwnames[] = {
5744 (char *) "self",(char *) "self",(char *) "_class", NULL
5745 };
5746
5747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5749 arg2 = obj1;
5750 arg3 = obj2;
5751 {
5752 PyThreadState* __tstate = wxPyBeginAllowThreads();
5753 (arg1)->_setCallbackInfo(arg2,arg3);
5754
5755 wxPyEndAllowThreads(__tstate);
5756 if (PyErr_Occurred()) SWIG_fail;
5757 }
5758 Py_INCREF(Py_None); resultobj = Py_None;
5759 return resultobj;
5760 fail:
5761 return NULL;
5762 }
5763
5764
5765 static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
5766 PyObject *resultobj;
5767 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5768 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
5769 int arg3 = (int) -1 ;
5770 PyObject * obj0 = 0 ;
5771 PyObject * obj1 = 0 ;
5772 char *kwnames[] = {
5773 (char *) "self",(char *) "owner",(char *) "id", NULL
5774 };
5775
5776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Timer_SetOwner",kwnames,&obj0,&obj1,&arg3)) goto fail;
5777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5778 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5779 {
5780 PyThreadState* __tstate = wxPyBeginAllowThreads();
5781 (arg1)->SetOwner(arg2,arg3);
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_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5794 PyObject *resultobj;
5795 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5796 int arg2 = (int) -1 ;
5797 bool arg3 = (bool) False ;
5798 bool result;
5799 PyObject * obj0 = 0 ;
5800 PyObject * obj2 = 0 ;
5801 char *kwnames[] = {
5802 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5803 };
5804
5805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Timer_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
5806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5807 if (obj2) {
5808 arg3 = PyInt_AsLong(obj2) ? true : false;
5809 if (PyErr_Occurred()) SWIG_fail;
5810 }
5811 {
5812 PyThreadState* __tstate = wxPyBeginAllowThreads();
5813 result = (bool)(arg1)->Start(arg2,arg3);
5814
5815 wxPyEndAllowThreads(__tstate);
5816 if (PyErr_Occurred()) SWIG_fail;
5817 }
5818 resultobj = PyInt_FromLong((long)result);
5819 return resultobj;
5820 fail:
5821 return NULL;
5822 }
5823
5824
5825 static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
5826 PyObject *resultobj;
5827 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5828 PyObject * obj0 = 0 ;
5829 char *kwnames[] = {
5830 (char *) "self", NULL
5831 };
5832
5833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
5834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5835 {
5836 PyThreadState* __tstate = wxPyBeginAllowThreads();
5837 (arg1)->Stop();
5838
5839 wxPyEndAllowThreads(__tstate);
5840 if (PyErr_Occurred()) SWIG_fail;
5841 }
5842 Py_INCREF(Py_None); resultobj = Py_None;
5843 return resultobj;
5844 fail:
5845 return NULL;
5846 }
5847
5848
5849 static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5850 PyObject *resultobj;
5851 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5852 bool result;
5853 PyObject * obj0 = 0 ;
5854 char *kwnames[] = {
5855 (char *) "self", NULL
5856 };
5857
5858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
5859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5860 {
5861 PyThreadState* __tstate = wxPyBeginAllowThreads();
5862 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
5863
5864 wxPyEndAllowThreads(__tstate);
5865 if (PyErr_Occurred()) SWIG_fail;
5866 }
5867 resultobj = PyInt_FromLong((long)result);
5868 return resultobj;
5869 fail:
5870 return NULL;
5871 }
5872
5873
5874 static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5875 PyObject *resultobj;
5876 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5877 int result;
5878 PyObject * obj0 = 0 ;
5879 char *kwnames[] = {
5880 (char *) "self", NULL
5881 };
5882
5883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
5884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 result = (int)((wxPyTimer const *)arg1)->GetInterval();
5888
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
5892 resultobj = PyInt_FromLong((long)result);
5893 return resultobj;
5894 fail:
5895 return NULL;
5896 }
5897
5898
5899 static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
5900 PyObject *resultobj;
5901 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5902 bool result;
5903 PyObject * obj0 = 0 ;
5904 char *kwnames[] = {
5905 (char *) "self", NULL
5906 };
5907
5908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
5909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5910 {
5911 PyThreadState* __tstate = wxPyBeginAllowThreads();
5912 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
5913
5914 wxPyEndAllowThreads(__tstate);
5915 if (PyErr_Occurred()) SWIG_fail;
5916 }
5917 resultobj = PyInt_FromLong((long)result);
5918 return resultobj;
5919 fail:
5920 return NULL;
5921 }
5922
5923
5924 static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5925 PyObject *resultobj;
5926 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5927 int result;
5928 PyObject * obj0 = 0 ;
5929 char *kwnames[] = {
5930 (char *) "self", NULL
5931 };
5932
5933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
5934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5935 {
5936 PyThreadState* __tstate = wxPyBeginAllowThreads();
5937 result = (int)((wxPyTimer const *)arg1)->GetId();
5938
5939 wxPyEndAllowThreads(__tstate);
5940 if (PyErr_Occurred()) SWIG_fail;
5941 }
5942 resultobj = PyInt_FromLong((long)result);
5943 return resultobj;
5944 fail:
5945 return NULL;
5946 }
5947
5948
5949 static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
5950 PyObject *obj;
5951 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5952 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
5953 Py_INCREF(obj);
5954 return Py_BuildValue((char *)"");
5955 }
5956 static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5957 PyObject *resultobj;
5958 int arg1 = (int) 0 ;
5959 int arg2 = (int) 0 ;
5960 wxTimerEvent *result;
5961 char *kwnames[] = {
5962 (char *) "timerid",(char *) "interval", NULL
5963 };
5964
5965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TimerEvent",kwnames,&arg1,&arg2)) goto fail;
5966 {
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
5969
5970 wxPyEndAllowThreads(__tstate);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerEvent, 1);
5974 return resultobj;
5975 fail:
5976 return NULL;
5977 }
5978
5979
5980 static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5981 PyObject *resultobj;
5982 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
5983 int result;
5984 PyObject * obj0 = 0 ;
5985 char *kwnames[] = {
5986 (char *) "self", NULL
5987 };
5988
5989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
5990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5991 {
5992 PyThreadState* __tstate = wxPyBeginAllowThreads();
5993 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
5994
5995 wxPyEndAllowThreads(__tstate);
5996 if (PyErr_Occurred()) SWIG_fail;
5997 }
5998 resultobj = PyInt_FromLong((long)result);
5999 return resultobj;
6000 fail:
6001 return NULL;
6002 }
6003
6004
6005 static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
6006 PyObject *obj;
6007 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6008 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
6009 Py_INCREF(obj);
6010 return Py_BuildValue((char *)"");
6011 }
6012 static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
6013 PyObject *resultobj;
6014 wxTimer *arg1 = 0 ;
6015 wxTimerRunner *result;
6016 PyObject * obj0 = 0 ;
6017
6018 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
6019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6020 if (arg1 == NULL) {
6021 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6022 }
6023 {
6024 PyThreadState* __tstate = wxPyBeginAllowThreads();
6025 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6026
6027 wxPyEndAllowThreads(__tstate);
6028 if (PyErr_Occurred()) SWIG_fail;
6029 }
6030 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6031 return resultobj;
6032 fail:
6033 return NULL;
6034 }
6035
6036
6037 static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6038 PyObject *resultobj;
6039 wxTimer *arg1 = 0 ;
6040 int arg2 ;
6041 bool arg3 = (bool) False ;
6042 wxTimerRunner *result;
6043 PyObject * obj0 = 0 ;
6044 PyObject * obj2 = 0 ;
6045
6046 if(!PyArg_ParseTuple(args,(char *)"Oi|O:new_TimerRunner",&obj0,&arg2,&obj2)) goto fail;
6047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6048 if (arg1 == NULL) {
6049 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6050 }
6051 if (obj2) {
6052 arg3 = PyInt_AsLong(obj2) ? true : false;
6053 if (PyErr_Occurred()) SWIG_fail;
6054 }
6055 {
6056 PyThreadState* __tstate = wxPyBeginAllowThreads();
6057 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6058
6059 wxPyEndAllowThreads(__tstate);
6060 if (PyErr_Occurred()) SWIG_fail;
6061 }
6062 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6063 return resultobj;
6064 fail:
6065 return NULL;
6066 }
6067
6068
6069 static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6070 int argc;
6071 PyObject *argv[4];
6072 int ii;
6073
6074 argc = PyObject_Length(args);
6075 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6076 argv[ii] = PyTuple_GetItem(args,ii);
6077 }
6078 if (argc == 1) {
6079 int _v;
6080 {
6081 void *ptr;
6082 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6083 _v = 0;
6084 PyErr_Clear();
6085 } else {
6086 _v = 1;
6087 }
6088 }
6089 if (_v) {
6090 return _wrap_new_TimerRunner__SWIG_0(self,args);
6091 }
6092 }
6093 if ((argc >= 2) && (argc <= 3)) {
6094 int _v;
6095 {
6096 void *ptr;
6097 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6098 _v = 0;
6099 PyErr_Clear();
6100 } else {
6101 _v = 1;
6102 }
6103 }
6104 if (_v) {
6105 {
6106 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6107 }
6108 if (_v) {
6109 if (argc <= 2) {
6110 return _wrap_new_TimerRunner__SWIG_1(self,args);
6111 }
6112 {
6113 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
6114 }
6115 if (_v) {
6116 return _wrap_new_TimerRunner__SWIG_1(self,args);
6117 }
6118 }
6119 }
6120 }
6121
6122 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6123 return NULL;
6124 }
6125
6126
6127 static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6128 PyObject *resultobj;
6129 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6130 PyObject * obj0 = 0 ;
6131 char *kwnames[] = {
6132 (char *) "self", NULL
6133 };
6134
6135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6137 {
6138 PyThreadState* __tstate = wxPyBeginAllowThreads();
6139 delete arg1;
6140
6141 wxPyEndAllowThreads(__tstate);
6142 if (PyErr_Occurred()) SWIG_fail;
6143 }
6144 Py_INCREF(Py_None); resultobj = Py_None;
6145 return resultobj;
6146 fail:
6147 return NULL;
6148 }
6149
6150
6151 static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6152 PyObject *resultobj;
6153 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6154 int arg2 ;
6155 bool arg3 = (bool) False ;
6156 PyObject * obj0 = 0 ;
6157 PyObject * obj2 = 0 ;
6158 char *kwnames[] = {
6159 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6160 };
6161
6162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:TimerRunner_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
6163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6164 if (obj2) {
6165 arg3 = PyInt_AsLong(obj2) ? true : false;
6166 if (PyErr_Occurred()) SWIG_fail;
6167 }
6168 {
6169 PyThreadState* __tstate = wxPyBeginAllowThreads();
6170 (arg1)->Start(arg2,arg3);
6171
6172 wxPyEndAllowThreads(__tstate);
6173 if (PyErr_Occurred()) SWIG_fail;
6174 }
6175 Py_INCREF(Py_None); resultobj = Py_None;
6176 return resultobj;
6177 fail:
6178 return NULL;
6179 }
6180
6181
6182 static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6183 PyObject *obj;
6184 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6185 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6186 Py_INCREF(obj);
6187 return Py_BuildValue((char *)"");
6188 }
6189 static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6190 PyObject *resultobj;
6191 wxLog *result;
6192 char *kwnames[] = {
6193 NULL
6194 };
6195
6196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6197 {
6198 PyThreadState* __tstate = wxPyBeginAllowThreads();
6199 result = (wxLog *)new wxLog();
6200
6201 wxPyEndAllowThreads(__tstate);
6202 if (PyErr_Occurred()) SWIG_fail;
6203 }
6204 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 1);
6205 return resultobj;
6206 fail:
6207 return NULL;
6208 }
6209
6210
6211 static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6212 PyObject *resultobj;
6213 bool result;
6214 char *kwnames[] = {
6215 NULL
6216 };
6217
6218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6219 {
6220 PyThreadState* __tstate = wxPyBeginAllowThreads();
6221 result = (bool)wxLog::IsEnabled();
6222
6223 wxPyEndAllowThreads(__tstate);
6224 if (PyErr_Occurred()) SWIG_fail;
6225 }
6226 resultobj = PyInt_FromLong((long)result);
6227 return resultobj;
6228 fail:
6229 return NULL;
6230 }
6231
6232
6233 static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6234 PyObject *resultobj;
6235 bool arg1 = (bool) True ;
6236 bool result;
6237 PyObject * obj0 = 0 ;
6238 char *kwnames[] = {
6239 (char *) "doIt", NULL
6240 };
6241
6242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6243 if (obj0) {
6244 arg1 = PyInt_AsLong(obj0) ? true : false;
6245 if (PyErr_Occurred()) SWIG_fail;
6246 }
6247 {
6248 PyThreadState* __tstate = wxPyBeginAllowThreads();
6249 result = (bool)wxLog::EnableLogging(arg1);
6250
6251 wxPyEndAllowThreads(__tstate);
6252 if (PyErr_Occurred()) SWIG_fail;
6253 }
6254 resultobj = PyInt_FromLong((long)result);
6255 return resultobj;
6256 fail:
6257 return NULL;
6258 }
6259
6260
6261 static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6262 PyObject *resultobj;
6263 wxLogLevel arg1 ;
6264 wxChar *arg2 = (wxChar *) 0 ;
6265 time_t arg3 ;
6266 PyObject * obj0 = 0 ;
6267 PyObject * obj1 = 0 ;
6268 PyObject * obj2 = 0 ;
6269 char *kwnames[] = {
6270 (char *) "level",(char *) "szString",(char *) "t", NULL
6271 };
6272
6273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
6274 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6275 if (PyErr_Occurred()) SWIG_fail;
6276 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6277 arg3 = (time_t) PyInt_AsLong(obj2);
6278 if (PyErr_Occurred()) SWIG_fail;
6279 {
6280 PyThreadState* __tstate = wxPyBeginAllowThreads();
6281 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6282
6283 wxPyEndAllowThreads(__tstate);
6284 if (PyErr_Occurred()) SWIG_fail;
6285 }
6286 Py_INCREF(Py_None); resultobj = Py_None;
6287 return resultobj;
6288 fail:
6289 return NULL;
6290 }
6291
6292
6293 static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6294 PyObject *resultobj;
6295 wxLog *arg1 = (wxLog *) 0 ;
6296 PyObject * obj0 = 0 ;
6297 char *kwnames[] = {
6298 (char *) "self", NULL
6299 };
6300
6301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6303 {
6304 PyThreadState* __tstate = wxPyBeginAllowThreads();
6305 (arg1)->Flush();
6306
6307 wxPyEndAllowThreads(__tstate);
6308 if (PyErr_Occurred()) SWIG_fail;
6309 }
6310 Py_INCREF(Py_None); resultobj = Py_None;
6311 return resultobj;
6312 fail:
6313 return NULL;
6314 }
6315
6316
6317 static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6318 PyObject *resultobj;
6319 char *kwnames[] = {
6320 NULL
6321 };
6322
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6324 {
6325 PyThreadState* __tstate = wxPyBeginAllowThreads();
6326 wxLog::FlushActive();
6327
6328 wxPyEndAllowThreads(__tstate);
6329 if (PyErr_Occurred()) SWIG_fail;
6330 }
6331 Py_INCREF(Py_None); resultobj = Py_None;
6332 return resultobj;
6333 fail:
6334 return NULL;
6335 }
6336
6337
6338 static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6339 PyObject *resultobj;
6340 wxLog *result;
6341 char *kwnames[] = {
6342 NULL
6343 };
6344
6345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6346 {
6347 PyThreadState* __tstate = wxPyBeginAllowThreads();
6348 result = (wxLog *)wxLog::GetActiveTarget();
6349
6350 wxPyEndAllowThreads(__tstate);
6351 if (PyErr_Occurred()) SWIG_fail;
6352 }
6353 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6354 return resultobj;
6355 fail:
6356 return NULL;
6357 }
6358
6359
6360 static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6361 PyObject *resultobj;
6362 wxLog *arg1 = (wxLog *) 0 ;
6363 wxLog *result;
6364 PyObject * obj0 = 0 ;
6365 char *kwnames[] = {
6366 (char *) "pLogger", NULL
6367 };
6368
6369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
6370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6371 {
6372 PyThreadState* __tstate = wxPyBeginAllowThreads();
6373 result = (wxLog *)wxLog::SetActiveTarget(arg1);
6374
6375 wxPyEndAllowThreads(__tstate);
6376 if (PyErr_Occurred()) SWIG_fail;
6377 }
6378 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6379 return resultobj;
6380 fail:
6381 return NULL;
6382 }
6383
6384
6385 static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
6386 PyObject *resultobj;
6387 char *kwnames[] = {
6388 NULL
6389 };
6390
6391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
6392 {
6393 PyThreadState* __tstate = wxPyBeginAllowThreads();
6394 wxLog::Suspend();
6395
6396 wxPyEndAllowThreads(__tstate);
6397 if (PyErr_Occurred()) SWIG_fail;
6398 }
6399 Py_INCREF(Py_None); resultobj = Py_None;
6400 return resultobj;
6401 fail:
6402 return NULL;
6403 }
6404
6405
6406 static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
6407 PyObject *resultobj;
6408 char *kwnames[] = {
6409 NULL
6410 };
6411
6412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 wxLog::Resume();
6416
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
6420 Py_INCREF(Py_None); resultobj = Py_None;
6421 return resultobj;
6422 fail:
6423 return NULL;
6424 }
6425
6426
6427 static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6428 PyObject *resultobj;
6429 bool arg1 = (bool) True ;
6430 PyObject * obj0 = 0 ;
6431 char *kwnames[] = {
6432 (char *) "bVerbose", NULL
6433 };
6434
6435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
6436 if (obj0) {
6437 arg1 = PyInt_AsLong(obj0) ? true : false;
6438 if (PyErr_Occurred()) SWIG_fail;
6439 }
6440 {
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
6442 wxLog::SetVerbose(arg1);
6443
6444 wxPyEndAllowThreads(__tstate);
6445 if (PyErr_Occurred()) SWIG_fail;
6446 }
6447 Py_INCREF(Py_None); resultobj = Py_None;
6448 return resultobj;
6449 fail:
6450 return NULL;
6451 }
6452
6453
6454 static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6455 PyObject *resultobj;
6456 wxLogLevel arg1 ;
6457 PyObject * obj0 = 0 ;
6458 char *kwnames[] = {
6459 (char *) "logLevel", NULL
6460 };
6461
6462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
6463 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 {
6466 PyThreadState* __tstate = wxPyBeginAllowThreads();
6467 wxLog::SetLogLevel(arg1);
6468
6469 wxPyEndAllowThreads(__tstate);
6470 if (PyErr_Occurred()) SWIG_fail;
6471 }
6472 Py_INCREF(Py_None); resultobj = Py_None;
6473 return resultobj;
6474 fail:
6475 return NULL;
6476 }
6477
6478
6479 static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
6480 PyObject *resultobj;
6481 char *kwnames[] = {
6482 NULL
6483 };
6484
6485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
6486 {
6487 PyThreadState* __tstate = wxPyBeginAllowThreads();
6488 wxLog::DontCreateOnDemand();
6489
6490 wxPyEndAllowThreads(__tstate);
6491 if (PyErr_Occurred()) SWIG_fail;
6492 }
6493 Py_INCREF(Py_None); resultobj = Py_None;
6494 return resultobj;
6495 fail:
6496 return NULL;
6497 }
6498
6499
6500 static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6501 PyObject *resultobj;
6502 wxTraceMask arg1 ;
6503 PyObject * obj0 = 0 ;
6504 char *kwnames[] = {
6505 (char *) "ulMask", NULL
6506 };
6507
6508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
6509 arg1 = (wxTraceMask) PyInt_AsLong(obj0);
6510 if (PyErr_Occurred()) SWIG_fail;
6511 {
6512 PyThreadState* __tstate = wxPyBeginAllowThreads();
6513 wxLog::SetTraceMask(arg1);
6514
6515 wxPyEndAllowThreads(__tstate);
6516 if (PyErr_Occurred()) SWIG_fail;
6517 }
6518 Py_INCREF(Py_None); resultobj = Py_None;
6519 return resultobj;
6520 fail:
6521 return NULL;
6522 }
6523
6524
6525 static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6526 PyObject *resultobj;
6527 wxString *arg1 = 0 ;
6528 bool temp1 = False ;
6529 PyObject * obj0 = 0 ;
6530 char *kwnames[] = {
6531 (char *) "str", NULL
6532 };
6533
6534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
6535 {
6536 arg1 = wxString_in_helper(obj0);
6537 if (arg1 == NULL) SWIG_fail;
6538 temp1 = True;
6539 }
6540 {
6541 PyThreadState* __tstate = wxPyBeginAllowThreads();
6542 wxLog::AddTraceMask((wxString const &)*arg1);
6543
6544 wxPyEndAllowThreads(__tstate);
6545 if (PyErr_Occurred()) SWIG_fail;
6546 }
6547 Py_INCREF(Py_None); resultobj = Py_None;
6548 {
6549 if (temp1)
6550 delete arg1;
6551 }
6552 return resultobj;
6553 fail:
6554 {
6555 if (temp1)
6556 delete arg1;
6557 }
6558 return NULL;
6559 }
6560
6561
6562 static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6563 PyObject *resultobj;
6564 wxString *arg1 = 0 ;
6565 bool temp1 = False ;
6566 PyObject * obj0 = 0 ;
6567 char *kwnames[] = {
6568 (char *) "str", NULL
6569 };
6570
6571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
6572 {
6573 arg1 = wxString_in_helper(obj0);
6574 if (arg1 == NULL) SWIG_fail;
6575 temp1 = True;
6576 }
6577 {
6578 PyThreadState* __tstate = wxPyBeginAllowThreads();
6579 wxLog::RemoveTraceMask((wxString const &)*arg1);
6580
6581 wxPyEndAllowThreads(__tstate);
6582 if (PyErr_Occurred()) SWIG_fail;
6583 }
6584 Py_INCREF(Py_None); resultobj = Py_None;
6585 {
6586 if (temp1)
6587 delete arg1;
6588 }
6589 return resultobj;
6590 fail:
6591 {
6592 if (temp1)
6593 delete arg1;
6594 }
6595 return NULL;
6596 }
6597
6598
6599 static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6600 PyObject *resultobj;
6601 char *kwnames[] = {
6602 NULL
6603 };
6604
6605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
6606 {
6607 PyThreadState* __tstate = wxPyBeginAllowThreads();
6608 wxLog::ClearTraceMasks();
6609
6610 wxPyEndAllowThreads(__tstate);
6611 if (PyErr_Occurred()) SWIG_fail;
6612 }
6613 Py_INCREF(Py_None); resultobj = Py_None;
6614 return resultobj;
6615 fail:
6616 return NULL;
6617 }
6618
6619
6620 static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6621 PyObject *resultobj;
6622 wxArrayString *result;
6623 char *kwnames[] = {
6624 NULL
6625 };
6626
6627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
6628 {
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 {
6631 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
6632 result = (wxArrayString *) &_result_ref;
6633 }
6634
6635 wxPyEndAllowThreads(__tstate);
6636 if (PyErr_Occurred()) SWIG_fail;
6637 }
6638 {
6639 resultobj = wxArrayString2PyList_helper(*result);
6640 }
6641 return resultobj;
6642 fail:
6643 return NULL;
6644 }
6645
6646
6647 static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6648 PyObject *resultobj;
6649 wxChar *arg1 = (wxChar *) 0 ;
6650 PyObject * obj0 = 0 ;
6651 char *kwnames[] = {
6652 (char *) "ts", NULL
6653 };
6654
6655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
6656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6657 {
6658 PyThreadState* __tstate = wxPyBeginAllowThreads();
6659 wxLog::SetTimestamp((wxChar const *)arg1);
6660
6661 wxPyEndAllowThreads(__tstate);
6662 if (PyErr_Occurred()) SWIG_fail;
6663 }
6664 Py_INCREF(Py_None); resultobj = Py_None;
6665 return resultobj;
6666 fail:
6667 return NULL;
6668 }
6669
6670
6671 static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6672 PyObject *resultobj;
6673 bool result;
6674 char *kwnames[] = {
6675 NULL
6676 };
6677
6678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
6679 {
6680 PyThreadState* __tstate = wxPyBeginAllowThreads();
6681 result = (bool)wxLog::GetVerbose();
6682
6683 wxPyEndAllowThreads(__tstate);
6684 if (PyErr_Occurred()) SWIG_fail;
6685 }
6686 resultobj = PyInt_FromLong((long)result);
6687 return resultobj;
6688 fail:
6689 return NULL;
6690 }
6691
6692
6693 static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6694 PyObject *resultobj;
6695 wxTraceMask result;
6696 char *kwnames[] = {
6697 NULL
6698 };
6699
6700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
6701 {
6702 PyThreadState* __tstate = wxPyBeginAllowThreads();
6703 result = (wxTraceMask)wxLog::GetTraceMask();
6704
6705 wxPyEndAllowThreads(__tstate);
6706 if (PyErr_Occurred()) SWIG_fail;
6707 }
6708 resultobj = PyInt_FromLong((long)result);
6709 return resultobj;
6710 fail:
6711 return NULL;
6712 }
6713
6714
6715 static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6716 PyObject *resultobj;
6717 wxChar *arg1 = (wxChar *) 0 ;
6718 bool result;
6719 PyObject * obj0 = 0 ;
6720 char *kwnames[] = {
6721 (char *) "mask", NULL
6722 };
6723
6724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
6725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6726 {
6727 PyThreadState* __tstate = wxPyBeginAllowThreads();
6728 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
6729
6730 wxPyEndAllowThreads(__tstate);
6731 if (PyErr_Occurred()) SWIG_fail;
6732 }
6733 resultobj = PyInt_FromLong((long)result);
6734 return resultobj;
6735 fail:
6736 return NULL;
6737 }
6738
6739
6740 static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6741 PyObject *resultobj;
6742 wxLogLevel result;
6743 char *kwnames[] = {
6744 NULL
6745 };
6746
6747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
6748 {
6749 PyThreadState* __tstate = wxPyBeginAllowThreads();
6750 result = (wxLogLevel)wxLog::GetLogLevel();
6751
6752 wxPyEndAllowThreads(__tstate);
6753 if (PyErr_Occurred()) SWIG_fail;
6754 }
6755 resultobj = PyInt_FromLong((long)result);
6756 return resultobj;
6757 fail:
6758 return NULL;
6759 }
6760
6761
6762 static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6763 PyObject *resultobj;
6764 wxChar *result;
6765 char *kwnames[] = {
6766 NULL
6767 };
6768
6769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
6770 {
6771 PyThreadState* __tstate = wxPyBeginAllowThreads();
6772 result = (wxChar *)wxLog::GetTimestamp();
6773
6774 wxPyEndAllowThreads(__tstate);
6775 if (PyErr_Occurred()) SWIG_fail;
6776 }
6777 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChar, 0);
6778 return resultobj;
6779 fail:
6780 return NULL;
6781 }
6782
6783
6784 static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6785 PyObject *resultobj;
6786 wxString result;
6787 char *kwnames[] = {
6788 NULL
6789 };
6790
6791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
6792 {
6793 PyThreadState* __tstate = wxPyBeginAllowThreads();
6794 result = Log_TimeStamp();
6795
6796 wxPyEndAllowThreads(__tstate);
6797 if (PyErr_Occurred()) SWIG_fail;
6798 }
6799 {
6800 #if wxUSE_UNICODE
6801 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6802 #else
6803 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6804 #endif
6805 }
6806 return resultobj;
6807 fail:
6808 return NULL;
6809 }
6810
6811
6812 static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6813 PyObject *resultobj;
6814 wxLog *arg1 = (wxLog *) 0 ;
6815 PyObject * obj0 = 0 ;
6816 char *kwnames[] = {
6817 (char *) "self", NULL
6818 };
6819
6820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
6821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6822 {
6823 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824 wxLog_Destroy(arg1);
6825
6826 wxPyEndAllowThreads(__tstate);
6827 if (PyErr_Occurred()) SWIG_fail;
6828 }
6829 Py_INCREF(Py_None); resultobj = Py_None;
6830 return resultobj;
6831 fail:
6832 return NULL;
6833 }
6834
6835
6836 static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
6837 PyObject *obj;
6838 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6839 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
6840 Py_INCREF(obj);
6841 return Py_BuildValue((char *)"");
6842 }
6843 static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
6844 PyObject *resultobj;
6845 wxLogStderr *result;
6846 char *kwnames[] = {
6847 NULL
6848 };
6849
6850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
6851 {
6852 PyThreadState* __tstate = wxPyBeginAllowThreads();
6853 result = (wxLogStderr *)new wxLogStderr();
6854
6855 wxPyEndAllowThreads(__tstate);
6856 if (PyErr_Occurred()) SWIG_fail;
6857 }
6858 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogStderr, 1);
6859 return resultobj;
6860 fail:
6861 return NULL;
6862 }
6863
6864
6865 static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
6866 PyObject *obj;
6867 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6868 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
6869 Py_INCREF(obj);
6870 return Py_BuildValue((char *)"");
6871 }
6872 static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6873 PyObject *resultobj;
6874 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6875 wxLogTextCtrl *result;
6876 PyObject * obj0 = 0 ;
6877 char *kwnames[] = {
6878 (char *) "pTextCtrl", NULL
6879 };
6880
6881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
6882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6883 {
6884 PyThreadState* __tstate = wxPyBeginAllowThreads();
6885 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
6886
6887 wxPyEndAllowThreads(__tstate);
6888 if (PyErr_Occurred()) SWIG_fail;
6889 }
6890 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogTextCtrl, 1);
6891 return resultobj;
6892 fail:
6893 return NULL;
6894 }
6895
6896
6897 static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
6898 PyObject *obj;
6899 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6900 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
6901 Py_INCREF(obj);
6902 return Py_BuildValue((char *)"");
6903 }
6904 static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
6905 PyObject *resultobj;
6906 wxLogGui *result;
6907 char *kwnames[] = {
6908 NULL
6909 };
6910
6911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
6912 {
6913 PyThreadState* __tstate = wxPyBeginAllowThreads();
6914 result = (wxLogGui *)new wxLogGui();
6915
6916 wxPyEndAllowThreads(__tstate);
6917 if (PyErr_Occurred()) SWIG_fail;
6918 }
6919 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogGui, 1);
6920 return resultobj;
6921 fail:
6922 return NULL;
6923 }
6924
6925
6926 static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
6927 PyObject *obj;
6928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6929 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
6930 Py_INCREF(obj);
6931 return Py_BuildValue((char *)"");
6932 }
6933 static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6934 PyObject *resultobj;
6935 wxFrame *arg1 = (wxFrame *) 0 ;
6936 wxString *arg2 = 0 ;
6937 bool arg3 = (bool) True ;
6938 bool arg4 = (bool) True ;
6939 wxLogWindow *result;
6940 bool temp2 = False ;
6941 PyObject * obj0 = 0 ;
6942 PyObject * obj1 = 0 ;
6943 PyObject * obj2 = 0 ;
6944 PyObject * obj3 = 0 ;
6945 char *kwnames[] = {
6946 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6947 };
6948
6949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6951 {
6952 arg2 = wxString_in_helper(obj1);
6953 if (arg2 == NULL) SWIG_fail;
6954 temp2 = True;
6955 }
6956 if (obj2) {
6957 arg3 = PyInt_AsLong(obj2) ? true : false;
6958 if (PyErr_Occurred()) SWIG_fail;
6959 }
6960 if (obj3) {
6961 arg4 = PyInt_AsLong(obj3) ? true : false;
6962 if (PyErr_Occurred()) SWIG_fail;
6963 }
6964 {
6965 PyThreadState* __tstate = wxPyBeginAllowThreads();
6966 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
6967
6968 wxPyEndAllowThreads(__tstate);
6969 if (PyErr_Occurred()) SWIG_fail;
6970 }
6971 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogWindow, 1);
6972 {
6973 if (temp2)
6974 delete arg2;
6975 }
6976 return resultobj;
6977 fail:
6978 {
6979 if (temp2)
6980 delete arg2;
6981 }
6982 return NULL;
6983 }
6984
6985
6986 static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
6987 PyObject *resultobj;
6988 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6989 bool arg2 = (bool) True ;
6990 PyObject * obj0 = 0 ;
6991 PyObject * obj1 = 0 ;
6992 char *kwnames[] = {
6993 (char *) "self",(char *) "bShow", NULL
6994 };
6995
6996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
6997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6998 if (obj1) {
6999 arg2 = PyInt_AsLong(obj1) ? true : false;
7000 if (PyErr_Occurred()) SWIG_fail;
7001 }
7002 {
7003 PyThreadState* __tstate = wxPyBeginAllowThreads();
7004 (arg1)->Show(arg2);
7005
7006 wxPyEndAllowThreads(__tstate);
7007 if (PyErr_Occurred()) SWIG_fail;
7008 }
7009 Py_INCREF(Py_None); resultobj = Py_None;
7010 return resultobj;
7011 fail:
7012 return NULL;
7013 }
7014
7015
7016 static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7017 PyObject *resultobj;
7018 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7019 wxFrame *result;
7020 PyObject * obj0 = 0 ;
7021 char *kwnames[] = {
7022 (char *) "self", NULL
7023 };
7024
7025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
7026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7027 {
7028 PyThreadState* __tstate = wxPyBeginAllowThreads();
7029 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7030
7031 wxPyEndAllowThreads(__tstate);
7032 if (PyErr_Occurred()) SWIG_fail;
7033 }
7034 {
7035 resultobj = wxPyMake_wxObject(result);
7036 }
7037 return resultobj;
7038 fail:
7039 return NULL;
7040 }
7041
7042
7043 static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7044 PyObject *resultobj;
7045 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7046 wxLog *result;
7047 PyObject * obj0 = 0 ;
7048 char *kwnames[] = {
7049 (char *) "self", NULL
7050 };
7051
7052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7054 {
7055 PyThreadState* __tstate = wxPyBeginAllowThreads();
7056 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7057
7058 wxPyEndAllowThreads(__tstate);
7059 if (PyErr_Occurred()) SWIG_fail;
7060 }
7061 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7062 return resultobj;
7063 fail:
7064 return NULL;
7065 }
7066
7067
7068 static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7069 PyObject *resultobj;
7070 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7071 bool result;
7072 PyObject * obj0 = 0 ;
7073 char *kwnames[] = {
7074 (char *) "self", NULL
7075 };
7076
7077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
7078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7079 {
7080 PyThreadState* __tstate = wxPyBeginAllowThreads();
7081 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7082
7083 wxPyEndAllowThreads(__tstate);
7084 if (PyErr_Occurred()) SWIG_fail;
7085 }
7086 resultobj = PyInt_FromLong((long)result);
7087 return resultobj;
7088 fail:
7089 return NULL;
7090 }
7091
7092
7093 static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7094 PyObject *resultobj;
7095 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7096 bool arg2 ;
7097 PyObject * obj0 = 0 ;
7098 PyObject * obj1 = 0 ;
7099 char *kwnames[] = {
7100 (char *) "self",(char *) "bDoPass", NULL
7101 };
7102
7103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7105 arg2 = PyInt_AsLong(obj1) ? true : false;
7106 if (PyErr_Occurred()) SWIG_fail;
7107 {
7108 PyThreadState* __tstate = wxPyBeginAllowThreads();
7109 (arg1)->PassMessages(arg2);
7110
7111 wxPyEndAllowThreads(__tstate);
7112 if (PyErr_Occurred()) SWIG_fail;
7113 }
7114 Py_INCREF(Py_None); resultobj = Py_None;
7115 return resultobj;
7116 fail:
7117 return NULL;
7118 }
7119
7120
7121 static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7122 PyObject *obj;
7123 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7124 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7125 Py_INCREF(obj);
7126 return Py_BuildValue((char *)"");
7127 }
7128 static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7129 PyObject *resultobj;
7130 wxLog *arg1 = (wxLog *) 0 ;
7131 wxLogChain *result;
7132 PyObject * obj0 = 0 ;
7133 char *kwnames[] = {
7134 (char *) "logger", NULL
7135 };
7136
7137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7139 {
7140 PyThreadState* __tstate = wxPyBeginAllowThreads();
7141 result = (wxLogChain *)new wxLogChain(arg1);
7142
7143 wxPyEndAllowThreads(__tstate);
7144 if (PyErr_Occurred()) SWIG_fail;
7145 }
7146 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogChain, 1);
7147 return resultobj;
7148 fail:
7149 return NULL;
7150 }
7151
7152
7153 static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7154 PyObject *resultobj;
7155 wxLogChain *arg1 = (wxLogChain *) 0 ;
7156 wxLog *arg2 = (wxLog *) 0 ;
7157 PyObject * obj0 = 0 ;
7158 PyObject * obj1 = 0 ;
7159 char *kwnames[] = {
7160 (char *) "self",(char *) "logger", NULL
7161 };
7162
7163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7165 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7166 {
7167 PyThreadState* __tstate = wxPyBeginAllowThreads();
7168 (arg1)->SetLog(arg2);
7169
7170 wxPyEndAllowThreads(__tstate);
7171 if (PyErr_Occurred()) SWIG_fail;
7172 }
7173 Py_INCREF(Py_None); resultobj = Py_None;
7174 return resultobj;
7175 fail:
7176 return NULL;
7177 }
7178
7179
7180 static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7181 PyObject *resultobj;
7182 wxLogChain *arg1 = (wxLogChain *) 0 ;
7183 bool arg2 ;
7184 PyObject * obj0 = 0 ;
7185 PyObject * obj1 = 0 ;
7186 char *kwnames[] = {
7187 (char *) "self",(char *) "bDoPass", NULL
7188 };
7189
7190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7192 arg2 = PyInt_AsLong(obj1) ? true : false;
7193 if (PyErr_Occurred()) SWIG_fail;
7194 {
7195 PyThreadState* __tstate = wxPyBeginAllowThreads();
7196 (arg1)->PassMessages(arg2);
7197
7198 wxPyEndAllowThreads(__tstate);
7199 if (PyErr_Occurred()) SWIG_fail;
7200 }
7201 Py_INCREF(Py_None); resultobj = Py_None;
7202 return resultobj;
7203 fail:
7204 return NULL;
7205 }
7206
7207
7208 static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7209 PyObject *resultobj;
7210 wxLogChain *arg1 = (wxLogChain *) 0 ;
7211 bool result;
7212 PyObject * obj0 = 0 ;
7213 char *kwnames[] = {
7214 (char *) "self", NULL
7215 };
7216
7217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7219 {
7220 PyThreadState* __tstate = wxPyBeginAllowThreads();
7221 result = (bool)(arg1)->IsPassingMessages();
7222
7223 wxPyEndAllowThreads(__tstate);
7224 if (PyErr_Occurred()) SWIG_fail;
7225 }
7226 resultobj = PyInt_FromLong((long)result);
7227 return resultobj;
7228 fail:
7229 return NULL;
7230 }
7231
7232
7233 static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7234 PyObject *resultobj;
7235 wxLogChain *arg1 = (wxLogChain *) 0 ;
7236 wxLog *result;
7237 PyObject * obj0 = 0 ;
7238 char *kwnames[] = {
7239 (char *) "self", NULL
7240 };
7241
7242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7244 {
7245 PyThreadState* __tstate = wxPyBeginAllowThreads();
7246 result = (wxLog *)(arg1)->GetOldLog();
7247
7248 wxPyEndAllowThreads(__tstate);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 }
7251 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7252 return resultobj;
7253 fail:
7254 return NULL;
7255 }
7256
7257
7258 static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7259 PyObject *obj;
7260 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7261 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7262 Py_INCREF(obj);
7263 return Py_BuildValue((char *)"");
7264 }
7265 static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7266 PyObject *resultobj;
7267 unsigned long result;
7268 char *kwnames[] = {
7269 NULL
7270 };
7271
7272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7273 {
7274 PyThreadState* __tstate = wxPyBeginAllowThreads();
7275 result = (unsigned long)wxSysErrorCode();
7276
7277 wxPyEndAllowThreads(__tstate);
7278 if (PyErr_Occurred()) SWIG_fail;
7279 }
7280 resultobj = PyInt_FromLong((long)result);
7281 return resultobj;
7282 fail:
7283 return NULL;
7284 }
7285
7286
7287 static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7288 PyObject *resultobj;
7289 unsigned long arg1 = (unsigned long) 0 ;
7290 wxString result;
7291 PyObject * obj0 = 0 ;
7292 char *kwnames[] = {
7293 (char *) "nErrCode", NULL
7294 };
7295
7296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7297 if (obj0) {
7298 arg1 = (unsigned long) PyInt_AsLong(obj0);
7299 if (PyErr_Occurred()) SWIG_fail;
7300 }
7301 {
7302 PyThreadState* __tstate = wxPyBeginAllowThreads();
7303 result = wxSysErrorMsg(arg1);
7304
7305 wxPyEndAllowThreads(__tstate);
7306 if (PyErr_Occurred()) SWIG_fail;
7307 }
7308 {
7309 #if wxUSE_UNICODE
7310 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7311 #else
7312 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7313 #endif
7314 }
7315 return resultobj;
7316 fail:
7317 return NULL;
7318 }
7319
7320
7321 static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7322 PyObject *resultobj;
7323 wxString *arg1 = 0 ;
7324 bool temp1 = False ;
7325 PyObject * obj0 = 0 ;
7326 char *kwnames[] = {
7327 (char *) "msg", NULL
7328 };
7329
7330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7331 {
7332 arg1 = wxString_in_helper(obj0);
7333 if (arg1 == NULL) SWIG_fail;
7334 temp1 = True;
7335 }
7336 {
7337 PyThreadState* __tstate = wxPyBeginAllowThreads();
7338 wxLogFatalError((wxString const &)*arg1);
7339
7340 wxPyEndAllowThreads(__tstate);
7341 if (PyErr_Occurred()) SWIG_fail;
7342 }
7343 Py_INCREF(Py_None); resultobj = Py_None;
7344 {
7345 if (temp1)
7346 delete arg1;
7347 }
7348 return resultobj;
7349 fail:
7350 {
7351 if (temp1)
7352 delete arg1;
7353 }
7354 return NULL;
7355 }
7356
7357
7358 static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
7359 PyObject *resultobj;
7360 wxString *arg1 = 0 ;
7361 bool temp1 = False ;
7362 PyObject * obj0 = 0 ;
7363 char *kwnames[] = {
7364 (char *) "msg", NULL
7365 };
7366
7367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
7368 {
7369 arg1 = wxString_in_helper(obj0);
7370 if (arg1 == NULL) SWIG_fail;
7371 temp1 = True;
7372 }
7373 {
7374 PyThreadState* __tstate = wxPyBeginAllowThreads();
7375 wxLogError((wxString const &)*arg1);
7376
7377 wxPyEndAllowThreads(__tstate);
7378 if (PyErr_Occurred()) SWIG_fail;
7379 }
7380 Py_INCREF(Py_None); resultobj = Py_None;
7381 {
7382 if (temp1)
7383 delete arg1;
7384 }
7385 return resultobj;
7386 fail:
7387 {
7388 if (temp1)
7389 delete arg1;
7390 }
7391 return NULL;
7392 }
7393
7394
7395 static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
7396 PyObject *resultobj;
7397 wxString *arg1 = 0 ;
7398 bool temp1 = False ;
7399 PyObject * obj0 = 0 ;
7400 char *kwnames[] = {
7401 (char *) "msg", NULL
7402 };
7403
7404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
7405 {
7406 arg1 = wxString_in_helper(obj0);
7407 if (arg1 == NULL) SWIG_fail;
7408 temp1 = True;
7409 }
7410 {
7411 PyThreadState* __tstate = wxPyBeginAllowThreads();
7412 wxLogWarning((wxString const &)*arg1);
7413
7414 wxPyEndAllowThreads(__tstate);
7415 if (PyErr_Occurred()) SWIG_fail;
7416 }
7417 Py_INCREF(Py_None); resultobj = Py_None;
7418 {
7419 if (temp1)
7420 delete arg1;
7421 }
7422 return resultobj;
7423 fail:
7424 {
7425 if (temp1)
7426 delete arg1;
7427 }
7428 return NULL;
7429 }
7430
7431
7432 static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7433 PyObject *resultobj;
7434 wxString *arg1 = 0 ;
7435 bool temp1 = False ;
7436 PyObject * obj0 = 0 ;
7437 char *kwnames[] = {
7438 (char *) "msg", NULL
7439 };
7440
7441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
7442 {
7443 arg1 = wxString_in_helper(obj0);
7444 if (arg1 == NULL) SWIG_fail;
7445 temp1 = True;
7446 }
7447 {
7448 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449 wxLogMessage((wxString const &)*arg1);
7450
7451 wxPyEndAllowThreads(__tstate);
7452 if (PyErr_Occurred()) SWIG_fail;
7453 }
7454 Py_INCREF(Py_None); resultobj = Py_None;
7455 {
7456 if (temp1)
7457 delete arg1;
7458 }
7459 return resultobj;
7460 fail:
7461 {
7462 if (temp1)
7463 delete arg1;
7464 }
7465 return NULL;
7466 }
7467
7468
7469 static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7470 PyObject *resultobj;
7471 wxString *arg1 = 0 ;
7472 bool temp1 = False ;
7473 PyObject * obj0 = 0 ;
7474 char *kwnames[] = {
7475 (char *) "msg", NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
7479 {
7480 arg1 = wxString_in_helper(obj0);
7481 if (arg1 == NULL) SWIG_fail;
7482 temp1 = True;
7483 }
7484 {
7485 PyThreadState* __tstate = wxPyBeginAllowThreads();
7486 wxLogInfo((wxString const &)*arg1);
7487
7488 wxPyEndAllowThreads(__tstate);
7489 if (PyErr_Occurred()) SWIG_fail;
7490 }
7491 Py_INCREF(Py_None); resultobj = Py_None;
7492 {
7493 if (temp1)
7494 delete arg1;
7495 }
7496 return resultobj;
7497 fail:
7498 {
7499 if (temp1)
7500 delete arg1;
7501 }
7502 return NULL;
7503 }
7504
7505
7506 static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
7507 PyObject *resultobj;
7508 wxString *arg1 = 0 ;
7509 bool temp1 = False ;
7510 PyObject * obj0 = 0 ;
7511 char *kwnames[] = {
7512 (char *) "msg", NULL
7513 };
7514
7515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
7516 {
7517 arg1 = wxString_in_helper(obj0);
7518 if (arg1 == NULL) SWIG_fail;
7519 temp1 = True;
7520 }
7521 {
7522 PyThreadState* __tstate = wxPyBeginAllowThreads();
7523 wxLogDebug((wxString const &)*arg1);
7524
7525 wxPyEndAllowThreads(__tstate);
7526 if (PyErr_Occurred()) SWIG_fail;
7527 }
7528 Py_INCREF(Py_None); resultobj = Py_None;
7529 {
7530 if (temp1)
7531 delete arg1;
7532 }
7533 return resultobj;
7534 fail:
7535 {
7536 if (temp1)
7537 delete arg1;
7538 }
7539 return NULL;
7540 }
7541
7542
7543 static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7544 PyObject *resultobj;
7545 wxString *arg1 = 0 ;
7546 bool temp1 = False ;
7547 PyObject * obj0 = 0 ;
7548 char *kwnames[] = {
7549 (char *) "msg", NULL
7550 };
7551
7552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
7553 {
7554 arg1 = wxString_in_helper(obj0);
7555 if (arg1 == NULL) SWIG_fail;
7556 temp1 = True;
7557 }
7558 {
7559 PyThreadState* __tstate = wxPyBeginAllowThreads();
7560 wxLogVerbose((wxString const &)*arg1);
7561
7562 wxPyEndAllowThreads(__tstate);
7563 if (PyErr_Occurred()) SWIG_fail;
7564 }
7565 Py_INCREF(Py_None); resultobj = Py_None;
7566 {
7567 if (temp1)
7568 delete arg1;
7569 }
7570 return resultobj;
7571 fail:
7572 {
7573 if (temp1)
7574 delete arg1;
7575 }
7576 return NULL;
7577 }
7578
7579
7580 static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7581 PyObject *resultobj;
7582 wxString *arg1 = 0 ;
7583 bool temp1 = False ;
7584 PyObject * obj0 = 0 ;
7585 char *kwnames[] = {
7586 (char *) "msg", NULL
7587 };
7588
7589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
7590 {
7591 arg1 = wxString_in_helper(obj0);
7592 if (arg1 == NULL) SWIG_fail;
7593 temp1 = True;
7594 }
7595 {
7596 PyThreadState* __tstate = wxPyBeginAllowThreads();
7597 wxLogStatus((wxString const &)*arg1);
7598
7599 wxPyEndAllowThreads(__tstate);
7600 if (PyErr_Occurred()) SWIG_fail;
7601 }
7602 Py_INCREF(Py_None); resultobj = Py_None;
7603 {
7604 if (temp1)
7605 delete arg1;
7606 }
7607 return resultobj;
7608 fail:
7609 {
7610 if (temp1)
7611 delete arg1;
7612 }
7613 return NULL;
7614 }
7615
7616
7617 static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7618 PyObject *resultobj;
7619 wxFrame *arg1 = (wxFrame *) 0 ;
7620 wxString *arg2 = 0 ;
7621 bool temp2 = False ;
7622 PyObject * obj0 = 0 ;
7623 PyObject * obj1 = 0 ;
7624 char *kwnames[] = {
7625 (char *) "pFrame",(char *) "msg", NULL
7626 };
7627
7628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
7629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7630 {
7631 arg2 = wxString_in_helper(obj1);
7632 if (arg2 == NULL) SWIG_fail;
7633 temp2 = True;
7634 }
7635 {
7636 PyThreadState* __tstate = wxPyBeginAllowThreads();
7637 wxLogStatus(arg1,(wxString const &)*arg2);
7638
7639 wxPyEndAllowThreads(__tstate);
7640 if (PyErr_Occurred()) SWIG_fail;
7641 }
7642 Py_INCREF(Py_None); resultobj = Py_None;
7643 {
7644 if (temp2)
7645 delete arg2;
7646 }
7647 return resultobj;
7648 fail:
7649 {
7650 if (temp2)
7651 delete arg2;
7652 }
7653 return NULL;
7654 }
7655
7656
7657 static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
7658 PyObject *resultobj;
7659 wxString *arg1 = 0 ;
7660 bool temp1 = False ;
7661 PyObject * obj0 = 0 ;
7662 char *kwnames[] = {
7663 (char *) "msg", NULL
7664 };
7665
7666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
7667 {
7668 arg1 = wxString_in_helper(obj0);
7669 if (arg1 == NULL) SWIG_fail;
7670 temp1 = True;
7671 }
7672 {
7673 PyThreadState* __tstate = wxPyBeginAllowThreads();
7674 wxLogSysError((wxString const &)*arg1);
7675
7676 wxPyEndAllowThreads(__tstate);
7677 if (PyErr_Occurred()) SWIG_fail;
7678 }
7679 Py_INCREF(Py_None); resultobj = Py_None;
7680 {
7681 if (temp1)
7682 delete arg1;
7683 }
7684 return resultobj;
7685 fail:
7686 {
7687 if (temp1)
7688 delete arg1;
7689 }
7690 return NULL;
7691 }
7692
7693
7694 static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
7695 PyObject *resultobj;
7696 unsigned long arg1 ;
7697 wxString *arg2 = 0 ;
7698 bool temp2 = False ;
7699 PyObject * obj0 = 0 ;
7700 PyObject * obj1 = 0 ;
7701
7702 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
7703 arg1 = (unsigned long) PyInt_AsLong(obj0);
7704 if (PyErr_Occurred()) SWIG_fail;
7705 {
7706 arg2 = wxString_in_helper(obj1);
7707 if (arg2 == NULL) SWIG_fail;
7708 temp2 = True;
7709 }
7710 {
7711 PyThreadState* __tstate = wxPyBeginAllowThreads();
7712 wxLogTrace(arg1,(wxString const &)*arg2);
7713
7714 wxPyEndAllowThreads(__tstate);
7715 if (PyErr_Occurred()) SWIG_fail;
7716 }
7717 Py_INCREF(Py_None); resultobj = Py_None;
7718 {
7719 if (temp2)
7720 delete arg2;
7721 }
7722 return resultobj;
7723 fail:
7724 {
7725 if (temp2)
7726 delete arg2;
7727 }
7728 return NULL;
7729 }
7730
7731
7732 static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
7733 PyObject *resultobj;
7734 wxString *arg1 = 0 ;
7735 wxString *arg2 = 0 ;
7736 bool temp1 = False ;
7737 bool temp2 = False ;
7738 PyObject * obj0 = 0 ;
7739 PyObject * obj1 = 0 ;
7740
7741 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
7742 {
7743 arg1 = wxString_in_helper(obj0);
7744 if (arg1 == NULL) SWIG_fail;
7745 temp1 = True;
7746 }
7747 {
7748 arg2 = wxString_in_helper(obj1);
7749 if (arg2 == NULL) SWIG_fail;
7750 temp2 = True;
7751 }
7752 {
7753 PyThreadState* __tstate = wxPyBeginAllowThreads();
7754 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
7755
7756 wxPyEndAllowThreads(__tstate);
7757 if (PyErr_Occurred()) SWIG_fail;
7758 }
7759 Py_INCREF(Py_None); resultobj = Py_None;
7760 {
7761 if (temp1)
7762 delete arg1;
7763 }
7764 {
7765 if (temp2)
7766 delete arg2;
7767 }
7768 return resultobj;
7769 fail:
7770 {
7771 if (temp1)
7772 delete arg1;
7773 }
7774 {
7775 if (temp2)
7776 delete arg2;
7777 }
7778 return NULL;
7779 }
7780
7781
7782 static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
7783 int argc;
7784 PyObject *argv[3];
7785 int ii;
7786
7787 argc = PyObject_Length(args);
7788 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
7789 argv[ii] = PyTuple_GetItem(args,ii);
7790 }
7791 if (argc == 2) {
7792 int _v;
7793 {
7794 void *ptr;
7795 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
7796 _v = 0;
7797 PyErr_Clear();
7798 } else {
7799 _v = 1;
7800 }
7801 }
7802 if (_v) {
7803 {
7804 void *ptr;
7805 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
7806 _v = 0;
7807 PyErr_Clear();
7808 } else {
7809 _v = 1;
7810 }
7811 }
7812 if (_v) {
7813 return _wrap_LogTrace__SWIG_1(self,args);
7814 }
7815 }
7816 }
7817 if (argc == 2) {
7818 int _v;
7819 {
7820 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
7821 }
7822 if (_v) {
7823 {
7824 void *ptr;
7825 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
7826 _v = 0;
7827 PyErr_Clear();
7828 } else {
7829 _v = 1;
7830 }
7831 }
7832 if (_v) {
7833 return _wrap_LogTrace__SWIG_0(self,args);
7834 }
7835 }
7836 }
7837
7838 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
7839 return NULL;
7840 }
7841
7842
7843 static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
7844 PyObject *resultobj;
7845 unsigned long arg1 ;
7846 wxString *arg2 = 0 ;
7847 bool temp2 = False ;
7848 PyObject * obj0 = 0 ;
7849 PyObject * obj1 = 0 ;
7850 char *kwnames[] = {
7851 (char *) "level",(char *) "msg", NULL
7852 };
7853
7854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
7855 arg1 = (unsigned long) PyInt_AsLong(obj0);
7856 if (PyErr_Occurred()) SWIG_fail;
7857 {
7858 arg2 = wxString_in_helper(obj1);
7859 if (arg2 == NULL) SWIG_fail;
7860 temp2 = True;
7861 }
7862 {
7863 PyThreadState* __tstate = wxPyBeginAllowThreads();
7864 wxLogGeneric(arg1,(wxString const &)*arg2);
7865
7866 wxPyEndAllowThreads(__tstate);
7867 if (PyErr_Occurred()) SWIG_fail;
7868 }
7869 Py_INCREF(Py_None); resultobj = Py_None;
7870 {
7871 if (temp2)
7872 delete arg2;
7873 }
7874 return resultobj;
7875 fail:
7876 {
7877 if (temp2)
7878 delete arg2;
7879 }
7880 return NULL;
7881 }
7882
7883
7884 static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7885 PyObject *resultobj;
7886 wxString *arg1 = 0 ;
7887 wxString *arg2 = 0 ;
7888 bool temp1 = False ;
7889 bool temp2 = False ;
7890 PyObject * obj0 = 0 ;
7891 PyObject * obj1 = 0 ;
7892 char *kwnames[] = {
7893 (char *) "title",(char *) "text", NULL
7894 };
7895
7896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
7897 {
7898 arg1 = wxString_in_helper(obj0);
7899 if (arg1 == NULL) SWIG_fail;
7900 temp1 = True;
7901 }
7902 {
7903 arg2 = wxString_in_helper(obj1);
7904 if (arg2 == NULL) SWIG_fail;
7905 temp2 = True;
7906 }
7907 {
7908 PyThreadState* __tstate = wxPyBeginAllowThreads();
7909 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
7910
7911 wxPyEndAllowThreads(__tstate);
7912 if (PyErr_Occurred()) SWIG_fail;
7913 }
7914 Py_INCREF(Py_None); resultobj = Py_None;
7915 {
7916 if (temp1)
7917 delete arg1;
7918 }
7919 {
7920 if (temp2)
7921 delete arg2;
7922 }
7923 return resultobj;
7924 fail:
7925 {
7926 if (temp1)
7927 delete arg1;
7928 }
7929 {
7930 if (temp2)
7931 delete arg2;
7932 }
7933 return NULL;
7934 }
7935
7936
7937 static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7938 PyObject *resultobj;
7939 wxLogNull *result;
7940 char *kwnames[] = {
7941 NULL
7942 };
7943
7944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
7945 {
7946 PyThreadState* __tstate = wxPyBeginAllowThreads();
7947 result = (wxLogNull *)new wxLogNull();
7948
7949 wxPyEndAllowThreads(__tstate);
7950 if (PyErr_Occurred()) SWIG_fail;
7951 }
7952 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogNull, 1);
7953 return resultobj;
7954 fail:
7955 return NULL;
7956 }
7957
7958
7959 static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7960 PyObject *resultobj;
7961 wxLogNull *arg1 = (wxLogNull *) 0 ;
7962 PyObject * obj0 = 0 ;
7963 char *kwnames[] = {
7964 (char *) "self", NULL
7965 };
7966
7967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
7968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogNull,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7969 {
7970 PyThreadState* __tstate = wxPyBeginAllowThreads();
7971 delete arg1;
7972
7973 wxPyEndAllowThreads(__tstate);
7974 if (PyErr_Occurred()) SWIG_fail;
7975 }
7976 Py_INCREF(Py_None); resultobj = Py_None;
7977 return resultobj;
7978 fail:
7979 return NULL;
7980 }
7981
7982
7983 static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
7984 PyObject *obj;
7985 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7986 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
7987 Py_INCREF(obj);
7988 return Py_BuildValue((char *)"");
7989 }
7990 static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7991 PyObject *resultobj;
7992 wxPyLog *result;
7993 char *kwnames[] = {
7994 NULL
7995 };
7996
7997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
7998 {
7999 PyThreadState* __tstate = wxPyBeginAllowThreads();
8000 result = (wxPyLog *)new wxPyLog();
8001
8002 wxPyEndAllowThreads(__tstate);
8003 if (PyErr_Occurred()) SWIG_fail;
8004 }
8005 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLog, 1);
8006 return resultobj;
8007 fail:
8008 return NULL;
8009 }
8010
8011
8012 static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8013 PyObject *resultobj;
8014 wxPyLog *arg1 = (wxPyLog *) 0 ;
8015 PyObject *arg2 = (PyObject *) 0 ;
8016 PyObject *arg3 = (PyObject *) 0 ;
8017 PyObject * obj0 = 0 ;
8018 PyObject * obj1 = 0 ;
8019 PyObject * obj2 = 0 ;
8020 char *kwnames[] = {
8021 (char *) "self",(char *) "self",(char *) "_class", NULL
8022 };
8023
8024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8026 arg2 = obj1;
8027 arg3 = obj2;
8028 {
8029 PyThreadState* __tstate = wxPyBeginAllowThreads();
8030 (arg1)->_setCallbackInfo(arg2,arg3);
8031
8032 wxPyEndAllowThreads(__tstate);
8033 if (PyErr_Occurred()) SWIG_fail;
8034 }
8035 Py_INCREF(Py_None); resultobj = Py_None;
8036 return resultobj;
8037 fail:
8038 return NULL;
8039 }
8040
8041
8042 static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8043 PyObject *obj;
8044 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8045 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8046 Py_INCREF(obj);
8047 return Py_BuildValue((char *)"");
8048 }
8049 static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8050 PyObject *resultobj;
8051 int arg1 ;
8052 int arg2 = (int) wxSIGTERM ;
8053 int result;
8054 char *kwnames[] = {
8055 (char *) "pid",(char *) "sig", NULL
8056 };
8057
8058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:Process_Kill",kwnames,&arg1,&arg2)) goto fail;
8059 {
8060 PyThreadState* __tstate = wxPyBeginAllowThreads();
8061 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8062
8063 wxPyEndAllowThreads(__tstate);
8064 if (PyErr_Occurred()) SWIG_fail;
8065 }
8066 resultobj = PyInt_FromLong((long)result);
8067 return resultobj;
8068 fail:
8069 return NULL;
8070 }
8071
8072
8073 static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
8074 PyObject *resultobj;
8075 int arg1 ;
8076 bool result;
8077 char *kwnames[] = {
8078 (char *) "pid", NULL
8079 };
8080
8081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Process_Exists",kwnames,&arg1)) goto fail;
8082 {
8083 PyThreadState* __tstate = wxPyBeginAllowThreads();
8084 result = (bool)wxPyProcess::Exists(arg1);
8085
8086 wxPyEndAllowThreads(__tstate);
8087 if (PyErr_Occurred()) SWIG_fail;
8088 }
8089 resultobj = PyInt_FromLong((long)result);
8090 return resultobj;
8091 fail:
8092 return NULL;
8093 }
8094
8095
8096 static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
8097 PyObject *resultobj;
8098 wxString *arg1 = 0 ;
8099 int arg2 = (int) wxEXEC_ASYNC ;
8100 wxPyProcess *result;
8101 bool temp1 = False ;
8102 PyObject * obj0 = 0 ;
8103 char *kwnames[] = {
8104 (char *) "cmd",(char *) "flags", NULL
8105 };
8106
8107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Process_Open",kwnames,&obj0,&arg2)) goto fail;
8108 {
8109 arg1 = wxString_in_helper(obj0);
8110 if (arg1 == NULL) SWIG_fail;
8111 temp1 = True;
8112 }
8113 {
8114 PyThreadState* __tstate = wxPyBeginAllowThreads();
8115 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8116
8117 wxPyEndAllowThreads(__tstate);
8118 if (PyErr_Occurred()) SWIG_fail;
8119 }
8120 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 0);
8121 {
8122 if (temp1)
8123 delete arg1;
8124 }
8125 return resultobj;
8126 fail:
8127 {
8128 if (temp1)
8129 delete arg1;
8130 }
8131 return NULL;
8132 }
8133
8134
8135 static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
8136 PyObject *resultobj;
8137 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8138 int arg2 = (int) -1 ;
8139 wxPyProcess *result;
8140 PyObject * obj0 = 0 ;
8141 char *kwnames[] = {
8142 (char *) "parent",(char *) "id", NULL
8143 };
8144
8145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Process",kwnames,&obj0,&arg2)) goto fail;
8146 if (obj0) {
8147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8148 }
8149 {
8150 PyThreadState* __tstate = wxPyBeginAllowThreads();
8151 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8152
8153 wxPyEndAllowThreads(__tstate);
8154 if (PyErr_Occurred()) SWIG_fail;
8155 }
8156 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 1);
8157 return resultobj;
8158 fail:
8159 return NULL;
8160 }
8161
8162
8163 static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8164 PyObject *resultobj;
8165 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8166 PyObject *arg2 = (PyObject *) 0 ;
8167 PyObject *arg3 = (PyObject *) 0 ;
8168 PyObject * obj0 = 0 ;
8169 PyObject * obj1 = 0 ;
8170 PyObject * obj2 = 0 ;
8171 char *kwnames[] = {
8172 (char *) "self",(char *) "self",(char *) "_class", NULL
8173 };
8174
8175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8177 arg2 = obj1;
8178 arg3 = obj2;
8179 {
8180 PyThreadState* __tstate = wxPyBeginAllowThreads();
8181 (arg1)->_setCallbackInfo(arg2,arg3);
8182
8183 wxPyEndAllowThreads(__tstate);
8184 if (PyErr_Occurred()) SWIG_fail;
8185 }
8186 Py_INCREF(Py_None); resultobj = Py_None;
8187 return resultobj;
8188 fail:
8189 return NULL;
8190 }
8191
8192
8193 static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8194 PyObject *resultobj;
8195 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8196 int arg2 ;
8197 int arg3 ;
8198 PyObject * obj0 = 0 ;
8199 char *kwnames[] = {
8200 (char *) "self",(char *) "pid",(char *) "status", NULL
8201 };
8202
8203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Process_base_OnTerminate",kwnames,&obj0,&arg2,&arg3)) goto fail;
8204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8205 {
8206 PyThreadState* __tstate = wxPyBeginAllowThreads();
8207 (arg1)->base_OnTerminate(arg2,arg3);
8208
8209 wxPyEndAllowThreads(__tstate);
8210 if (PyErr_Occurred()) SWIG_fail;
8211 }
8212 Py_INCREF(Py_None); resultobj = Py_None;
8213 return resultobj;
8214 fail:
8215 return NULL;
8216 }
8217
8218
8219 static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8220 PyObject *resultobj;
8221 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8222 PyObject * obj0 = 0 ;
8223 char *kwnames[] = {
8224 (char *) "self", NULL
8225 };
8226
8227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8229 {
8230 PyThreadState* __tstate = wxPyBeginAllowThreads();
8231 (arg1)->Redirect();
8232
8233 wxPyEndAllowThreads(__tstate);
8234 if (PyErr_Occurred()) SWIG_fail;
8235 }
8236 Py_INCREF(Py_None); resultobj = Py_None;
8237 return resultobj;
8238 fail:
8239 return NULL;
8240 }
8241
8242
8243 static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8244 PyObject *resultobj;
8245 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8246 bool result;
8247 PyObject * obj0 = 0 ;
8248 char *kwnames[] = {
8249 (char *) "self", NULL
8250 };
8251
8252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8254 {
8255 PyThreadState* __tstate = wxPyBeginAllowThreads();
8256 result = (bool)(arg1)->IsRedirected();
8257
8258 wxPyEndAllowThreads(__tstate);
8259 if (PyErr_Occurred()) SWIG_fail;
8260 }
8261 resultobj = PyInt_FromLong((long)result);
8262 return resultobj;
8263 fail:
8264 return NULL;
8265 }
8266
8267
8268 static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8269 PyObject *resultobj;
8270 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8271 PyObject * obj0 = 0 ;
8272 char *kwnames[] = {
8273 (char *) "self", NULL
8274 };
8275
8276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8278 {
8279 PyThreadState* __tstate = wxPyBeginAllowThreads();
8280 (arg1)->Detach();
8281
8282 wxPyEndAllowThreads(__tstate);
8283 if (PyErr_Occurred()) SWIG_fail;
8284 }
8285 Py_INCREF(Py_None); resultobj = Py_None;
8286 return resultobj;
8287 fail:
8288 return NULL;
8289 }
8290
8291
8292 static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8293 PyObject *resultobj;
8294 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8295 wxInputStream *result;
8296 PyObject * obj0 = 0 ;
8297 char *kwnames[] = {
8298 (char *) "self", NULL
8299 };
8300
8301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8303 {
8304 PyThreadState* __tstate = wxPyBeginAllowThreads();
8305 result = (wxInputStream *)(arg1)->GetInputStream();
8306
8307 wxPyEndAllowThreads(__tstate);
8308 if (PyErr_Occurred()) SWIG_fail;
8309 }
8310 {
8311 wxPyInputStream * _ptr = NULL;
8312
8313 if (result) {
8314 _ptr = new wxPyInputStream(result);
8315 }
8316 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8317 }
8318 return resultobj;
8319 fail:
8320 return NULL;
8321 }
8322
8323
8324 static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8325 PyObject *resultobj;
8326 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8327 wxInputStream *result;
8328 PyObject * obj0 = 0 ;
8329 char *kwnames[] = {
8330 (char *) "self", NULL
8331 };
8332
8333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
8334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8335 {
8336 PyThreadState* __tstate = wxPyBeginAllowThreads();
8337 result = (wxInputStream *)(arg1)->GetErrorStream();
8338
8339 wxPyEndAllowThreads(__tstate);
8340 if (PyErr_Occurred()) SWIG_fail;
8341 }
8342 {
8343 wxPyInputStream * _ptr = NULL;
8344
8345 if (result) {
8346 _ptr = new wxPyInputStream(result);
8347 }
8348 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8349 }
8350 return resultobj;
8351 fail:
8352 return NULL;
8353 }
8354
8355
8356 static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8357 PyObject *resultobj;
8358 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8359 wxOutputStream *result;
8360 PyObject * obj0 = 0 ;
8361 char *kwnames[] = {
8362 (char *) "self", NULL
8363 };
8364
8365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
8366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8367 {
8368 PyThreadState* __tstate = wxPyBeginAllowThreads();
8369 result = (wxOutputStream *)(arg1)->GetOutputStream();
8370
8371 wxPyEndAllowThreads(__tstate);
8372 if (PyErr_Occurred()) SWIG_fail;
8373 }
8374 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0);
8375 return resultobj;
8376 fail:
8377 return NULL;
8378 }
8379
8380
8381 static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
8382 PyObject *resultobj;
8383 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8384 PyObject * obj0 = 0 ;
8385 char *kwnames[] = {
8386 (char *) "self", NULL
8387 };
8388
8389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
8390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8391 {
8392 PyThreadState* __tstate = wxPyBeginAllowThreads();
8393 (arg1)->CloseOutput();
8394
8395 wxPyEndAllowThreads(__tstate);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
8398 Py_INCREF(Py_None); resultobj = Py_None;
8399 return resultobj;
8400 fail:
8401 return NULL;
8402 }
8403
8404
8405 static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
8406 PyObject *resultobj;
8407 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8408 bool result;
8409 PyObject * obj0 = 0 ;
8410 char *kwnames[] = {
8411 (char *) "self", NULL
8412 };
8413
8414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
8415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8416 {
8417 PyThreadState* __tstate = wxPyBeginAllowThreads();
8418 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
8419
8420 wxPyEndAllowThreads(__tstate);
8421 if (PyErr_Occurred()) SWIG_fail;
8422 }
8423 resultobj = PyInt_FromLong((long)result);
8424 return resultobj;
8425 fail:
8426 return NULL;
8427 }
8428
8429
8430 static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8431 PyObject *resultobj;
8432 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8433 bool result;
8434 PyObject * obj0 = 0 ;
8435 char *kwnames[] = {
8436 (char *) "self", NULL
8437 };
8438
8439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
8440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8441 {
8442 PyThreadState* __tstate = wxPyBeginAllowThreads();
8443 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
8444
8445 wxPyEndAllowThreads(__tstate);
8446 if (PyErr_Occurred()) SWIG_fail;
8447 }
8448 resultobj = PyInt_FromLong((long)result);
8449 return resultobj;
8450 fail:
8451 return NULL;
8452 }
8453
8454
8455 static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8456 PyObject *resultobj;
8457 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8458 bool result;
8459 PyObject * obj0 = 0 ;
8460 char *kwnames[] = {
8461 (char *) "self", NULL
8462 };
8463
8464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
8465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8466 {
8467 PyThreadState* __tstate = wxPyBeginAllowThreads();
8468 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
8469
8470 wxPyEndAllowThreads(__tstate);
8471 if (PyErr_Occurred()) SWIG_fail;
8472 }
8473 resultobj = PyInt_FromLong((long)result);
8474 return resultobj;
8475 fail:
8476 return NULL;
8477 }
8478
8479
8480 static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
8481 PyObject *obj;
8482 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8483 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
8484 Py_INCREF(obj);
8485 return Py_BuildValue((char *)"");
8486 }
8487 static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8488 PyObject *resultobj;
8489 int arg1 = (int) 0 ;
8490 int arg2 = (int) 0 ;
8491 int arg3 = (int) 0 ;
8492 wxProcessEvent *result;
8493 char *kwnames[] = {
8494 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8495 };
8496
8497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iii:new_ProcessEvent",kwnames,&arg1,&arg2,&arg3)) goto fail;
8498 {
8499 PyThreadState* __tstate = wxPyBeginAllowThreads();
8500 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
8501
8502 wxPyEndAllowThreads(__tstate);
8503 if (PyErr_Occurred()) SWIG_fail;
8504 }
8505 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProcessEvent, 1);
8506 return resultobj;
8507 fail:
8508 return NULL;
8509 }
8510
8511
8512 static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
8513 PyObject *resultobj;
8514 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8515 int result;
8516 PyObject * obj0 = 0 ;
8517 char *kwnames[] = {
8518 (char *) "self", NULL
8519 };
8520
8521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
8522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8523 {
8524 PyThreadState* __tstate = wxPyBeginAllowThreads();
8525 result = (int)(arg1)->GetPid();
8526
8527 wxPyEndAllowThreads(__tstate);
8528 if (PyErr_Occurred()) SWIG_fail;
8529 }
8530 resultobj = PyInt_FromLong((long)result);
8531 return resultobj;
8532 fail:
8533 return NULL;
8534 }
8535
8536
8537 static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8538 PyObject *resultobj;
8539 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8540 int result;
8541 PyObject * obj0 = 0 ;
8542 char *kwnames[] = {
8543 (char *) "self", NULL
8544 };
8545
8546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
8547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8548 {
8549 PyThreadState* __tstate = wxPyBeginAllowThreads();
8550 result = (int)(arg1)->GetExitCode();
8551
8552 wxPyEndAllowThreads(__tstate);
8553 if (PyErr_Occurred()) SWIG_fail;
8554 }
8555 resultobj = PyInt_FromLong((long)result);
8556 return resultobj;
8557 fail:
8558 return NULL;
8559 }
8560
8561
8562 static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8563 PyObject *resultobj;
8564 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8565 int arg2 ;
8566 PyObject * obj0 = 0 ;
8567 char *kwnames[] = {
8568 (char *) "self",(char *) "m_pid", NULL
8569 };
8570
8571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_pid_set",kwnames,&obj0,&arg2)) goto fail;
8572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8573 if (arg1) (arg1)->m_pid = arg2;
8574
8575 Py_INCREF(Py_None); resultobj = Py_None;
8576 return resultobj;
8577 fail:
8578 return NULL;
8579 }
8580
8581
8582 static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8583 PyObject *resultobj;
8584 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8585 int result;
8586 PyObject * obj0 = 0 ;
8587 char *kwnames[] = {
8588 (char *) "self", NULL
8589 };
8590
8591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
8592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8593 result = (int) ((arg1)->m_pid);
8594
8595 resultobj = PyInt_FromLong((long)result);
8596 return resultobj;
8597 fail:
8598 return NULL;
8599 }
8600
8601
8602 static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8603 PyObject *resultobj;
8604 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8605 int arg2 ;
8606 PyObject * obj0 = 0 ;
8607 char *kwnames[] = {
8608 (char *) "self",(char *) "m_exitcode", NULL
8609 };
8610
8611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames,&obj0,&arg2)) goto fail;
8612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8613 if (arg1) (arg1)->m_exitcode = arg2;
8614
8615 Py_INCREF(Py_None); resultobj = Py_None;
8616 return resultobj;
8617 fail:
8618 return NULL;
8619 }
8620
8621
8622 static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8623 PyObject *resultobj;
8624 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8625 int result;
8626 PyObject * obj0 = 0 ;
8627 char *kwnames[] = {
8628 (char *) "self", NULL
8629 };
8630
8631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
8632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8633 result = (int) ((arg1)->m_exitcode);
8634
8635 resultobj = PyInt_FromLong((long)result);
8636 return resultobj;
8637 fail:
8638 return NULL;
8639 }
8640
8641
8642 static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
8643 PyObject *obj;
8644 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8645 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
8646 Py_INCREF(obj);
8647 return Py_BuildValue((char *)"");
8648 }
8649 static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
8650 PyObject *resultobj;
8651 wxString *arg1 = 0 ;
8652 int arg2 = (int) wxEXEC_ASYNC ;
8653 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
8654 long result;
8655 bool temp1 = False ;
8656 PyObject * obj0 = 0 ;
8657 PyObject * obj2 = 0 ;
8658 char *kwnames[] = {
8659 (char *) "command",(char *) "flags",(char *) "process", NULL
8660 };
8661
8662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Execute",kwnames,&obj0,&arg2,&obj2)) goto fail;
8663 {
8664 arg1 = wxString_in_helper(obj0);
8665 if (arg1 == NULL) SWIG_fail;
8666 temp1 = True;
8667 }
8668 if (obj2) {
8669 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8670 }
8671 {
8672 PyThreadState* __tstate = wxPyBeginAllowThreads();
8673 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
8674
8675 wxPyEndAllowThreads(__tstate);
8676 if (PyErr_Occurred()) SWIG_fail;
8677 }
8678 resultobj = PyInt_FromLong((long)result);
8679 {
8680 if (temp1)
8681 delete arg1;
8682 }
8683 return resultobj;
8684 fail:
8685 {
8686 if (temp1)
8687 delete arg1;
8688 }
8689 return NULL;
8690 }
8691
8692
8693 static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8694 PyObject *resultobj;
8695 int arg1 = (int) wxJOYSTICK1 ;
8696 wxJoystick *result;
8697 char *kwnames[] = {
8698 (char *) "joystick", NULL
8699 };
8700
8701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_Joystick",kwnames,&arg1)) goto fail;
8702 {
8703 PyThreadState* __tstate = wxPyBeginAllowThreads();
8704 result = (wxJoystick *)new wxJoystick(arg1);
8705
8706 wxPyEndAllowThreads(__tstate);
8707 if (PyErr_Occurred()) SWIG_fail;
8708 }
8709 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystick, 1);
8710 return resultobj;
8711 fail:
8712 return NULL;
8713 }
8714
8715
8716 static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8717 PyObject *resultobj;
8718 wxJoystick *arg1 = (wxJoystick *) 0 ;
8719 PyObject * obj0 = 0 ;
8720 char *kwnames[] = {
8721 (char *) "self", NULL
8722 };
8723
8724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
8725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8726 {
8727 PyThreadState* __tstate = wxPyBeginAllowThreads();
8728 delete arg1;
8729
8730 wxPyEndAllowThreads(__tstate);
8731 if (PyErr_Occurred()) SWIG_fail;
8732 }
8733 Py_INCREF(Py_None); resultobj = Py_None;
8734 return resultobj;
8735 fail:
8736 return NULL;
8737 }
8738
8739
8740 static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8741 PyObject *resultobj;
8742 wxJoystick *arg1 = (wxJoystick *) 0 ;
8743 wxPoint result;
8744 PyObject * obj0 = 0 ;
8745 char *kwnames[] = {
8746 (char *) "self", NULL
8747 };
8748
8749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
8750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8751 {
8752 PyThreadState* __tstate = wxPyBeginAllowThreads();
8753 result = (arg1)->GetPosition();
8754
8755 wxPyEndAllowThreads(__tstate);
8756 if (PyErr_Occurred()) SWIG_fail;
8757 }
8758 {
8759 wxPoint * resultptr;
8760 resultptr = new wxPoint((wxPoint &) result);
8761 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8762 }
8763 return resultobj;
8764 fail:
8765 return NULL;
8766 }
8767
8768
8769 static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8770 PyObject *resultobj;
8771 wxJoystick *arg1 = (wxJoystick *) 0 ;
8772 int result;
8773 PyObject * obj0 = 0 ;
8774 char *kwnames[] = {
8775 (char *) "self", NULL
8776 };
8777
8778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
8779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8780 {
8781 PyThreadState* __tstate = wxPyBeginAllowThreads();
8782 result = (int)(arg1)->GetZPosition();
8783
8784 wxPyEndAllowThreads(__tstate);
8785 if (PyErr_Occurred()) SWIG_fail;
8786 }
8787 resultobj = PyInt_FromLong((long)result);
8788 return resultobj;
8789 fail:
8790 return NULL;
8791 }
8792
8793
8794 static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
8795 PyObject *resultobj;
8796 wxJoystick *arg1 = (wxJoystick *) 0 ;
8797 int result;
8798 PyObject * obj0 = 0 ;
8799 char *kwnames[] = {
8800 (char *) "self", NULL
8801 };
8802
8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
8804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8805 {
8806 PyThreadState* __tstate = wxPyBeginAllowThreads();
8807 result = (int)(arg1)->GetButtonState();
8808
8809 wxPyEndAllowThreads(__tstate);
8810 if (PyErr_Occurred()) SWIG_fail;
8811 }
8812 resultobj = PyInt_FromLong((long)result);
8813 return resultobj;
8814 fail:
8815 return NULL;
8816 }
8817
8818
8819 static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8820 PyObject *resultobj;
8821 wxJoystick *arg1 = (wxJoystick *) 0 ;
8822 int result;
8823 PyObject * obj0 = 0 ;
8824 char *kwnames[] = {
8825 (char *) "self", NULL
8826 };
8827
8828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
8829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8830 {
8831 PyThreadState* __tstate = wxPyBeginAllowThreads();
8832 result = (int)(arg1)->GetPOVPosition();
8833
8834 wxPyEndAllowThreads(__tstate);
8835 if (PyErr_Occurred()) SWIG_fail;
8836 }
8837 resultobj = PyInt_FromLong((long)result);
8838 return resultobj;
8839 fail:
8840 return NULL;
8841 }
8842
8843
8844 static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8845 PyObject *resultobj;
8846 wxJoystick *arg1 = (wxJoystick *) 0 ;
8847 int result;
8848 PyObject * obj0 = 0 ;
8849 char *kwnames[] = {
8850 (char *) "self", NULL
8851 };
8852
8853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
8854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8855 {
8856 PyThreadState* __tstate = wxPyBeginAllowThreads();
8857 result = (int)(arg1)->GetPOVCTSPosition();
8858
8859 wxPyEndAllowThreads(__tstate);
8860 if (PyErr_Occurred()) SWIG_fail;
8861 }
8862 resultobj = PyInt_FromLong((long)result);
8863 return resultobj;
8864 fail:
8865 return NULL;
8866 }
8867
8868
8869 static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8870 PyObject *resultobj;
8871 wxJoystick *arg1 = (wxJoystick *) 0 ;
8872 int result;
8873 PyObject * obj0 = 0 ;
8874 char *kwnames[] = {
8875 (char *) "self", NULL
8876 };
8877
8878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
8879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8880 {
8881 PyThreadState* __tstate = wxPyBeginAllowThreads();
8882 result = (int)(arg1)->GetRudderPosition();
8883
8884 wxPyEndAllowThreads(__tstate);
8885 if (PyErr_Occurred()) SWIG_fail;
8886 }
8887 resultobj = PyInt_FromLong((long)result);
8888 return resultobj;
8889 fail:
8890 return NULL;
8891 }
8892
8893
8894 static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8895 PyObject *resultobj;
8896 wxJoystick *arg1 = (wxJoystick *) 0 ;
8897 int result;
8898 PyObject * obj0 = 0 ;
8899 char *kwnames[] = {
8900 (char *) "self", NULL
8901 };
8902
8903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
8904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8905 {
8906 PyThreadState* __tstate = wxPyBeginAllowThreads();
8907 result = (int)(arg1)->GetUPosition();
8908
8909 wxPyEndAllowThreads(__tstate);
8910 if (PyErr_Occurred()) SWIG_fail;
8911 }
8912 resultobj = PyInt_FromLong((long)result);
8913 return resultobj;
8914 fail:
8915 return NULL;
8916 }
8917
8918
8919 static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8920 PyObject *resultobj;
8921 wxJoystick *arg1 = (wxJoystick *) 0 ;
8922 int result;
8923 PyObject * obj0 = 0 ;
8924 char *kwnames[] = {
8925 (char *) "self", NULL
8926 };
8927
8928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
8929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8930 {
8931 PyThreadState* __tstate = wxPyBeginAllowThreads();
8932 result = (int)(arg1)->GetVPosition();
8933
8934 wxPyEndAllowThreads(__tstate);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 }
8937 resultobj = PyInt_FromLong((long)result);
8938 return resultobj;
8939 fail:
8940 return NULL;
8941 }
8942
8943
8944 static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8945 PyObject *resultobj;
8946 wxJoystick *arg1 = (wxJoystick *) 0 ;
8947 int result;
8948 PyObject * obj0 = 0 ;
8949 char *kwnames[] = {
8950 (char *) "self", NULL
8951 };
8952
8953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
8954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8955 {
8956 PyThreadState* __tstate = wxPyBeginAllowThreads();
8957 result = (int)(arg1)->GetMovementThreshold();
8958
8959 wxPyEndAllowThreads(__tstate);
8960 if (PyErr_Occurred()) SWIG_fail;
8961 }
8962 resultobj = PyInt_FromLong((long)result);
8963 return resultobj;
8964 fail:
8965 return NULL;
8966 }
8967
8968
8969 static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8970 PyObject *resultobj;
8971 wxJoystick *arg1 = (wxJoystick *) 0 ;
8972 int arg2 ;
8973 PyObject * obj0 = 0 ;
8974 char *kwnames[] = {
8975 (char *) "self",(char *) "threshold", NULL
8976 };
8977
8978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Joystick_SetMovementThreshold",kwnames,&obj0,&arg2)) goto fail;
8979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8980 {
8981 PyThreadState* __tstate = wxPyBeginAllowThreads();
8982 (arg1)->SetMovementThreshold(arg2);
8983
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 Py_INCREF(Py_None); resultobj = Py_None;
8988 return resultobj;
8989 fail:
8990 return NULL;
8991 }
8992
8993
8994 static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
8995 PyObject *resultobj;
8996 wxJoystick *arg1 = (wxJoystick *) 0 ;
8997 bool result;
8998 PyObject * obj0 = 0 ;
8999 char *kwnames[] = {
9000 (char *) "self", NULL
9001 };
9002
9003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
9004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9005 {
9006 PyThreadState* __tstate = wxPyBeginAllowThreads();
9007 result = (bool)(arg1)->IsOk();
9008
9009 wxPyEndAllowThreads(__tstate);
9010 if (PyErr_Occurred()) SWIG_fail;
9011 }
9012 resultobj = PyInt_FromLong((long)result);
9013 return resultobj;
9014 fail:
9015 return NULL;
9016 }
9017
9018
9019 static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
9020 PyObject *resultobj;
9021 wxJoystick *arg1 = (wxJoystick *) 0 ;
9022 int result;
9023 PyObject * obj0 = 0 ;
9024 char *kwnames[] = {
9025 (char *) "self", NULL
9026 };
9027
9028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
9029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9030 {
9031 PyThreadState* __tstate = wxPyBeginAllowThreads();
9032 result = (int)(arg1)->GetNumberJoysticks();
9033
9034 wxPyEndAllowThreads(__tstate);
9035 if (PyErr_Occurred()) SWIG_fail;
9036 }
9037 resultobj = PyInt_FromLong((long)result);
9038 return resultobj;
9039 fail:
9040 return NULL;
9041 }
9042
9043
9044 static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
9045 PyObject *resultobj;
9046 wxJoystick *arg1 = (wxJoystick *) 0 ;
9047 int result;
9048 PyObject * obj0 = 0 ;
9049 char *kwnames[] = {
9050 (char *) "self", NULL
9051 };
9052
9053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
9054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9055 {
9056 PyThreadState* __tstate = wxPyBeginAllowThreads();
9057 result = (int)(arg1)->GetManufacturerId();
9058
9059 wxPyEndAllowThreads(__tstate);
9060 if (PyErr_Occurred()) SWIG_fail;
9061 }
9062 resultobj = PyInt_FromLong((long)result);
9063 return resultobj;
9064 fail:
9065 return NULL;
9066 }
9067
9068
9069 static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
9070 PyObject *resultobj;
9071 wxJoystick *arg1 = (wxJoystick *) 0 ;
9072 int result;
9073 PyObject * obj0 = 0 ;
9074 char *kwnames[] = {
9075 (char *) "self", NULL
9076 };
9077
9078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
9079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9080 {
9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
9082 result = (int)(arg1)->GetProductId();
9083
9084 wxPyEndAllowThreads(__tstate);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 }
9087 resultobj = PyInt_FromLong((long)result);
9088 return resultobj;
9089 fail:
9090 return NULL;
9091 }
9092
9093
9094 static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
9095 PyObject *resultobj;
9096 wxJoystick *arg1 = (wxJoystick *) 0 ;
9097 wxString result;
9098 PyObject * obj0 = 0 ;
9099 char *kwnames[] = {
9100 (char *) "self", NULL
9101 };
9102
9103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
9104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9105 {
9106 PyThreadState* __tstate = wxPyBeginAllowThreads();
9107 result = (arg1)->GetProductName();
9108
9109 wxPyEndAllowThreads(__tstate);
9110 if (PyErr_Occurred()) SWIG_fail;
9111 }
9112 {
9113 #if wxUSE_UNICODE
9114 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9115 #else
9116 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9117 #endif
9118 }
9119 return resultobj;
9120 fail:
9121 return NULL;
9122 }
9123
9124
9125 static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9126 PyObject *resultobj;
9127 wxJoystick *arg1 = (wxJoystick *) 0 ;
9128 int result;
9129 PyObject * obj0 = 0 ;
9130 char *kwnames[] = {
9131 (char *) "self", NULL
9132 };
9133
9134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
9135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9136 {
9137 PyThreadState* __tstate = wxPyBeginAllowThreads();
9138 result = (int)(arg1)->GetXMin();
9139
9140 wxPyEndAllowThreads(__tstate);
9141 if (PyErr_Occurred()) SWIG_fail;
9142 }
9143 resultobj = PyInt_FromLong((long)result);
9144 return resultobj;
9145 fail:
9146 return NULL;
9147 }
9148
9149
9150 static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9151 PyObject *resultobj;
9152 wxJoystick *arg1 = (wxJoystick *) 0 ;
9153 int result;
9154 PyObject * obj0 = 0 ;
9155 char *kwnames[] = {
9156 (char *) "self", NULL
9157 };
9158
9159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
9160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9161 {
9162 PyThreadState* __tstate = wxPyBeginAllowThreads();
9163 result = (int)(arg1)->GetYMin();
9164
9165 wxPyEndAllowThreads(__tstate);
9166 if (PyErr_Occurred()) SWIG_fail;
9167 }
9168 resultobj = PyInt_FromLong((long)result);
9169 return resultobj;
9170 fail:
9171 return NULL;
9172 }
9173
9174
9175 static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9176 PyObject *resultobj;
9177 wxJoystick *arg1 = (wxJoystick *) 0 ;
9178 int result;
9179 PyObject * obj0 = 0 ;
9180 char *kwnames[] = {
9181 (char *) "self", NULL
9182 };
9183
9184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9186 {
9187 PyThreadState* __tstate = wxPyBeginAllowThreads();
9188 result = (int)(arg1)->GetZMin();
9189
9190 wxPyEndAllowThreads(__tstate);
9191 if (PyErr_Occurred()) SWIG_fail;
9192 }
9193 resultobj = PyInt_FromLong((long)result);
9194 return resultobj;
9195 fail:
9196 return NULL;
9197 }
9198
9199
9200 static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9201 PyObject *resultobj;
9202 wxJoystick *arg1 = (wxJoystick *) 0 ;
9203 int result;
9204 PyObject * obj0 = 0 ;
9205 char *kwnames[] = {
9206 (char *) "self", NULL
9207 };
9208
9209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 result = (int)(arg1)->GetXMax();
9214
9215 wxPyEndAllowThreads(__tstate);
9216 if (PyErr_Occurred()) SWIG_fail;
9217 }
9218 resultobj = PyInt_FromLong((long)result);
9219 return resultobj;
9220 fail:
9221 return NULL;
9222 }
9223
9224
9225 static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9226 PyObject *resultobj;
9227 wxJoystick *arg1 = (wxJoystick *) 0 ;
9228 int result;
9229 PyObject * obj0 = 0 ;
9230 char *kwnames[] = {
9231 (char *) "self", NULL
9232 };
9233
9234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
9235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9236 {
9237 PyThreadState* __tstate = wxPyBeginAllowThreads();
9238 result = (int)(arg1)->GetYMax();
9239
9240 wxPyEndAllowThreads(__tstate);
9241 if (PyErr_Occurred()) SWIG_fail;
9242 }
9243 resultobj = PyInt_FromLong((long)result);
9244 return resultobj;
9245 fail:
9246 return NULL;
9247 }
9248
9249
9250 static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9251 PyObject *resultobj;
9252 wxJoystick *arg1 = (wxJoystick *) 0 ;
9253 int result;
9254 PyObject * obj0 = 0 ;
9255 char *kwnames[] = {
9256 (char *) "self", NULL
9257 };
9258
9259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
9260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9261 {
9262 PyThreadState* __tstate = wxPyBeginAllowThreads();
9263 result = (int)(arg1)->GetZMax();
9264
9265 wxPyEndAllowThreads(__tstate);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 }
9268 resultobj = PyInt_FromLong((long)result);
9269 return resultobj;
9270 fail:
9271 return NULL;
9272 }
9273
9274
9275 static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9276 PyObject *resultobj;
9277 wxJoystick *arg1 = (wxJoystick *) 0 ;
9278 int result;
9279 PyObject * obj0 = 0 ;
9280 char *kwnames[] = {
9281 (char *) "self", NULL
9282 };
9283
9284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
9285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9286 {
9287 PyThreadState* __tstate = wxPyBeginAllowThreads();
9288 result = (int)(arg1)->GetNumberButtons();
9289
9290 wxPyEndAllowThreads(__tstate);
9291 if (PyErr_Occurred()) SWIG_fail;
9292 }
9293 resultobj = PyInt_FromLong((long)result);
9294 return resultobj;
9295 fail:
9296 return NULL;
9297 }
9298
9299
9300 static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9301 PyObject *resultobj;
9302 wxJoystick *arg1 = (wxJoystick *) 0 ;
9303 int result;
9304 PyObject * obj0 = 0 ;
9305 char *kwnames[] = {
9306 (char *) "self", NULL
9307 };
9308
9309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
9310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9311 {
9312 PyThreadState* __tstate = wxPyBeginAllowThreads();
9313 result = (int)(arg1)->GetNumberAxes();
9314
9315 wxPyEndAllowThreads(__tstate);
9316 if (PyErr_Occurred()) SWIG_fail;
9317 }
9318 resultobj = PyInt_FromLong((long)result);
9319 return resultobj;
9320 fail:
9321 return NULL;
9322 }
9323
9324
9325 static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9326 PyObject *resultobj;
9327 wxJoystick *arg1 = (wxJoystick *) 0 ;
9328 int result;
9329 PyObject * obj0 = 0 ;
9330 char *kwnames[] = {
9331 (char *) "self", NULL
9332 };
9333
9334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
9335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9336 {
9337 PyThreadState* __tstate = wxPyBeginAllowThreads();
9338 result = (int)(arg1)->GetMaxButtons();
9339
9340 wxPyEndAllowThreads(__tstate);
9341 if (PyErr_Occurred()) SWIG_fail;
9342 }
9343 resultobj = PyInt_FromLong((long)result);
9344 return resultobj;
9345 fail:
9346 return NULL;
9347 }
9348
9349
9350 static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9351 PyObject *resultobj;
9352 wxJoystick *arg1 = (wxJoystick *) 0 ;
9353 int result;
9354 PyObject * obj0 = 0 ;
9355 char *kwnames[] = {
9356 (char *) "self", NULL
9357 };
9358
9359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
9360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9361 {
9362 PyThreadState* __tstate = wxPyBeginAllowThreads();
9363 result = (int)(arg1)->GetMaxAxes();
9364
9365 wxPyEndAllowThreads(__tstate);
9366 if (PyErr_Occurred()) SWIG_fail;
9367 }
9368 resultobj = PyInt_FromLong((long)result);
9369 return resultobj;
9370 fail:
9371 return NULL;
9372 }
9373
9374
9375 static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9376 PyObject *resultobj;
9377 wxJoystick *arg1 = (wxJoystick *) 0 ;
9378 int result;
9379 PyObject * obj0 = 0 ;
9380 char *kwnames[] = {
9381 (char *) "self", NULL
9382 };
9383
9384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
9385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9386 {
9387 PyThreadState* __tstate = wxPyBeginAllowThreads();
9388 result = (int)(arg1)->GetPollingMin();
9389
9390 wxPyEndAllowThreads(__tstate);
9391 if (PyErr_Occurred()) SWIG_fail;
9392 }
9393 resultobj = PyInt_FromLong((long)result);
9394 return resultobj;
9395 fail:
9396 return NULL;
9397 }
9398
9399
9400 static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9401 PyObject *resultobj;
9402 wxJoystick *arg1 = (wxJoystick *) 0 ;
9403 int result;
9404 PyObject * obj0 = 0 ;
9405 char *kwnames[] = {
9406 (char *) "self", NULL
9407 };
9408
9409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
9410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9411 {
9412 PyThreadState* __tstate = wxPyBeginAllowThreads();
9413 result = (int)(arg1)->GetPollingMax();
9414
9415 wxPyEndAllowThreads(__tstate);
9416 if (PyErr_Occurred()) SWIG_fail;
9417 }
9418 resultobj = PyInt_FromLong((long)result);
9419 return resultobj;
9420 fail:
9421 return NULL;
9422 }
9423
9424
9425 static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9426 PyObject *resultobj;
9427 wxJoystick *arg1 = (wxJoystick *) 0 ;
9428 int result;
9429 PyObject * obj0 = 0 ;
9430 char *kwnames[] = {
9431 (char *) "self", NULL
9432 };
9433
9434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
9435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9436 {
9437 PyThreadState* __tstate = wxPyBeginAllowThreads();
9438 result = (int)(arg1)->GetRudderMin();
9439
9440 wxPyEndAllowThreads(__tstate);
9441 if (PyErr_Occurred()) SWIG_fail;
9442 }
9443 resultobj = PyInt_FromLong((long)result);
9444 return resultobj;
9445 fail:
9446 return NULL;
9447 }
9448
9449
9450 static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9451 PyObject *resultobj;
9452 wxJoystick *arg1 = (wxJoystick *) 0 ;
9453 int result;
9454 PyObject * obj0 = 0 ;
9455 char *kwnames[] = {
9456 (char *) "self", NULL
9457 };
9458
9459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
9460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9461 {
9462 PyThreadState* __tstate = wxPyBeginAllowThreads();
9463 result = (int)(arg1)->GetRudderMax();
9464
9465 wxPyEndAllowThreads(__tstate);
9466 if (PyErr_Occurred()) SWIG_fail;
9467 }
9468 resultobj = PyInt_FromLong((long)result);
9469 return resultobj;
9470 fail:
9471 return NULL;
9472 }
9473
9474
9475 static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9476 PyObject *resultobj;
9477 wxJoystick *arg1 = (wxJoystick *) 0 ;
9478 int result;
9479 PyObject * obj0 = 0 ;
9480 char *kwnames[] = {
9481 (char *) "self", NULL
9482 };
9483
9484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
9485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9486 {
9487 PyThreadState* __tstate = wxPyBeginAllowThreads();
9488 result = (int)(arg1)->GetUMin();
9489
9490 wxPyEndAllowThreads(__tstate);
9491 if (PyErr_Occurred()) SWIG_fail;
9492 }
9493 resultobj = PyInt_FromLong((long)result);
9494 return resultobj;
9495 fail:
9496 return NULL;
9497 }
9498
9499
9500 static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9501 PyObject *resultobj;
9502 wxJoystick *arg1 = (wxJoystick *) 0 ;
9503 int result;
9504 PyObject * obj0 = 0 ;
9505 char *kwnames[] = {
9506 (char *) "self", NULL
9507 };
9508
9509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
9510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9511 {
9512 PyThreadState* __tstate = wxPyBeginAllowThreads();
9513 result = (int)(arg1)->GetUMax();
9514
9515 wxPyEndAllowThreads(__tstate);
9516 if (PyErr_Occurred()) SWIG_fail;
9517 }
9518 resultobj = PyInt_FromLong((long)result);
9519 return resultobj;
9520 fail:
9521 return NULL;
9522 }
9523
9524
9525 static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9526 PyObject *resultobj;
9527 wxJoystick *arg1 = (wxJoystick *) 0 ;
9528 int result;
9529 PyObject * obj0 = 0 ;
9530 char *kwnames[] = {
9531 (char *) "self", NULL
9532 };
9533
9534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
9535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 result = (int)(arg1)->GetVMin();
9539
9540 wxPyEndAllowThreads(__tstate);
9541 if (PyErr_Occurred()) SWIG_fail;
9542 }
9543 resultobj = PyInt_FromLong((long)result);
9544 return resultobj;
9545 fail:
9546 return NULL;
9547 }
9548
9549
9550 static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9551 PyObject *resultobj;
9552 wxJoystick *arg1 = (wxJoystick *) 0 ;
9553 int result;
9554 PyObject * obj0 = 0 ;
9555 char *kwnames[] = {
9556 (char *) "self", NULL
9557 };
9558
9559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
9560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9561 {
9562 PyThreadState* __tstate = wxPyBeginAllowThreads();
9563 result = (int)(arg1)->GetVMax();
9564
9565 wxPyEndAllowThreads(__tstate);
9566 if (PyErr_Occurred()) SWIG_fail;
9567 }
9568 resultobj = PyInt_FromLong((long)result);
9569 return resultobj;
9570 fail:
9571 return NULL;
9572 }
9573
9574
9575 static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
9576 PyObject *resultobj;
9577 wxJoystick *arg1 = (wxJoystick *) 0 ;
9578 bool result;
9579 PyObject * obj0 = 0 ;
9580 char *kwnames[] = {
9581 (char *) "self", NULL
9582 };
9583
9584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
9585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9586 {
9587 PyThreadState* __tstate = wxPyBeginAllowThreads();
9588 result = (bool)(arg1)->HasRudder();
9589
9590 wxPyEndAllowThreads(__tstate);
9591 if (PyErr_Occurred()) SWIG_fail;
9592 }
9593 resultobj = PyInt_FromLong((long)result);
9594 return resultobj;
9595 fail:
9596 return NULL;
9597 }
9598
9599
9600 static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
9601 PyObject *resultobj;
9602 wxJoystick *arg1 = (wxJoystick *) 0 ;
9603 bool result;
9604 PyObject * obj0 = 0 ;
9605 char *kwnames[] = {
9606 (char *) "self", NULL
9607 };
9608
9609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
9610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9611 {
9612 PyThreadState* __tstate = wxPyBeginAllowThreads();
9613 result = (bool)(arg1)->HasZ();
9614
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 }
9618 resultobj = PyInt_FromLong((long)result);
9619 return resultobj;
9620 fail:
9621 return NULL;
9622 }
9623
9624
9625 static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
9626 PyObject *resultobj;
9627 wxJoystick *arg1 = (wxJoystick *) 0 ;
9628 bool result;
9629 PyObject * obj0 = 0 ;
9630 char *kwnames[] = {
9631 (char *) "self", NULL
9632 };
9633
9634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
9635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9636 {
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 result = (bool)(arg1)->HasU();
9639
9640 wxPyEndAllowThreads(__tstate);
9641 if (PyErr_Occurred()) SWIG_fail;
9642 }
9643 resultobj = PyInt_FromLong((long)result);
9644 return resultobj;
9645 fail:
9646 return NULL;
9647 }
9648
9649
9650 static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
9651 PyObject *resultobj;
9652 wxJoystick *arg1 = (wxJoystick *) 0 ;
9653 bool result;
9654 PyObject * obj0 = 0 ;
9655 char *kwnames[] = {
9656 (char *) "self", NULL
9657 };
9658
9659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
9660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9661 {
9662 PyThreadState* __tstate = wxPyBeginAllowThreads();
9663 result = (bool)(arg1)->HasV();
9664
9665 wxPyEndAllowThreads(__tstate);
9666 if (PyErr_Occurred()) SWIG_fail;
9667 }
9668 resultobj = PyInt_FromLong((long)result);
9669 return resultobj;
9670 fail:
9671 return NULL;
9672 }
9673
9674
9675 static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
9676 PyObject *resultobj;
9677 wxJoystick *arg1 = (wxJoystick *) 0 ;
9678 bool result;
9679 PyObject * obj0 = 0 ;
9680 char *kwnames[] = {
9681 (char *) "self", NULL
9682 };
9683
9684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
9685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9686 {
9687 PyThreadState* __tstate = wxPyBeginAllowThreads();
9688 result = (bool)(arg1)->HasPOV();
9689
9690 wxPyEndAllowThreads(__tstate);
9691 if (PyErr_Occurred()) SWIG_fail;
9692 }
9693 resultobj = PyInt_FromLong((long)result);
9694 return resultobj;
9695 fail:
9696 return NULL;
9697 }
9698
9699
9700 static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
9701 PyObject *resultobj;
9702 wxJoystick *arg1 = (wxJoystick *) 0 ;
9703 bool result;
9704 PyObject * obj0 = 0 ;
9705 char *kwnames[] = {
9706 (char *) "self", NULL
9707 };
9708
9709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
9710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9711 {
9712 PyThreadState* __tstate = wxPyBeginAllowThreads();
9713 result = (bool)(arg1)->HasPOV4Dir();
9714
9715 wxPyEndAllowThreads(__tstate);
9716 if (PyErr_Occurred()) SWIG_fail;
9717 }
9718 resultobj = PyInt_FromLong((long)result);
9719 return resultobj;
9720 fail:
9721 return NULL;
9722 }
9723
9724
9725 static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
9726 PyObject *resultobj;
9727 wxJoystick *arg1 = (wxJoystick *) 0 ;
9728 bool result;
9729 PyObject * obj0 = 0 ;
9730 char *kwnames[] = {
9731 (char *) "self", NULL
9732 };
9733
9734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
9735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9736 {
9737 PyThreadState* __tstate = wxPyBeginAllowThreads();
9738 result = (bool)(arg1)->HasPOVCTS();
9739
9740 wxPyEndAllowThreads(__tstate);
9741 if (PyErr_Occurred()) SWIG_fail;
9742 }
9743 resultobj = PyInt_FromLong((long)result);
9744 return resultobj;
9745 fail:
9746 return NULL;
9747 }
9748
9749
9750 static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9751 PyObject *resultobj;
9752 wxJoystick *arg1 = (wxJoystick *) 0 ;
9753 wxWindow *arg2 = (wxWindow *) 0 ;
9754 int arg3 = (int) 0 ;
9755 bool result;
9756 PyObject * obj0 = 0 ;
9757 PyObject * obj1 = 0 ;
9758 char *kwnames[] = {
9759 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9760 };
9761
9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Joystick_SetCapture",kwnames,&obj0,&obj1,&arg3)) goto fail;
9763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9764 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9765 {
9766 PyThreadState* __tstate = wxPyBeginAllowThreads();
9767 result = (bool)(arg1)->SetCapture(arg2,arg3);
9768
9769 wxPyEndAllowThreads(__tstate);
9770 if (PyErr_Occurred()) SWIG_fail;
9771 }
9772 resultobj = PyInt_FromLong((long)result);
9773 return resultobj;
9774 fail:
9775 return NULL;
9776 }
9777
9778
9779 static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9780 PyObject *resultobj;
9781 wxJoystick *arg1 = (wxJoystick *) 0 ;
9782 bool result;
9783 PyObject * obj0 = 0 ;
9784 char *kwnames[] = {
9785 (char *) "self", NULL
9786 };
9787
9788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
9789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9790 {
9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
9792 result = (bool)(arg1)->ReleaseCapture();
9793
9794 wxPyEndAllowThreads(__tstate);
9795 if (PyErr_Occurred()) SWIG_fail;
9796 }
9797 resultobj = PyInt_FromLong((long)result);
9798 return resultobj;
9799 fail:
9800 return NULL;
9801 }
9802
9803
9804 static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
9805 PyObject *obj;
9806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9807 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
9808 Py_INCREF(obj);
9809 return Py_BuildValue((char *)"");
9810 }
9811 static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9812 PyObject *resultobj;
9813 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9814 wxPoint *arg2 = (wxPoint *) 0 ;
9815 PyObject * obj0 = 0 ;
9816 PyObject * obj1 = 0 ;
9817 char *kwnames[] = {
9818 (char *) "self",(char *) "m_pos", NULL
9819 };
9820
9821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
9822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9823 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9824 if (arg1) (arg1)->m_pos = *arg2;
9825
9826 Py_INCREF(Py_None); resultobj = Py_None;
9827 return resultobj;
9828 fail:
9829 return NULL;
9830 }
9831
9832
9833 static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9834 PyObject *resultobj;
9835 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9836 wxPoint *result;
9837 PyObject * obj0 = 0 ;
9838 char *kwnames[] = {
9839 (char *) "self", NULL
9840 };
9841
9842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
9843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9844 result = (wxPoint *)& ((arg1)->m_pos);
9845
9846 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
9847 return resultobj;
9848 fail:
9849 return NULL;
9850 }
9851
9852
9853 static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9854 PyObject *resultobj;
9855 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9856 int arg2 ;
9857 PyObject * obj0 = 0 ;
9858 char *kwnames[] = {
9859 (char *) "self",(char *) "m_zPosition", NULL
9860 };
9861
9862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames,&obj0,&arg2)) goto fail;
9863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9864 if (arg1) (arg1)->m_zPosition = arg2;
9865
9866 Py_INCREF(Py_None); resultobj = Py_None;
9867 return resultobj;
9868 fail:
9869 return NULL;
9870 }
9871
9872
9873 static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9874 PyObject *resultobj;
9875 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9876 int result;
9877 PyObject * obj0 = 0 ;
9878 char *kwnames[] = {
9879 (char *) "self", NULL
9880 };
9881
9882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
9883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9884 result = (int) ((arg1)->m_zPosition);
9885
9886 resultobj = PyInt_FromLong((long)result);
9887 return resultobj;
9888 fail:
9889 return NULL;
9890 }
9891
9892
9893 static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9894 PyObject *resultobj;
9895 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9896 int arg2 ;
9897 PyObject * obj0 = 0 ;
9898 char *kwnames[] = {
9899 (char *) "self",(char *) "m_buttonChange", NULL
9900 };
9901
9902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&arg2)) goto fail;
9903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9904 if (arg1) (arg1)->m_buttonChange = arg2;
9905
9906 Py_INCREF(Py_None); resultobj = Py_None;
9907 return resultobj;
9908 fail:
9909 return NULL;
9910 }
9911
9912
9913 static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9914 PyObject *resultobj;
9915 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9916 int result;
9917 PyObject * obj0 = 0 ;
9918 char *kwnames[] = {
9919 (char *) "self", NULL
9920 };
9921
9922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
9923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9924 result = (int) ((arg1)->m_buttonChange);
9925
9926 resultobj = PyInt_FromLong((long)result);
9927 return resultobj;
9928 fail:
9929 return NULL;
9930 }
9931
9932
9933 static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9934 PyObject *resultobj;
9935 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9936 int arg2 ;
9937 PyObject * obj0 = 0 ;
9938 char *kwnames[] = {
9939 (char *) "self",(char *) "m_buttonState", NULL
9940 };
9941
9942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames,&obj0,&arg2)) goto fail;
9943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9944 if (arg1) (arg1)->m_buttonState = arg2;
9945
9946 Py_INCREF(Py_None); resultobj = Py_None;
9947 return resultobj;
9948 fail:
9949 return NULL;
9950 }
9951
9952
9953 static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9956 int result;
9957 PyObject * obj0 = 0 ;
9958 char *kwnames[] = {
9959 (char *) "self", NULL
9960 };
9961
9962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
9963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9964 result = (int) ((arg1)->m_buttonState);
9965
9966 resultobj = PyInt_FromLong((long)result);
9967 return resultobj;
9968 fail:
9969 return NULL;
9970 }
9971
9972
9973 static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9974 PyObject *resultobj;
9975 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9976 int arg2 ;
9977 PyObject * obj0 = 0 ;
9978 char *kwnames[] = {
9979 (char *) "self",(char *) "m_joyStick", NULL
9980 };
9981
9982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames,&obj0,&arg2)) goto fail;
9983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9984 if (arg1) (arg1)->m_joyStick = arg2;
9985
9986 Py_INCREF(Py_None); resultobj = Py_None;
9987 return resultobj;
9988 fail:
9989 return NULL;
9990 }
9991
9992
9993 static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9994 PyObject *resultobj;
9995 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9996 int result;
9997 PyObject * obj0 = 0 ;
9998 char *kwnames[] = {
9999 (char *) "self", NULL
10000 };
10001
10002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
10003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10004 result = (int) ((arg1)->m_joyStick);
10005
10006 resultobj = PyInt_FromLong((long)result);
10007 return resultobj;
10008 fail:
10009 return NULL;
10010 }
10011
10012
10013 static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10014 PyObject *resultobj;
10015 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10016 int arg2 = (int) 0 ;
10017 int arg3 = (int) wxJOYSTICK1 ;
10018 int arg4 = (int) 0 ;
10019 wxJoystickEvent *result;
10020 char *kwnames[] = {
10021 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10022 };
10023
10024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_JoystickEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
10025 {
10026 PyThreadState* __tstate = wxPyBeginAllowThreads();
10027 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
10028
10029 wxPyEndAllowThreads(__tstate);
10030 if (PyErr_Occurred()) SWIG_fail;
10031 }
10032 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystickEvent, 1);
10033 return resultobj;
10034 fail:
10035 return NULL;
10036 }
10037
10038
10039 static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10040 PyObject *resultobj;
10041 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10042 wxPoint result;
10043 PyObject * obj0 = 0 ;
10044 char *kwnames[] = {
10045 (char *) "self", NULL
10046 };
10047
10048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
10049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10050 {
10051 PyThreadState* __tstate = wxPyBeginAllowThreads();
10052 result = ((wxJoystickEvent const *)arg1)->GetPosition();
10053
10054 wxPyEndAllowThreads(__tstate);
10055 if (PyErr_Occurred()) SWIG_fail;
10056 }
10057 {
10058 wxPoint * resultptr;
10059 resultptr = new wxPoint((wxPoint &) result);
10060 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
10061 }
10062 return resultobj;
10063 fail:
10064 return NULL;
10065 }
10066
10067
10068 static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10069 PyObject *resultobj;
10070 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10071 int result;
10072 PyObject * obj0 = 0 ;
10073 char *kwnames[] = {
10074 (char *) "self", NULL
10075 };
10076
10077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
10078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10079 {
10080 PyThreadState* __tstate = wxPyBeginAllowThreads();
10081 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
10082
10083 wxPyEndAllowThreads(__tstate);
10084 if (PyErr_Occurred()) SWIG_fail;
10085 }
10086 resultobj = PyInt_FromLong((long)result);
10087 return resultobj;
10088 fail:
10089 return NULL;
10090 }
10091
10092
10093 static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10094 PyObject *resultobj;
10095 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10096 int result;
10097 PyObject * obj0 = 0 ;
10098 char *kwnames[] = {
10099 (char *) "self", NULL
10100 };
10101
10102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
10103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10104 {
10105 PyThreadState* __tstate = wxPyBeginAllowThreads();
10106 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
10107
10108 wxPyEndAllowThreads(__tstate);
10109 if (PyErr_Occurred()) SWIG_fail;
10110 }
10111 resultobj = PyInt_FromLong((long)result);
10112 return resultobj;
10113 fail:
10114 return NULL;
10115 }
10116
10117
10118 static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10119 PyObject *resultobj;
10120 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10121 int result;
10122 PyObject * obj0 = 0 ;
10123 char *kwnames[] = {
10124 (char *) "self", NULL
10125 };
10126
10127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
10128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10129 {
10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
10131 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10132
10133 wxPyEndAllowThreads(__tstate);
10134 if (PyErr_Occurred()) SWIG_fail;
10135 }
10136 resultobj = PyInt_FromLong((long)result);
10137 return resultobj;
10138 fail:
10139 return NULL;
10140 }
10141
10142
10143 static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10144 PyObject *resultobj;
10145 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10146 int result;
10147 PyObject * obj0 = 0 ;
10148 char *kwnames[] = {
10149 (char *) "self", NULL
10150 };
10151
10152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
10153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10154 {
10155 PyThreadState* __tstate = wxPyBeginAllowThreads();
10156 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
10157
10158 wxPyEndAllowThreads(__tstate);
10159 if (PyErr_Occurred()) SWIG_fail;
10160 }
10161 resultobj = PyInt_FromLong((long)result);
10162 return resultobj;
10163 fail:
10164 return NULL;
10165 }
10166
10167
10168 static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10169 PyObject *resultobj;
10170 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10171 int arg2 ;
10172 PyObject * obj0 = 0 ;
10173 char *kwnames[] = {
10174 (char *) "self",(char *) "stick", NULL
10175 };
10176
10177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetJoystick",kwnames,&obj0,&arg2)) goto fail;
10178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10179 {
10180 PyThreadState* __tstate = wxPyBeginAllowThreads();
10181 (arg1)->SetJoystick(arg2);
10182
10183 wxPyEndAllowThreads(__tstate);
10184 if (PyErr_Occurred()) SWIG_fail;
10185 }
10186 Py_INCREF(Py_None); resultobj = Py_None;
10187 return resultobj;
10188 fail:
10189 return NULL;
10190 }
10191
10192
10193 static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10194 PyObject *resultobj;
10195 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10196 int arg2 ;
10197 PyObject * obj0 = 0 ;
10198 char *kwnames[] = {
10199 (char *) "self",(char *) "state", NULL
10200 };
10201
10202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonState",kwnames,&obj0,&arg2)) goto fail;
10203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10204 {
10205 PyThreadState* __tstate = wxPyBeginAllowThreads();
10206 (arg1)->SetButtonState(arg2);
10207
10208 wxPyEndAllowThreads(__tstate);
10209 if (PyErr_Occurred()) SWIG_fail;
10210 }
10211 Py_INCREF(Py_None); resultobj = Py_None;
10212 return resultobj;
10213 fail:
10214 return NULL;
10215 }
10216
10217
10218 static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10219 PyObject *resultobj;
10220 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10221 int arg2 ;
10222 PyObject * obj0 = 0 ;
10223 char *kwnames[] = {
10224 (char *) "self",(char *) "change", NULL
10225 };
10226
10227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames,&obj0,&arg2)) goto fail;
10228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10229 {
10230 PyThreadState* __tstate = wxPyBeginAllowThreads();
10231 (arg1)->SetButtonChange(arg2);
10232
10233 wxPyEndAllowThreads(__tstate);
10234 if (PyErr_Occurred()) SWIG_fail;
10235 }
10236 Py_INCREF(Py_None); resultobj = Py_None;
10237 return resultobj;
10238 fail:
10239 return NULL;
10240 }
10241
10242
10243 static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10244 PyObject *resultobj;
10245 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10246 wxPoint *arg2 = 0 ;
10247 wxPoint temp2 ;
10248 PyObject * obj0 = 0 ;
10249 PyObject * obj1 = 0 ;
10250 char *kwnames[] = {
10251 (char *) "self",(char *) "pos", NULL
10252 };
10253
10254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10256 {
10257 arg2 = &temp2;
10258 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10259 }
10260 {
10261 PyThreadState* __tstate = wxPyBeginAllowThreads();
10262 (arg1)->SetPosition((wxPoint const &)*arg2);
10263
10264 wxPyEndAllowThreads(__tstate);
10265 if (PyErr_Occurred()) SWIG_fail;
10266 }
10267 Py_INCREF(Py_None); resultobj = Py_None;
10268 return resultobj;
10269 fail:
10270 return NULL;
10271 }
10272
10273
10274 static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10275 PyObject *resultobj;
10276 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10277 int arg2 ;
10278 PyObject * obj0 = 0 ;
10279 char *kwnames[] = {
10280 (char *) "self",(char *) "zPos", NULL
10281 };
10282
10283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetZPosition",kwnames,&obj0,&arg2)) goto fail;
10284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10285 {
10286 PyThreadState* __tstate = wxPyBeginAllowThreads();
10287 (arg1)->SetZPosition(arg2);
10288
10289 wxPyEndAllowThreads(__tstate);
10290 if (PyErr_Occurred()) SWIG_fail;
10291 }
10292 Py_INCREF(Py_None); resultobj = Py_None;
10293 return resultobj;
10294 fail:
10295 return NULL;
10296 }
10297
10298
10299 static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10300 PyObject *resultobj;
10301 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10302 bool result;
10303 PyObject * obj0 = 0 ;
10304 char *kwnames[] = {
10305 (char *) "self", NULL
10306 };
10307
10308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
10309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10310 {
10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
10312 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
10313
10314 wxPyEndAllowThreads(__tstate);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
10317 resultobj = PyInt_FromLong((long)result);
10318 return resultobj;
10319 fail:
10320 return NULL;
10321 }
10322
10323
10324 static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10325 PyObject *resultobj;
10326 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10327 bool result;
10328 PyObject * obj0 = 0 ;
10329 char *kwnames[] = {
10330 (char *) "self", NULL
10331 };
10332
10333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
10334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10335 {
10336 PyThreadState* __tstate = wxPyBeginAllowThreads();
10337 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
10338
10339 wxPyEndAllowThreads(__tstate);
10340 if (PyErr_Occurred()) SWIG_fail;
10341 }
10342 resultobj = PyInt_FromLong((long)result);
10343 return resultobj;
10344 fail:
10345 return NULL;
10346 }
10347
10348
10349 static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10350 PyObject *resultobj;
10351 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10352 bool result;
10353 PyObject * obj0 = 0 ;
10354 char *kwnames[] = {
10355 (char *) "self", NULL
10356 };
10357
10358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
10359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10360 {
10361 PyThreadState* __tstate = wxPyBeginAllowThreads();
10362 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
10363
10364 wxPyEndAllowThreads(__tstate);
10365 if (PyErr_Occurred()) SWIG_fail;
10366 }
10367 resultobj = PyInt_FromLong((long)result);
10368 return resultobj;
10369 fail:
10370 return NULL;
10371 }
10372
10373
10374 static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10375 PyObject *resultobj;
10376 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10377 int arg2 = (int) wxJOY_BUTTON_ANY ;
10378 bool result;
10379 PyObject * obj0 = 0 ;
10380 char *kwnames[] = {
10381 (char *) "self",(char *) "but", NULL
10382 };
10383
10384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonDown",kwnames,&obj0,&arg2)) goto fail;
10385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10386 {
10387 PyThreadState* __tstate = wxPyBeginAllowThreads();
10388 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
10389
10390 wxPyEndAllowThreads(__tstate);
10391 if (PyErr_Occurred()) SWIG_fail;
10392 }
10393 resultobj = PyInt_FromLong((long)result);
10394 return resultobj;
10395 fail:
10396 return NULL;
10397 }
10398
10399
10400 static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
10401 PyObject *resultobj;
10402 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10403 int arg2 = (int) wxJOY_BUTTON_ANY ;
10404 bool result;
10405 PyObject * obj0 = 0 ;
10406 char *kwnames[] = {
10407 (char *) "self",(char *) "but", NULL
10408 };
10409
10410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonUp",kwnames,&obj0,&arg2)) goto fail;
10411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10412 {
10413 PyThreadState* __tstate = wxPyBeginAllowThreads();
10414 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
10415
10416 wxPyEndAllowThreads(__tstate);
10417 if (PyErr_Occurred()) SWIG_fail;
10418 }
10419 resultobj = PyInt_FromLong((long)result);
10420 return resultobj;
10421 fail:
10422 return NULL;
10423 }
10424
10425
10426 static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10427 PyObject *resultobj;
10428 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10429 int arg2 = (int) wxJOY_BUTTON_ANY ;
10430 bool result;
10431 PyObject * obj0 = 0 ;
10432 char *kwnames[] = {
10433 (char *) "self",(char *) "but", NULL
10434 };
10435
10436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames,&obj0,&arg2)) goto fail;
10437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10438 {
10439 PyThreadState* __tstate = wxPyBeginAllowThreads();
10440 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
10441
10442 wxPyEndAllowThreads(__tstate);
10443 if (PyErr_Occurred()) SWIG_fail;
10444 }
10445 resultobj = PyInt_FromLong((long)result);
10446 return resultobj;
10447 fail:
10448 return NULL;
10449 }
10450
10451
10452 static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
10453 PyObject *obj;
10454 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10455 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
10456 Py_INCREF(obj);
10457 return Py_BuildValue((char *)"");
10458 }
10459 static PyObject *_wrap_new_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10460 PyObject *resultobj;
10461 wxString *arg1 = 0 ;
10462 bool arg2 = (bool) False ;
10463 wxWave *result;
10464 bool temp1 = False ;
10465 PyObject * obj0 = 0 ;
10466 PyObject * obj1 = 0 ;
10467 char *kwnames[] = {
10468 (char *) "fileName",(char *) "isResource", NULL
10469 };
10470
10471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Wave",kwnames,&obj0,&obj1)) goto fail;
10472 {
10473 arg1 = wxString_in_helper(obj0);
10474 if (arg1 == NULL) SWIG_fail;
10475 temp1 = True;
10476 }
10477 if (obj1) {
10478 arg2 = PyInt_AsLong(obj1) ? true : false;
10479 if (PyErr_Occurred()) SWIG_fail;
10480 }
10481 {
10482 PyThreadState* __tstate = wxPyBeginAllowThreads();
10483 result = (wxWave *)new wxWave((wxString const &)*arg1,arg2);
10484
10485 wxPyEndAllowThreads(__tstate);
10486 if (PyErr_Occurred()) SWIG_fail;
10487 }
10488 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10489 {
10490 if (temp1)
10491 delete arg1;
10492 }
10493 return resultobj;
10494 fail:
10495 {
10496 if (temp1)
10497 delete arg1;
10498 }
10499 return NULL;
10500 }
10501
10502
10503 static PyObject *_wrap_new_WaveData(PyObject *self, PyObject *args, PyObject *kwargs) {
10504 PyObject *resultobj;
10505 wxString *arg1 = 0 ;
10506 wxWave *result;
10507 bool temp1 = False ;
10508 PyObject * obj0 = 0 ;
10509 char *kwnames[] = {
10510 (char *) "data", NULL
10511 };
10512
10513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WaveData",kwnames,&obj0)) goto fail;
10514 {
10515 arg1 = wxString_in_helper(obj0);
10516 if (arg1 == NULL) SWIG_fail;
10517 temp1 = True;
10518 }
10519 {
10520 PyThreadState* __tstate = wxPyBeginAllowThreads();
10521 result = (wxWave *)new_wxWave((wxString const &)*arg1);
10522
10523 wxPyEndAllowThreads(__tstate);
10524 if (PyErr_Occurred()) SWIG_fail;
10525 }
10526 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10527 {
10528 if (temp1)
10529 delete arg1;
10530 }
10531 return resultobj;
10532 fail:
10533 {
10534 if (temp1)
10535 delete arg1;
10536 }
10537 return NULL;
10538 }
10539
10540
10541 static PyObject *_wrap_delete_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10542 PyObject *resultobj;
10543 wxWave *arg1 = (wxWave *) 0 ;
10544 PyObject * obj0 = 0 ;
10545 char *kwnames[] = {
10546 (char *) "self", NULL
10547 };
10548
10549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Wave",kwnames,&obj0)) goto fail;
10550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10551 {
10552 PyThreadState* __tstate = wxPyBeginAllowThreads();
10553 delete arg1;
10554
10555 wxPyEndAllowThreads(__tstate);
10556 if (PyErr_Occurred()) SWIG_fail;
10557 }
10558 Py_INCREF(Py_None); resultobj = Py_None;
10559 return resultobj;
10560 fail:
10561 return NULL;
10562 }
10563
10564
10565 static PyObject *_wrap_Wave_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10566 PyObject *resultobj;
10567 wxWave *arg1 = (wxWave *) 0 ;
10568 bool result;
10569 PyObject * obj0 = 0 ;
10570 char *kwnames[] = {
10571 (char *) "self", NULL
10572 };
10573
10574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wave_IsOk",kwnames,&obj0)) goto fail;
10575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10576 {
10577 PyThreadState* __tstate = wxPyBeginAllowThreads();
10578 result = (bool)((wxWave const *)arg1)->IsOk();
10579
10580 wxPyEndAllowThreads(__tstate);
10581 if (PyErr_Occurred()) SWIG_fail;
10582 }
10583 resultobj = PyInt_FromLong((long)result);
10584 return resultobj;
10585 fail:
10586 return NULL;
10587 }
10588
10589
10590 static PyObject *_wrap_Wave_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
10591 PyObject *resultobj;
10592 wxWave *arg1 = (wxWave *) 0 ;
10593 bool arg2 = (bool) True ;
10594 bool arg3 = (bool) False ;
10595 bool result;
10596 PyObject * obj0 = 0 ;
10597 PyObject * obj1 = 0 ;
10598 PyObject * obj2 = 0 ;
10599 char *kwnames[] = {
10600 (char *) "self",(char *) "async",(char *) "looped", NULL
10601 };
10602
10603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Wave_Play",kwnames,&obj0,&obj1,&obj2)) goto fail;
10604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10605 if (obj1) {
10606 arg2 = PyInt_AsLong(obj1) ? true : false;
10607 if (PyErr_Occurred()) SWIG_fail;
10608 }
10609 if (obj2) {
10610 arg3 = PyInt_AsLong(obj2) ? true : false;
10611 if (PyErr_Occurred()) SWIG_fail;
10612 }
10613 {
10614 PyThreadState* __tstate = wxPyBeginAllowThreads();
10615 result = (bool)(arg1)->Play(arg2,arg3);
10616
10617 wxPyEndAllowThreads(__tstate);
10618 if (PyErr_Occurred()) SWIG_fail;
10619 }
10620 resultobj = PyInt_FromLong((long)result);
10621 return resultobj;
10622 fail:
10623 return NULL;
10624 }
10625
10626
10627 static PyObject * Wave_swigregister(PyObject *self, PyObject *args) {
10628 PyObject *obj;
10629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10630 SWIG_TypeClientData(SWIGTYPE_p_wxWave, obj);
10631 Py_INCREF(obj);
10632 return Py_BuildValue((char *)"");
10633 }
10634 static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10635 PyObject *resultobj;
10636 wxString *arg1 = 0 ;
10637 wxString *arg2 = 0 ;
10638 wxString *arg3 = 0 ;
10639 wxString *arg4 = 0 ;
10640 wxFileTypeInfo *result;
10641 bool temp1 = False ;
10642 bool temp2 = False ;
10643 bool temp3 = False ;
10644 bool temp4 = False ;
10645 PyObject * obj0 = 0 ;
10646 PyObject * obj1 = 0 ;
10647 PyObject * obj2 = 0 ;
10648 PyObject * obj3 = 0 ;
10649 char *kwnames[] = {
10650 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10651 };
10652
10653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10654 {
10655 arg1 = wxString_in_helper(obj0);
10656 if (arg1 == NULL) SWIG_fail;
10657 temp1 = True;
10658 }
10659 {
10660 arg2 = wxString_in_helper(obj1);
10661 if (arg2 == NULL) SWIG_fail;
10662 temp2 = True;
10663 }
10664 {
10665 arg3 = wxString_in_helper(obj2);
10666 if (arg3 == NULL) SWIG_fail;
10667 temp3 = True;
10668 }
10669 {
10670 arg4 = wxString_in_helper(obj3);
10671 if (arg4 == NULL) SWIG_fail;
10672 temp4 = True;
10673 }
10674 {
10675 PyThreadState* __tstate = wxPyBeginAllowThreads();
10676 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10677
10678 wxPyEndAllowThreads(__tstate);
10679 if (PyErr_Occurred()) SWIG_fail;
10680 }
10681 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10682 {
10683 if (temp1)
10684 delete arg1;
10685 }
10686 {
10687 if (temp2)
10688 delete arg2;
10689 }
10690 {
10691 if (temp3)
10692 delete arg3;
10693 }
10694 {
10695 if (temp4)
10696 delete arg4;
10697 }
10698 return resultobj;
10699 fail:
10700 {
10701 if (temp1)
10702 delete arg1;
10703 }
10704 {
10705 if (temp2)
10706 delete arg2;
10707 }
10708 {
10709 if (temp3)
10710 delete arg3;
10711 }
10712 {
10713 if (temp4)
10714 delete arg4;
10715 }
10716 return NULL;
10717 }
10718
10719
10720 static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
10721 PyObject *resultobj;
10722 wxArrayString *arg1 = 0 ;
10723 wxFileTypeInfo *result;
10724 PyObject * obj0 = 0 ;
10725 char *kwnames[] = {
10726 (char *) "sArray", NULL
10727 };
10728
10729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
10730 {
10731 if (! PySequence_Check(obj0)) {
10732 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10733 SWIG_fail;
10734 }
10735 arg1 = new wxArrayString;
10736 int i, len=PySequence_Length(obj0);
10737 for (i=0; i<len; i++) {
10738 PyObject* item = PySequence_GetItem(obj0, i);
10739 #if wxUSE_UNICODE
10740 PyObject* str = PyObject_Unicode(item);
10741 #else
10742 PyObject* str = PyObject_Str(item);
10743 #endif
10744 arg1->Add(Py2wxString(str));
10745 Py_DECREF(item);
10746 Py_DECREF(str);
10747 }
10748 }
10749 {
10750 PyThreadState* __tstate = wxPyBeginAllowThreads();
10751 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
10752
10753 wxPyEndAllowThreads(__tstate);
10754 if (PyErr_Occurred()) SWIG_fail;
10755 }
10756 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10757 {
10758 if (arg1) delete arg1;
10759 }
10760 return resultobj;
10761 fail:
10762 {
10763 if (arg1) delete arg1;
10764 }
10765 return NULL;
10766 }
10767
10768
10769 static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10770 PyObject *resultobj;
10771 wxFileTypeInfo *result;
10772 char *kwnames[] = {
10773 NULL
10774 };
10775
10776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
10777 {
10778 PyThreadState* __tstate = wxPyBeginAllowThreads();
10779 result = (wxFileTypeInfo *)new wxFileTypeInfo();
10780
10781 wxPyEndAllowThreads(__tstate);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 }
10784 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10785 return resultobj;
10786 fail:
10787 return NULL;
10788 }
10789
10790
10791 static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
10792 PyObject *resultobj;
10793 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10794 bool result;
10795 PyObject * obj0 = 0 ;
10796 char *kwnames[] = {
10797 (char *) "self", NULL
10798 };
10799
10800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
10801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10802 {
10803 PyThreadState* __tstate = wxPyBeginAllowThreads();
10804 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
10805
10806 wxPyEndAllowThreads(__tstate);
10807 if (PyErr_Occurred()) SWIG_fail;
10808 }
10809 resultobj = PyInt_FromLong((long)result);
10810 return resultobj;
10811 fail:
10812 return NULL;
10813 }
10814
10815
10816 static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10817 PyObject *resultobj;
10818 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10819 wxString *arg2 = 0 ;
10820 int arg3 = (int) 0 ;
10821 bool temp2 = False ;
10822 PyObject * obj0 = 0 ;
10823 PyObject * obj1 = 0 ;
10824 char *kwnames[] = {
10825 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10826 };
10827
10828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
10829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10830 {
10831 arg2 = wxString_in_helper(obj1);
10832 if (arg2 == NULL) SWIG_fail;
10833 temp2 = True;
10834 }
10835 {
10836 PyThreadState* __tstate = wxPyBeginAllowThreads();
10837 (arg1)->SetIcon((wxString const &)*arg2,arg3);
10838
10839 wxPyEndAllowThreads(__tstate);
10840 if (PyErr_Occurred()) SWIG_fail;
10841 }
10842 Py_INCREF(Py_None); resultobj = Py_None;
10843 {
10844 if (temp2)
10845 delete arg2;
10846 }
10847 return resultobj;
10848 fail:
10849 {
10850 if (temp2)
10851 delete arg2;
10852 }
10853 return NULL;
10854 }
10855
10856
10857 static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10858 PyObject *resultobj;
10859 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10860 wxString *arg2 = 0 ;
10861 bool temp2 = False ;
10862 PyObject * obj0 = 0 ;
10863 PyObject * obj1 = 0 ;
10864 char *kwnames[] = {
10865 (char *) "self",(char *) "shortDesc", NULL
10866 };
10867
10868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
10869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10870 {
10871 arg2 = wxString_in_helper(obj1);
10872 if (arg2 == NULL) SWIG_fail;
10873 temp2 = True;
10874 }
10875 {
10876 PyThreadState* __tstate = wxPyBeginAllowThreads();
10877 (arg1)->SetShortDesc((wxString const &)*arg2);
10878
10879 wxPyEndAllowThreads(__tstate);
10880 if (PyErr_Occurred()) SWIG_fail;
10881 }
10882 Py_INCREF(Py_None); resultobj = Py_None;
10883 {
10884 if (temp2)
10885 delete arg2;
10886 }
10887 return resultobj;
10888 fail:
10889 {
10890 if (temp2)
10891 delete arg2;
10892 }
10893 return NULL;
10894 }
10895
10896
10897 static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
10898 PyObject *resultobj;
10899 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10900 wxString *result;
10901 PyObject * obj0 = 0 ;
10902 char *kwnames[] = {
10903 (char *) "self", NULL
10904 };
10905
10906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
10907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10908 {
10909 PyThreadState* __tstate = wxPyBeginAllowThreads();
10910 {
10911 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
10912 result = (wxString *) &_result_ref;
10913 }
10914
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
10918 {
10919 #if wxUSE_UNICODE
10920 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10921 #else
10922 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10923 #endif
10924 }
10925 return resultobj;
10926 fail:
10927 return NULL;
10928 }
10929
10930
10931 static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10932 PyObject *resultobj;
10933 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10934 wxString *result;
10935 PyObject * obj0 = 0 ;
10936 char *kwnames[] = {
10937 (char *) "self", NULL
10938 };
10939
10940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
10941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10942 {
10943 PyThreadState* __tstate = wxPyBeginAllowThreads();
10944 {
10945 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
10946 result = (wxString *) &_result_ref;
10947 }
10948
10949 wxPyEndAllowThreads(__tstate);
10950 if (PyErr_Occurred()) SWIG_fail;
10951 }
10952 {
10953 #if wxUSE_UNICODE
10954 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10955 #else
10956 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10957 #endif
10958 }
10959 return resultobj;
10960 fail:
10961 return NULL;
10962 }
10963
10964
10965 static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10966 PyObject *resultobj;
10967 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10968 wxString *result;
10969 PyObject * obj0 = 0 ;
10970 char *kwnames[] = {
10971 (char *) "self", NULL
10972 };
10973
10974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
10975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10976 {
10977 PyThreadState* __tstate = wxPyBeginAllowThreads();
10978 {
10979 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
10980 result = (wxString *) &_result_ref;
10981 }
10982
10983 wxPyEndAllowThreads(__tstate);
10984 if (PyErr_Occurred()) SWIG_fail;
10985 }
10986 {
10987 #if wxUSE_UNICODE
10988 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10989 #else
10990 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10991 #endif
10992 }
10993 return resultobj;
10994 fail:
10995 return NULL;
10996 }
10997
10998
10999 static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
11000 PyObject *resultobj;
11001 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11002 wxString *result;
11003 PyObject * obj0 = 0 ;
11004 char *kwnames[] = {
11005 (char *) "self", NULL
11006 };
11007
11008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
11009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11010 {
11011 PyThreadState* __tstate = wxPyBeginAllowThreads();
11012 {
11013 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
11014 result = (wxString *) &_result_ref;
11015 }
11016
11017 wxPyEndAllowThreads(__tstate);
11018 if (PyErr_Occurred()) SWIG_fail;
11019 }
11020 {
11021 #if wxUSE_UNICODE
11022 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11023 #else
11024 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11025 #endif
11026 }
11027 return resultobj;
11028 fail:
11029 return NULL;
11030 }
11031
11032
11033 static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11034 PyObject *resultobj;
11035 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11036 wxString *result;
11037 PyObject * obj0 = 0 ;
11038 char *kwnames[] = {
11039 (char *) "self", NULL
11040 };
11041
11042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
11043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11044 {
11045 PyThreadState* __tstate = wxPyBeginAllowThreads();
11046 {
11047 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
11048 result = (wxString *) &_result_ref;
11049 }
11050
11051 wxPyEndAllowThreads(__tstate);
11052 if (PyErr_Occurred()) SWIG_fail;
11053 }
11054 {
11055 #if wxUSE_UNICODE
11056 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11057 #else
11058 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11059 #endif
11060 }
11061 return resultobj;
11062 fail:
11063 return NULL;
11064 }
11065
11066
11067 static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11068 PyObject *resultobj;
11069 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11070 wxArrayString *result;
11071 PyObject * obj0 = 0 ;
11072 char *kwnames[] = {
11073 (char *) "self", NULL
11074 };
11075
11076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
11077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11078 {
11079 PyThreadState* __tstate = wxPyBeginAllowThreads();
11080 {
11081 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
11082 result = (wxArrayString *) &_result_ref;
11083 }
11084
11085 wxPyEndAllowThreads(__tstate);
11086 if (PyErr_Occurred()) SWIG_fail;
11087 }
11088 {
11089 resultobj = wxArrayString2PyList_helper(*result);
11090 }
11091 return resultobj;
11092 fail:
11093 return NULL;
11094 }
11095
11096
11097 static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11098 PyObject *resultobj;
11099 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11100 int result;
11101 PyObject * obj0 = 0 ;
11102 char *kwnames[] = {
11103 (char *) "self", NULL
11104 };
11105
11106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
11107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11108 {
11109 PyThreadState* __tstate = wxPyBeginAllowThreads();
11110 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
11111
11112 wxPyEndAllowThreads(__tstate);
11113 if (PyErr_Occurred()) SWIG_fail;
11114 }
11115 resultobj = PyInt_FromLong((long)result);
11116 return resultobj;
11117 fail:
11118 return NULL;
11119 }
11120
11121
11122 static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
11123 PyObject *resultobj;
11124 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11125 wxString *result;
11126 PyObject * obj0 = 0 ;
11127 char *kwnames[] = {
11128 (char *) "self", NULL
11129 };
11130
11131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
11132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11133 {
11134 PyThreadState* __tstate = wxPyBeginAllowThreads();
11135 {
11136 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
11137 result = (wxString *) &_result_ref;
11138 }
11139
11140 wxPyEndAllowThreads(__tstate);
11141 if (PyErr_Occurred()) SWIG_fail;
11142 }
11143 {
11144 #if wxUSE_UNICODE
11145 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11146 #else
11147 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11148 #endif
11149 }
11150 return resultobj;
11151 fail:
11152 return NULL;
11153 }
11154
11155
11156 static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11157 PyObject *resultobj;
11158 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11159 int result;
11160 PyObject * obj0 = 0 ;
11161 char *kwnames[] = {
11162 (char *) "self", NULL
11163 };
11164
11165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
11166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11167 {
11168 PyThreadState* __tstate = wxPyBeginAllowThreads();
11169 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
11170
11171 wxPyEndAllowThreads(__tstate);
11172 if (PyErr_Occurred()) SWIG_fail;
11173 }
11174 resultobj = PyInt_FromLong((long)result);
11175 return resultobj;
11176 fail:
11177 return NULL;
11178 }
11179
11180
11181 static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
11182 PyObject *obj;
11183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11184 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
11185 Py_INCREF(obj);
11186 return Py_BuildValue((char *)"");
11187 }
11188 static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11189 PyObject *resultobj;
11190 wxFileTypeInfo *arg1 = 0 ;
11191 wxFileType *result;
11192 PyObject * obj0 = 0 ;
11193 char *kwnames[] = {
11194 (char *) "ftInfo", NULL
11195 };
11196
11197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
11198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11199 if (arg1 == NULL) {
11200 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11201 }
11202 {
11203 PyThreadState* __tstate = wxPyBeginAllowThreads();
11204 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
11205
11206 wxPyEndAllowThreads(__tstate);
11207 if (PyErr_Occurred()) SWIG_fail;
11208 }
11209 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11210 return resultobj;
11211 fail:
11212 return NULL;
11213 }
11214
11215
11216 static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11217 PyObject *resultobj;
11218 wxFileType *arg1 = (wxFileType *) 0 ;
11219 PyObject * obj0 = 0 ;
11220 char *kwnames[] = {
11221 (char *) "self", NULL
11222 };
11223
11224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
11225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11226 {
11227 PyThreadState* __tstate = wxPyBeginAllowThreads();
11228 delete arg1;
11229
11230 wxPyEndAllowThreads(__tstate);
11231 if (PyErr_Occurred()) SWIG_fail;
11232 }
11233 Py_INCREF(Py_None); resultobj = Py_None;
11234 return resultobj;
11235 fail:
11236 return NULL;
11237 }
11238
11239
11240 static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11241 PyObject *resultobj;
11242 wxFileType *arg1 = (wxFileType *) 0 ;
11243 PyObject *result;
11244 PyObject * obj0 = 0 ;
11245 char *kwnames[] = {
11246 (char *) "self", NULL
11247 };
11248
11249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
11250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11251 {
11252 PyThreadState* __tstate = wxPyBeginAllowThreads();
11253 result = (PyObject *)wxFileType_GetMimeType(arg1);
11254
11255 wxPyEndAllowThreads(__tstate);
11256 if (PyErr_Occurred()) SWIG_fail;
11257 }
11258 resultobj = result;
11259 return resultobj;
11260 fail:
11261 return NULL;
11262 }
11263
11264
11265 static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11266 PyObject *resultobj;
11267 wxFileType *arg1 = (wxFileType *) 0 ;
11268 PyObject *result;
11269 PyObject * obj0 = 0 ;
11270 char *kwnames[] = {
11271 (char *) "self", NULL
11272 };
11273
11274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
11275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
11279
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 resultobj = result;
11284 return resultobj;
11285 fail:
11286 return NULL;
11287 }
11288
11289
11290 static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11291 PyObject *resultobj;
11292 wxFileType *arg1 = (wxFileType *) 0 ;
11293 PyObject *result;
11294 PyObject * obj0 = 0 ;
11295 char *kwnames[] = {
11296 (char *) "self", NULL
11297 };
11298
11299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
11300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11301 {
11302 PyThreadState* __tstate = wxPyBeginAllowThreads();
11303 result = (PyObject *)wxFileType_GetExtensions(arg1);
11304
11305 wxPyEndAllowThreads(__tstate);
11306 if (PyErr_Occurred()) SWIG_fail;
11307 }
11308 resultobj = result;
11309 return resultobj;
11310 fail:
11311 return NULL;
11312 }
11313
11314
11315 static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11316 PyObject *resultobj;
11317 wxFileType *arg1 = (wxFileType *) 0 ;
11318 wxIcon *result;
11319 PyObject * obj0 = 0 ;
11320 char *kwnames[] = {
11321 (char *) "self", NULL
11322 };
11323
11324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
11325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11326 {
11327 PyThreadState* __tstate = wxPyBeginAllowThreads();
11328 result = (wxIcon *)wxFileType_GetIcon(arg1);
11329
11330 wxPyEndAllowThreads(__tstate);
11331 if (PyErr_Occurred()) SWIG_fail;
11332 }
11333 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIcon, 1);
11334 return resultobj;
11335 fail:
11336 return NULL;
11337 }
11338
11339
11340 static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11341 PyObject *resultobj;
11342 wxFileType *arg1 = (wxFileType *) 0 ;
11343 PyObject *result;
11344 PyObject * obj0 = 0 ;
11345 char *kwnames[] = {
11346 (char *) "self", NULL
11347 };
11348
11349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
11350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11351 {
11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
11353 result = (PyObject *)wxFileType_GetIconInfo(arg1);
11354
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
11358 resultobj = result;
11359 return resultobj;
11360 fail:
11361 return NULL;
11362 }
11363
11364
11365 static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11366 PyObject *resultobj;
11367 wxFileType *arg1 = (wxFileType *) 0 ;
11368 PyObject *result;
11369 PyObject * obj0 = 0 ;
11370 char *kwnames[] = {
11371 (char *) "self", NULL
11372 };
11373
11374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
11375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11376 {
11377 PyThreadState* __tstate = wxPyBeginAllowThreads();
11378 result = (PyObject *)wxFileType_GetDescription(arg1);
11379
11380 wxPyEndAllowThreads(__tstate);
11381 if (PyErr_Occurred()) SWIG_fail;
11382 }
11383 resultobj = result;
11384 return resultobj;
11385 fail:
11386 return NULL;
11387 }
11388
11389
11390 static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11391 PyObject *resultobj;
11392 wxFileType *arg1 = (wxFileType *) 0 ;
11393 wxString *arg2 = 0 ;
11394 wxString const &arg3_defvalue = wxPyEmptyString ;
11395 wxString *arg3 = (wxString *) &arg3_defvalue ;
11396 PyObject *result;
11397 bool temp2 = False ;
11398 bool temp3 = False ;
11399 PyObject * obj0 = 0 ;
11400 PyObject * obj1 = 0 ;
11401 PyObject * obj2 = 0 ;
11402 char *kwnames[] = {
11403 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11404 };
11405
11406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11408 {
11409 arg2 = wxString_in_helper(obj1);
11410 if (arg2 == NULL) SWIG_fail;
11411 temp2 = True;
11412 }
11413 if (obj2) {
11414 {
11415 arg3 = wxString_in_helper(obj2);
11416 if (arg3 == NULL) SWIG_fail;
11417 temp3 = True;
11418 }
11419 }
11420 {
11421 PyThreadState* __tstate = wxPyBeginAllowThreads();
11422 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11423
11424 wxPyEndAllowThreads(__tstate);
11425 if (PyErr_Occurred()) SWIG_fail;
11426 }
11427 resultobj = result;
11428 {
11429 if (temp2)
11430 delete arg2;
11431 }
11432 {
11433 if (temp3)
11434 delete arg3;
11435 }
11436 return resultobj;
11437 fail:
11438 {
11439 if (temp2)
11440 delete arg2;
11441 }
11442 {
11443 if (temp3)
11444 delete arg3;
11445 }
11446 return NULL;
11447 }
11448
11449
11450 static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11451 PyObject *resultobj;
11452 wxFileType *arg1 = (wxFileType *) 0 ;
11453 wxString *arg2 = 0 ;
11454 wxString const &arg3_defvalue = wxPyEmptyString ;
11455 wxString *arg3 = (wxString *) &arg3_defvalue ;
11456 PyObject *result;
11457 bool temp2 = False ;
11458 bool temp3 = False ;
11459 PyObject * obj0 = 0 ;
11460 PyObject * obj1 = 0 ;
11461 PyObject * obj2 = 0 ;
11462 char *kwnames[] = {
11463 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11464 };
11465
11466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11468 {
11469 arg2 = wxString_in_helper(obj1);
11470 if (arg2 == NULL) SWIG_fail;
11471 temp2 = True;
11472 }
11473 if (obj2) {
11474 {
11475 arg3 = wxString_in_helper(obj2);
11476 if (arg3 == NULL) SWIG_fail;
11477 temp3 = True;
11478 }
11479 }
11480 {
11481 PyThreadState* __tstate = wxPyBeginAllowThreads();
11482 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11483
11484 wxPyEndAllowThreads(__tstate);
11485 if (PyErr_Occurred()) SWIG_fail;
11486 }
11487 resultobj = result;
11488 {
11489 if (temp2)
11490 delete arg2;
11491 }
11492 {
11493 if (temp3)
11494 delete arg3;
11495 }
11496 return resultobj;
11497 fail:
11498 {
11499 if (temp2)
11500 delete arg2;
11501 }
11502 {
11503 if (temp3)
11504 delete arg3;
11505 }
11506 return NULL;
11507 }
11508
11509
11510 static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
11511 PyObject *resultobj;
11512 wxFileType *arg1 = (wxFileType *) 0 ;
11513 wxString *arg2 = 0 ;
11514 wxString const &arg3_defvalue = wxPyEmptyString ;
11515 wxString *arg3 = (wxString *) &arg3_defvalue ;
11516 PyObject *result;
11517 bool temp2 = False ;
11518 bool temp3 = False ;
11519 PyObject * obj0 = 0 ;
11520 PyObject * obj1 = 0 ;
11521 PyObject * obj2 = 0 ;
11522 char *kwnames[] = {
11523 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11524 };
11525
11526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
11527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11528 {
11529 arg2 = wxString_in_helper(obj1);
11530 if (arg2 == NULL) SWIG_fail;
11531 temp2 = True;
11532 }
11533 if (obj2) {
11534 {
11535 arg3 = wxString_in_helper(obj2);
11536 if (arg3 == NULL) SWIG_fail;
11537 temp3 = True;
11538 }
11539 }
11540 {
11541 PyThreadState* __tstate = wxPyBeginAllowThreads();
11542 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11543
11544 wxPyEndAllowThreads(__tstate);
11545 if (PyErr_Occurred()) SWIG_fail;
11546 }
11547 resultobj = result;
11548 {
11549 if (temp2)
11550 delete arg2;
11551 }
11552 {
11553 if (temp3)
11554 delete arg3;
11555 }
11556 return resultobj;
11557 fail:
11558 {
11559 if (temp2)
11560 delete arg2;
11561 }
11562 {
11563 if (temp3)
11564 delete arg3;
11565 }
11566 return NULL;
11567 }
11568
11569
11570 static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11571 PyObject *resultobj;
11572 wxFileType *arg1 = (wxFileType *) 0 ;
11573 wxString *arg2 = 0 ;
11574 wxString *arg3 = 0 ;
11575 bool arg4 = (bool) True ;
11576 bool result;
11577 bool temp2 = False ;
11578 bool temp3 = False ;
11579 PyObject * obj0 = 0 ;
11580 PyObject * obj1 = 0 ;
11581 PyObject * obj2 = 0 ;
11582 PyObject * obj3 = 0 ;
11583 char *kwnames[] = {
11584 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11585 };
11586
11587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11589 {
11590 arg2 = wxString_in_helper(obj1);
11591 if (arg2 == NULL) SWIG_fail;
11592 temp2 = True;
11593 }
11594 {
11595 arg3 = wxString_in_helper(obj2);
11596 if (arg3 == NULL) SWIG_fail;
11597 temp3 = True;
11598 }
11599 if (obj3) {
11600 arg4 = PyInt_AsLong(obj3) ? true : false;
11601 if (PyErr_Occurred()) SWIG_fail;
11602 }
11603 {
11604 PyThreadState* __tstate = wxPyBeginAllowThreads();
11605 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11606
11607 wxPyEndAllowThreads(__tstate);
11608 if (PyErr_Occurred()) SWIG_fail;
11609 }
11610 resultobj = PyInt_FromLong((long)result);
11611 {
11612 if (temp2)
11613 delete arg2;
11614 }
11615 {
11616 if (temp3)
11617 delete arg3;
11618 }
11619 return resultobj;
11620 fail:
11621 {
11622 if (temp2)
11623 delete arg2;
11624 }
11625 {
11626 if (temp3)
11627 delete arg3;
11628 }
11629 return NULL;
11630 }
11631
11632
11633 static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11634 PyObject *resultobj;
11635 wxFileType *arg1 = (wxFileType *) 0 ;
11636 wxString const &arg2_defvalue = wxPyEmptyString ;
11637 wxString *arg2 = (wxString *) &arg2_defvalue ;
11638 int arg3 = (int) 0 ;
11639 bool result;
11640 bool temp2 = False ;
11641 PyObject * obj0 = 0 ;
11642 PyObject * obj1 = 0 ;
11643 char *kwnames[] = {
11644 (char *) "self",(char *) "cmd",(char *) "index", NULL
11645 };
11646
11647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
11648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11649 if (obj1) {
11650 {
11651 arg2 = wxString_in_helper(obj1);
11652 if (arg2 == NULL) SWIG_fail;
11653 temp2 = True;
11654 }
11655 }
11656 {
11657 PyThreadState* __tstate = wxPyBeginAllowThreads();
11658 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
11659
11660 wxPyEndAllowThreads(__tstate);
11661 if (PyErr_Occurred()) SWIG_fail;
11662 }
11663 resultobj = PyInt_FromLong((long)result);
11664 {
11665 if (temp2)
11666 delete arg2;
11667 }
11668 return resultobj;
11669 fail:
11670 {
11671 if (temp2)
11672 delete arg2;
11673 }
11674 return NULL;
11675 }
11676
11677
11678 static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
11679 PyObject *resultobj;
11680 wxFileType *arg1 = (wxFileType *) 0 ;
11681 bool result;
11682 PyObject * obj0 = 0 ;
11683 char *kwnames[] = {
11684 (char *) "self", NULL
11685 };
11686
11687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
11688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11689 {
11690 PyThreadState* __tstate = wxPyBeginAllowThreads();
11691 result = (bool)(arg1)->Unassociate();
11692
11693 wxPyEndAllowThreads(__tstate);
11694 if (PyErr_Occurred()) SWIG_fail;
11695 }
11696 resultobj = PyInt_FromLong((long)result);
11697 return resultobj;
11698 fail:
11699 return NULL;
11700 }
11701
11702
11703 static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11704 PyObject *resultobj;
11705 wxString *arg1 = 0 ;
11706 wxString *arg2 = 0 ;
11707 wxString const &arg3_defvalue = wxPyEmptyString ;
11708 wxString *arg3 = (wxString *) &arg3_defvalue ;
11709 wxString result;
11710 bool temp1 = False ;
11711 bool temp2 = False ;
11712 bool temp3 = False ;
11713 PyObject * obj0 = 0 ;
11714 PyObject * obj1 = 0 ;
11715 PyObject * obj2 = 0 ;
11716 char *kwnames[] = {
11717 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11718 };
11719
11720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11721 {
11722 arg1 = wxString_in_helper(obj0);
11723 if (arg1 == NULL) SWIG_fail;
11724 temp1 = True;
11725 }
11726 {
11727 arg2 = wxString_in_helper(obj1);
11728 if (arg2 == NULL) SWIG_fail;
11729 temp2 = True;
11730 }
11731 if (obj2) {
11732 {
11733 arg3 = wxString_in_helper(obj2);
11734 if (arg3 == NULL) SWIG_fail;
11735 temp3 = True;
11736 }
11737 }
11738 {
11739 PyThreadState* __tstate = wxPyBeginAllowThreads();
11740 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11741
11742 wxPyEndAllowThreads(__tstate);
11743 if (PyErr_Occurred()) SWIG_fail;
11744 }
11745 {
11746 #if wxUSE_UNICODE
11747 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11748 #else
11749 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11750 #endif
11751 }
11752 {
11753 if (temp1)
11754 delete arg1;
11755 }
11756 {
11757 if (temp2)
11758 delete arg2;
11759 }
11760 {
11761 if (temp3)
11762 delete arg3;
11763 }
11764 return resultobj;
11765 fail:
11766 {
11767 if (temp1)
11768 delete arg1;
11769 }
11770 {
11771 if (temp2)
11772 delete arg2;
11773 }
11774 {
11775 if (temp3)
11776 delete arg3;
11777 }
11778 return NULL;
11779 }
11780
11781
11782 static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
11783 PyObject *obj;
11784 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11785 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
11786 Py_INCREF(obj);
11787 return Py_BuildValue((char *)"");
11788 }
11789 static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
11790 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
11791 return 1;
11792 }
11793
11794
11795 static PyObject *_wrap_TheMimeTypesManager_get() {
11796 PyObject *pyobj;
11797
11798 pyobj = SWIG_NewPointerObj((void *) wxTheMimeTypesManager, SWIGTYPE_p_wxMimeTypesManager, 0);
11799 return pyobj;
11800 }
11801
11802
11803 static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
11804 PyObject *resultobj;
11805 wxString *arg1 = 0 ;
11806 wxString *arg2 = 0 ;
11807 bool result;
11808 bool temp1 = False ;
11809 bool temp2 = False ;
11810 PyObject * obj0 = 0 ;
11811 PyObject * obj1 = 0 ;
11812 char *kwnames[] = {
11813 (char *) "mimeType",(char *) "wildcard", NULL
11814 };
11815
11816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
11817 {
11818 arg1 = wxString_in_helper(obj0);
11819 if (arg1 == NULL) SWIG_fail;
11820 temp1 = True;
11821 }
11822 {
11823 arg2 = wxString_in_helper(obj1);
11824 if (arg2 == NULL) SWIG_fail;
11825 temp2 = True;
11826 }
11827 {
11828 PyThreadState* __tstate = wxPyBeginAllowThreads();
11829 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
11830
11831 wxPyEndAllowThreads(__tstate);
11832 if (PyErr_Occurred()) SWIG_fail;
11833 }
11834 resultobj = PyInt_FromLong((long)result);
11835 {
11836 if (temp1)
11837 delete arg1;
11838 }
11839 {
11840 if (temp2)
11841 delete arg2;
11842 }
11843 return resultobj;
11844 fail:
11845 {
11846 if (temp1)
11847 delete arg1;
11848 }
11849 {
11850 if (temp2)
11851 delete arg2;
11852 }
11853 return NULL;
11854 }
11855
11856
11857 static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
11858 PyObject *resultobj;
11859 wxMimeTypesManager *result;
11860 char *kwnames[] = {
11861 NULL
11862 };
11863
11864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
11865 {
11866 PyThreadState* __tstate = wxPyBeginAllowThreads();
11867 result = (wxMimeTypesManager *)new wxMimeTypesManager();
11868
11869 wxPyEndAllowThreads(__tstate);
11870 if (PyErr_Occurred()) SWIG_fail;
11871 }
11872 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMimeTypesManager, 1);
11873 return resultobj;
11874 fail:
11875 return NULL;
11876 }
11877
11878
11879 static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
11880 PyObject *resultobj;
11881 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11882 int arg2 = (int) wxMAILCAP_ALL ;
11883 wxString const &arg3_defvalue = wxPyEmptyString ;
11884 wxString *arg3 = (wxString *) &arg3_defvalue ;
11885 bool temp3 = False ;
11886 PyObject * obj0 = 0 ;
11887 PyObject * obj2 = 0 ;
11888 char *kwnames[] = {
11889 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11890 };
11891
11892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:MimeTypesManager_Initialize",kwnames,&obj0,&arg2,&obj2)) goto fail;
11893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11894 if (obj2) {
11895 {
11896 arg3 = wxString_in_helper(obj2);
11897 if (arg3 == NULL) SWIG_fail;
11898 temp3 = True;
11899 }
11900 }
11901 {
11902 PyThreadState* __tstate = wxPyBeginAllowThreads();
11903 (arg1)->Initialize(arg2,(wxString const &)*arg3);
11904
11905 wxPyEndAllowThreads(__tstate);
11906 if (PyErr_Occurred()) SWIG_fail;
11907 }
11908 Py_INCREF(Py_None); resultobj = Py_None;
11909 {
11910 if (temp3)
11911 delete arg3;
11912 }
11913 return resultobj;
11914 fail:
11915 {
11916 if (temp3)
11917 delete arg3;
11918 }
11919 return NULL;
11920 }
11921
11922
11923 static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
11924 PyObject *resultobj;
11925 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11926 PyObject * obj0 = 0 ;
11927 char *kwnames[] = {
11928 (char *) "self", NULL
11929 };
11930
11931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
11932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11933 {
11934 PyThreadState* __tstate = wxPyBeginAllowThreads();
11935 (arg1)->ClearData();
11936
11937 wxPyEndAllowThreads(__tstate);
11938 if (PyErr_Occurred()) SWIG_fail;
11939 }
11940 Py_INCREF(Py_None); resultobj = Py_None;
11941 return resultobj;
11942 fail:
11943 return NULL;
11944 }
11945
11946
11947 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
11948 PyObject *resultobj;
11949 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11950 wxString *arg2 = 0 ;
11951 wxFileType *result;
11952 bool temp2 = False ;
11953 PyObject * obj0 = 0 ;
11954 PyObject * obj1 = 0 ;
11955 char *kwnames[] = {
11956 (char *) "self",(char *) "ext", NULL
11957 };
11958
11959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
11960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11961 {
11962 arg2 = wxString_in_helper(obj1);
11963 if (arg2 == NULL) SWIG_fail;
11964 temp2 = True;
11965 }
11966 {
11967 PyThreadState* __tstate = wxPyBeginAllowThreads();
11968 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
11969
11970 wxPyEndAllowThreads(__tstate);
11971 if (PyErr_Occurred()) SWIG_fail;
11972 }
11973 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11974 {
11975 if (temp2)
11976 delete arg2;
11977 }
11978 return resultobj;
11979 fail:
11980 {
11981 if (temp2)
11982 delete arg2;
11983 }
11984 return NULL;
11985 }
11986
11987
11988 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11989 PyObject *resultobj;
11990 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11991 wxString *arg2 = 0 ;
11992 wxFileType *result;
11993 bool temp2 = False ;
11994 PyObject * obj0 = 0 ;
11995 PyObject * obj1 = 0 ;
11996 char *kwnames[] = {
11997 (char *) "self",(char *) "mimeType", NULL
11998 };
11999
12000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
12001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12002 {
12003 arg2 = wxString_in_helper(obj1);
12004 if (arg2 == NULL) SWIG_fail;
12005 temp2 = True;
12006 }
12007 {
12008 PyThreadState* __tstate = wxPyBeginAllowThreads();
12009 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
12010
12011 wxPyEndAllowThreads(__tstate);
12012 if (PyErr_Occurred()) SWIG_fail;
12013 }
12014 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12015 {
12016 if (temp2)
12017 delete arg2;
12018 }
12019 return resultobj;
12020 fail:
12021 {
12022 if (temp2)
12023 delete arg2;
12024 }
12025 return NULL;
12026 }
12027
12028
12029 static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
12030 PyObject *resultobj;
12031 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12032 wxString *arg2 = 0 ;
12033 bool arg3 = (bool) False ;
12034 bool result;
12035 bool temp2 = False ;
12036 PyObject * obj0 = 0 ;
12037 PyObject * obj1 = 0 ;
12038 PyObject * obj2 = 0 ;
12039 char *kwnames[] = {
12040 (char *) "self",(char *) "filename",(char *) "fallback", NULL
12041 };
12042
12043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
12044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12045 {
12046 arg2 = wxString_in_helper(obj1);
12047 if (arg2 == NULL) SWIG_fail;
12048 temp2 = True;
12049 }
12050 if (obj2) {
12051 arg3 = PyInt_AsLong(obj2) ? true : false;
12052 if (PyErr_Occurred()) SWIG_fail;
12053 }
12054 {
12055 PyThreadState* __tstate = wxPyBeginAllowThreads();
12056 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
12057
12058 wxPyEndAllowThreads(__tstate);
12059 if (PyErr_Occurred()) SWIG_fail;
12060 }
12061 resultobj = PyInt_FromLong((long)result);
12062 {
12063 if (temp2)
12064 delete arg2;
12065 }
12066 return resultobj;
12067 fail:
12068 {
12069 if (temp2)
12070 delete arg2;
12071 }
12072 return NULL;
12073 }
12074
12075
12076 static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12077 PyObject *resultobj;
12078 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12079 wxString *arg2 = 0 ;
12080 bool result;
12081 bool temp2 = False ;
12082 PyObject * obj0 = 0 ;
12083 PyObject * obj1 = 0 ;
12084 char *kwnames[] = {
12085 (char *) "self",(char *) "filename", NULL
12086 };
12087
12088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
12089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12090 {
12091 arg2 = wxString_in_helper(obj1);
12092 if (arg2 == NULL) SWIG_fail;
12093 temp2 = True;
12094 }
12095 {
12096 PyThreadState* __tstate = wxPyBeginAllowThreads();
12097 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
12098
12099 wxPyEndAllowThreads(__tstate);
12100 if (PyErr_Occurred()) SWIG_fail;
12101 }
12102 resultobj = PyInt_FromLong((long)result);
12103 {
12104 if (temp2)
12105 delete arg2;
12106 }
12107 return resultobj;
12108 fail:
12109 {
12110 if (temp2)
12111 delete arg2;
12112 }
12113 return NULL;
12114 }
12115
12116
12117 static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12118 PyObject *resultobj;
12119 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12120 PyObject *result;
12121 PyObject * obj0 = 0 ;
12122 char *kwnames[] = {
12123 (char *) "self", NULL
12124 };
12125
12126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
12127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12128 {
12129 PyThreadState* __tstate = wxPyBeginAllowThreads();
12130 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
12131
12132 wxPyEndAllowThreads(__tstate);
12133 if (PyErr_Occurred()) SWIG_fail;
12134 }
12135 resultobj = result;
12136 return resultobj;
12137 fail:
12138 return NULL;
12139 }
12140
12141
12142 static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
12143 PyObject *resultobj;
12144 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12145 wxFileTypeInfo *arg2 = 0 ;
12146 PyObject * obj0 = 0 ;
12147 PyObject * obj1 = 0 ;
12148 char *kwnames[] = {
12149 (char *) "self",(char *) "ft", NULL
12150 };
12151
12152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
12153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12154 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12155 if (arg2 == NULL) {
12156 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12157 }
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
12161
12162 wxPyEndAllowThreads(__tstate);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 }
12165 Py_INCREF(Py_None); resultobj = Py_None;
12166 return resultobj;
12167 fail:
12168 return NULL;
12169 }
12170
12171
12172 static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
12173 PyObject *resultobj;
12174 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12175 wxFileTypeInfo *arg2 = 0 ;
12176 wxFileType *result;
12177 PyObject * obj0 = 0 ;
12178 PyObject * obj1 = 0 ;
12179 char *kwnames[] = {
12180 (char *) "self",(char *) "ftInfo", NULL
12181 };
12182
12183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
12184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12185 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12186 if (arg2 == NULL) {
12187 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12188 }
12189 {
12190 PyThreadState* __tstate = wxPyBeginAllowThreads();
12191 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
12192
12193 wxPyEndAllowThreads(__tstate);
12194 if (PyErr_Occurred()) SWIG_fail;
12195 }
12196 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12197 return resultobj;
12198 fail:
12199 return NULL;
12200 }
12201
12202
12203 static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12204 PyObject *resultobj;
12205 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12206 wxFileType *arg2 = (wxFileType *) 0 ;
12207 bool result;
12208 PyObject * obj0 = 0 ;
12209 PyObject * obj1 = 0 ;
12210 char *kwnames[] = {
12211 (char *) "self",(char *) "ft", NULL
12212 };
12213
12214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
12215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12216 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12217 {
12218 PyThreadState* __tstate = wxPyBeginAllowThreads();
12219 result = (bool)(arg1)->Unassociate(arg2);
12220
12221 wxPyEndAllowThreads(__tstate);
12222 if (PyErr_Occurred()) SWIG_fail;
12223 }
12224 resultobj = PyInt_FromLong((long)result);
12225 return resultobj;
12226 fail:
12227 return NULL;
12228 }
12229
12230
12231 static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
12232 PyObject *resultobj;
12233 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12234 PyObject * obj0 = 0 ;
12235 char *kwnames[] = {
12236 (char *) "self", NULL
12237 };
12238
12239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
12240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12241 {
12242 PyThreadState* __tstate = wxPyBeginAllowThreads();
12243 delete arg1;
12244
12245 wxPyEndAllowThreads(__tstate);
12246 if (PyErr_Occurred()) SWIG_fail;
12247 }
12248 Py_INCREF(Py_None); resultobj = Py_None;
12249 return resultobj;
12250 fail:
12251 return NULL;
12252 }
12253
12254
12255 static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
12256 PyObject *obj;
12257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12258 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
12259 Py_INCREF(obj);
12260 return Py_BuildValue((char *)"");
12261 }
12262 static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
12263 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
12264 return 1;
12265 }
12266
12267
12268 static PyObject *_wrap_ART_TOOLBAR_get() {
12269 PyObject *pyobj;
12270
12271 {
12272 #if wxUSE_UNICODE
12273 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12274 #else
12275 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12276 #endif
12277 }
12278 return pyobj;
12279 }
12280
12281
12282 static int _wrap_ART_MENU_set(PyObject *_val) {
12283 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
12284 return 1;
12285 }
12286
12287
12288 static PyObject *_wrap_ART_MENU_get() {
12289 PyObject *pyobj;
12290
12291 {
12292 #if wxUSE_UNICODE
12293 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12294 #else
12295 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12296 #endif
12297 }
12298 return pyobj;
12299 }
12300
12301
12302 static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
12303 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
12304 return 1;
12305 }
12306
12307
12308 static PyObject *_wrap_ART_FRAME_ICON_get() {
12309 PyObject *pyobj;
12310
12311 {
12312 #if wxUSE_UNICODE
12313 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12314 #else
12315 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12316 #endif
12317 }
12318 return pyobj;
12319 }
12320
12321
12322 static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
12323 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
12324 return 1;
12325 }
12326
12327
12328 static PyObject *_wrap_ART_CMN_DIALOG_get() {
12329 PyObject *pyobj;
12330
12331 {
12332 #if wxUSE_UNICODE
12333 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12334 #else
12335 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12336 #endif
12337 }
12338 return pyobj;
12339 }
12340
12341
12342 static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
12343 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
12344 return 1;
12345 }
12346
12347
12348 static PyObject *_wrap_ART_HELP_BROWSER_get() {
12349 PyObject *pyobj;
12350
12351 {
12352 #if wxUSE_UNICODE
12353 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12354 #else
12355 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12356 #endif
12357 }
12358 return pyobj;
12359 }
12360
12361
12362 static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
12363 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
12364 return 1;
12365 }
12366
12367
12368 static PyObject *_wrap_ART_MESSAGE_BOX_get() {
12369 PyObject *pyobj;
12370
12371 {
12372 #if wxUSE_UNICODE
12373 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12374 #else
12375 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12376 #endif
12377 }
12378 return pyobj;
12379 }
12380
12381
12382 static int _wrap_ART_OTHER_set(PyObject *_val) {
12383 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
12384 return 1;
12385 }
12386
12387
12388 static PyObject *_wrap_ART_OTHER_get() {
12389 PyObject *pyobj;
12390
12391 {
12392 #if wxUSE_UNICODE
12393 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12394 #else
12395 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12396 #endif
12397 }
12398 return pyobj;
12399 }
12400
12401
12402 static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
12403 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
12404 return 1;
12405 }
12406
12407
12408 static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
12409 PyObject *pyobj;
12410
12411 {
12412 #if wxUSE_UNICODE
12413 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12414 #else
12415 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12416 #endif
12417 }
12418 return pyobj;
12419 }
12420
12421
12422 static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
12423 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
12424 return 1;
12425 }
12426
12427
12428 static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
12429 PyObject *pyobj;
12430
12431 {
12432 #if wxUSE_UNICODE
12433 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12434 #else
12435 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12436 #endif
12437 }
12438 return pyobj;
12439 }
12440
12441
12442 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
12443 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
12444 return 1;
12445 }
12446
12447
12448 static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
12449 PyObject *pyobj;
12450
12451 {
12452 #if wxUSE_UNICODE
12453 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12454 #else
12455 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12456 #endif
12457 }
12458 return pyobj;
12459 }
12460
12461
12462 static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
12463 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
12464 return 1;
12465 }
12466
12467
12468 static PyObject *_wrap_ART_HELP_SETTINGS_get() {
12469 PyObject *pyobj;
12470
12471 {
12472 #if wxUSE_UNICODE
12473 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12474 #else
12475 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12476 #endif
12477 }
12478 return pyobj;
12479 }
12480
12481
12482 static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
12483 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
12484 return 1;
12485 }
12486
12487
12488 static PyObject *_wrap_ART_HELP_BOOK_get() {
12489 PyObject *pyobj;
12490
12491 {
12492 #if wxUSE_UNICODE
12493 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12494 #else
12495 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12496 #endif
12497 }
12498 return pyobj;
12499 }
12500
12501
12502 static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
12503 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
12504 return 1;
12505 }
12506
12507
12508 static PyObject *_wrap_ART_HELP_FOLDER_get() {
12509 PyObject *pyobj;
12510
12511 {
12512 #if wxUSE_UNICODE
12513 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12514 #else
12515 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12516 #endif
12517 }
12518 return pyobj;
12519 }
12520
12521
12522 static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
12523 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
12524 return 1;
12525 }
12526
12527
12528 static PyObject *_wrap_ART_HELP_PAGE_get() {
12529 PyObject *pyobj;
12530
12531 {
12532 #if wxUSE_UNICODE
12533 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12534 #else
12535 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12536 #endif
12537 }
12538 return pyobj;
12539 }
12540
12541
12542 static int _wrap_ART_GO_BACK_set(PyObject *_val) {
12543 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
12544 return 1;
12545 }
12546
12547
12548 static PyObject *_wrap_ART_GO_BACK_get() {
12549 PyObject *pyobj;
12550
12551 {
12552 #if wxUSE_UNICODE
12553 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12554 #else
12555 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12556 #endif
12557 }
12558 return pyobj;
12559 }
12560
12561
12562 static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
12563 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
12564 return 1;
12565 }
12566
12567
12568 static PyObject *_wrap_ART_GO_FORWARD_get() {
12569 PyObject *pyobj;
12570
12571 {
12572 #if wxUSE_UNICODE
12573 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12574 #else
12575 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12576 #endif
12577 }
12578 return pyobj;
12579 }
12580
12581
12582 static int _wrap_ART_GO_UP_set(PyObject *_val) {
12583 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
12584 return 1;
12585 }
12586
12587
12588 static PyObject *_wrap_ART_GO_UP_get() {
12589 PyObject *pyobj;
12590
12591 {
12592 #if wxUSE_UNICODE
12593 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12594 #else
12595 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12596 #endif
12597 }
12598 return pyobj;
12599 }
12600
12601
12602 static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
12603 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
12604 return 1;
12605 }
12606
12607
12608 static PyObject *_wrap_ART_GO_DOWN_get() {
12609 PyObject *pyobj;
12610
12611 {
12612 #if wxUSE_UNICODE
12613 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12614 #else
12615 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12616 #endif
12617 }
12618 return pyobj;
12619 }
12620
12621
12622 static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
12623 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
12624 return 1;
12625 }
12626
12627
12628 static PyObject *_wrap_ART_GO_TO_PARENT_get() {
12629 PyObject *pyobj;
12630
12631 {
12632 #if wxUSE_UNICODE
12633 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12634 #else
12635 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12636 #endif
12637 }
12638 return pyobj;
12639 }
12640
12641
12642 static int _wrap_ART_GO_HOME_set(PyObject *_val) {
12643 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
12644 return 1;
12645 }
12646
12647
12648 static PyObject *_wrap_ART_GO_HOME_get() {
12649 PyObject *pyobj;
12650
12651 {
12652 #if wxUSE_UNICODE
12653 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12654 #else
12655 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12656 #endif
12657 }
12658 return pyobj;
12659 }
12660
12661
12662 static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
12663 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
12664 return 1;
12665 }
12666
12667
12668 static PyObject *_wrap_ART_FILE_OPEN_get() {
12669 PyObject *pyobj;
12670
12671 {
12672 #if wxUSE_UNICODE
12673 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12674 #else
12675 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12676 #endif
12677 }
12678 return pyobj;
12679 }
12680
12681
12682 static int _wrap_ART_PRINT_set(PyObject *_val) {
12683 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
12684 return 1;
12685 }
12686
12687
12688 static PyObject *_wrap_ART_PRINT_get() {
12689 PyObject *pyobj;
12690
12691 {
12692 #if wxUSE_UNICODE
12693 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12694 #else
12695 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12696 #endif
12697 }
12698 return pyobj;
12699 }
12700
12701
12702 static int _wrap_ART_HELP_set(PyObject *_val) {
12703 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
12704 return 1;
12705 }
12706
12707
12708 static PyObject *_wrap_ART_HELP_get() {
12709 PyObject *pyobj;
12710
12711 {
12712 #if wxUSE_UNICODE
12713 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12714 #else
12715 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12716 #endif
12717 }
12718 return pyobj;
12719 }
12720
12721
12722 static int _wrap_ART_TIP_set(PyObject *_val) {
12723 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
12724 return 1;
12725 }
12726
12727
12728 static PyObject *_wrap_ART_TIP_get() {
12729 PyObject *pyobj;
12730
12731 {
12732 #if wxUSE_UNICODE
12733 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12734 #else
12735 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12736 #endif
12737 }
12738 return pyobj;
12739 }
12740
12741
12742 static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
12743 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
12744 return 1;
12745 }
12746
12747
12748 static PyObject *_wrap_ART_REPORT_VIEW_get() {
12749 PyObject *pyobj;
12750
12751 {
12752 #if wxUSE_UNICODE
12753 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12754 #else
12755 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12756 #endif
12757 }
12758 return pyobj;
12759 }
12760
12761
12762 static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
12763 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
12764 return 1;
12765 }
12766
12767
12768 static PyObject *_wrap_ART_LIST_VIEW_get() {
12769 PyObject *pyobj;
12770
12771 {
12772 #if wxUSE_UNICODE
12773 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12774 #else
12775 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12776 #endif
12777 }
12778 return pyobj;
12779 }
12780
12781
12782 static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
12783 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
12784 return 1;
12785 }
12786
12787
12788 static PyObject *_wrap_ART_NEW_DIR_get() {
12789 PyObject *pyobj;
12790
12791 {
12792 #if wxUSE_UNICODE
12793 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12794 #else
12795 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12796 #endif
12797 }
12798 return pyobj;
12799 }
12800
12801
12802 static int _wrap_ART_FOLDER_set(PyObject *_val) {
12803 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
12804 return 1;
12805 }
12806
12807
12808 static PyObject *_wrap_ART_FOLDER_get() {
12809 PyObject *pyobj;
12810
12811 {
12812 #if wxUSE_UNICODE
12813 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12814 #else
12815 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12816 #endif
12817 }
12818 return pyobj;
12819 }
12820
12821
12822 static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
12823 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
12824 return 1;
12825 }
12826
12827
12828 static PyObject *_wrap_ART_GO_DIR_UP_get() {
12829 PyObject *pyobj;
12830
12831 {
12832 #if wxUSE_UNICODE
12833 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12834 #else
12835 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12836 #endif
12837 }
12838 return pyobj;
12839 }
12840
12841
12842 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
12843 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
12844 return 1;
12845 }
12846
12847
12848 static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
12849 PyObject *pyobj;
12850
12851 {
12852 #if wxUSE_UNICODE
12853 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12854 #else
12855 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12856 #endif
12857 }
12858 return pyobj;
12859 }
12860
12861
12862 static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
12863 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
12864 return 1;
12865 }
12866
12867
12868 static PyObject *_wrap_ART_NORMAL_FILE_get() {
12869 PyObject *pyobj;
12870
12871 {
12872 #if wxUSE_UNICODE
12873 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12874 #else
12875 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12876 #endif
12877 }
12878 return pyobj;
12879 }
12880
12881
12882 static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
12883 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
12884 return 1;
12885 }
12886
12887
12888 static PyObject *_wrap_ART_TICK_MARK_get() {
12889 PyObject *pyobj;
12890
12891 {
12892 #if wxUSE_UNICODE
12893 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12894 #else
12895 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12896 #endif
12897 }
12898 return pyobj;
12899 }
12900
12901
12902 static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
12903 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
12904 return 1;
12905 }
12906
12907
12908 static PyObject *_wrap_ART_CROSS_MARK_get() {
12909 PyObject *pyobj;
12910
12911 {
12912 #if wxUSE_UNICODE
12913 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12914 #else
12915 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12916 #endif
12917 }
12918 return pyobj;
12919 }
12920
12921
12922 static int _wrap_ART_ERROR_set(PyObject *_val) {
12923 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
12924 return 1;
12925 }
12926
12927
12928 static PyObject *_wrap_ART_ERROR_get() {
12929 PyObject *pyobj;
12930
12931 {
12932 #if wxUSE_UNICODE
12933 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12934 #else
12935 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12936 #endif
12937 }
12938 return pyobj;
12939 }
12940
12941
12942 static int _wrap_ART_QUESTION_set(PyObject *_val) {
12943 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
12944 return 1;
12945 }
12946
12947
12948 static PyObject *_wrap_ART_QUESTION_get() {
12949 PyObject *pyobj;
12950
12951 {
12952 #if wxUSE_UNICODE
12953 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12954 #else
12955 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12956 #endif
12957 }
12958 return pyobj;
12959 }
12960
12961
12962 static int _wrap_ART_WARNING_set(PyObject *_val) {
12963 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
12964 return 1;
12965 }
12966
12967
12968 static PyObject *_wrap_ART_WARNING_get() {
12969 PyObject *pyobj;
12970
12971 {
12972 #if wxUSE_UNICODE
12973 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12974 #else
12975 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12976 #endif
12977 }
12978 return pyobj;
12979 }
12980
12981
12982 static int _wrap_ART_INFORMATION_set(PyObject *_val) {
12983 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
12984 return 1;
12985 }
12986
12987
12988 static PyObject *_wrap_ART_INFORMATION_get() {
12989 PyObject *pyobj;
12990
12991 {
12992 #if wxUSE_UNICODE
12993 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12994 #else
12995 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12996 #endif
12997 }
12998 return pyobj;
12999 }
13000
13001
13002 static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
13003 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
13004 return 1;
13005 }
13006
13007
13008 static PyObject *_wrap_ART_MISSING_IMAGE_get() {
13009 PyObject *pyobj;
13010
13011 {
13012 #if wxUSE_UNICODE
13013 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
13014 #else
13015 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
13016 #endif
13017 }
13018 return pyobj;
13019 }
13020
13021
13022 static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13023 PyObject *resultobj;
13024 wxPyArtProvider *result;
13025 char *kwnames[] = {
13026 NULL
13027 };
13028
13029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
13030 {
13031 PyThreadState* __tstate = wxPyBeginAllowThreads();
13032 result = (wxPyArtProvider *)new wxPyArtProvider();
13033
13034 wxPyEndAllowThreads(__tstate);
13035 if (PyErr_Occurred()) SWIG_fail;
13036 }
13037 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyArtProvider, 1);
13038 return resultobj;
13039 fail:
13040 return NULL;
13041 }
13042
13043
13044 static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13045 PyObject *resultobj;
13046 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13047 PyObject *arg2 = (PyObject *) 0 ;
13048 PyObject *arg3 = (PyObject *) 0 ;
13049 PyObject * obj0 = 0 ;
13050 PyObject * obj1 = 0 ;
13051 PyObject * obj2 = 0 ;
13052 char *kwnames[] = {
13053 (char *) "self",(char *) "self",(char *) "_class", NULL
13054 };
13055
13056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13058 arg2 = obj1;
13059 arg3 = obj2;
13060 {
13061 PyThreadState* __tstate = wxPyBeginAllowThreads();
13062 (arg1)->_setCallbackInfo(arg2,arg3);
13063
13064 wxPyEndAllowThreads(__tstate);
13065 if (PyErr_Occurred()) SWIG_fail;
13066 }
13067 Py_INCREF(Py_None); resultobj = Py_None;
13068 return resultobj;
13069 fail:
13070 return NULL;
13071 }
13072
13073
13074 static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13075 PyObject *resultobj;
13076 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13077 PyObject * obj0 = 0 ;
13078 char *kwnames[] = {
13079 (char *) "provider", NULL
13080 };
13081
13082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
13083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13084 {
13085 PyThreadState* __tstate = wxPyBeginAllowThreads();
13086 wxPyArtProvider::PushProvider(arg1);
13087
13088 wxPyEndAllowThreads(__tstate);
13089 if (PyErr_Occurred()) SWIG_fail;
13090 }
13091 Py_INCREF(Py_None); resultobj = Py_None;
13092 return resultobj;
13093 fail:
13094 return NULL;
13095 }
13096
13097
13098 static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13099 PyObject *resultobj;
13100 bool result;
13101 char *kwnames[] = {
13102 NULL
13103 };
13104
13105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
13106 {
13107 PyThreadState* __tstate = wxPyBeginAllowThreads();
13108 result = (bool)wxPyArtProvider::PopProvider();
13109
13110 wxPyEndAllowThreads(__tstate);
13111 if (PyErr_Occurred()) SWIG_fail;
13112 }
13113 resultobj = PyInt_FromLong((long)result);
13114 return resultobj;
13115 fail:
13116 return NULL;
13117 }
13118
13119
13120 static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13121 PyObject *resultobj;
13122 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13123 bool result;
13124 PyObject * obj0 = 0 ;
13125 char *kwnames[] = {
13126 (char *) "provider", NULL
13127 };
13128
13129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
13130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13131 {
13132 PyThreadState* __tstate = wxPyBeginAllowThreads();
13133 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
13134
13135 wxPyEndAllowThreads(__tstate);
13136 if (PyErr_Occurred()) SWIG_fail;
13137 }
13138 resultobj = PyInt_FromLong((long)result);
13139 return resultobj;
13140 fail:
13141 return NULL;
13142 }
13143
13144
13145 static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13146 PyObject *resultobj;
13147 wxString *arg1 = 0 ;
13148 wxString const &arg2_defvalue = wxPyART_OTHER ;
13149 wxString *arg2 = (wxString *) &arg2_defvalue ;
13150 wxSize const &arg3_defvalue = wxDefaultSize ;
13151 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13152 wxBitmap result;
13153 bool temp1 = False ;
13154 bool temp2 = False ;
13155 wxSize temp3 ;
13156 PyObject * obj0 = 0 ;
13157 PyObject * obj1 = 0 ;
13158 PyObject * obj2 = 0 ;
13159 char *kwnames[] = {
13160 (char *) "id",(char *) "client",(char *) "size", NULL
13161 };
13162
13163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13164 {
13165 arg1 = wxString_in_helper(obj0);
13166 if (arg1 == NULL) SWIG_fail;
13167 temp1 = True;
13168 }
13169 if (obj1) {
13170 {
13171 arg2 = wxString_in_helper(obj1);
13172 if (arg2 == NULL) SWIG_fail;
13173 temp2 = True;
13174 }
13175 }
13176 if (obj2) {
13177 {
13178 arg3 = &temp3;
13179 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13180 }
13181 }
13182 {
13183 PyThreadState* __tstate = wxPyBeginAllowThreads();
13184 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13185
13186 wxPyEndAllowThreads(__tstate);
13187 if (PyErr_Occurred()) SWIG_fail;
13188 }
13189 {
13190 wxBitmap * resultptr;
13191 resultptr = new wxBitmap((wxBitmap &) result);
13192 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13193 }
13194 {
13195 if (temp1)
13196 delete arg1;
13197 }
13198 {
13199 if (temp2)
13200 delete arg2;
13201 }
13202 return resultobj;
13203 fail:
13204 {
13205 if (temp1)
13206 delete arg1;
13207 }
13208 {
13209 if (temp2)
13210 delete arg2;
13211 }
13212 return NULL;
13213 }
13214
13215
13216 static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
13217 PyObject *resultobj;
13218 wxString *arg1 = 0 ;
13219 wxString const &arg2_defvalue = wxPyART_OTHER ;
13220 wxString *arg2 = (wxString *) &arg2_defvalue ;
13221 wxSize const &arg3_defvalue = wxDefaultSize ;
13222 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13223 wxIcon result;
13224 bool temp1 = False ;
13225 bool temp2 = False ;
13226 wxSize temp3 ;
13227 PyObject * obj0 = 0 ;
13228 PyObject * obj1 = 0 ;
13229 PyObject * obj2 = 0 ;
13230 char *kwnames[] = {
13231 (char *) "id",(char *) "client",(char *) "size", NULL
13232 };
13233
13234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13235 {
13236 arg1 = wxString_in_helper(obj0);
13237 if (arg1 == NULL) SWIG_fail;
13238 temp1 = True;
13239 }
13240 if (obj1) {
13241 {
13242 arg2 = wxString_in_helper(obj1);
13243 if (arg2 == NULL) SWIG_fail;
13244 temp2 = True;
13245 }
13246 }
13247 if (obj2) {
13248 {
13249 arg3 = &temp3;
13250 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13251 }
13252 }
13253 {
13254 PyThreadState* __tstate = wxPyBeginAllowThreads();
13255 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13256
13257 wxPyEndAllowThreads(__tstate);
13258 if (PyErr_Occurred()) SWIG_fail;
13259 }
13260 {
13261 wxIcon * resultptr;
13262 resultptr = new wxIcon((wxIcon &) result);
13263 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
13264 }
13265 {
13266 if (temp1)
13267 delete arg1;
13268 }
13269 {
13270 if (temp2)
13271 delete arg2;
13272 }
13273 return resultobj;
13274 fail:
13275 {
13276 if (temp1)
13277 delete arg1;
13278 }
13279 {
13280 if (temp2)
13281 delete arg2;
13282 }
13283 return NULL;
13284 }
13285
13286
13287 static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
13288 PyObject *resultobj;
13289 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13290 PyObject * obj0 = 0 ;
13291 char *kwnames[] = {
13292 (char *) "self", NULL
13293 };
13294
13295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
13296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13297 {
13298 PyThreadState* __tstate = wxPyBeginAllowThreads();
13299 wxPyArtProvider_Destroy(arg1);
13300
13301 wxPyEndAllowThreads(__tstate);
13302 if (PyErr_Occurred()) SWIG_fail;
13303 }
13304 Py_INCREF(Py_None); resultobj = Py_None;
13305 return resultobj;
13306 fail:
13307 return NULL;
13308 }
13309
13310
13311 static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
13312 PyObject *obj;
13313 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13314 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
13315 Py_INCREF(obj);
13316 return Py_BuildValue((char *)"");
13317 }
13318 static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
13319 PyObject *resultobj;
13320 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13321 PyObject * obj0 = 0 ;
13322 char *kwnames[] = {
13323 (char *) "self", NULL
13324 };
13325
13326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
13327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13328 {
13329 PyThreadState* __tstate = wxPyBeginAllowThreads();
13330 delete arg1;
13331
13332 wxPyEndAllowThreads(__tstate);
13333 if (PyErr_Occurred()) SWIG_fail;
13334 }
13335 Py_INCREF(Py_None); resultobj = Py_None;
13336 return resultobj;
13337 fail:
13338 return NULL;
13339 }
13340
13341
13342 static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
13343 PyObject *resultobj;
13344 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13345 wxConfigBase *result;
13346 PyObject * obj0 = 0 ;
13347 char *kwnames[] = {
13348 (char *) "pConfig", NULL
13349 };
13350
13351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
13352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13353 {
13354 PyThreadState* __tstate = wxPyBeginAllowThreads();
13355 result = (wxConfigBase *)wxConfigBase::Set(arg1);
13356
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13361 return resultobj;
13362 fail:
13363 return NULL;
13364 }
13365
13366
13367 static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
13368 PyObject *resultobj;
13369 bool arg1 = (bool) True ;
13370 wxConfigBase *result;
13371 PyObject * obj0 = 0 ;
13372 char *kwnames[] = {
13373 (char *) "createOnDemand", NULL
13374 };
13375
13376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
13377 if (obj0) {
13378 arg1 = PyInt_AsLong(obj0) ? true : false;
13379 if (PyErr_Occurred()) SWIG_fail;
13380 }
13381 {
13382 PyThreadState* __tstate = wxPyBeginAllowThreads();
13383 result = (wxConfigBase *)wxConfigBase::Get(arg1);
13384
13385 wxPyEndAllowThreads(__tstate);
13386 if (PyErr_Occurred()) SWIG_fail;
13387 }
13388 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13389 return resultobj;
13390 fail:
13391 return NULL;
13392 }
13393
13394
13395 static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13396 PyObject *resultobj;
13397 wxConfigBase *result;
13398 char *kwnames[] = {
13399 NULL
13400 };
13401
13402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
13403 {
13404 PyThreadState* __tstate = wxPyBeginAllowThreads();
13405 result = (wxConfigBase *)wxConfigBase::Create();
13406
13407 wxPyEndAllowThreads(__tstate);
13408 if (PyErr_Occurred()) SWIG_fail;
13409 }
13410 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13411 return resultobj;
13412 fail:
13413 return NULL;
13414 }
13415
13416
13417 static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
13418 PyObject *resultobj;
13419 char *kwnames[] = {
13420 NULL
13421 };
13422
13423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
13424 {
13425 PyThreadState* __tstate = wxPyBeginAllowThreads();
13426 wxConfigBase::DontCreateOnDemand();
13427
13428 wxPyEndAllowThreads(__tstate);
13429 if (PyErr_Occurred()) SWIG_fail;
13430 }
13431 Py_INCREF(Py_None); resultobj = Py_None;
13432 return resultobj;
13433 fail:
13434 return NULL;
13435 }
13436
13437
13438 static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13439 PyObject *resultobj;
13440 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13441 wxString *arg2 = 0 ;
13442 bool temp2 = False ;
13443 PyObject * obj0 = 0 ;
13444 PyObject * obj1 = 0 ;
13445 char *kwnames[] = {
13446 (char *) "self",(char *) "strPath", NULL
13447 };
13448
13449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
13450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13451 {
13452 arg2 = wxString_in_helper(obj1);
13453 if (arg2 == NULL) SWIG_fail;
13454 temp2 = True;
13455 }
13456 {
13457 PyThreadState* __tstate = wxPyBeginAllowThreads();
13458 (arg1)->SetPath((wxString const &)*arg2);
13459
13460 wxPyEndAllowThreads(__tstate);
13461 if (PyErr_Occurred()) SWIG_fail;
13462 }
13463 Py_INCREF(Py_None); resultobj = Py_None;
13464 {
13465 if (temp2)
13466 delete arg2;
13467 }
13468 return resultobj;
13469 fail:
13470 {
13471 if (temp2)
13472 delete arg2;
13473 }
13474 return NULL;
13475 }
13476
13477
13478 static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13479 PyObject *resultobj;
13480 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13481 wxString *result;
13482 PyObject * obj0 = 0 ;
13483 char *kwnames[] = {
13484 (char *) "self", NULL
13485 };
13486
13487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
13488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13489 {
13490 PyThreadState* __tstate = wxPyBeginAllowThreads();
13491 {
13492 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
13493 result = (wxString *) &_result_ref;
13494 }
13495
13496 wxPyEndAllowThreads(__tstate);
13497 if (PyErr_Occurred()) SWIG_fail;
13498 }
13499 {
13500 #if wxUSE_UNICODE
13501 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13502 #else
13503 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13504 #endif
13505 }
13506 return resultobj;
13507 fail:
13508 return NULL;
13509 }
13510
13511
13512 static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13513 PyObject *resultobj;
13514 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13515 PyObject *result;
13516 PyObject * obj0 = 0 ;
13517 char *kwnames[] = {
13518 (char *) "self", NULL
13519 };
13520
13521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
13522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13523 {
13524 PyThreadState* __tstate = wxPyBeginAllowThreads();
13525 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
13526
13527 wxPyEndAllowThreads(__tstate);
13528 if (PyErr_Occurred()) SWIG_fail;
13529 }
13530 resultobj = result;
13531 return resultobj;
13532 fail:
13533 return NULL;
13534 }
13535
13536
13537 static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13538 PyObject *resultobj;
13539 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13540 long arg2 ;
13541 PyObject *result;
13542 PyObject * obj0 = 0 ;
13543 char *kwnames[] = {
13544 (char *) "self",(char *) "index", NULL
13545 };
13546
13547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextGroup",kwnames,&obj0,&arg2)) goto fail;
13548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13549 {
13550 PyThreadState* __tstate = wxPyBeginAllowThreads();
13551 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
13552
13553 wxPyEndAllowThreads(__tstate);
13554 if (PyErr_Occurred()) SWIG_fail;
13555 }
13556 resultobj = result;
13557 return resultobj;
13558 fail:
13559 return NULL;
13560 }
13561
13562
13563 static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13564 PyObject *resultobj;
13565 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13566 PyObject *result;
13567 PyObject * obj0 = 0 ;
13568 char *kwnames[] = {
13569 (char *) "self", NULL
13570 };
13571
13572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
13573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13574 {
13575 PyThreadState* __tstate = wxPyBeginAllowThreads();
13576 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
13577
13578 wxPyEndAllowThreads(__tstate);
13579 if (PyErr_Occurred()) SWIG_fail;
13580 }
13581 resultobj = result;
13582 return resultobj;
13583 fail:
13584 return NULL;
13585 }
13586
13587
13588 static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13589 PyObject *resultobj;
13590 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13591 long arg2 ;
13592 PyObject *result;
13593 PyObject * obj0 = 0 ;
13594 char *kwnames[] = {
13595 (char *) "self",(char *) "index", NULL
13596 };
13597
13598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextEntry",kwnames,&obj0,&arg2)) goto fail;
13599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13600 {
13601 PyThreadState* __tstate = wxPyBeginAllowThreads();
13602 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
13603
13604 wxPyEndAllowThreads(__tstate);
13605 if (PyErr_Occurred()) SWIG_fail;
13606 }
13607 resultobj = result;
13608 return resultobj;
13609 fail:
13610 return NULL;
13611 }
13612
13613
13614 static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
13615 PyObject *resultobj;
13616 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13617 bool arg2 = (bool) False ;
13618 size_t result;
13619 PyObject * obj0 = 0 ;
13620 PyObject * obj1 = 0 ;
13621 char *kwnames[] = {
13622 (char *) "self",(char *) "bRecursive", NULL
13623 };
13624
13625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
13626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13627 if (obj1) {
13628 arg2 = PyInt_AsLong(obj1) ? true : false;
13629 if (PyErr_Occurred()) SWIG_fail;
13630 }
13631 {
13632 PyThreadState* __tstate = wxPyBeginAllowThreads();
13633 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
13634
13635 wxPyEndAllowThreads(__tstate);
13636 if (PyErr_Occurred()) SWIG_fail;
13637 }
13638 resultobj = PyInt_FromLong((long)result);
13639 return resultobj;
13640 fail:
13641 return NULL;
13642 }
13643
13644
13645 static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
13646 PyObject *resultobj;
13647 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13648 bool arg2 = (bool) False ;
13649 size_t result;
13650 PyObject * obj0 = 0 ;
13651 PyObject * obj1 = 0 ;
13652 char *kwnames[] = {
13653 (char *) "self",(char *) "bRecursive", NULL
13654 };
13655
13656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
13657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13658 if (obj1) {
13659 arg2 = PyInt_AsLong(obj1) ? true : false;
13660 if (PyErr_Occurred()) SWIG_fail;
13661 }
13662 {
13663 PyThreadState* __tstate = wxPyBeginAllowThreads();
13664 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
13665
13666 wxPyEndAllowThreads(__tstate);
13667 if (PyErr_Occurred()) SWIG_fail;
13668 }
13669 resultobj = PyInt_FromLong((long)result);
13670 return resultobj;
13671 fail:
13672 return NULL;
13673 }
13674
13675
13676 static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13677 PyObject *resultobj;
13678 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13679 wxString *arg2 = 0 ;
13680 bool result;
13681 bool temp2 = False ;
13682 PyObject * obj0 = 0 ;
13683 PyObject * obj1 = 0 ;
13684 char *kwnames[] = {
13685 (char *) "self",(char *) "strName", NULL
13686 };
13687
13688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
13689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13690 {
13691 arg2 = wxString_in_helper(obj1);
13692 if (arg2 == NULL) SWIG_fail;
13693 temp2 = True;
13694 }
13695 {
13696 PyThreadState* __tstate = wxPyBeginAllowThreads();
13697 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
13698
13699 wxPyEndAllowThreads(__tstate);
13700 if (PyErr_Occurred()) SWIG_fail;
13701 }
13702 resultobj = PyInt_FromLong((long)result);
13703 {
13704 if (temp2)
13705 delete arg2;
13706 }
13707 return resultobj;
13708 fail:
13709 {
13710 if (temp2)
13711 delete arg2;
13712 }
13713 return NULL;
13714 }
13715
13716
13717 static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13718 PyObject *resultobj;
13719 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13720 wxString *arg2 = 0 ;
13721 bool result;
13722 bool temp2 = False ;
13723 PyObject * obj0 = 0 ;
13724 PyObject * obj1 = 0 ;
13725 char *kwnames[] = {
13726 (char *) "self",(char *) "strName", NULL
13727 };
13728
13729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
13730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13731 {
13732 arg2 = wxString_in_helper(obj1);
13733 if (arg2 == NULL) SWIG_fail;
13734 temp2 = True;
13735 }
13736 {
13737 PyThreadState* __tstate = wxPyBeginAllowThreads();
13738 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
13739
13740 wxPyEndAllowThreads(__tstate);
13741 if (PyErr_Occurred()) SWIG_fail;
13742 }
13743 resultobj = PyInt_FromLong((long)result);
13744 {
13745 if (temp2)
13746 delete arg2;
13747 }
13748 return resultobj;
13749 fail:
13750 {
13751 if (temp2)
13752 delete arg2;
13753 }
13754 return NULL;
13755 }
13756
13757
13758 static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
13759 PyObject *resultobj;
13760 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13761 wxString *arg2 = 0 ;
13762 bool result;
13763 bool temp2 = False ;
13764 PyObject * obj0 = 0 ;
13765 PyObject * obj1 = 0 ;
13766 char *kwnames[] = {
13767 (char *) "self",(char *) "strName", NULL
13768 };
13769
13770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
13771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13772 {
13773 arg2 = wxString_in_helper(obj1);
13774 if (arg2 == NULL) SWIG_fail;
13775 temp2 = True;
13776 }
13777 {
13778 PyThreadState* __tstate = wxPyBeginAllowThreads();
13779 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
13780
13781 wxPyEndAllowThreads(__tstate);
13782 if (PyErr_Occurred()) SWIG_fail;
13783 }
13784 resultobj = PyInt_FromLong((long)result);
13785 {
13786 if (temp2)
13787 delete arg2;
13788 }
13789 return resultobj;
13790 fail:
13791 {
13792 if (temp2)
13793 delete arg2;
13794 }
13795 return NULL;
13796 }
13797
13798
13799 static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
13800 PyObject *resultobj;
13801 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13802 wxString *arg2 = 0 ;
13803 int result;
13804 bool temp2 = False ;
13805 PyObject * obj0 = 0 ;
13806 PyObject * obj1 = 0 ;
13807 char *kwnames[] = {
13808 (char *) "self",(char *) "name", NULL
13809 };
13810
13811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
13812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13813 {
13814 arg2 = wxString_in_helper(obj1);
13815 if (arg2 == NULL) SWIG_fail;
13816 temp2 = True;
13817 }
13818 {
13819 PyThreadState* __tstate = wxPyBeginAllowThreads();
13820 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
13821
13822 wxPyEndAllowThreads(__tstate);
13823 if (PyErr_Occurred()) SWIG_fail;
13824 }
13825 resultobj = PyInt_FromLong((long)result);
13826 {
13827 if (temp2)
13828 delete arg2;
13829 }
13830 return resultobj;
13831 fail:
13832 {
13833 if (temp2)
13834 delete arg2;
13835 }
13836 return NULL;
13837 }
13838
13839
13840 static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
13841 PyObject *resultobj;
13842 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13843 wxString *arg2 = 0 ;
13844 wxString const &arg3_defvalue = wxPyEmptyString ;
13845 wxString *arg3 = (wxString *) &arg3_defvalue ;
13846 wxString result;
13847 bool temp2 = False ;
13848 bool temp3 = False ;
13849 PyObject * obj0 = 0 ;
13850 PyObject * obj1 = 0 ;
13851 PyObject * obj2 = 0 ;
13852 char *kwnames[] = {
13853 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13854 };
13855
13856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
13857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13858 {
13859 arg2 = wxString_in_helper(obj1);
13860 if (arg2 == NULL) SWIG_fail;
13861 temp2 = True;
13862 }
13863 if (obj2) {
13864 {
13865 arg3 = wxString_in_helper(obj2);
13866 if (arg3 == NULL) SWIG_fail;
13867 temp3 = True;
13868 }
13869 }
13870 {
13871 PyThreadState* __tstate = wxPyBeginAllowThreads();
13872 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
13873
13874 wxPyEndAllowThreads(__tstate);
13875 if (PyErr_Occurred()) SWIG_fail;
13876 }
13877 {
13878 #if wxUSE_UNICODE
13879 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13880 #else
13881 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13882 #endif
13883 }
13884 {
13885 if (temp2)
13886 delete arg2;
13887 }
13888 {
13889 if (temp3)
13890 delete arg3;
13891 }
13892 return resultobj;
13893 fail:
13894 {
13895 if (temp2)
13896 delete arg2;
13897 }
13898 {
13899 if (temp3)
13900 delete arg3;
13901 }
13902 return NULL;
13903 }
13904
13905
13906 static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13907 PyObject *resultobj;
13908 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13909 wxString *arg2 = 0 ;
13910 long arg3 = (long) 0 ;
13911 long result;
13912 bool temp2 = False ;
13913 PyObject * obj0 = 0 ;
13914 PyObject * obj1 = 0 ;
13915 char *kwnames[] = {
13916 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13917 };
13918
13919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
13920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13921 {
13922 arg2 = wxString_in_helper(obj1);
13923 if (arg2 == NULL) SWIG_fail;
13924 temp2 = True;
13925 }
13926 {
13927 PyThreadState* __tstate = wxPyBeginAllowThreads();
13928 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
13929
13930 wxPyEndAllowThreads(__tstate);
13931 if (PyErr_Occurred()) SWIG_fail;
13932 }
13933 resultobj = PyInt_FromLong((long)result);
13934 {
13935 if (temp2)
13936 delete arg2;
13937 }
13938 return resultobj;
13939 fail:
13940 {
13941 if (temp2)
13942 delete arg2;
13943 }
13944 return NULL;
13945 }
13946
13947
13948 static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
13949 PyObject *resultobj;
13950 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13951 wxString *arg2 = 0 ;
13952 double arg3 = (double) 0.0 ;
13953 double result;
13954 bool temp2 = False ;
13955 PyObject * obj0 = 0 ;
13956 PyObject * obj1 = 0 ;
13957 char *kwnames[] = {
13958 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13959 };
13960
13961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|d:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
13962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13963 {
13964 arg2 = wxString_in_helper(obj1);
13965 if (arg2 == NULL) SWIG_fail;
13966 temp2 = True;
13967 }
13968 {
13969 PyThreadState* __tstate = wxPyBeginAllowThreads();
13970 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
13971
13972 wxPyEndAllowThreads(__tstate);
13973 if (PyErr_Occurred()) SWIG_fail;
13974 }
13975 resultobj = PyFloat_FromDouble(result);
13976 {
13977 if (temp2)
13978 delete arg2;
13979 }
13980 return resultobj;
13981 fail:
13982 {
13983 if (temp2)
13984 delete arg2;
13985 }
13986 return NULL;
13987 }
13988
13989
13990 static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
13991 PyObject *resultobj;
13992 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13993 wxString *arg2 = 0 ;
13994 bool arg3 = (bool) False ;
13995 bool result;
13996 bool temp2 = False ;
13997 PyObject * obj0 = 0 ;
13998 PyObject * obj1 = 0 ;
13999 PyObject * obj2 = 0 ;
14000 char *kwnames[] = {
14001 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14002 };
14003
14004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
14005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14006 {
14007 arg2 = wxString_in_helper(obj1);
14008 if (arg2 == NULL) SWIG_fail;
14009 temp2 = True;
14010 }
14011 if (obj2) {
14012 arg3 = PyInt_AsLong(obj2) ? true : false;
14013 if (PyErr_Occurred()) SWIG_fail;
14014 }
14015 {
14016 PyThreadState* __tstate = wxPyBeginAllowThreads();
14017 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
14018
14019 wxPyEndAllowThreads(__tstate);
14020 if (PyErr_Occurred()) SWIG_fail;
14021 }
14022 resultobj = PyInt_FromLong((long)result);
14023 {
14024 if (temp2)
14025 delete arg2;
14026 }
14027 return resultobj;
14028 fail:
14029 {
14030 if (temp2)
14031 delete arg2;
14032 }
14033 return NULL;
14034 }
14035
14036
14037 static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
14038 PyObject *resultobj;
14039 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14040 wxString *arg2 = 0 ;
14041 wxString *arg3 = 0 ;
14042 bool result;
14043 bool temp2 = False ;
14044 bool temp3 = False ;
14045 PyObject * obj0 = 0 ;
14046 PyObject * obj1 = 0 ;
14047 PyObject * obj2 = 0 ;
14048 char *kwnames[] = {
14049 (char *) "self",(char *) "key",(char *) "value", NULL
14050 };
14051
14052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
14053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14054 {
14055 arg2 = wxString_in_helper(obj1);
14056 if (arg2 == NULL) SWIG_fail;
14057 temp2 = True;
14058 }
14059 {
14060 arg3 = wxString_in_helper(obj2);
14061 if (arg3 == NULL) SWIG_fail;
14062 temp3 = True;
14063 }
14064 {
14065 PyThreadState* __tstate = wxPyBeginAllowThreads();
14066 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
14067
14068 wxPyEndAllowThreads(__tstate);
14069 if (PyErr_Occurred()) SWIG_fail;
14070 }
14071 resultobj = PyInt_FromLong((long)result);
14072 {
14073 if (temp2)
14074 delete arg2;
14075 }
14076 {
14077 if (temp3)
14078 delete arg3;
14079 }
14080 return resultobj;
14081 fail:
14082 {
14083 if (temp2)
14084 delete arg2;
14085 }
14086 {
14087 if (temp3)
14088 delete arg3;
14089 }
14090 return NULL;
14091 }
14092
14093
14094 static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
14095 PyObject *resultobj;
14096 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14097 wxString *arg2 = 0 ;
14098 long arg3 ;
14099 bool result;
14100 bool temp2 = False ;
14101 PyObject * obj0 = 0 ;
14102 PyObject * obj1 = 0 ;
14103 char *kwnames[] = {
14104 (char *) "self",(char *) "key",(char *) "value", NULL
14105 };
14106
14107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
14108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14109 {
14110 arg2 = wxString_in_helper(obj1);
14111 if (arg2 == NULL) SWIG_fail;
14112 temp2 = True;
14113 }
14114 {
14115 PyThreadState* __tstate = wxPyBeginAllowThreads();
14116 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14117
14118 wxPyEndAllowThreads(__tstate);
14119 if (PyErr_Occurred()) SWIG_fail;
14120 }
14121 resultobj = PyInt_FromLong((long)result);
14122 {
14123 if (temp2)
14124 delete arg2;
14125 }
14126 return resultobj;
14127 fail:
14128 {
14129 if (temp2)
14130 delete arg2;
14131 }
14132 return NULL;
14133 }
14134
14135
14136 static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
14137 PyObject *resultobj;
14138 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14139 wxString *arg2 = 0 ;
14140 double arg3 ;
14141 bool result;
14142 bool temp2 = False ;
14143 PyObject * obj0 = 0 ;
14144 PyObject * obj1 = 0 ;
14145 char *kwnames[] = {
14146 (char *) "self",(char *) "key",(char *) "value", NULL
14147 };
14148
14149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
14150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14151 {
14152 arg2 = wxString_in_helper(obj1);
14153 if (arg2 == NULL) SWIG_fail;
14154 temp2 = True;
14155 }
14156 {
14157 PyThreadState* __tstate = wxPyBeginAllowThreads();
14158 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14159
14160 wxPyEndAllowThreads(__tstate);
14161 if (PyErr_Occurred()) SWIG_fail;
14162 }
14163 resultobj = PyInt_FromLong((long)result);
14164 {
14165 if (temp2)
14166 delete arg2;
14167 }
14168 return resultobj;
14169 fail:
14170 {
14171 if (temp2)
14172 delete arg2;
14173 }
14174 return NULL;
14175 }
14176
14177
14178 static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
14179 PyObject *resultobj;
14180 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14181 wxString *arg2 = 0 ;
14182 bool arg3 ;
14183 bool result;
14184 bool temp2 = False ;
14185 PyObject * obj0 = 0 ;
14186 PyObject * obj1 = 0 ;
14187 PyObject * obj2 = 0 ;
14188 char *kwnames[] = {
14189 (char *) "self",(char *) "key",(char *) "value", NULL
14190 };
14191
14192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
14193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14194 {
14195 arg2 = wxString_in_helper(obj1);
14196 if (arg2 == NULL) SWIG_fail;
14197 temp2 = True;
14198 }
14199 arg3 = PyInt_AsLong(obj2) ? true : false;
14200 if (PyErr_Occurred()) SWIG_fail;
14201 {
14202 PyThreadState* __tstate = wxPyBeginAllowThreads();
14203 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14204
14205 wxPyEndAllowThreads(__tstate);
14206 if (PyErr_Occurred()) SWIG_fail;
14207 }
14208 resultobj = PyInt_FromLong((long)result);
14209 {
14210 if (temp2)
14211 delete arg2;
14212 }
14213 return resultobj;
14214 fail:
14215 {
14216 if (temp2)
14217 delete arg2;
14218 }
14219 return NULL;
14220 }
14221
14222
14223 static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
14224 PyObject *resultobj;
14225 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14226 bool arg2 = (bool) False ;
14227 bool result;
14228 PyObject * obj0 = 0 ;
14229 PyObject * obj1 = 0 ;
14230 char *kwnames[] = {
14231 (char *) "self",(char *) "bCurrentOnly", NULL
14232 };
14233
14234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
14235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14236 if (obj1) {
14237 arg2 = PyInt_AsLong(obj1) ? true : false;
14238 if (PyErr_Occurred()) SWIG_fail;
14239 }
14240 {
14241 PyThreadState* __tstate = wxPyBeginAllowThreads();
14242 result = (bool)(arg1)->Flush(arg2);
14243
14244 wxPyEndAllowThreads(__tstate);
14245 if (PyErr_Occurred()) SWIG_fail;
14246 }
14247 resultobj = PyInt_FromLong((long)result);
14248 return resultobj;
14249 fail:
14250 return NULL;
14251 }
14252
14253
14254 static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14255 PyObject *resultobj;
14256 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14257 wxString *arg2 = 0 ;
14258 wxString *arg3 = 0 ;
14259 bool result;
14260 bool temp2 = False ;
14261 bool temp3 = False ;
14262 PyObject * obj0 = 0 ;
14263 PyObject * obj1 = 0 ;
14264 PyObject * obj2 = 0 ;
14265 char *kwnames[] = {
14266 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14267 };
14268
14269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) 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 arg3 = wxString_in_helper(obj2);
14278 if (arg3 == NULL) SWIG_fail;
14279 temp3 = True;
14280 }
14281 {
14282 PyThreadState* __tstate = wxPyBeginAllowThreads();
14283 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
14284
14285 wxPyEndAllowThreads(__tstate);
14286 if (PyErr_Occurred()) SWIG_fail;
14287 }
14288 resultobj = PyInt_FromLong((long)result);
14289 {
14290 if (temp2)
14291 delete arg2;
14292 }
14293 {
14294 if (temp3)
14295 delete arg3;
14296 }
14297 return resultobj;
14298 fail:
14299 {
14300 if (temp2)
14301 delete arg2;
14302 }
14303 {
14304 if (temp3)
14305 delete arg3;
14306 }
14307 return NULL;
14308 }
14309
14310
14311 static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14312 PyObject *resultobj;
14313 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14314 wxString *arg2 = 0 ;
14315 wxString *arg3 = 0 ;
14316 bool result;
14317 bool temp2 = False ;
14318 bool temp3 = False ;
14319 PyObject * obj0 = 0 ;
14320 PyObject * obj1 = 0 ;
14321 PyObject * obj2 = 0 ;
14322 char *kwnames[] = {
14323 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14324 };
14325
14326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
14327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14328 {
14329 arg2 = wxString_in_helper(obj1);
14330 if (arg2 == NULL) SWIG_fail;
14331 temp2 = True;
14332 }
14333 {
14334 arg3 = wxString_in_helper(obj2);
14335 if (arg3 == NULL) SWIG_fail;
14336 temp3 = True;
14337 }
14338 {
14339 PyThreadState* __tstate = wxPyBeginAllowThreads();
14340 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
14341
14342 wxPyEndAllowThreads(__tstate);
14343 if (PyErr_Occurred()) SWIG_fail;
14344 }
14345 resultobj = PyInt_FromLong((long)result);
14346 {
14347 if (temp2)
14348 delete arg2;
14349 }
14350 {
14351 if (temp3)
14352 delete arg3;
14353 }
14354 return resultobj;
14355 fail:
14356 {
14357 if (temp2)
14358 delete arg2;
14359 }
14360 {
14361 if (temp3)
14362 delete arg3;
14363 }
14364 return NULL;
14365 }
14366
14367
14368 static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14369 PyObject *resultobj;
14370 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14371 wxString *arg2 = 0 ;
14372 bool arg3 = (bool) True ;
14373 bool result;
14374 bool temp2 = False ;
14375 PyObject * obj0 = 0 ;
14376 PyObject * obj1 = 0 ;
14377 PyObject * obj2 = 0 ;
14378 char *kwnames[] = {
14379 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14380 };
14381
14382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14384 {
14385 arg2 = wxString_in_helper(obj1);
14386 if (arg2 == NULL) SWIG_fail;
14387 temp2 = True;
14388 }
14389 if (obj2) {
14390 arg3 = PyInt_AsLong(obj2) ? true : false;
14391 if (PyErr_Occurred()) SWIG_fail;
14392 }
14393 {
14394 PyThreadState* __tstate = wxPyBeginAllowThreads();
14395 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
14396
14397 wxPyEndAllowThreads(__tstate);
14398 if (PyErr_Occurred()) SWIG_fail;
14399 }
14400 resultobj = PyInt_FromLong((long)result);
14401 {
14402 if (temp2)
14403 delete arg2;
14404 }
14405 return resultobj;
14406 fail:
14407 {
14408 if (temp2)
14409 delete arg2;
14410 }
14411 return NULL;
14412 }
14413
14414
14415 static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14416 PyObject *resultobj;
14417 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14418 wxString *arg2 = 0 ;
14419 bool result;
14420 bool temp2 = False ;
14421 PyObject * obj0 = 0 ;
14422 PyObject * obj1 = 0 ;
14423 char *kwnames[] = {
14424 (char *) "self",(char *) "key", NULL
14425 };
14426
14427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
14428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14429 {
14430 arg2 = wxString_in_helper(obj1);
14431 if (arg2 == NULL) SWIG_fail;
14432 temp2 = True;
14433 }
14434 {
14435 PyThreadState* __tstate = wxPyBeginAllowThreads();
14436 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
14437
14438 wxPyEndAllowThreads(__tstate);
14439 if (PyErr_Occurred()) SWIG_fail;
14440 }
14441 resultobj = PyInt_FromLong((long)result);
14442 {
14443 if (temp2)
14444 delete arg2;
14445 }
14446 return resultobj;
14447 fail:
14448 {
14449 if (temp2)
14450 delete arg2;
14451 }
14452 return NULL;
14453 }
14454
14455
14456 static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
14457 PyObject *resultobj;
14458 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14459 bool result;
14460 PyObject * obj0 = 0 ;
14461 char *kwnames[] = {
14462 (char *) "self", NULL
14463 };
14464
14465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
14466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14467 {
14468 PyThreadState* __tstate = wxPyBeginAllowThreads();
14469 result = (bool)(arg1)->DeleteAll();
14470
14471 wxPyEndAllowThreads(__tstate);
14472 if (PyErr_Occurred()) SWIG_fail;
14473 }
14474 resultobj = PyInt_FromLong((long)result);
14475 return resultobj;
14476 fail:
14477 return NULL;
14478 }
14479
14480
14481 static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14482 PyObject *resultobj;
14483 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14484 bool result;
14485 PyObject * obj0 = 0 ;
14486 char *kwnames[] = {
14487 (char *) "self", NULL
14488 };
14489
14490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
14491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14492 {
14493 PyThreadState* __tstate = wxPyBeginAllowThreads();
14494 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
14495
14496 wxPyEndAllowThreads(__tstate);
14497 if (PyErr_Occurred()) SWIG_fail;
14498 }
14499 resultobj = PyInt_FromLong((long)result);
14500 return resultobj;
14501 fail:
14502 return NULL;
14503 }
14504
14505
14506 static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14507 PyObject *resultobj;
14508 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14509 bool arg2 = (bool) True ;
14510 PyObject * obj0 = 0 ;
14511 PyObject * obj1 = 0 ;
14512 char *kwnames[] = {
14513 (char *) "self",(char *) "bDoIt", NULL
14514 };
14515
14516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14518 if (obj1) {
14519 arg2 = PyInt_AsLong(obj1) ? true : false;
14520 if (PyErr_Occurred()) SWIG_fail;
14521 }
14522 {
14523 PyThreadState* __tstate = wxPyBeginAllowThreads();
14524 (arg1)->SetExpandEnvVars(arg2);
14525
14526 wxPyEndAllowThreads(__tstate);
14527 if (PyErr_Occurred()) SWIG_fail;
14528 }
14529 Py_INCREF(Py_None); resultobj = Py_None;
14530 return resultobj;
14531 fail:
14532 return NULL;
14533 }
14534
14535
14536 static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14537 PyObject *resultobj;
14538 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14539 bool arg2 = (bool) True ;
14540 PyObject * obj0 = 0 ;
14541 PyObject * obj1 = 0 ;
14542 char *kwnames[] = {
14543 (char *) "self",(char *) "bDoIt", NULL
14544 };
14545
14546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
14547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14548 if (obj1) {
14549 arg2 = PyInt_AsLong(obj1) ? true : false;
14550 if (PyErr_Occurred()) SWIG_fail;
14551 }
14552 {
14553 PyThreadState* __tstate = wxPyBeginAllowThreads();
14554 (arg1)->SetRecordDefaults(arg2);
14555
14556 wxPyEndAllowThreads(__tstate);
14557 if (PyErr_Occurred()) SWIG_fail;
14558 }
14559 Py_INCREF(Py_None); resultobj = Py_None;
14560 return resultobj;
14561 fail:
14562 return NULL;
14563 }
14564
14565
14566 static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14567 PyObject *resultobj;
14568 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14569 bool result;
14570 PyObject * obj0 = 0 ;
14571 char *kwnames[] = {
14572 (char *) "self", NULL
14573 };
14574
14575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
14576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14577 {
14578 PyThreadState* __tstate = wxPyBeginAllowThreads();
14579 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
14580
14581 wxPyEndAllowThreads(__tstate);
14582 if (PyErr_Occurred()) SWIG_fail;
14583 }
14584 resultobj = PyInt_FromLong((long)result);
14585 return resultobj;
14586 fail:
14587 return NULL;
14588 }
14589
14590
14591 static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14592 PyObject *resultobj;
14593 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14594 wxString *arg2 = 0 ;
14595 wxString result;
14596 bool temp2 = False ;
14597 PyObject * obj0 = 0 ;
14598 PyObject * obj1 = 0 ;
14599 char *kwnames[] = {
14600 (char *) "self",(char *) "str", NULL
14601 };
14602
14603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14605 {
14606 arg2 = wxString_in_helper(obj1);
14607 if (arg2 == NULL) SWIG_fail;
14608 temp2 = True;
14609 }
14610 {
14611 PyThreadState* __tstate = wxPyBeginAllowThreads();
14612 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
14613
14614 wxPyEndAllowThreads(__tstate);
14615 if (PyErr_Occurred()) SWIG_fail;
14616 }
14617 {
14618 #if wxUSE_UNICODE
14619 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14620 #else
14621 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14622 #endif
14623 }
14624 {
14625 if (temp2)
14626 delete arg2;
14627 }
14628 return resultobj;
14629 fail:
14630 {
14631 if (temp2)
14632 delete arg2;
14633 }
14634 return NULL;
14635 }
14636
14637
14638 static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14639 PyObject *resultobj;
14640 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14641 wxString result;
14642 PyObject * obj0 = 0 ;
14643 char *kwnames[] = {
14644 (char *) "self", NULL
14645 };
14646
14647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
14648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14649 {
14650 PyThreadState* __tstate = wxPyBeginAllowThreads();
14651 result = ((wxConfigBase const *)arg1)->GetAppName();
14652
14653 wxPyEndAllowThreads(__tstate);
14654 if (PyErr_Occurred()) SWIG_fail;
14655 }
14656 {
14657 #if wxUSE_UNICODE
14658 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14659 #else
14660 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14661 #endif
14662 }
14663 return resultobj;
14664 fail:
14665 return NULL;
14666 }
14667
14668
14669 static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14670 PyObject *resultobj;
14671 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14672 wxString result;
14673 PyObject * obj0 = 0 ;
14674 char *kwnames[] = {
14675 (char *) "self", NULL
14676 };
14677
14678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
14679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14680 {
14681 PyThreadState* __tstate = wxPyBeginAllowThreads();
14682 result = ((wxConfigBase const *)arg1)->GetVendorName();
14683
14684 wxPyEndAllowThreads(__tstate);
14685 if (PyErr_Occurred()) SWIG_fail;
14686 }
14687 {
14688 #if wxUSE_UNICODE
14689 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14690 #else
14691 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14692 #endif
14693 }
14694 return resultobj;
14695 fail:
14696 return NULL;
14697 }
14698
14699
14700 static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14701 PyObject *resultobj;
14702 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14703 wxString *arg2 = 0 ;
14704 bool temp2 = False ;
14705 PyObject * obj0 = 0 ;
14706 PyObject * obj1 = 0 ;
14707 char *kwnames[] = {
14708 (char *) "self",(char *) "appName", NULL
14709 };
14710
14711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
14712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14713 {
14714 arg2 = wxString_in_helper(obj1);
14715 if (arg2 == NULL) SWIG_fail;
14716 temp2 = True;
14717 }
14718 {
14719 PyThreadState* __tstate = wxPyBeginAllowThreads();
14720 (arg1)->SetAppName((wxString const &)*arg2);
14721
14722 wxPyEndAllowThreads(__tstate);
14723 if (PyErr_Occurred()) SWIG_fail;
14724 }
14725 Py_INCREF(Py_None); resultobj = Py_None;
14726 {
14727 if (temp2)
14728 delete arg2;
14729 }
14730 return resultobj;
14731 fail:
14732 {
14733 if (temp2)
14734 delete arg2;
14735 }
14736 return NULL;
14737 }
14738
14739
14740 static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14741 PyObject *resultobj;
14742 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14743 wxString *arg2 = 0 ;
14744 bool temp2 = False ;
14745 PyObject * obj0 = 0 ;
14746 PyObject * obj1 = 0 ;
14747 char *kwnames[] = {
14748 (char *) "self",(char *) "vendorName", NULL
14749 };
14750
14751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
14752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14753 {
14754 arg2 = wxString_in_helper(obj1);
14755 if (arg2 == NULL) SWIG_fail;
14756 temp2 = True;
14757 }
14758 {
14759 PyThreadState* __tstate = wxPyBeginAllowThreads();
14760 (arg1)->SetVendorName((wxString const &)*arg2);
14761
14762 wxPyEndAllowThreads(__tstate);
14763 if (PyErr_Occurred()) SWIG_fail;
14764 }
14765 Py_INCREF(Py_None); resultobj = Py_None;
14766 {
14767 if (temp2)
14768 delete arg2;
14769 }
14770 return resultobj;
14771 fail:
14772 {
14773 if (temp2)
14774 delete arg2;
14775 }
14776 return NULL;
14777 }
14778
14779
14780 static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14781 PyObject *resultobj;
14782 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14783 long arg2 ;
14784 PyObject * obj0 = 0 ;
14785 char *kwnames[] = {
14786 (char *) "self",(char *) "style", NULL
14787 };
14788
14789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_SetStyle",kwnames,&obj0,&arg2)) goto fail;
14790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14791 {
14792 PyThreadState* __tstate = wxPyBeginAllowThreads();
14793 (arg1)->SetStyle(arg2);
14794
14795 wxPyEndAllowThreads(__tstate);
14796 if (PyErr_Occurred()) SWIG_fail;
14797 }
14798 Py_INCREF(Py_None); resultobj = Py_None;
14799 return resultobj;
14800 fail:
14801 return NULL;
14802 }
14803
14804
14805 static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14806 PyObject *resultobj;
14807 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14808 long result;
14809 PyObject * obj0 = 0 ;
14810 char *kwnames[] = {
14811 (char *) "self", NULL
14812 };
14813
14814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
14815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14816 {
14817 PyThreadState* __tstate = wxPyBeginAllowThreads();
14818 result = (long)((wxConfigBase const *)arg1)->GetStyle();
14819
14820 wxPyEndAllowThreads(__tstate);
14821 if (PyErr_Occurred()) SWIG_fail;
14822 }
14823 resultobj = PyInt_FromLong((long)result);
14824 return resultobj;
14825 fail:
14826 return NULL;
14827 }
14828
14829
14830 static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
14831 PyObject *obj;
14832 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14833 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
14834 Py_INCREF(obj);
14835 return Py_BuildValue((char *)"");
14836 }
14837 static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14838 PyObject *resultobj;
14839 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14840 wxString *arg2 = 0 ;
14841 wxConfigPathChanger *result;
14842 bool temp2 = False ;
14843 PyObject * obj0 = 0 ;
14844 PyObject * obj1 = 0 ;
14845 char *kwnames[] = {
14846 (char *) "pContainer",(char *) "strEntry", NULL
14847 };
14848
14849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
14850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14851 {
14852 arg2 = wxString_in_helper(obj1);
14853 if (arg2 == NULL) SWIG_fail;
14854 temp2 = True;
14855 }
14856 {
14857 PyThreadState* __tstate = wxPyBeginAllowThreads();
14858 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
14859
14860 wxPyEndAllowThreads(__tstate);
14861 if (PyErr_Occurred()) SWIG_fail;
14862 }
14863 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigPathChanger, 1);
14864 {
14865 if (temp2)
14866 delete arg2;
14867 }
14868 return resultobj;
14869 fail:
14870 {
14871 if (temp2)
14872 delete arg2;
14873 }
14874 return NULL;
14875 }
14876
14877
14878 static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14879 PyObject *resultobj;
14880 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14881 PyObject * obj0 = 0 ;
14882 char *kwnames[] = {
14883 (char *) "self", NULL
14884 };
14885
14886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
14887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,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 *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
14903 PyObject *resultobj;
14904 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14905 wxString *result;
14906 PyObject * obj0 = 0 ;
14907 char *kwnames[] = {
14908 (char *) "self", NULL
14909 };
14910
14911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
14912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14913 {
14914 PyThreadState* __tstate = wxPyBeginAllowThreads();
14915 {
14916 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
14917 result = (wxString *) &_result_ref;
14918 }
14919
14920 wxPyEndAllowThreads(__tstate);
14921 if (PyErr_Occurred()) SWIG_fail;
14922 }
14923 {
14924 #if wxUSE_UNICODE
14925 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14926 #else
14927 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14928 #endif
14929 }
14930 return resultobj;
14931 fail:
14932 return NULL;
14933 }
14934
14935
14936 static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
14937 PyObject *obj;
14938 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14939 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
14940 Py_INCREF(obj);
14941 return Py_BuildValue((char *)"");
14942 }
14943 static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
14944 PyObject *resultobj;
14945 wxString const &arg1_defvalue = wxPyEmptyString ;
14946 wxString *arg1 = (wxString *) &arg1_defvalue ;
14947 wxString const &arg2_defvalue = wxPyEmptyString ;
14948 wxString *arg2 = (wxString *) &arg2_defvalue ;
14949 wxString const &arg3_defvalue = wxPyEmptyString ;
14950 wxString *arg3 = (wxString *) &arg3_defvalue ;
14951 wxString const &arg4_defvalue = wxPyEmptyString ;
14952 wxString *arg4 = (wxString *) &arg4_defvalue ;
14953 long arg5 = (long) 0 ;
14954 wxConfig *result;
14955 bool temp1 = False ;
14956 bool temp2 = False ;
14957 bool temp3 = False ;
14958 bool temp4 = False ;
14959 PyObject * obj0 = 0 ;
14960 PyObject * obj1 = 0 ;
14961 PyObject * obj2 = 0 ;
14962 PyObject * obj3 = 0 ;
14963 char *kwnames[] = {
14964 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14965 };
14966
14967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
14968 if (obj0) {
14969 {
14970 arg1 = wxString_in_helper(obj0);
14971 if (arg1 == NULL) SWIG_fail;
14972 temp1 = True;
14973 }
14974 }
14975 if (obj1) {
14976 {
14977 arg2 = wxString_in_helper(obj1);
14978 if (arg2 == NULL) SWIG_fail;
14979 temp2 = True;
14980 }
14981 }
14982 if (obj2) {
14983 {
14984 arg3 = wxString_in_helper(obj2);
14985 if (arg3 == NULL) SWIG_fail;
14986 temp3 = True;
14987 }
14988 }
14989 if (obj3) {
14990 {
14991 arg4 = wxString_in_helper(obj3);
14992 if (arg4 == NULL) SWIG_fail;
14993 temp4 = True;
14994 }
14995 }
14996 {
14997 PyThreadState* __tstate = wxPyBeginAllowThreads();
14998 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
14999
15000 wxPyEndAllowThreads(__tstate);
15001 if (PyErr_Occurred()) SWIG_fail;
15002 }
15003 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfig, 1);
15004 {
15005 if (temp1)
15006 delete arg1;
15007 }
15008 {
15009 if (temp2)
15010 delete arg2;
15011 }
15012 {
15013 if (temp3)
15014 delete arg3;
15015 }
15016 {
15017 if (temp4)
15018 delete arg4;
15019 }
15020 return resultobj;
15021 fail:
15022 {
15023 if (temp1)
15024 delete arg1;
15025 }
15026 {
15027 if (temp2)
15028 delete arg2;
15029 }
15030 {
15031 if (temp3)
15032 delete arg3;
15033 }
15034 {
15035 if (temp4)
15036 delete arg4;
15037 }
15038 return NULL;
15039 }
15040
15041
15042 static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
15043 PyObject *resultobj;
15044 wxConfig *arg1 = (wxConfig *) 0 ;
15045 PyObject * obj0 = 0 ;
15046 char *kwnames[] = {
15047 (char *) "self", NULL
15048 };
15049
15050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
15051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15052 {
15053 PyThreadState* __tstate = wxPyBeginAllowThreads();
15054 delete arg1;
15055
15056 wxPyEndAllowThreads(__tstate);
15057 if (PyErr_Occurred()) SWIG_fail;
15058 }
15059 Py_INCREF(Py_None); resultobj = Py_None;
15060 return resultobj;
15061 fail:
15062 return NULL;
15063 }
15064
15065
15066 static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
15067 PyObject *obj;
15068 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15069 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
15070 Py_INCREF(obj);
15071 return Py_BuildValue((char *)"");
15072 }
15073 static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
15074 PyObject *resultobj;
15075 wxString const &arg1_defvalue = wxPyEmptyString ;
15076 wxString *arg1 = (wxString *) &arg1_defvalue ;
15077 wxString const &arg2_defvalue = wxPyEmptyString ;
15078 wxString *arg2 = (wxString *) &arg2_defvalue ;
15079 wxString const &arg3_defvalue = wxPyEmptyString ;
15080 wxString *arg3 = (wxString *) &arg3_defvalue ;
15081 wxString const &arg4_defvalue = wxPyEmptyString ;
15082 wxString *arg4 = (wxString *) &arg4_defvalue ;
15083 long arg5 = (long) 0 ;
15084 wxFileConfig *result;
15085 bool temp1 = False ;
15086 bool temp2 = False ;
15087 bool temp3 = False ;
15088 bool temp4 = False ;
15089 PyObject * obj0 = 0 ;
15090 PyObject * obj1 = 0 ;
15091 PyObject * obj2 = 0 ;
15092 PyObject * obj3 = 0 ;
15093 char *kwnames[] = {
15094 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15095 };
15096
15097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
15098 if (obj0) {
15099 {
15100 arg1 = wxString_in_helper(obj0);
15101 if (arg1 == NULL) SWIG_fail;
15102 temp1 = True;
15103 }
15104 }
15105 if (obj1) {
15106 {
15107 arg2 = wxString_in_helper(obj1);
15108 if (arg2 == NULL) SWIG_fail;
15109 temp2 = True;
15110 }
15111 }
15112 if (obj2) {
15113 {
15114 arg3 = wxString_in_helper(obj2);
15115 if (arg3 == NULL) SWIG_fail;
15116 temp3 = True;
15117 }
15118 }
15119 if (obj3) {
15120 {
15121 arg4 = wxString_in_helper(obj3);
15122 if (arg4 == NULL) SWIG_fail;
15123 temp4 = True;
15124 }
15125 }
15126 {
15127 PyThreadState* __tstate = wxPyBeginAllowThreads();
15128 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
15129
15130 wxPyEndAllowThreads(__tstate);
15131 if (PyErr_Occurred()) SWIG_fail;
15132 }
15133 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileConfig, 1);
15134 {
15135 if (temp1)
15136 delete arg1;
15137 }
15138 {
15139 if (temp2)
15140 delete arg2;
15141 }
15142 {
15143 if (temp3)
15144 delete arg3;
15145 }
15146 {
15147 if (temp4)
15148 delete arg4;
15149 }
15150 return resultobj;
15151 fail:
15152 {
15153 if (temp1)
15154 delete arg1;
15155 }
15156 {
15157 if (temp2)
15158 delete arg2;
15159 }
15160 {
15161 if (temp3)
15162 delete arg3;
15163 }
15164 {
15165 if (temp4)
15166 delete arg4;
15167 }
15168 return NULL;
15169 }
15170
15171
15172 static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
15173 PyObject *resultobj;
15174 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
15175 PyObject * obj0 = 0 ;
15176 char *kwnames[] = {
15177 (char *) "self", NULL
15178 };
15179
15180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
15181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15182 {
15183 PyThreadState* __tstate = wxPyBeginAllowThreads();
15184 delete arg1;
15185
15186 wxPyEndAllowThreads(__tstate);
15187 if (PyErr_Occurred()) SWIG_fail;
15188 }
15189 Py_INCREF(Py_None); resultobj = Py_None;
15190 return resultobj;
15191 fail:
15192 return NULL;
15193 }
15194
15195
15196 static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
15197 PyObject *obj;
15198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15199 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
15200 Py_INCREF(obj);
15201 return Py_BuildValue((char *)"");
15202 }
15203 static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15204 PyObject *resultobj;
15205 wxString *arg1 = 0 ;
15206 wxString result;
15207 bool temp1 = False ;
15208 PyObject * obj0 = 0 ;
15209 char *kwnames[] = {
15210 (char *) "sz", NULL
15211 };
15212
15213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
15214 {
15215 arg1 = wxString_in_helper(obj0);
15216 if (arg1 == NULL) SWIG_fail;
15217 temp1 = True;
15218 }
15219 {
15220 PyThreadState* __tstate = wxPyBeginAllowThreads();
15221 result = wxExpandEnvVars((wxString const &)*arg1);
15222
15223 wxPyEndAllowThreads(__tstate);
15224 if (PyErr_Occurred()) SWIG_fail;
15225 }
15226 {
15227 #if wxUSE_UNICODE
15228 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15229 #else
15230 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15231 #endif
15232 }
15233 {
15234 if (temp1)
15235 delete arg1;
15236 }
15237 return resultobj;
15238 fail:
15239 {
15240 if (temp1)
15241 delete arg1;
15242 }
15243 return NULL;
15244 }
15245
15246
15247 static int _wrap_DateFormatStr_set(PyObject *_val) {
15248 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
15249 return 1;
15250 }
15251
15252
15253 static PyObject *_wrap_DateFormatStr_get() {
15254 PyObject *pyobj;
15255
15256 {
15257 #if wxUSE_UNICODE
15258 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
15259 #else
15260 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
15261 #endif
15262 }
15263 return pyobj;
15264 }
15265
15266
15267 static int _wrap_TimeSpanFormatStr_set(PyObject *_val) {
15268 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
15269 return 1;
15270 }
15271
15272
15273 static PyObject *_wrap_TimeSpanFormatStr_get() {
15274 PyObject *pyobj;
15275
15276 {
15277 #if wxUSE_UNICODE
15278 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
15279 #else
15280 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
15281 #endif
15282 }
15283 return pyobj;
15284 }
15285
15286
15287 static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15288 PyObject *resultobj;
15289 int arg1 ;
15290 char *kwnames[] = {
15291 (char *) "country", NULL
15292 };
15293
15294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_SetCountry",kwnames,&arg1)) goto fail;
15295 {
15296 PyThreadState* __tstate = wxPyBeginAllowThreads();
15297 wxDateTime::SetCountry((wxDateTime::Country )arg1);
15298
15299 wxPyEndAllowThreads(__tstate);
15300 if (PyErr_Occurred()) SWIG_fail;
15301 }
15302 Py_INCREF(Py_None); resultobj = Py_None;
15303 return resultobj;
15304 fail:
15305 return NULL;
15306 }
15307
15308
15309 static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15310 PyObject *resultobj;
15311 int result;
15312 char *kwnames[] = {
15313 NULL
15314 };
15315
15316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
15317 {
15318 PyThreadState* __tstate = wxPyBeginAllowThreads();
15319 result = (int)wxDateTime::GetCountry();
15320
15321 wxPyEndAllowThreads(__tstate);
15322 if (PyErr_Occurred()) SWIG_fail;
15323 }
15324 resultobj = PyInt_FromLong((long)result);
15325 return resultobj;
15326 fail:
15327 return NULL;
15328 }
15329
15330
15331 static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15332 PyObject *resultobj;
15333 int arg1 = (int) wxDateTime::Country_Default ;
15334 bool result;
15335 char *kwnames[] = {
15336 (char *) "country", NULL
15337 };
15338
15339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames,&arg1)) goto fail;
15340 {
15341 PyThreadState* __tstate = wxPyBeginAllowThreads();
15342 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
15343
15344 wxPyEndAllowThreads(__tstate);
15345 if (PyErr_Occurred()) SWIG_fail;
15346 }
15347 resultobj = PyInt_FromLong((long)result);
15348 return resultobj;
15349 fail:
15350 return NULL;
15351 }
15352
15353
15354 static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15355 PyObject *resultobj;
15356 int arg1 = (int) wxDateTime::Gregorian ;
15357 int result;
15358 char *kwnames[] = {
15359 (char *) "cal", NULL
15360 };
15361
15362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentYear",kwnames,&arg1)) goto fail;
15363 {
15364 PyThreadState* __tstate = wxPyBeginAllowThreads();
15365 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
15366
15367 wxPyEndAllowThreads(__tstate);
15368 if (PyErr_Occurred()) SWIG_fail;
15369 }
15370 resultobj = PyInt_FromLong((long)result);
15371 return resultobj;
15372 fail:
15373 return NULL;
15374 }
15375
15376
15377 static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
15378 PyObject *resultobj;
15379 int arg1 ;
15380 int result;
15381 char *kwnames[] = {
15382 (char *) "year", NULL
15383 };
15384
15385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_ConvertYearToBC",kwnames,&arg1)) goto fail;
15386 {
15387 PyThreadState* __tstate = wxPyBeginAllowThreads();
15388 result = (int)wxDateTime::ConvertYearToBC(arg1);
15389
15390 wxPyEndAllowThreads(__tstate);
15391 if (PyErr_Occurred()) SWIG_fail;
15392 }
15393 resultobj = PyInt_FromLong((long)result);
15394 return resultobj;
15395 fail:
15396 return NULL;
15397 }
15398
15399
15400 static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15401 PyObject *resultobj;
15402 int arg1 = (int) wxDateTime::Gregorian ;
15403 int result;
15404 char *kwnames[] = {
15405 (char *) "cal", NULL
15406 };
15407
15408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentMonth",kwnames,&arg1)) goto fail;
15409 {
15410 PyThreadState* __tstate = wxPyBeginAllowThreads();
15411 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
15412
15413 wxPyEndAllowThreads(__tstate);
15414 if (PyErr_Occurred()) SWIG_fail;
15415 }
15416 resultobj = PyInt_FromLong((long)result);
15417 return resultobj;
15418 fail:
15419 return NULL;
15420 }
15421
15422
15423 static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15424 PyObject *resultobj;
15425 int arg1 = (int) wxDateTime::Inv_Year ;
15426 int arg2 = (int) wxDateTime::Gregorian ;
15427 bool result;
15428 char *kwnames[] = {
15429 (char *) "year",(char *) "cal", NULL
15430 };
15431
15432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsLeapYear",kwnames,&arg1,&arg2)) goto fail;
15433 {
15434 PyThreadState* __tstate = wxPyBeginAllowThreads();
15435 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
15436
15437 wxPyEndAllowThreads(__tstate);
15438 if (PyErr_Occurred()) SWIG_fail;
15439 }
15440 resultobj = PyInt_FromLong((long)result);
15441 return resultobj;
15442 fail:
15443 return NULL;
15444 }
15445
15446
15447 static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
15448 PyObject *resultobj;
15449 int arg1 = (int) wxDateTime::Inv_Year ;
15450 int result;
15451 char *kwnames[] = {
15452 (char *) "year", NULL
15453 };
15454
15455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCentury",kwnames,&arg1)) goto fail;
15456 {
15457 PyThreadState* __tstate = wxPyBeginAllowThreads();
15458 result = (int)wxDateTime::GetCentury(arg1);
15459
15460 wxPyEndAllowThreads(__tstate);
15461 if (PyErr_Occurred()) SWIG_fail;
15462 }
15463 resultobj = PyInt_FromLong((long)result);
15464 return resultobj;
15465 fail:
15466 return NULL;
15467 }
15468
15469
15470 static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15471 PyObject *resultobj;
15472 int arg1 ;
15473 int arg2 = (int) wxDateTime::Gregorian ;
15474 int result;
15475 char *kwnames[] = {
15476 (char *) "year",(char *) "cal", NULL
15477 };
15478
15479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames,&arg1,&arg2)) goto fail;
15480 {
15481 PyThreadState* __tstate = wxPyBeginAllowThreads();
15482 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
15483
15484 wxPyEndAllowThreads(__tstate);
15485 if (PyErr_Occurred()) SWIG_fail;
15486 }
15487 resultobj = PyInt_FromLong((long)result);
15488 return resultobj;
15489 fail:
15490 return NULL;
15491 }
15492
15493
15494 static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15495 PyObject *resultobj;
15496 int arg1 ;
15497 int arg2 = (int) wxDateTime::Inv_Year ;
15498 int arg3 = (int) wxDateTime::Gregorian ;
15499 int result;
15500 char *kwnames[] = {
15501 (char *) "month",(char *) "year",(char *) "cal", NULL
15502 };
15503
15504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames,&arg1,&arg2,&arg3)) goto fail;
15505 {
15506 PyThreadState* __tstate = wxPyBeginAllowThreads();
15507 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
15508
15509 wxPyEndAllowThreads(__tstate);
15510 if (PyErr_Occurred()) SWIG_fail;
15511 }
15512 resultobj = PyInt_FromLong((long)result);
15513 return resultobj;
15514 fail:
15515 return NULL;
15516 }
15517
15518
15519 static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
15520 PyObject *resultobj;
15521 int arg1 ;
15522 int arg2 = (int) wxDateTime::Name_Full ;
15523 wxString result;
15524 char *kwnames[] = {
15525 (char *) "month",(char *) "flags", NULL
15526 };
15527
15528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetMonthName",kwnames,&arg1,&arg2)) goto fail;
15529 {
15530 PyThreadState* __tstate = wxPyBeginAllowThreads();
15531 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
15532
15533 wxPyEndAllowThreads(__tstate);
15534 if (PyErr_Occurred()) SWIG_fail;
15535 }
15536 {
15537 #if wxUSE_UNICODE
15538 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15539 #else
15540 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15541 #endif
15542 }
15543 return resultobj;
15544 fail:
15545 return NULL;
15546 }
15547
15548
15549 static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
15550 PyObject *resultobj;
15551 int arg1 ;
15552 int arg2 = (int) wxDateTime::Name_Full ;
15553 wxString result;
15554 char *kwnames[] = {
15555 (char *) "weekday",(char *) "flags", NULL
15556 };
15557
15558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetWeekDayName",kwnames,&arg1,&arg2)) goto fail;
15559 {
15560 PyThreadState* __tstate = wxPyBeginAllowThreads();
15561 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
15562
15563 wxPyEndAllowThreads(__tstate);
15564 if (PyErr_Occurred()) SWIG_fail;
15565 }
15566 {
15567 #if wxUSE_UNICODE
15568 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15569 #else
15570 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15571 #endif
15572 }
15573 return resultobj;
15574 fail:
15575 return NULL;
15576 }
15577
15578
15579 static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
15580 PyObject *resultobj;
15581 wxString *arg1 = (wxString *) 0 ;
15582 wxString *arg2 = (wxString *) 0 ;
15583 bool temp1 = False ;
15584 bool temp2 = False ;
15585 PyObject * obj0 = 0 ;
15586 PyObject * obj1 = 0 ;
15587 char *kwnames[] = {
15588 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15589 };
15590
15591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
15592 {
15593 arg1 = wxString_in_helper(obj0);
15594 if (arg1 == NULL) SWIG_fail;
15595 temp1 = True;
15596 }
15597 {
15598 arg2 = wxString_in_helper(obj1);
15599 if (arg2 == NULL) SWIG_fail;
15600 temp2 = True;
15601 }
15602 {
15603 PyThreadState* __tstate = wxPyBeginAllowThreads();
15604 wxDateTime::GetAmPmStrings(arg1,arg2);
15605
15606 wxPyEndAllowThreads(__tstate);
15607 if (PyErr_Occurred()) SWIG_fail;
15608 }
15609 Py_INCREF(Py_None); resultobj = Py_None;
15610 {
15611 if (temp1)
15612 delete arg1;
15613 }
15614 {
15615 if (temp2)
15616 delete arg2;
15617 }
15618 return resultobj;
15619 fail:
15620 {
15621 if (temp1)
15622 delete arg1;
15623 }
15624 {
15625 if (temp2)
15626 delete arg2;
15627 }
15628 return NULL;
15629 }
15630
15631
15632 static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
15633 PyObject *resultobj;
15634 int arg1 = (int) wxDateTime::Inv_Year ;
15635 int arg2 = (int) wxDateTime::Country_Default ;
15636 bool result;
15637 char *kwnames[] = {
15638 (char *) "year",(char *) "country", NULL
15639 };
15640
15641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsDSTApplicable",kwnames,&arg1,&arg2)) goto fail;
15642 {
15643 PyThreadState* __tstate = wxPyBeginAllowThreads();
15644 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
15645
15646 wxPyEndAllowThreads(__tstate);
15647 if (PyErr_Occurred()) SWIG_fail;
15648 }
15649 resultobj = PyInt_FromLong((long)result);
15650 return resultobj;
15651 fail:
15652 return NULL;
15653 }
15654
15655
15656 static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15657 PyObject *resultobj;
15658 int arg1 = (int) wxDateTime::Inv_Year ;
15659 int arg2 = (int) wxDateTime::Country_Default ;
15660 wxDateTime result;
15661 char *kwnames[] = {
15662 (char *) "year",(char *) "country", NULL
15663 };
15664
15665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetBeginDST",kwnames,&arg1,&arg2)) goto fail;
15666 {
15667 PyThreadState* __tstate = wxPyBeginAllowThreads();
15668 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
15669
15670 wxPyEndAllowThreads(__tstate);
15671 if (PyErr_Occurred()) SWIG_fail;
15672 }
15673 {
15674 wxDateTime * resultptr;
15675 resultptr = new wxDateTime((wxDateTime &) result);
15676 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15677 }
15678 return resultobj;
15679 fail:
15680 return NULL;
15681 }
15682
15683
15684 static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15685 PyObject *resultobj;
15686 int arg1 = (int) wxDateTime::Inv_Year ;
15687 int arg2 = (int) wxDateTime::Country_Default ;
15688 wxDateTime result;
15689 char *kwnames[] = {
15690 (char *) "year",(char *) "country", NULL
15691 };
15692
15693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetEndDST",kwnames,&arg1,&arg2)) goto fail;
15694 {
15695 PyThreadState* __tstate = wxPyBeginAllowThreads();
15696 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
15697
15698 wxPyEndAllowThreads(__tstate);
15699 if (PyErr_Occurred()) SWIG_fail;
15700 }
15701 {
15702 wxDateTime * resultptr;
15703 resultptr = new wxDateTime((wxDateTime &) result);
15704 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15705 }
15706 return resultobj;
15707 fail:
15708 return NULL;
15709 }
15710
15711
15712 static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
15713 PyObject *resultobj;
15714 wxDateTime result;
15715 char *kwnames[] = {
15716 NULL
15717 };
15718
15719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
15720 {
15721 PyThreadState* __tstate = wxPyBeginAllowThreads();
15722 result = wxDateTime::Now();
15723
15724 wxPyEndAllowThreads(__tstate);
15725 if (PyErr_Occurred()) SWIG_fail;
15726 }
15727 {
15728 wxDateTime * resultptr;
15729 resultptr = new wxDateTime((wxDateTime &) result);
15730 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15731 }
15732 return resultobj;
15733 fail:
15734 return NULL;
15735 }
15736
15737
15738 static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
15739 PyObject *resultobj;
15740 wxDateTime result;
15741 char *kwnames[] = {
15742 NULL
15743 };
15744
15745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
15746 {
15747 PyThreadState* __tstate = wxPyBeginAllowThreads();
15748 result = wxDateTime::UNow();
15749
15750 wxPyEndAllowThreads(__tstate);
15751 if (PyErr_Occurred()) SWIG_fail;
15752 }
15753 {
15754 wxDateTime * resultptr;
15755 resultptr = new wxDateTime((wxDateTime &) result);
15756 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15757 }
15758 return resultobj;
15759 fail:
15760 return NULL;
15761 }
15762
15763
15764 static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
15765 PyObject *resultobj;
15766 wxDateTime result;
15767 char *kwnames[] = {
15768 NULL
15769 };
15770
15771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
15772 {
15773 PyThreadState* __tstate = wxPyBeginAllowThreads();
15774 result = wxDateTime::Today();
15775
15776 wxPyEndAllowThreads(__tstate);
15777 if (PyErr_Occurred()) SWIG_fail;
15778 }
15779 {
15780 wxDateTime * resultptr;
15781 resultptr = new wxDateTime((wxDateTime &) result);
15782 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15783 }
15784 return resultobj;
15785 fail:
15786 return NULL;
15787 }
15788
15789
15790 static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15791 PyObject *resultobj;
15792 wxDateTime *result;
15793 char *kwnames[] = {
15794 NULL
15795 };
15796
15797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
15798 {
15799 PyThreadState* __tstate = wxPyBeginAllowThreads();
15800 result = (wxDateTime *)new wxDateTime();
15801
15802 wxPyEndAllowThreads(__tstate);
15803 if (PyErr_Occurred()) SWIG_fail;
15804 }
15805 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15806 return resultobj;
15807 fail:
15808 return NULL;
15809 }
15810
15811
15812 static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15813 PyObject *resultobj;
15814 time_t arg1 ;
15815 wxDateTime *result;
15816 PyObject * obj0 = 0 ;
15817 char *kwnames[] = {
15818 (char *) "timet", NULL
15819 };
15820
15821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
15822 arg1 = (time_t) PyInt_AsLong(obj0);
15823 if (PyErr_Occurred()) SWIG_fail;
15824 {
15825 PyThreadState* __tstate = wxPyBeginAllowThreads();
15826 result = (wxDateTime *)new wxDateTime(arg1);
15827
15828 wxPyEndAllowThreads(__tstate);
15829 if (PyErr_Occurred()) SWIG_fail;
15830 }
15831 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15832 return resultobj;
15833 fail:
15834 return NULL;
15835 }
15836
15837
15838 static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15839 PyObject *resultobj;
15840 double arg1 ;
15841 wxDateTime *result;
15842 char *kwnames[] = {
15843 (char *) "jdn", NULL
15844 };
15845
15846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"d:new_DateTimeFromJDN",kwnames,&arg1)) goto fail;
15847 {
15848 PyThreadState* __tstate = wxPyBeginAllowThreads();
15849 result = (wxDateTime *)new wxDateTime(arg1);
15850
15851 wxPyEndAllowThreads(__tstate);
15852 if (PyErr_Occurred()) SWIG_fail;
15853 }
15854 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15855 return resultobj;
15856 fail:
15857 return NULL;
15858 }
15859
15860
15861 static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15862 PyObject *resultobj;
15863 int arg1 ;
15864 int arg2 = (int) 0 ;
15865 int arg3 = (int) 0 ;
15866 int arg4 = (int) 0 ;
15867 wxDateTime *result;
15868 char *kwnames[] = {
15869 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15870 };
15871
15872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iii:new_DateTimeFromHMS",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
15873 {
15874 PyThreadState* __tstate = wxPyBeginAllowThreads();
15875 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
15876
15877 wxPyEndAllowThreads(__tstate);
15878 if (PyErr_Occurred()) SWIG_fail;
15879 }
15880 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15881 return resultobj;
15882 fail:
15883 return NULL;
15884 }
15885
15886
15887 static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
15888 PyObject *resultobj;
15889 int arg1 ;
15890 int arg2 = (int) wxDateTime::Inv_Month ;
15891 int arg3 = (int) wxDateTime::Inv_Year ;
15892 int arg4 = (int) 0 ;
15893 int arg5 = (int) 0 ;
15894 int arg6 = (int) 0 ;
15895 int arg7 = (int) 0 ;
15896 wxDateTime *result;
15897 char *kwnames[] = {
15898 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15899 };
15900
15901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iiiiii:new_DateTimeFromDMY",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
15902 {
15903 PyThreadState* __tstate = wxPyBeginAllowThreads();
15904 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
15905
15906 wxPyEndAllowThreads(__tstate);
15907 if (PyErr_Occurred()) SWIG_fail;
15908 }
15909 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15910 return resultobj;
15911 fail:
15912 return NULL;
15913 }
15914
15915
15916 static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15917 PyObject *resultobj;
15918 wxDateTime *arg1 = (wxDateTime *) 0 ;
15919 PyObject * obj0 = 0 ;
15920 char *kwnames[] = {
15921 (char *) "self", NULL
15922 };
15923
15924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
15925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15926 {
15927 PyThreadState* __tstate = wxPyBeginAllowThreads();
15928 delete arg1;
15929
15930 wxPyEndAllowThreads(__tstate);
15931 if (PyErr_Occurred()) SWIG_fail;
15932 }
15933 Py_INCREF(Py_None); resultobj = Py_None;
15934 return resultobj;
15935 fail:
15936 return NULL;
15937 }
15938
15939
15940 static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
15941 PyObject *resultobj;
15942 wxDateTime *arg1 = (wxDateTime *) 0 ;
15943 wxDateTime *result;
15944 PyObject * obj0 = 0 ;
15945 char *kwnames[] = {
15946 (char *) "self", NULL
15947 };
15948
15949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
15950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15951 {
15952 PyThreadState* __tstate = wxPyBeginAllowThreads();
15953 {
15954 wxDateTime &_result_ref = (arg1)->SetToCurrent();
15955 result = (wxDateTime *) &_result_ref;
15956 }
15957
15958 wxPyEndAllowThreads(__tstate);
15959 if (PyErr_Occurred()) SWIG_fail;
15960 }
15961 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15962 return resultobj;
15963 fail:
15964 return NULL;
15965 }
15966
15967
15968 static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15969 PyObject *resultobj;
15970 wxDateTime *arg1 = (wxDateTime *) 0 ;
15971 time_t arg2 ;
15972 wxDateTime *result;
15973 PyObject * obj0 = 0 ;
15974 PyObject * obj1 = 0 ;
15975 char *kwnames[] = {
15976 (char *) "self",(char *) "timet", NULL
15977 };
15978
15979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
15980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15981 arg2 = (time_t) PyInt_AsLong(obj1);
15982 if (PyErr_Occurred()) SWIG_fail;
15983 {
15984 PyThreadState* __tstate = wxPyBeginAllowThreads();
15985 {
15986 wxDateTime &_result_ref = (arg1)->Set(arg2);
15987 result = (wxDateTime *) &_result_ref;
15988 }
15989
15990 wxPyEndAllowThreads(__tstate);
15991 if (PyErr_Occurred()) SWIG_fail;
15992 }
15993 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15994 return resultobj;
15995 fail:
15996 return NULL;
15997 }
15998
15999
16000 static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
16001 PyObject *resultobj;
16002 wxDateTime *arg1 = (wxDateTime *) 0 ;
16003 double arg2 ;
16004 wxDateTime *result;
16005 PyObject * obj0 = 0 ;
16006 char *kwnames[] = {
16007 (char *) "self",(char *) "jdn", NULL
16008 };
16009
16010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:DateTime_SetJDN",kwnames,&obj0,&arg2)) goto fail;
16011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16012 {
16013 PyThreadState* __tstate = wxPyBeginAllowThreads();
16014 {
16015 wxDateTime &_result_ref = (arg1)->Set(arg2);
16016 result = (wxDateTime *) &_result_ref;
16017 }
16018
16019 wxPyEndAllowThreads(__tstate);
16020 if (PyErr_Occurred()) SWIG_fail;
16021 }
16022 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16023 return resultobj;
16024 fail:
16025 return NULL;
16026 }
16027
16028
16029 static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
16030 PyObject *resultobj;
16031 wxDateTime *arg1 = (wxDateTime *) 0 ;
16032 int arg2 ;
16033 int arg3 = (int) 0 ;
16034 int arg4 = (int) 0 ;
16035 int arg5 = (int) 0 ;
16036 wxDateTime *result;
16037 PyObject * obj0 = 0 ;
16038 char *kwnames[] = {
16039 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16040 };
16041
16042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetHMS",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16044 {
16045 PyThreadState* __tstate = wxPyBeginAllowThreads();
16046 {
16047 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
16048 result = (wxDateTime *) &_result_ref;
16049 }
16050
16051 wxPyEndAllowThreads(__tstate);
16052 if (PyErr_Occurred()) SWIG_fail;
16053 }
16054 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16055 return resultobj;
16056 fail:
16057 return NULL;
16058 }
16059
16060
16061 static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
16062 PyObject *resultobj;
16063 wxDateTime *arg1 = (wxDateTime *) 0 ;
16064 int arg2 ;
16065 int arg3 = (int) wxDateTime::Inv_Month ;
16066 int arg4 = (int) wxDateTime::Inv_Year ;
16067 int arg5 = (int) 0 ;
16068 int arg6 = (int) 0 ;
16069 int arg7 = (int) 0 ;
16070 int arg8 = (int) 0 ;
16071 wxDateTime *result;
16072 PyObject * obj0 = 0 ;
16073 char *kwnames[] = {
16074 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16075 };
16076
16077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiiiii:DateTime_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
16078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16079 {
16080 PyThreadState* __tstate = wxPyBeginAllowThreads();
16081 {
16082 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
16083 result = (wxDateTime *) &_result_ref;
16084 }
16085
16086 wxPyEndAllowThreads(__tstate);
16087 if (PyErr_Occurred()) SWIG_fail;
16088 }
16089 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16090 return resultobj;
16091 fail:
16092 return NULL;
16093 }
16094
16095
16096 static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16097 PyObject *resultobj;
16098 wxDateTime *arg1 = (wxDateTime *) 0 ;
16099 wxDateTime *result;
16100 PyObject * obj0 = 0 ;
16101 char *kwnames[] = {
16102 (char *) "self", NULL
16103 };
16104
16105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
16106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16107 {
16108 PyThreadState* __tstate = wxPyBeginAllowThreads();
16109 {
16110 wxDateTime &_result_ref = (arg1)->ResetTime();
16111 result = (wxDateTime *) &_result_ref;
16112 }
16113
16114 wxPyEndAllowThreads(__tstate);
16115 if (PyErr_Occurred()) SWIG_fail;
16116 }
16117 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16118 return resultobj;
16119 fail:
16120 return NULL;
16121 }
16122
16123
16124 static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16125 PyObject *resultobj;
16126 wxDateTime *arg1 = (wxDateTime *) 0 ;
16127 int arg2 ;
16128 wxDateTime *result;
16129 PyObject * obj0 = 0 ;
16130 char *kwnames[] = {
16131 (char *) "self",(char *) "year", NULL
16132 };
16133
16134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetYear",kwnames,&obj0,&arg2)) goto fail;
16135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16136 {
16137 PyThreadState* __tstate = wxPyBeginAllowThreads();
16138 {
16139 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
16140 result = (wxDateTime *) &_result_ref;
16141 }
16142
16143 wxPyEndAllowThreads(__tstate);
16144 if (PyErr_Occurred()) SWIG_fail;
16145 }
16146 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16147 return resultobj;
16148 fail:
16149 return NULL;
16150 }
16151
16152
16153 static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16154 PyObject *resultobj;
16155 wxDateTime *arg1 = (wxDateTime *) 0 ;
16156 int arg2 ;
16157 wxDateTime *result;
16158 PyObject * obj0 = 0 ;
16159 char *kwnames[] = {
16160 (char *) "self",(char *) "month", NULL
16161 };
16162
16163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMonth",kwnames,&obj0,&arg2)) goto fail;
16164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16165 {
16166 PyThreadState* __tstate = wxPyBeginAllowThreads();
16167 {
16168 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
16169 result = (wxDateTime *) &_result_ref;
16170 }
16171
16172 wxPyEndAllowThreads(__tstate);
16173 if (PyErr_Occurred()) SWIG_fail;
16174 }
16175 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16176 return resultobj;
16177 fail:
16178 return NULL;
16179 }
16180
16181
16182 static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16183 PyObject *resultobj;
16184 wxDateTime *arg1 = (wxDateTime *) 0 ;
16185 int arg2 ;
16186 wxDateTime *result;
16187 PyObject * obj0 = 0 ;
16188 char *kwnames[] = {
16189 (char *) "self",(char *) "day", NULL
16190 };
16191
16192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetDay",kwnames,&obj0,&arg2)) goto fail;
16193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16194 {
16195 PyThreadState* __tstate = wxPyBeginAllowThreads();
16196 {
16197 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
16198 result = (wxDateTime *) &_result_ref;
16199 }
16200
16201 wxPyEndAllowThreads(__tstate);
16202 if (PyErr_Occurred()) SWIG_fail;
16203 }
16204 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16205 return resultobj;
16206 fail:
16207 return NULL;
16208 }
16209
16210
16211 static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
16212 PyObject *resultobj;
16213 wxDateTime *arg1 = (wxDateTime *) 0 ;
16214 int arg2 ;
16215 wxDateTime *result;
16216 PyObject * obj0 = 0 ;
16217 char *kwnames[] = {
16218 (char *) "self",(char *) "hour", NULL
16219 };
16220
16221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetHour",kwnames,&obj0,&arg2)) goto fail;
16222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16223 {
16224 PyThreadState* __tstate = wxPyBeginAllowThreads();
16225 {
16226 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
16227 result = (wxDateTime *) &_result_ref;
16228 }
16229
16230 wxPyEndAllowThreads(__tstate);
16231 if (PyErr_Occurred()) SWIG_fail;
16232 }
16233 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16234 return resultobj;
16235 fail:
16236 return NULL;
16237 }
16238
16239
16240 static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
16241 PyObject *resultobj;
16242 wxDateTime *arg1 = (wxDateTime *) 0 ;
16243 int arg2 ;
16244 wxDateTime *result;
16245 PyObject * obj0 = 0 ;
16246 char *kwnames[] = {
16247 (char *) "self",(char *) "minute", NULL
16248 };
16249
16250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMinute",kwnames,&obj0,&arg2)) goto fail;
16251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16252 {
16253 PyThreadState* __tstate = wxPyBeginAllowThreads();
16254 {
16255 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
16256 result = (wxDateTime *) &_result_ref;
16257 }
16258
16259 wxPyEndAllowThreads(__tstate);
16260 if (PyErr_Occurred()) SWIG_fail;
16261 }
16262 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16263 return resultobj;
16264 fail:
16265 return NULL;
16266 }
16267
16268
16269 static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16270 PyObject *resultobj;
16271 wxDateTime *arg1 = (wxDateTime *) 0 ;
16272 int arg2 ;
16273 wxDateTime *result;
16274 PyObject * obj0 = 0 ;
16275 char *kwnames[] = {
16276 (char *) "self",(char *) "second", NULL
16277 };
16278
16279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetSecond",kwnames,&obj0,&arg2)) goto fail;
16280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16281 {
16282 PyThreadState* __tstate = wxPyBeginAllowThreads();
16283 {
16284 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
16285 result = (wxDateTime *) &_result_ref;
16286 }
16287
16288 wxPyEndAllowThreads(__tstate);
16289 if (PyErr_Occurred()) SWIG_fail;
16290 }
16291 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16292 return resultobj;
16293 fail:
16294 return NULL;
16295 }
16296
16297
16298 static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16299 PyObject *resultobj;
16300 wxDateTime *arg1 = (wxDateTime *) 0 ;
16301 int arg2 ;
16302 wxDateTime *result;
16303 PyObject * obj0 = 0 ;
16304 char *kwnames[] = {
16305 (char *) "self",(char *) "millisecond", NULL
16306 };
16307
16308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMillisecond",kwnames,&obj0,&arg2)) goto fail;
16309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16310 {
16311 PyThreadState* __tstate = wxPyBeginAllowThreads();
16312 {
16313 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
16314 result = (wxDateTime *) &_result_ref;
16315 }
16316
16317 wxPyEndAllowThreads(__tstate);
16318 if (PyErr_Occurred()) SWIG_fail;
16319 }
16320 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16321 return resultobj;
16322 fail:
16323 return NULL;
16324 }
16325
16326
16327 static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16328 PyObject *resultobj;
16329 wxDateTime *arg1 = (wxDateTime *) 0 ;
16330 int arg2 ;
16331 int arg3 = (int) wxDateTime::Monday_First ;
16332 wxDateTime *result;
16333 PyObject * obj0 = 0 ;
16334 char *kwnames[] = {
16335 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16336 };
16337
16338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16340 {
16341 PyThreadState* __tstate = wxPyBeginAllowThreads();
16342 {
16343 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16344 result = (wxDateTime *) &_result_ref;
16345 }
16346
16347 wxPyEndAllowThreads(__tstate);
16348 if (PyErr_Occurred()) SWIG_fail;
16349 }
16350 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16351 return resultobj;
16352 fail:
16353 return NULL;
16354 }
16355
16356
16357 static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16358 PyObject *resultobj;
16359 wxDateTime *arg1 = (wxDateTime *) 0 ;
16360 int arg2 ;
16361 int arg3 = (int) wxDateTime::Monday_First ;
16362 wxDateTime result;
16363 PyObject * obj0 = 0 ;
16364 char *kwnames[] = {
16365 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16366 };
16367
16368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16370 {
16371 PyThreadState* __tstate = wxPyBeginAllowThreads();
16372 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16373
16374 wxPyEndAllowThreads(__tstate);
16375 if (PyErr_Occurred()) SWIG_fail;
16376 }
16377 {
16378 wxDateTime * resultptr;
16379 resultptr = new wxDateTime((wxDateTime &) result);
16380 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16381 }
16382 return resultobj;
16383 fail:
16384 return NULL;
16385 }
16386
16387
16388 static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16389 PyObject *resultobj;
16390 wxDateTime *arg1 = (wxDateTime *) 0 ;
16391 int arg2 ;
16392 wxDateTime *result;
16393 PyObject * obj0 = 0 ;
16394 char *kwnames[] = {
16395 (char *) "self",(char *) "weekday", NULL
16396 };
16397
16398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16400 {
16401 PyThreadState* __tstate = wxPyBeginAllowThreads();
16402 {
16403 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
16404 result = (wxDateTime *) &_result_ref;
16405 }
16406
16407 wxPyEndAllowThreads(__tstate);
16408 if (PyErr_Occurred()) SWIG_fail;
16409 }
16410 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16411 return resultobj;
16412 fail:
16413 return NULL;
16414 }
16415
16416
16417 static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16418 PyObject *resultobj;
16419 wxDateTime *arg1 = (wxDateTime *) 0 ;
16420 int arg2 ;
16421 wxDateTime result;
16422 PyObject * obj0 = 0 ;
16423 char *kwnames[] = {
16424 (char *) "self",(char *) "weekday", NULL
16425 };
16426
16427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16429 {
16430 PyThreadState* __tstate = wxPyBeginAllowThreads();
16431 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
16432
16433 wxPyEndAllowThreads(__tstate);
16434 if (PyErr_Occurred()) SWIG_fail;
16435 }
16436 {
16437 wxDateTime * resultptr;
16438 resultptr = new wxDateTime((wxDateTime &) result);
16439 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16440 }
16441 return resultobj;
16442 fail:
16443 return NULL;
16444 }
16445
16446
16447 static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16448 PyObject *resultobj;
16449 wxDateTime *arg1 = (wxDateTime *) 0 ;
16450 int arg2 ;
16451 wxDateTime *result;
16452 PyObject * obj0 = 0 ;
16453 char *kwnames[] = {
16454 (char *) "self",(char *) "weekday", NULL
16455 };
16456
16457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16459 {
16460 PyThreadState* __tstate = wxPyBeginAllowThreads();
16461 {
16462 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
16463 result = (wxDateTime *) &_result_ref;
16464 }
16465
16466 wxPyEndAllowThreads(__tstate);
16467 if (PyErr_Occurred()) SWIG_fail;
16468 }
16469 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16470 return resultobj;
16471 fail:
16472 return NULL;
16473 }
16474
16475
16476 static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16477 PyObject *resultobj;
16478 wxDateTime *arg1 = (wxDateTime *) 0 ;
16479 int arg2 ;
16480 wxDateTime result;
16481 PyObject * obj0 = 0 ;
16482 char *kwnames[] = {
16483 (char *) "self",(char *) "weekday", NULL
16484 };
16485
16486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16488 {
16489 PyThreadState* __tstate = wxPyBeginAllowThreads();
16490 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
16491
16492 wxPyEndAllowThreads(__tstate);
16493 if (PyErr_Occurred()) SWIG_fail;
16494 }
16495 {
16496 wxDateTime * resultptr;
16497 resultptr = new wxDateTime((wxDateTime &) result);
16498 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16499 }
16500 return resultobj;
16501 fail:
16502 return NULL;
16503 }
16504
16505
16506 static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16507 PyObject *resultobj;
16508 wxDateTime *arg1 = (wxDateTime *) 0 ;
16509 int arg2 ;
16510 int arg3 = (int) 1 ;
16511 int arg4 = (int) wxDateTime::Inv_Month ;
16512 int arg5 = (int) wxDateTime::Inv_Year ;
16513 bool result;
16514 PyObject * obj0 = 0 ;
16515 char *kwnames[] = {
16516 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16517 };
16518
16519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16521 {
16522 PyThreadState* __tstate = wxPyBeginAllowThreads();
16523 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
16524
16525 wxPyEndAllowThreads(__tstate);
16526 if (PyErr_Occurred()) SWIG_fail;
16527 }
16528 resultobj = PyInt_FromLong((long)result);
16529 return resultobj;
16530 fail:
16531 return NULL;
16532 }
16533
16534
16535 static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16536 PyObject *resultobj;
16537 wxDateTime *arg1 = (wxDateTime *) 0 ;
16538 int arg2 ;
16539 int arg3 = (int) wxDateTime::Inv_Month ;
16540 int arg4 = (int) wxDateTime::Inv_Year ;
16541 bool result;
16542 PyObject * obj0 = 0 ;
16543 char *kwnames[] = {
16544 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16545 };
16546
16547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16549 {
16550 PyThreadState* __tstate = wxPyBeginAllowThreads();
16551 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16552
16553 wxPyEndAllowThreads(__tstate);
16554 if (PyErr_Occurred()) SWIG_fail;
16555 }
16556 resultobj = PyInt_FromLong((long)result);
16557 return resultobj;
16558 fail:
16559 return NULL;
16560 }
16561
16562
16563 static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16564 PyObject *resultobj;
16565 wxDateTime *arg1 = (wxDateTime *) 0 ;
16566 int arg2 ;
16567 int arg3 = (int) wxDateTime::Inv_Month ;
16568 int arg4 = (int) wxDateTime::Inv_Year ;
16569 wxDateTime result;
16570 PyObject * obj0 = 0 ;
16571 char *kwnames[] = {
16572 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16573 };
16574
16575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16577 {
16578 PyThreadState* __tstate = wxPyBeginAllowThreads();
16579 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16580
16581 wxPyEndAllowThreads(__tstate);
16582 if (PyErr_Occurred()) SWIG_fail;
16583 }
16584 {
16585 wxDateTime * resultptr;
16586 resultptr = new wxDateTime((wxDateTime &) result);
16587 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16588 }
16589 return resultobj;
16590 fail:
16591 return NULL;
16592 }
16593
16594
16595 static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16596 PyObject *resultobj;
16597 wxDateTime *arg1 = (wxDateTime *) 0 ;
16598 int arg2 ;
16599 int arg3 = (int) wxDateTime::Mon ;
16600 int arg4 = (int) wxDateTime::Monday_First ;
16601 bool result;
16602 PyObject * obj0 = 0 ;
16603 char *kwnames[] = {
16604 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16605 };
16606
16607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToTheWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16609 {
16610 PyThreadState* __tstate = wxPyBeginAllowThreads();
16611 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16612
16613 wxPyEndAllowThreads(__tstate);
16614 if (PyErr_Occurred()) SWIG_fail;
16615 }
16616 resultobj = PyInt_FromLong((long)result);
16617 return resultobj;
16618 fail:
16619 return NULL;
16620 }
16621
16622
16623 static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16624 PyObject *resultobj;
16625 wxDateTime *arg1 = (wxDateTime *) 0 ;
16626 int arg2 ;
16627 int arg3 = (int) wxDateTime::Mon ;
16628 int arg4 = (int) wxDateTime::Monday_First ;
16629 wxDateTime result;
16630 PyObject * obj0 = 0 ;
16631 char *kwnames[] = {
16632 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16633 };
16634
16635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16637 {
16638 PyThreadState* __tstate = wxPyBeginAllowThreads();
16639 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16640
16641 wxPyEndAllowThreads(__tstate);
16642 if (PyErr_Occurred()) SWIG_fail;
16643 }
16644 {
16645 wxDateTime * resultptr;
16646 resultptr = new wxDateTime((wxDateTime &) result);
16647 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16648 }
16649 return resultobj;
16650 fail:
16651 return NULL;
16652 }
16653
16654
16655 static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16656 PyObject *resultobj;
16657 wxDateTime *arg1 = (wxDateTime *) 0 ;
16658 int arg2 = (int) wxDateTime::Inv_Month ;
16659 int arg3 = (int) wxDateTime::Inv_Year ;
16660 wxDateTime *result;
16661 PyObject * obj0 = 0 ;
16662 char *kwnames[] = {
16663 (char *) "self",(char *) "month",(char *) "year", NULL
16664 };
16665
16666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16668 {
16669 PyThreadState* __tstate = wxPyBeginAllowThreads();
16670 {
16671 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
16672 result = (wxDateTime *) &_result_ref;
16673 }
16674
16675 wxPyEndAllowThreads(__tstate);
16676 if (PyErr_Occurred()) SWIG_fail;
16677 }
16678 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16679 return resultobj;
16680 fail:
16681 return NULL;
16682 }
16683
16684
16685 static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16686 PyObject *resultobj;
16687 wxDateTime *arg1 = (wxDateTime *) 0 ;
16688 int arg2 = (int) wxDateTime::Inv_Month ;
16689 int arg3 = (int) wxDateTime::Inv_Year ;
16690 wxDateTime result;
16691 PyObject * obj0 = 0 ;
16692 char *kwnames[] = {
16693 (char *) "self",(char *) "month",(char *) "year", NULL
16694 };
16695
16696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16698 {
16699 PyThreadState* __tstate = wxPyBeginAllowThreads();
16700 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
16701
16702 wxPyEndAllowThreads(__tstate);
16703 if (PyErr_Occurred()) SWIG_fail;
16704 }
16705 {
16706 wxDateTime * resultptr;
16707 resultptr = new wxDateTime((wxDateTime &) result);
16708 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16709 }
16710 return resultobj;
16711 fail:
16712 return NULL;
16713 }
16714
16715
16716 static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16717 PyObject *resultobj;
16718 wxDateTime *arg1 = (wxDateTime *) 0 ;
16719 int arg2 ;
16720 wxDateTime *result;
16721 PyObject * obj0 = 0 ;
16722 char *kwnames[] = {
16723 (char *) "self",(char *) "yday", NULL
16724 };
16725
16726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToYearDay",kwnames,&obj0,&arg2)) goto fail;
16727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16728 {
16729 PyThreadState* __tstate = wxPyBeginAllowThreads();
16730 {
16731 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
16732 result = (wxDateTime *) &_result_ref;
16733 }
16734
16735 wxPyEndAllowThreads(__tstate);
16736 if (PyErr_Occurred()) SWIG_fail;
16737 }
16738 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16739 return resultobj;
16740 fail:
16741 return NULL;
16742 }
16743
16744
16745 static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16746 PyObject *resultobj;
16747 wxDateTime *arg1 = (wxDateTime *) 0 ;
16748 int arg2 ;
16749 wxDateTime result;
16750 PyObject * obj0 = 0 ;
16751 char *kwnames[] = {
16752 (char *) "self",(char *) "yday", NULL
16753 };
16754
16755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetYearDay",kwnames,&obj0,&arg2)) goto fail;
16756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16757 {
16758 PyThreadState* __tstate = wxPyBeginAllowThreads();
16759 result = (arg1)->GetYearDay(arg2);
16760
16761 wxPyEndAllowThreads(__tstate);
16762 if (PyErr_Occurred()) SWIG_fail;
16763 }
16764 {
16765 wxDateTime * resultptr;
16766 resultptr = new wxDateTime((wxDateTime &) result);
16767 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16768 }
16769 return resultobj;
16770 fail:
16771 return NULL;
16772 }
16773
16774
16775 static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16776 PyObject *resultobj;
16777 wxDateTime *arg1 = (wxDateTime *) 0 ;
16778 double result;
16779 PyObject * obj0 = 0 ;
16780 char *kwnames[] = {
16781 (char *) "self", NULL
16782 };
16783
16784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
16785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16786 {
16787 PyThreadState* __tstate = wxPyBeginAllowThreads();
16788 result = (double)(arg1)->GetJulianDayNumber();
16789
16790 wxPyEndAllowThreads(__tstate);
16791 if (PyErr_Occurred()) SWIG_fail;
16792 }
16793 resultobj = PyFloat_FromDouble(result);
16794 return resultobj;
16795 fail:
16796 return NULL;
16797 }
16798
16799
16800 static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
16801 PyObject *resultobj;
16802 wxDateTime *arg1 = (wxDateTime *) 0 ;
16803 double result;
16804 PyObject * obj0 = 0 ;
16805 char *kwnames[] = {
16806 (char *) "self", NULL
16807 };
16808
16809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
16810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16811 {
16812 PyThreadState* __tstate = wxPyBeginAllowThreads();
16813 result = (double)(arg1)->GetJDN();
16814
16815 wxPyEndAllowThreads(__tstate);
16816 if (PyErr_Occurred()) SWIG_fail;
16817 }
16818 resultobj = PyFloat_FromDouble(result);
16819 return resultobj;
16820 fail:
16821 return NULL;
16822 }
16823
16824
16825 static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16826 PyObject *resultobj;
16827 wxDateTime *arg1 = (wxDateTime *) 0 ;
16828 double result;
16829 PyObject * obj0 = 0 ;
16830 char *kwnames[] = {
16831 (char *) "self", NULL
16832 };
16833
16834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
16835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16836 {
16837 PyThreadState* __tstate = wxPyBeginAllowThreads();
16838 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
16839
16840 wxPyEndAllowThreads(__tstate);
16841 if (PyErr_Occurred()) SWIG_fail;
16842 }
16843 resultobj = PyFloat_FromDouble(result);
16844 return resultobj;
16845 fail:
16846 return NULL;
16847 }
16848
16849
16850 static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
16851 PyObject *resultobj;
16852 wxDateTime *arg1 = (wxDateTime *) 0 ;
16853 double result;
16854 PyObject * obj0 = 0 ;
16855 char *kwnames[] = {
16856 (char *) "self", NULL
16857 };
16858
16859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
16860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16861 {
16862 PyThreadState* __tstate = wxPyBeginAllowThreads();
16863 result = (double)(arg1)->GetMJD();
16864
16865 wxPyEndAllowThreads(__tstate);
16866 if (PyErr_Occurred()) SWIG_fail;
16867 }
16868 resultobj = PyFloat_FromDouble(result);
16869 return resultobj;
16870 fail:
16871 return NULL;
16872 }
16873
16874
16875 static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
16876 PyObject *resultobj;
16877 wxDateTime *arg1 = (wxDateTime *) 0 ;
16878 double result;
16879 PyObject * obj0 = 0 ;
16880 char *kwnames[] = {
16881 (char *) "self", NULL
16882 };
16883
16884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
16885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16886 {
16887 PyThreadState* __tstate = wxPyBeginAllowThreads();
16888 result = (double)(arg1)->GetRataDie();
16889
16890 wxPyEndAllowThreads(__tstate);
16891 if (PyErr_Occurred()) SWIG_fail;
16892 }
16893 resultobj = PyFloat_FromDouble(result);
16894 return resultobj;
16895 fail:
16896 return NULL;
16897 }
16898
16899
16900 static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16901 PyObject *resultobj;
16902 wxDateTime *arg1 = (wxDateTime *) 0 ;
16903 wxDateTime::TimeZone *arg2 = 0 ;
16904 bool arg3 = (bool) False ;
16905 wxDateTime result;
16906 bool temp2 = False ;
16907 PyObject * obj0 = 0 ;
16908 PyObject * obj1 = 0 ;
16909 PyObject * obj2 = 0 ;
16910 char *kwnames[] = {
16911 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16912 };
16913
16914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16916 {
16917 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16918 temp2 = True;
16919 }
16920 if (obj2) {
16921 arg3 = PyInt_AsLong(obj2) ? true : false;
16922 if (PyErr_Occurred()) SWIG_fail;
16923 }
16924 {
16925 PyThreadState* __tstate = wxPyBeginAllowThreads();
16926 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16927
16928 wxPyEndAllowThreads(__tstate);
16929 if (PyErr_Occurred()) SWIG_fail;
16930 }
16931 {
16932 wxDateTime * resultptr;
16933 resultptr = new wxDateTime((wxDateTime &) result);
16934 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16935 }
16936 {
16937 if (temp2) delete arg2;
16938 }
16939 return resultobj;
16940 fail:
16941 {
16942 if (temp2) delete arg2;
16943 }
16944 return NULL;
16945 }
16946
16947
16948 static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16949 PyObject *resultobj;
16950 wxDateTime *arg1 = (wxDateTime *) 0 ;
16951 wxDateTime::TimeZone *arg2 = 0 ;
16952 bool arg3 = (bool) False ;
16953 wxDateTime *result;
16954 bool temp2 = False ;
16955 PyObject * obj0 = 0 ;
16956 PyObject * obj1 = 0 ;
16957 PyObject * obj2 = 0 ;
16958 char *kwnames[] = {
16959 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16960 };
16961
16962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16964 {
16965 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16966 temp2 = True;
16967 }
16968 if (obj2) {
16969 arg3 = PyInt_AsLong(obj2) ? true : false;
16970 if (PyErr_Occurred()) SWIG_fail;
16971 }
16972 {
16973 PyThreadState* __tstate = wxPyBeginAllowThreads();
16974 {
16975 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16976 result = (wxDateTime *) &_result_ref;
16977 }
16978
16979 wxPyEndAllowThreads(__tstate);
16980 if (PyErr_Occurred()) SWIG_fail;
16981 }
16982 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16983 {
16984 if (temp2) delete arg2;
16985 }
16986 return resultobj;
16987 fail:
16988 {
16989 if (temp2) delete arg2;
16990 }
16991 return NULL;
16992 }
16993
16994
16995 static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16996 PyObject *resultobj;
16997 wxDateTime *arg1 = (wxDateTime *) 0 ;
16998 bool arg2 = (bool) False ;
16999 wxDateTime result;
17000 PyObject * obj0 = 0 ;
17001 PyObject * obj1 = 0 ;
17002 char *kwnames[] = {
17003 (char *) "self",(char *) "noDST", NULL
17004 };
17005
17006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
17007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17008 if (obj1) {
17009 arg2 = PyInt_AsLong(obj1) ? true : false;
17010 if (PyErr_Occurred()) SWIG_fail;
17011 }
17012 {
17013 PyThreadState* __tstate = wxPyBeginAllowThreads();
17014 result = (arg1)->ToGMT(arg2);
17015
17016 wxPyEndAllowThreads(__tstate);
17017 if (PyErr_Occurred()) SWIG_fail;
17018 }
17019 {
17020 wxDateTime * resultptr;
17021 resultptr = new wxDateTime((wxDateTime &) result);
17022 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17023 }
17024 return resultobj;
17025 fail:
17026 return NULL;
17027 }
17028
17029
17030 static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
17031 PyObject *resultobj;
17032 wxDateTime *arg1 = (wxDateTime *) 0 ;
17033 bool arg2 = (bool) False ;
17034 wxDateTime *result;
17035 PyObject * obj0 = 0 ;
17036 PyObject * obj1 = 0 ;
17037 char *kwnames[] = {
17038 (char *) "self",(char *) "noDST", NULL
17039 };
17040
17041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
17042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17043 if (obj1) {
17044 arg2 = PyInt_AsLong(obj1) ? true : false;
17045 if (PyErr_Occurred()) SWIG_fail;
17046 }
17047 {
17048 PyThreadState* __tstate = wxPyBeginAllowThreads();
17049 {
17050 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
17051 result = (wxDateTime *) &_result_ref;
17052 }
17053
17054 wxPyEndAllowThreads(__tstate);
17055 if (PyErr_Occurred()) SWIG_fail;
17056 }
17057 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17058 return resultobj;
17059 fail:
17060 return NULL;
17061 }
17062
17063
17064 static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17065 PyObject *resultobj;
17066 wxDateTime *arg1 = (wxDateTime *) 0 ;
17067 int arg2 = (int) wxDateTime::Country_Default ;
17068 int result;
17069 PyObject * obj0 = 0 ;
17070 char *kwnames[] = {
17071 (char *) "self",(char *) "country", NULL
17072 };
17073
17074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsDST",kwnames,&obj0,&arg2)) goto fail;
17075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17076 {
17077 PyThreadState* __tstate = wxPyBeginAllowThreads();
17078 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
17079
17080 wxPyEndAllowThreads(__tstate);
17081 if (PyErr_Occurred()) SWIG_fail;
17082 }
17083 resultobj = PyInt_FromLong((long)result);
17084 return resultobj;
17085 fail:
17086 return NULL;
17087 }
17088
17089
17090 static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
17091 PyObject *resultobj;
17092 wxDateTime *arg1 = (wxDateTime *) 0 ;
17093 bool result;
17094 PyObject * obj0 = 0 ;
17095 char *kwnames[] = {
17096 (char *) "self", NULL
17097 };
17098
17099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
17100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17101 {
17102 PyThreadState* __tstate = wxPyBeginAllowThreads();
17103 result = (bool)((wxDateTime const *)arg1)->IsValid();
17104
17105 wxPyEndAllowThreads(__tstate);
17106 if (PyErr_Occurred()) SWIG_fail;
17107 }
17108 resultobj = PyInt_FromLong((long)result);
17109 return resultobj;
17110 fail:
17111 return NULL;
17112 }
17113
17114
17115 static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
17116 PyObject *resultobj;
17117 wxDateTime *arg1 = (wxDateTime *) 0 ;
17118 time_t result;
17119 PyObject * obj0 = 0 ;
17120 char *kwnames[] = {
17121 (char *) "self", NULL
17122 };
17123
17124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
17125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17126 {
17127 PyThreadState* __tstate = wxPyBeginAllowThreads();
17128 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
17129
17130 wxPyEndAllowThreads(__tstate);
17131 if (PyErr_Occurred()) SWIG_fail;
17132 }
17133 resultobj = PyInt_FromLong((long)result);
17134 return resultobj;
17135 fail:
17136 return NULL;
17137 }
17138
17139
17140 static PyObject *_wrap_DateTime_GetYear(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 bool temp2 = False ;
17147 PyObject * obj0 = 0 ;
17148 PyObject * obj1 = 0 ;
17149 char *kwnames[] = {
17150 (char *) "self",(char *) "tz", NULL
17151 };
17152
17153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
17154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17155 if (obj1) {
17156 {
17157 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17158 temp2 = True;
17159 }
17160 }
17161 {
17162 PyThreadState* __tstate = wxPyBeginAllowThreads();
17163 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
17164
17165 wxPyEndAllowThreads(__tstate);
17166 if (PyErr_Occurred()) SWIG_fail;
17167 }
17168 resultobj = PyInt_FromLong((long)result);
17169 {
17170 if (temp2) delete arg2;
17171 }
17172 return resultobj;
17173 fail:
17174 {
17175 if (temp2) delete arg2;
17176 }
17177 return NULL;
17178 }
17179
17180
17181 static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17182 PyObject *resultobj;
17183 wxDateTime *arg1 = (wxDateTime *) 0 ;
17184 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17185 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17186 int result;
17187 bool temp2 = False ;
17188 PyObject * obj0 = 0 ;
17189 PyObject * obj1 = 0 ;
17190 char *kwnames[] = {
17191 (char *) "self",(char *) "tz", NULL
17192 };
17193
17194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
17195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17196 if (obj1) {
17197 {
17198 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17199 temp2 = True;
17200 }
17201 }
17202 {
17203 PyThreadState* __tstate = wxPyBeginAllowThreads();
17204 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
17205
17206 wxPyEndAllowThreads(__tstate);
17207 if (PyErr_Occurred()) SWIG_fail;
17208 }
17209 resultobj = PyInt_FromLong((long)result);
17210 {
17211 if (temp2) delete arg2;
17212 }
17213 return resultobj;
17214 fail:
17215 {
17216 if (temp2) delete arg2;
17217 }
17218 return NULL;
17219 }
17220
17221
17222 static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17223 PyObject *resultobj;
17224 wxDateTime *arg1 = (wxDateTime *) 0 ;
17225 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17226 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17227 int result;
17228 bool temp2 = False ;
17229 PyObject * obj0 = 0 ;
17230 PyObject * obj1 = 0 ;
17231 char *kwnames[] = {
17232 (char *) "self",(char *) "tz", NULL
17233 };
17234
17235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
17236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17237 if (obj1) {
17238 {
17239 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17240 temp2 = True;
17241 }
17242 }
17243 {
17244 PyThreadState* __tstate = wxPyBeginAllowThreads();
17245 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
17246
17247 wxPyEndAllowThreads(__tstate);
17248 if (PyErr_Occurred()) SWIG_fail;
17249 }
17250 resultobj = PyInt_FromLong((long)result);
17251 {
17252 if (temp2) delete arg2;
17253 }
17254 return resultobj;
17255 fail:
17256 {
17257 if (temp2) delete arg2;
17258 }
17259 return NULL;
17260 }
17261
17262
17263 static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17264 PyObject *resultobj;
17265 wxDateTime *arg1 = (wxDateTime *) 0 ;
17266 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17267 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17268 int result;
17269 bool temp2 = False ;
17270 PyObject * obj0 = 0 ;
17271 PyObject * obj1 = 0 ;
17272 char *kwnames[] = {
17273 (char *) "self",(char *) "tz", NULL
17274 };
17275
17276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
17277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17278 if (obj1) {
17279 {
17280 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17281 temp2 = True;
17282 }
17283 }
17284 {
17285 PyThreadState* __tstate = wxPyBeginAllowThreads();
17286 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
17287
17288 wxPyEndAllowThreads(__tstate);
17289 if (PyErr_Occurred()) SWIG_fail;
17290 }
17291 resultobj = PyInt_FromLong((long)result);
17292 {
17293 if (temp2) delete arg2;
17294 }
17295 return resultobj;
17296 fail:
17297 {
17298 if (temp2) delete arg2;
17299 }
17300 return NULL;
17301 }
17302
17303
17304 static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17305 PyObject *resultobj;
17306 wxDateTime *arg1 = (wxDateTime *) 0 ;
17307 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17308 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17309 int result;
17310 bool temp2 = False ;
17311 PyObject * obj0 = 0 ;
17312 PyObject * obj1 = 0 ;
17313 char *kwnames[] = {
17314 (char *) "self",(char *) "tz", NULL
17315 };
17316
17317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
17318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17319 if (obj1) {
17320 {
17321 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17322 temp2 = True;
17323 }
17324 }
17325 {
17326 PyThreadState* __tstate = wxPyBeginAllowThreads();
17327 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
17328
17329 wxPyEndAllowThreads(__tstate);
17330 if (PyErr_Occurred()) SWIG_fail;
17331 }
17332 resultobj = PyInt_FromLong((long)result);
17333 {
17334 if (temp2) delete arg2;
17335 }
17336 return resultobj;
17337 fail:
17338 {
17339 if (temp2) delete arg2;
17340 }
17341 return NULL;
17342 }
17343
17344
17345 static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17346 PyObject *resultobj;
17347 wxDateTime *arg1 = (wxDateTime *) 0 ;
17348 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17349 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17350 int result;
17351 bool temp2 = False ;
17352 PyObject * obj0 = 0 ;
17353 PyObject * obj1 = 0 ;
17354 char *kwnames[] = {
17355 (char *) "self",(char *) "tz", NULL
17356 };
17357
17358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
17359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17360 if (obj1) {
17361 {
17362 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17363 temp2 = True;
17364 }
17365 }
17366 {
17367 PyThreadState* __tstate = wxPyBeginAllowThreads();
17368 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
17369
17370 wxPyEndAllowThreads(__tstate);
17371 if (PyErr_Occurred()) SWIG_fail;
17372 }
17373 resultobj = PyInt_FromLong((long)result);
17374 {
17375 if (temp2) delete arg2;
17376 }
17377 return resultobj;
17378 fail:
17379 {
17380 if (temp2) delete arg2;
17381 }
17382 return NULL;
17383 }
17384
17385
17386 static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17387 PyObject *resultobj;
17388 wxDateTime *arg1 = (wxDateTime *) 0 ;
17389 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17390 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17391 int result;
17392 bool temp2 = False ;
17393 PyObject * obj0 = 0 ;
17394 PyObject * obj1 = 0 ;
17395 char *kwnames[] = {
17396 (char *) "self",(char *) "tz", NULL
17397 };
17398
17399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
17400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17401 if (obj1) {
17402 {
17403 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17404 temp2 = True;
17405 }
17406 }
17407 {
17408 PyThreadState* __tstate = wxPyBeginAllowThreads();
17409 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
17410
17411 wxPyEndAllowThreads(__tstate);
17412 if (PyErr_Occurred()) SWIG_fail;
17413 }
17414 resultobj = PyInt_FromLong((long)result);
17415 {
17416 if (temp2) delete arg2;
17417 }
17418 return resultobj;
17419 fail:
17420 {
17421 if (temp2) delete arg2;
17422 }
17423 return NULL;
17424 }
17425
17426
17427 static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17428 PyObject *resultobj;
17429 wxDateTime *arg1 = (wxDateTime *) 0 ;
17430 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17431 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17432 int result;
17433 bool temp2 = False ;
17434 PyObject * obj0 = 0 ;
17435 PyObject * obj1 = 0 ;
17436 char *kwnames[] = {
17437 (char *) "self",(char *) "tz", NULL
17438 };
17439
17440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
17441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17442 if (obj1) {
17443 {
17444 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17445 temp2 = True;
17446 }
17447 }
17448 {
17449 PyThreadState* __tstate = wxPyBeginAllowThreads();
17450 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
17451
17452 wxPyEndAllowThreads(__tstate);
17453 if (PyErr_Occurred()) SWIG_fail;
17454 }
17455 resultobj = PyInt_FromLong((long)result);
17456 {
17457 if (temp2) delete arg2;
17458 }
17459 return resultobj;
17460 fail:
17461 {
17462 if (temp2) delete arg2;
17463 }
17464 return NULL;
17465 }
17466
17467
17468 static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17469 PyObject *resultobj;
17470 wxDateTime *arg1 = (wxDateTime *) 0 ;
17471 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17472 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17473 int result;
17474 bool temp2 = False ;
17475 PyObject * obj0 = 0 ;
17476 PyObject * obj1 = 0 ;
17477 char *kwnames[] = {
17478 (char *) "self",(char *) "tz", NULL
17479 };
17480
17481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
17482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17483 if (obj1) {
17484 {
17485 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17486 temp2 = True;
17487 }
17488 }
17489 {
17490 PyThreadState* __tstate = wxPyBeginAllowThreads();
17491 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
17492
17493 wxPyEndAllowThreads(__tstate);
17494 if (PyErr_Occurred()) SWIG_fail;
17495 }
17496 resultobj = PyInt_FromLong((long)result);
17497 {
17498 if (temp2) delete arg2;
17499 }
17500 return resultobj;
17501 fail:
17502 {
17503 if (temp2) delete arg2;
17504 }
17505 return NULL;
17506 }
17507
17508
17509 static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17510 PyObject *resultobj;
17511 wxDateTime *arg1 = (wxDateTime *) 0 ;
17512 int arg2 = (int) wxDateTime::Monday_First ;
17513 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17514 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
17515 int result;
17516 bool temp3 = False ;
17517 PyObject * obj0 = 0 ;
17518 PyObject * obj2 = 0 ;
17519 char *kwnames[] = {
17520 (char *) "self",(char *) "flags",(char *) "tz", NULL
17521 };
17522
17523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames,&obj0,&arg2,&obj2)) goto fail;
17524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17525 if (obj2) {
17526 {
17527 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
17528 temp3 = True;
17529 }
17530 }
17531 {
17532 PyThreadState* __tstate = wxPyBeginAllowThreads();
17533 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
17534
17535 wxPyEndAllowThreads(__tstate);
17536 if (PyErr_Occurred()) SWIG_fail;
17537 }
17538 resultobj = PyInt_FromLong((long)result);
17539 {
17540 if (temp3) delete arg3;
17541 }
17542 return resultobj;
17543 fail:
17544 {
17545 if (temp3) delete arg3;
17546 }
17547 return NULL;
17548 }
17549
17550
17551 static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17552 PyObject *resultobj;
17553 wxDateTime *arg1 = (wxDateTime *) 0 ;
17554 int arg2 = (int) wxDateTime::Monday_First ;
17555 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17556 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
17557 int result;
17558 bool temp3 = False ;
17559 PyObject * obj0 = 0 ;
17560 PyObject * obj2 = 0 ;
17561 char *kwnames[] = {
17562 (char *) "self",(char *) "flags",(char *) "tz", NULL
17563 };
17564
17565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames,&obj0,&arg2,&obj2)) goto fail;
17566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17567 if (obj2) {
17568 {
17569 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
17570 temp3 = True;
17571 }
17572 }
17573 {
17574 PyThreadState* __tstate = wxPyBeginAllowThreads();
17575 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
17576
17577 wxPyEndAllowThreads(__tstate);
17578 if (PyErr_Occurred()) SWIG_fail;
17579 }
17580 resultobj = PyInt_FromLong((long)result);
17581 {
17582 if (temp3) delete arg3;
17583 }
17584 return resultobj;
17585 fail:
17586 {
17587 if (temp3) delete arg3;
17588 }
17589 return NULL;
17590 }
17591
17592
17593 static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17594 PyObject *resultobj;
17595 wxDateTime *arg1 = (wxDateTime *) 0 ;
17596 int arg2 = (int) wxDateTime::Country_Default ;
17597 bool result;
17598 PyObject * obj0 = 0 ;
17599 char *kwnames[] = {
17600 (char *) "self",(char *) "country", NULL
17601 };
17602
17603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsWorkDay",kwnames,&obj0,&arg2)) goto fail;
17604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17605 {
17606 PyThreadState* __tstate = wxPyBeginAllowThreads();
17607 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
17608
17609 wxPyEndAllowThreads(__tstate);
17610 if (PyErr_Occurred()) SWIG_fail;
17611 }
17612 resultobj = PyInt_FromLong((long)result);
17613 return resultobj;
17614 fail:
17615 return NULL;
17616 }
17617
17618
17619 static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17620 PyObject *resultobj;
17621 wxDateTime *arg1 = (wxDateTime *) 0 ;
17622 wxDateTime *arg2 = 0 ;
17623 bool result;
17624 PyObject * obj0 = 0 ;
17625 PyObject * obj1 = 0 ;
17626 char *kwnames[] = {
17627 (char *) "self",(char *) "datetime", NULL
17628 };
17629
17630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
17631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17632 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17633 if (arg2 == NULL) {
17634 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17635 }
17636 {
17637 PyThreadState* __tstate = wxPyBeginAllowThreads();
17638 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
17639
17640 wxPyEndAllowThreads(__tstate);
17641 if (PyErr_Occurred()) SWIG_fail;
17642 }
17643 resultobj = PyInt_FromLong((long)result);
17644 return resultobj;
17645 fail:
17646 return NULL;
17647 }
17648
17649
17650 static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17651 PyObject *resultobj;
17652 wxDateTime *arg1 = (wxDateTime *) 0 ;
17653 wxDateTime *arg2 = 0 ;
17654 bool result;
17655 PyObject * obj0 = 0 ;
17656 PyObject * obj1 = 0 ;
17657 char *kwnames[] = {
17658 (char *) "self",(char *) "datetime", NULL
17659 };
17660
17661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
17662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17663 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17664 if (arg2 == NULL) {
17665 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17666 }
17667 {
17668 PyThreadState* __tstate = wxPyBeginAllowThreads();
17669 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
17670
17671 wxPyEndAllowThreads(__tstate);
17672 if (PyErr_Occurred()) SWIG_fail;
17673 }
17674 resultobj = PyInt_FromLong((long)result);
17675 return resultobj;
17676 fail:
17677 return NULL;
17678 }
17679
17680
17681 static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17682 PyObject *resultobj;
17683 wxDateTime *arg1 = (wxDateTime *) 0 ;
17684 wxDateTime *arg2 = 0 ;
17685 bool result;
17686 PyObject * obj0 = 0 ;
17687 PyObject * obj1 = 0 ;
17688 char *kwnames[] = {
17689 (char *) "self",(char *) "datetime", NULL
17690 };
17691
17692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
17693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17694 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17695 if (arg2 == NULL) {
17696 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17697 }
17698 {
17699 PyThreadState* __tstate = wxPyBeginAllowThreads();
17700 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
17701
17702 wxPyEndAllowThreads(__tstate);
17703 if (PyErr_Occurred()) SWIG_fail;
17704 }
17705 resultobj = PyInt_FromLong((long)result);
17706 return resultobj;
17707 fail:
17708 return NULL;
17709 }
17710
17711
17712 static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17713 PyObject *resultobj;
17714 wxDateTime *arg1 = (wxDateTime *) 0 ;
17715 wxDateTime *arg2 = 0 ;
17716 wxDateTime *arg3 = 0 ;
17717 bool result;
17718 PyObject * obj0 = 0 ;
17719 PyObject * obj1 = 0 ;
17720 PyObject * obj2 = 0 ;
17721 char *kwnames[] = {
17722 (char *) "self",(char *) "t1",(char *) "t2", NULL
17723 };
17724
17725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17727 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17728 if (arg2 == NULL) {
17729 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17730 }
17731 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17732 if (arg3 == NULL) {
17733 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17734 }
17735 {
17736 PyThreadState* __tstate = wxPyBeginAllowThreads();
17737 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17738
17739 wxPyEndAllowThreads(__tstate);
17740 if (PyErr_Occurred()) SWIG_fail;
17741 }
17742 resultobj = PyInt_FromLong((long)result);
17743 return resultobj;
17744 fail:
17745 return NULL;
17746 }
17747
17748
17749 static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17750 PyObject *resultobj;
17751 wxDateTime *arg1 = (wxDateTime *) 0 ;
17752 wxDateTime *arg2 = 0 ;
17753 wxDateTime *arg3 = 0 ;
17754 bool result;
17755 PyObject * obj0 = 0 ;
17756 PyObject * obj1 = 0 ;
17757 PyObject * obj2 = 0 ;
17758 char *kwnames[] = {
17759 (char *) "self",(char *) "t1",(char *) "t2", NULL
17760 };
17761
17762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17764 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17765 if (arg2 == NULL) {
17766 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17767 }
17768 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17769 if (arg3 == NULL) {
17770 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17771 }
17772 {
17773 PyThreadState* __tstate = wxPyBeginAllowThreads();
17774 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17775
17776 wxPyEndAllowThreads(__tstate);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
17779 resultobj = PyInt_FromLong((long)result);
17780 return resultobj;
17781 fail:
17782 return NULL;
17783 }
17784
17785
17786 static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
17787 PyObject *resultobj;
17788 wxDateTime *arg1 = (wxDateTime *) 0 ;
17789 wxDateTime *arg2 = 0 ;
17790 bool result;
17791 PyObject * obj0 = 0 ;
17792 PyObject * obj1 = 0 ;
17793 char *kwnames[] = {
17794 (char *) "self",(char *) "dt", NULL
17795 };
17796
17797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
17798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17799 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17800 if (arg2 == NULL) {
17801 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17802 }
17803 {
17804 PyThreadState* __tstate = wxPyBeginAllowThreads();
17805 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
17806
17807 wxPyEndAllowThreads(__tstate);
17808 if (PyErr_Occurred()) SWIG_fail;
17809 }
17810 resultobj = PyInt_FromLong((long)result);
17811 return resultobj;
17812 fail:
17813 return NULL;
17814 }
17815
17816
17817 static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17818 PyObject *resultobj;
17819 wxDateTime *arg1 = (wxDateTime *) 0 ;
17820 wxDateTime *arg2 = 0 ;
17821 bool result;
17822 PyObject * obj0 = 0 ;
17823 PyObject * obj1 = 0 ;
17824 char *kwnames[] = {
17825 (char *) "self",(char *) "dt", NULL
17826 };
17827
17828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
17829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17830 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17831 if (arg2 == NULL) {
17832 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17833 }
17834 {
17835 PyThreadState* __tstate = wxPyBeginAllowThreads();
17836 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
17837
17838 wxPyEndAllowThreads(__tstate);
17839 if (PyErr_Occurred()) SWIG_fail;
17840 }
17841 resultobj = PyInt_FromLong((long)result);
17842 return resultobj;
17843 fail:
17844 return NULL;
17845 }
17846
17847
17848 static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17849 PyObject *resultobj;
17850 wxDateTime *arg1 = (wxDateTime *) 0 ;
17851 wxDateTime *arg2 = 0 ;
17852 wxTimeSpan *arg3 = 0 ;
17853 bool result;
17854 PyObject * obj0 = 0 ;
17855 PyObject * obj1 = 0 ;
17856 PyObject * obj2 = 0 ;
17857 char *kwnames[] = {
17858 (char *) "self",(char *) "dt",(char *) "ts", NULL
17859 };
17860
17861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17863 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17864 if (arg2 == NULL) {
17865 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17866 }
17867 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17868 if (arg3 == NULL) {
17869 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17870 }
17871 {
17872 PyThreadState* __tstate = wxPyBeginAllowThreads();
17873 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
17874
17875 wxPyEndAllowThreads(__tstate);
17876 if (PyErr_Occurred()) SWIG_fail;
17877 }
17878 resultobj = PyInt_FromLong((long)result);
17879 return resultobj;
17880 fail:
17881 return NULL;
17882 }
17883
17884
17885 static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17886 PyObject *resultobj;
17887 wxDateTime *arg1 = (wxDateTime *) 0 ;
17888 wxTimeSpan *arg2 = 0 ;
17889 wxDateTime *result;
17890 PyObject * obj0 = 0 ;
17891 PyObject * obj1 = 0 ;
17892 char *kwnames[] = {
17893 (char *) "self",(char *) "diff", NULL
17894 };
17895
17896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
17897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17898 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17899 if (arg2 == NULL) {
17900 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17901 }
17902 {
17903 PyThreadState* __tstate = wxPyBeginAllowThreads();
17904 {
17905 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
17906 result = (wxDateTime *) &_result_ref;
17907 }
17908
17909 wxPyEndAllowThreads(__tstate);
17910 if (PyErr_Occurred()) SWIG_fail;
17911 }
17912 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17913 return resultobj;
17914 fail:
17915 return NULL;
17916 }
17917
17918
17919 static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17920 PyObject *resultobj;
17921 wxDateTime *arg1 = (wxDateTime *) 0 ;
17922 wxDateSpan *arg2 = 0 ;
17923 wxDateTime *result;
17924 PyObject * obj0 = 0 ;
17925 PyObject * obj1 = 0 ;
17926 char *kwnames[] = {
17927 (char *) "self",(char *) "diff", NULL
17928 };
17929
17930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
17931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17933 if (arg2 == NULL) {
17934 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17935 }
17936 {
17937 PyThreadState* __tstate = wxPyBeginAllowThreads();
17938 {
17939 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
17940 result = (wxDateTime *) &_result_ref;
17941 }
17942
17943 wxPyEndAllowThreads(__tstate);
17944 if (PyErr_Occurred()) SWIG_fail;
17945 }
17946 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17947 return resultobj;
17948 fail:
17949 return NULL;
17950 }
17951
17952
17953 static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17954 PyObject *resultobj;
17955 wxDateTime *arg1 = (wxDateTime *) 0 ;
17956 wxTimeSpan *arg2 = 0 ;
17957 wxDateTime *result;
17958 PyObject * obj0 = 0 ;
17959 PyObject * obj1 = 0 ;
17960 char *kwnames[] = {
17961 (char *) "self",(char *) "diff", NULL
17962 };
17963
17964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
17965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17966 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17967 if (arg2 == NULL) {
17968 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17969 }
17970 {
17971 PyThreadState* __tstate = wxPyBeginAllowThreads();
17972 {
17973 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
17974 result = (wxDateTime *) &_result_ref;
17975 }
17976
17977 wxPyEndAllowThreads(__tstate);
17978 if (PyErr_Occurred()) SWIG_fail;
17979 }
17980 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17981 return resultobj;
17982 fail:
17983 return NULL;
17984 }
17985
17986
17987 static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17988 PyObject *resultobj;
17989 wxDateTime *arg1 = (wxDateTime *) 0 ;
17990 wxDateSpan *arg2 = 0 ;
17991 wxDateTime *result;
17992 PyObject * obj0 = 0 ;
17993 PyObject * obj1 = 0 ;
17994 char *kwnames[] = {
17995 (char *) "self",(char *) "diff", NULL
17996 };
17997
17998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
17999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18000 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18001 if (arg2 == NULL) {
18002 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18003 }
18004 {
18005 PyThreadState* __tstate = wxPyBeginAllowThreads();
18006 {
18007 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
18008 result = (wxDateTime *) &_result_ref;
18009 }
18010
18011 wxPyEndAllowThreads(__tstate);
18012 if (PyErr_Occurred()) SWIG_fail;
18013 }
18014 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18015 return resultobj;
18016 fail:
18017 return NULL;
18018 }
18019
18020
18021 static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
18022 PyObject *resultobj;
18023 wxDateTime *arg1 = (wxDateTime *) 0 ;
18024 wxDateTime *arg2 = 0 ;
18025 wxTimeSpan result;
18026 PyObject * obj0 = 0 ;
18027 PyObject * obj1 = 0 ;
18028 char *kwnames[] = {
18029 (char *) "self",(char *) "dt", NULL
18030 };
18031
18032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
18033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18034 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18035 if (arg2 == NULL) {
18036 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18037 }
18038 {
18039 PyThreadState* __tstate = wxPyBeginAllowThreads();
18040 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
18041
18042 wxPyEndAllowThreads(__tstate);
18043 if (PyErr_Occurred()) SWIG_fail;
18044 }
18045 {
18046 wxTimeSpan * resultptr;
18047 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18048 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18049 }
18050 return resultobj;
18051 fail:
18052 return NULL;
18053 }
18054
18055
18056 static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
18057 PyObject *resultobj;
18058 wxDateTime *arg1 = (wxDateTime *) 0 ;
18059 wxTimeSpan *arg2 = 0 ;
18060 wxDateTime *result;
18061 PyObject * obj0 = 0 ;
18062 PyObject * obj1 = 0 ;
18063
18064 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
18065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18066 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18067 if (arg2 == NULL) {
18068 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18069 }
18070 {
18071 PyThreadState* __tstate = wxPyBeginAllowThreads();
18072 {
18073 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
18074 result = (wxDateTime *) &_result_ref;
18075 }
18076
18077 wxPyEndAllowThreads(__tstate);
18078 if (PyErr_Occurred()) SWIG_fail;
18079 }
18080 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18081 return resultobj;
18082 fail:
18083 return NULL;
18084 }
18085
18086
18087 static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
18088 PyObject *resultobj;
18089 wxDateTime *arg1 = (wxDateTime *) 0 ;
18090 wxDateSpan *arg2 = 0 ;
18091 wxDateTime *result;
18092 PyObject * obj0 = 0 ;
18093 PyObject * obj1 = 0 ;
18094
18095 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
18096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18097 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18098 if (arg2 == NULL) {
18099 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18100 }
18101 {
18102 PyThreadState* __tstate = wxPyBeginAllowThreads();
18103 {
18104 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
18105 result = (wxDateTime *) &_result_ref;
18106 }
18107
18108 wxPyEndAllowThreads(__tstate);
18109 if (PyErr_Occurred()) SWIG_fail;
18110 }
18111 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18112 return resultobj;
18113 fail:
18114 return NULL;
18115 }
18116
18117
18118 static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
18119 int argc;
18120 PyObject *argv[3];
18121 int ii;
18122
18123 argc = PyObject_Length(args);
18124 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18125 argv[ii] = PyTuple_GetItem(args,ii);
18126 }
18127 if (argc == 2) {
18128 int _v;
18129 {
18130 void *ptr;
18131 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18132 _v = 0;
18133 PyErr_Clear();
18134 } else {
18135 _v = 1;
18136 }
18137 }
18138 if (_v) {
18139 {
18140 void *ptr;
18141 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18142 _v = 0;
18143 PyErr_Clear();
18144 } else {
18145 _v = 1;
18146 }
18147 }
18148 if (_v) {
18149 return _wrap_DateTime___iadd____SWIG_0(self,args);
18150 }
18151 }
18152 }
18153 if (argc == 2) {
18154 int _v;
18155 {
18156 void *ptr;
18157 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18158 _v = 0;
18159 PyErr_Clear();
18160 } else {
18161 _v = 1;
18162 }
18163 }
18164 if (_v) {
18165 {
18166 void *ptr;
18167 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18168 _v = 0;
18169 PyErr_Clear();
18170 } else {
18171 _v = 1;
18172 }
18173 }
18174 if (_v) {
18175 return _wrap_DateTime___iadd____SWIG_1(self,args);
18176 }
18177 }
18178 }
18179
18180 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
18181 return NULL;
18182 }
18183
18184
18185 static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
18186 PyObject *resultobj;
18187 wxDateTime *arg1 = (wxDateTime *) 0 ;
18188 wxTimeSpan *arg2 = 0 ;
18189 wxDateTime *result;
18190 PyObject * obj0 = 0 ;
18191 PyObject * obj1 = 0 ;
18192
18193 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
18194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18195 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18196 if (arg2 == NULL) {
18197 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18198 }
18199 {
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 {
18202 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
18203 result = (wxDateTime *) &_result_ref;
18204 }
18205
18206 wxPyEndAllowThreads(__tstate);
18207 if (PyErr_Occurred()) SWIG_fail;
18208 }
18209 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18210 return resultobj;
18211 fail:
18212 return NULL;
18213 }
18214
18215
18216 static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
18217 PyObject *resultobj;
18218 wxDateTime *arg1 = (wxDateTime *) 0 ;
18219 wxDateSpan *arg2 = 0 ;
18220 wxDateTime *result;
18221 PyObject * obj0 = 0 ;
18222 PyObject * obj1 = 0 ;
18223
18224 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
18225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18226 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18227 if (arg2 == NULL) {
18228 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18229 }
18230 {
18231 PyThreadState* __tstate = wxPyBeginAllowThreads();
18232 {
18233 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
18234 result = (wxDateTime *) &_result_ref;
18235 }
18236
18237 wxPyEndAllowThreads(__tstate);
18238 if (PyErr_Occurred()) SWIG_fail;
18239 }
18240 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18241 return resultobj;
18242 fail:
18243 return NULL;
18244 }
18245
18246
18247 static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
18248 int argc;
18249 PyObject *argv[3];
18250 int ii;
18251
18252 argc = PyObject_Length(args);
18253 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18254 argv[ii] = PyTuple_GetItem(args,ii);
18255 }
18256 if (argc == 2) {
18257 int _v;
18258 {
18259 void *ptr;
18260 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18261 _v = 0;
18262 PyErr_Clear();
18263 } else {
18264 _v = 1;
18265 }
18266 }
18267 if (_v) {
18268 {
18269 void *ptr;
18270 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18271 _v = 0;
18272 PyErr_Clear();
18273 } else {
18274 _v = 1;
18275 }
18276 }
18277 if (_v) {
18278 return _wrap_DateTime___isub____SWIG_0(self,args);
18279 }
18280 }
18281 }
18282 if (argc == 2) {
18283 int _v;
18284 {
18285 void *ptr;
18286 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18287 _v = 0;
18288 PyErr_Clear();
18289 } else {
18290 _v = 1;
18291 }
18292 }
18293 if (_v) {
18294 {
18295 void *ptr;
18296 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18297 _v = 0;
18298 PyErr_Clear();
18299 } else {
18300 _v = 1;
18301 }
18302 }
18303 if (_v) {
18304 return _wrap_DateTime___isub____SWIG_1(self,args);
18305 }
18306 }
18307 }
18308
18309 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
18310 return NULL;
18311 }
18312
18313
18314 static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
18315 PyObject *resultobj;
18316 wxDateTime *arg1 = (wxDateTime *) 0 ;
18317 wxTimeSpan *arg2 = 0 ;
18318 wxDateTime result;
18319 PyObject * obj0 = 0 ;
18320 PyObject * obj1 = 0 ;
18321
18322 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18324 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18325 if (arg2 == NULL) {
18326 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18327 }
18328 {
18329 PyThreadState* __tstate = wxPyBeginAllowThreads();
18330 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
18331
18332 wxPyEndAllowThreads(__tstate);
18333 if (PyErr_Occurred()) SWIG_fail;
18334 }
18335 {
18336 wxDateTime * resultptr;
18337 resultptr = new wxDateTime((wxDateTime &) result);
18338 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18339 }
18340 return resultobj;
18341 fail:
18342 return NULL;
18343 }
18344
18345
18346 static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
18347 PyObject *resultobj;
18348 wxDateTime *arg1 = (wxDateTime *) 0 ;
18349 wxDateSpan *arg2 = 0 ;
18350 wxDateTime result;
18351 PyObject * obj0 = 0 ;
18352 PyObject * obj1 = 0 ;
18353
18354 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18357 if (arg2 == NULL) {
18358 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18359 }
18360 {
18361 PyThreadState* __tstate = wxPyBeginAllowThreads();
18362 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
18363
18364 wxPyEndAllowThreads(__tstate);
18365 if (PyErr_Occurred()) SWIG_fail;
18366 }
18367 {
18368 wxDateTime * resultptr;
18369 resultptr = new wxDateTime((wxDateTime &) result);
18370 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18371 }
18372 return resultobj;
18373 fail:
18374 return NULL;
18375 }
18376
18377
18378 static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
18379 int argc;
18380 PyObject *argv[3];
18381 int ii;
18382
18383 argc = PyObject_Length(args);
18384 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18385 argv[ii] = PyTuple_GetItem(args,ii);
18386 }
18387 if (argc == 2) {
18388 int _v;
18389 {
18390 void *ptr;
18391 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18392 _v = 0;
18393 PyErr_Clear();
18394 } else {
18395 _v = 1;
18396 }
18397 }
18398 if (_v) {
18399 {
18400 void *ptr;
18401 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18402 _v = 0;
18403 PyErr_Clear();
18404 } else {
18405 _v = 1;
18406 }
18407 }
18408 if (_v) {
18409 return _wrap_DateTime___add____SWIG_0(self,args);
18410 }
18411 }
18412 }
18413 if (argc == 2) {
18414 int _v;
18415 {
18416 void *ptr;
18417 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18418 _v = 0;
18419 PyErr_Clear();
18420 } else {
18421 _v = 1;
18422 }
18423 }
18424 if (_v) {
18425 {
18426 void *ptr;
18427 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18428 _v = 0;
18429 PyErr_Clear();
18430 } else {
18431 _v = 1;
18432 }
18433 }
18434 if (_v) {
18435 return _wrap_DateTime___add____SWIG_1(self,args);
18436 }
18437 }
18438 }
18439
18440 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
18441 return NULL;
18442 }
18443
18444
18445 static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
18446 PyObject *resultobj;
18447 wxDateTime *arg1 = (wxDateTime *) 0 ;
18448 wxDateTime *arg2 = 0 ;
18449 wxTimeSpan result;
18450 PyObject * obj0 = 0 ;
18451 PyObject * obj1 = 0 ;
18452
18453 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18455 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18456 if (arg2 == NULL) {
18457 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18458 }
18459 {
18460 PyThreadState* __tstate = wxPyBeginAllowThreads();
18461 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
18462
18463 wxPyEndAllowThreads(__tstate);
18464 if (PyErr_Occurred()) SWIG_fail;
18465 }
18466 {
18467 wxTimeSpan * resultptr;
18468 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18469 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18470 }
18471 return resultobj;
18472 fail:
18473 return NULL;
18474 }
18475
18476
18477 static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
18478 PyObject *resultobj;
18479 wxDateTime *arg1 = (wxDateTime *) 0 ;
18480 wxTimeSpan *arg2 = 0 ;
18481 wxDateTime result;
18482 PyObject * obj0 = 0 ;
18483 PyObject * obj1 = 0 ;
18484
18485 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18487 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18488 if (arg2 == NULL) {
18489 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18490 }
18491 {
18492 PyThreadState* __tstate = wxPyBeginAllowThreads();
18493 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
18494
18495 wxPyEndAllowThreads(__tstate);
18496 if (PyErr_Occurred()) SWIG_fail;
18497 }
18498 {
18499 wxDateTime * resultptr;
18500 resultptr = new wxDateTime((wxDateTime &) result);
18501 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18502 }
18503 return resultobj;
18504 fail:
18505 return NULL;
18506 }
18507
18508
18509 static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
18510 PyObject *resultobj;
18511 wxDateTime *arg1 = (wxDateTime *) 0 ;
18512 wxDateSpan *arg2 = 0 ;
18513 wxDateTime result;
18514 PyObject * obj0 = 0 ;
18515 PyObject * obj1 = 0 ;
18516
18517 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18519 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18520 if (arg2 == NULL) {
18521 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18522 }
18523 {
18524 PyThreadState* __tstate = wxPyBeginAllowThreads();
18525 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
18526
18527 wxPyEndAllowThreads(__tstate);
18528 if (PyErr_Occurred()) SWIG_fail;
18529 }
18530 {
18531 wxDateTime * resultptr;
18532 resultptr = new wxDateTime((wxDateTime &) result);
18533 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18534 }
18535 return resultobj;
18536 fail:
18537 return NULL;
18538 }
18539
18540
18541 static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
18542 int argc;
18543 PyObject *argv[3];
18544 int ii;
18545
18546 argc = PyObject_Length(args);
18547 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18548 argv[ii] = PyTuple_GetItem(args,ii);
18549 }
18550 if (argc == 2) {
18551 int _v;
18552 {
18553 void *ptr;
18554 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18555 _v = 0;
18556 PyErr_Clear();
18557 } else {
18558 _v = 1;
18559 }
18560 }
18561 if (_v) {
18562 {
18563 void *ptr;
18564 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18565 _v = 0;
18566 PyErr_Clear();
18567 } else {
18568 _v = 1;
18569 }
18570 }
18571 if (_v) {
18572 return _wrap_DateTime___sub____SWIG_0(self,args);
18573 }
18574 }
18575 }
18576 if (argc == 2) {
18577 int _v;
18578 {
18579 void *ptr;
18580 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18581 _v = 0;
18582 PyErr_Clear();
18583 } else {
18584 _v = 1;
18585 }
18586 }
18587 if (_v) {
18588 {
18589 void *ptr;
18590 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18591 _v = 0;
18592 PyErr_Clear();
18593 } else {
18594 _v = 1;
18595 }
18596 }
18597 if (_v) {
18598 return _wrap_DateTime___sub____SWIG_1(self,args);
18599 }
18600 }
18601 }
18602 if (argc == 2) {
18603 int _v;
18604 {
18605 void *ptr;
18606 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18607 _v = 0;
18608 PyErr_Clear();
18609 } else {
18610 _v = 1;
18611 }
18612 }
18613 if (_v) {
18614 {
18615 void *ptr;
18616 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18617 _v = 0;
18618 PyErr_Clear();
18619 } else {
18620 _v = 1;
18621 }
18622 }
18623 if (_v) {
18624 return _wrap_DateTime___sub____SWIG_2(self,args);
18625 }
18626 }
18627 }
18628
18629 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
18630 return NULL;
18631 }
18632
18633
18634 static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
18635 PyObject *resultobj;
18636 wxDateTime *arg1 = (wxDateTime *) 0 ;
18637 wxDateTime *arg2 = 0 ;
18638 bool result;
18639 PyObject * obj0 = 0 ;
18640 PyObject * obj1 = 0 ;
18641
18642 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
18643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18645 if (arg2 == NULL) {
18646 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18647 }
18648 {
18649 PyThreadState* __tstate = wxPyBeginAllowThreads();
18650 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const &)*arg2);
18651
18652 wxPyEndAllowThreads(__tstate);
18653 if (PyErr_Occurred()) SWIG_fail;
18654 }
18655 resultobj = PyInt_FromLong((long)result);
18656 return resultobj;
18657 fail:
18658 return NULL;
18659 }
18660
18661
18662 static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
18663 PyObject *resultobj;
18664 wxDateTime *arg1 = (wxDateTime *) 0 ;
18665 wxDateTime *arg2 = 0 ;
18666 bool result;
18667 PyObject * obj0 = 0 ;
18668 PyObject * obj1 = 0 ;
18669
18670 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
18671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18672 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18673 if (arg2 == NULL) {
18674 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18675 }
18676 {
18677 PyThreadState* __tstate = wxPyBeginAllowThreads();
18678 result = (bool)wxDateTime___le__(arg1,(wxDateTime const &)*arg2);
18679
18680 wxPyEndAllowThreads(__tstate);
18681 if (PyErr_Occurred()) SWIG_fail;
18682 }
18683 resultobj = PyInt_FromLong((long)result);
18684 return resultobj;
18685 fail:
18686 return NULL;
18687 }
18688
18689
18690 static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
18691 PyObject *resultobj;
18692 wxDateTime *arg1 = (wxDateTime *) 0 ;
18693 wxDateTime *arg2 = 0 ;
18694 bool result;
18695 PyObject * obj0 = 0 ;
18696 PyObject * obj1 = 0 ;
18697
18698 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
18699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18700 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18701 if (arg2 == NULL) {
18702 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18703 }
18704 {
18705 PyThreadState* __tstate = wxPyBeginAllowThreads();
18706 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const &)*arg2);
18707
18708 wxPyEndAllowThreads(__tstate);
18709 if (PyErr_Occurred()) SWIG_fail;
18710 }
18711 resultobj = PyInt_FromLong((long)result);
18712 return resultobj;
18713 fail:
18714 return NULL;
18715 }
18716
18717
18718 static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
18719 PyObject *resultobj;
18720 wxDateTime *arg1 = (wxDateTime *) 0 ;
18721 wxDateTime *arg2 = 0 ;
18722 bool result;
18723 PyObject * obj0 = 0 ;
18724 PyObject * obj1 = 0 ;
18725
18726 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
18727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18728 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18729 if (arg2 == NULL) {
18730 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18731 }
18732 {
18733 PyThreadState* __tstate = wxPyBeginAllowThreads();
18734 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const &)*arg2);
18735
18736 wxPyEndAllowThreads(__tstate);
18737 if (PyErr_Occurred()) SWIG_fail;
18738 }
18739 resultobj = PyInt_FromLong((long)result);
18740 return resultobj;
18741 fail:
18742 return NULL;
18743 }
18744
18745
18746 static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
18747 PyObject *resultobj;
18748 wxDateTime *arg1 = (wxDateTime *) 0 ;
18749 wxDateTime *arg2 = 0 ;
18750 bool result;
18751 PyObject * obj0 = 0 ;
18752 PyObject * obj1 = 0 ;
18753
18754 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
18755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18756 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18757 if (arg2 == NULL) {
18758 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18759 }
18760 {
18761 PyThreadState* __tstate = wxPyBeginAllowThreads();
18762 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const &)*arg2);
18763
18764 wxPyEndAllowThreads(__tstate);
18765 if (PyErr_Occurred()) SWIG_fail;
18766 }
18767 resultobj = PyInt_FromLong((long)result);
18768 return resultobj;
18769 fail:
18770 return NULL;
18771 }
18772
18773
18774 static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
18775 PyObject *resultobj;
18776 wxDateTime *arg1 = (wxDateTime *) 0 ;
18777 wxDateTime *arg2 = 0 ;
18778 bool result;
18779 PyObject * obj0 = 0 ;
18780 PyObject * obj1 = 0 ;
18781
18782 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
18783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18784 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18785 if (arg2 == NULL) {
18786 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18787 }
18788 {
18789 PyThreadState* __tstate = wxPyBeginAllowThreads();
18790 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const &)*arg2);
18791
18792 wxPyEndAllowThreads(__tstate);
18793 if (PyErr_Occurred()) SWIG_fail;
18794 }
18795 resultobj = PyInt_FromLong((long)result);
18796 return resultobj;
18797 fail:
18798 return NULL;
18799 }
18800
18801
18802 static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
18803 PyObject *resultobj;
18804 wxDateTime *arg1 = (wxDateTime *) 0 ;
18805 wxString *arg2 = 0 ;
18806 int result;
18807 bool temp2 = False ;
18808 PyObject * obj0 = 0 ;
18809 PyObject * obj1 = 0 ;
18810 char *kwnames[] = {
18811 (char *) "self",(char *) "date", NULL
18812 };
18813
18814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
18815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18816 {
18817 arg2 = wxString_in_helper(obj1);
18818 if (arg2 == NULL) SWIG_fail;
18819 temp2 = True;
18820 }
18821 {
18822 PyThreadState* __tstate = wxPyBeginAllowThreads();
18823 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
18824
18825 wxPyEndAllowThreads(__tstate);
18826 if (PyErr_Occurred()) SWIG_fail;
18827 }
18828 resultobj = PyInt_FromLong((long)result);
18829 {
18830 if (temp2)
18831 delete arg2;
18832 }
18833 return resultobj;
18834 fail:
18835 {
18836 if (temp2)
18837 delete arg2;
18838 }
18839 return NULL;
18840 }
18841
18842
18843 static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
18844 PyObject *resultobj;
18845 wxDateTime *arg1 = (wxDateTime *) 0 ;
18846 wxString *arg2 = 0 ;
18847 wxString const &arg3_defvalue = wxPyDateFormatStr ;
18848 wxString *arg3 = (wxString *) &arg3_defvalue ;
18849 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
18850 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
18851 int result;
18852 bool temp2 = False ;
18853 bool temp3 = False ;
18854 PyObject * obj0 = 0 ;
18855 PyObject * obj1 = 0 ;
18856 PyObject * obj2 = 0 ;
18857 PyObject * obj3 = 0 ;
18858 char *kwnames[] = {
18859 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18860 };
18861
18862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18864 {
18865 arg2 = wxString_in_helper(obj1);
18866 if (arg2 == NULL) SWIG_fail;
18867 temp2 = True;
18868 }
18869 if (obj2) {
18870 {
18871 arg3 = wxString_in_helper(obj2);
18872 if (arg3 == NULL) SWIG_fail;
18873 temp3 = True;
18874 }
18875 }
18876 if (obj3) {
18877 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18878 if (arg4 == NULL) {
18879 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18880 }
18881 }
18882 {
18883 PyThreadState* __tstate = wxPyBeginAllowThreads();
18884 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
18885
18886 wxPyEndAllowThreads(__tstate);
18887 if (PyErr_Occurred()) SWIG_fail;
18888 }
18889 resultobj = PyInt_FromLong((long)result);
18890 {
18891 if (temp2)
18892 delete arg2;
18893 }
18894 {
18895 if (temp3)
18896 delete arg3;
18897 }
18898 return resultobj;
18899 fail:
18900 {
18901 if (temp2)
18902 delete arg2;
18903 }
18904 {
18905 if (temp3)
18906 delete arg3;
18907 }
18908 return NULL;
18909 }
18910
18911
18912 static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18913 PyObject *resultobj;
18914 wxDateTime *arg1 = (wxDateTime *) 0 ;
18915 wxString *arg2 = 0 ;
18916 int result;
18917 bool temp2 = False ;
18918 PyObject * obj0 = 0 ;
18919 PyObject * obj1 = 0 ;
18920 char *kwnames[] = {
18921 (char *) "self",(char *) "datetime", NULL
18922 };
18923
18924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
18925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18926 {
18927 arg2 = wxString_in_helper(obj1);
18928 if (arg2 == NULL) SWIG_fail;
18929 temp2 = True;
18930 }
18931 {
18932 PyThreadState* __tstate = wxPyBeginAllowThreads();
18933 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
18934
18935 wxPyEndAllowThreads(__tstate);
18936 if (PyErr_Occurred()) SWIG_fail;
18937 }
18938 resultobj = PyInt_FromLong((long)result);
18939 {
18940 if (temp2)
18941 delete arg2;
18942 }
18943 return resultobj;
18944 fail:
18945 {
18946 if (temp2)
18947 delete arg2;
18948 }
18949 return NULL;
18950 }
18951
18952
18953 static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
18954 PyObject *resultobj;
18955 wxDateTime *arg1 = (wxDateTime *) 0 ;
18956 wxString *arg2 = 0 ;
18957 int result;
18958 bool temp2 = False ;
18959 PyObject * obj0 = 0 ;
18960 PyObject * obj1 = 0 ;
18961 char *kwnames[] = {
18962 (char *) "self",(char *) "date", NULL
18963 };
18964
18965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
18966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18967 {
18968 arg2 = wxString_in_helper(obj1);
18969 if (arg2 == NULL) SWIG_fail;
18970 temp2 = True;
18971 }
18972 {
18973 PyThreadState* __tstate = wxPyBeginAllowThreads();
18974 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
18975
18976 wxPyEndAllowThreads(__tstate);
18977 if (PyErr_Occurred()) SWIG_fail;
18978 }
18979 resultobj = PyInt_FromLong((long)result);
18980 {
18981 if (temp2)
18982 delete arg2;
18983 }
18984 return resultobj;
18985 fail:
18986 {
18987 if (temp2)
18988 delete arg2;
18989 }
18990 return NULL;
18991 }
18992
18993
18994 static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18995 PyObject *resultobj;
18996 wxDateTime *arg1 = (wxDateTime *) 0 ;
18997 wxString *arg2 = 0 ;
18998 int result;
18999 bool temp2 = False ;
19000 PyObject * obj0 = 0 ;
19001 PyObject * obj1 = 0 ;
19002 char *kwnames[] = {
19003 (char *) "self",(char *) "time", NULL
19004 };
19005
19006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
19007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19008 {
19009 arg2 = wxString_in_helper(obj1);
19010 if (arg2 == NULL) SWIG_fail;
19011 temp2 = True;
19012 }
19013 {
19014 PyThreadState* __tstate = wxPyBeginAllowThreads();
19015 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
19016
19017 wxPyEndAllowThreads(__tstate);
19018 if (PyErr_Occurred()) SWIG_fail;
19019 }
19020 resultobj = PyInt_FromLong((long)result);
19021 {
19022 if (temp2)
19023 delete arg2;
19024 }
19025 return resultobj;
19026 fail:
19027 {
19028 if (temp2)
19029 delete arg2;
19030 }
19031 return NULL;
19032 }
19033
19034
19035 static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
19036 PyObject *resultobj;
19037 wxDateTime *arg1 = (wxDateTime *) 0 ;
19038 wxString const &arg2_defvalue = wxPyDateFormatStr ;
19039 wxString *arg2 = (wxString *) &arg2_defvalue ;
19040 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19041 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19042 wxString result;
19043 bool temp2 = False ;
19044 bool temp3 = False ;
19045 PyObject * obj0 = 0 ;
19046 PyObject * obj1 = 0 ;
19047 PyObject * obj2 = 0 ;
19048 char *kwnames[] = {
19049 (char *) "self",(char *) "format",(char *) "tz", NULL
19050 };
19051
19052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
19053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19054 if (obj1) {
19055 {
19056 arg2 = wxString_in_helper(obj1);
19057 if (arg2 == NULL) SWIG_fail;
19058 temp2 = True;
19059 }
19060 }
19061 if (obj2) {
19062 {
19063 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19064 temp3 = True;
19065 }
19066 }
19067 {
19068 PyThreadState* __tstate = wxPyBeginAllowThreads();
19069 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
19070
19071 wxPyEndAllowThreads(__tstate);
19072 if (PyErr_Occurred()) SWIG_fail;
19073 }
19074 {
19075 #if wxUSE_UNICODE
19076 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19077 #else
19078 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19079 #endif
19080 }
19081 {
19082 if (temp2)
19083 delete arg2;
19084 }
19085 {
19086 if (temp3) delete arg3;
19087 }
19088 return resultobj;
19089 fail:
19090 {
19091 if (temp2)
19092 delete arg2;
19093 }
19094 {
19095 if (temp3) delete arg3;
19096 }
19097 return NULL;
19098 }
19099
19100
19101 static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19102 PyObject *resultobj;
19103 wxDateTime *arg1 = (wxDateTime *) 0 ;
19104 wxString result;
19105 PyObject * obj0 = 0 ;
19106 char *kwnames[] = {
19107 (char *) "self", NULL
19108 };
19109
19110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
19111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19112 {
19113 PyThreadState* __tstate = wxPyBeginAllowThreads();
19114 result = ((wxDateTime const *)arg1)->FormatDate();
19115
19116 wxPyEndAllowThreads(__tstate);
19117 if (PyErr_Occurred()) SWIG_fail;
19118 }
19119 {
19120 #if wxUSE_UNICODE
19121 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19122 #else
19123 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19124 #endif
19125 }
19126 return resultobj;
19127 fail:
19128 return NULL;
19129 }
19130
19131
19132 static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19133 PyObject *resultobj;
19134 wxDateTime *arg1 = (wxDateTime *) 0 ;
19135 wxString result;
19136 PyObject * obj0 = 0 ;
19137 char *kwnames[] = {
19138 (char *) "self", NULL
19139 };
19140
19141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
19142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19143 {
19144 PyThreadState* __tstate = wxPyBeginAllowThreads();
19145 result = ((wxDateTime const *)arg1)->FormatTime();
19146
19147 wxPyEndAllowThreads(__tstate);
19148 if (PyErr_Occurred()) SWIG_fail;
19149 }
19150 {
19151 #if wxUSE_UNICODE
19152 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19153 #else
19154 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19155 #endif
19156 }
19157 return resultobj;
19158 fail:
19159 return NULL;
19160 }
19161
19162
19163 static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
19164 PyObject *resultobj;
19165 wxDateTime *arg1 = (wxDateTime *) 0 ;
19166 wxString result;
19167 PyObject * obj0 = 0 ;
19168 char *kwnames[] = {
19169 (char *) "self", NULL
19170 };
19171
19172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
19173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19174 {
19175 PyThreadState* __tstate = wxPyBeginAllowThreads();
19176 result = ((wxDateTime const *)arg1)->FormatISODate();
19177
19178 wxPyEndAllowThreads(__tstate);
19179 if (PyErr_Occurred()) SWIG_fail;
19180 }
19181 {
19182 #if wxUSE_UNICODE
19183 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19184 #else
19185 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19186 #endif
19187 }
19188 return resultobj;
19189 fail:
19190 return NULL;
19191 }
19192
19193
19194 static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19195 PyObject *resultobj;
19196 wxDateTime *arg1 = (wxDateTime *) 0 ;
19197 wxString result;
19198 PyObject * obj0 = 0 ;
19199 char *kwnames[] = {
19200 (char *) "self", NULL
19201 };
19202
19203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
19204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19205 {
19206 PyThreadState* __tstate = wxPyBeginAllowThreads();
19207 result = ((wxDateTime const *)arg1)->FormatISOTime();
19208
19209 wxPyEndAllowThreads(__tstate);
19210 if (PyErr_Occurred()) SWIG_fail;
19211 }
19212 {
19213 #if wxUSE_UNICODE
19214 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19215 #else
19216 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19217 #endif
19218 }
19219 return resultobj;
19220 fail:
19221 return NULL;
19222 }
19223
19224
19225 static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
19226 PyObject *obj;
19227 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19228 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
19229 Py_INCREF(obj);
19230 return Py_BuildValue((char *)"");
19231 }
19232 static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
19233 PyObject *resultobj;
19234 long arg1 ;
19235 wxTimeSpan result;
19236 char *kwnames[] = {
19237 (char *) "sec", NULL
19238 };
19239
19240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Seconds",kwnames,&arg1)) goto fail;
19241 {
19242 PyThreadState* __tstate = wxPyBeginAllowThreads();
19243 result = wxTimeSpan::Seconds(arg1);
19244
19245 wxPyEndAllowThreads(__tstate);
19246 if (PyErr_Occurred()) SWIG_fail;
19247 }
19248 {
19249 wxTimeSpan * resultptr;
19250 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19251 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19252 }
19253 return resultobj;
19254 fail:
19255 return NULL;
19256 }
19257
19258
19259 static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
19260 PyObject *resultobj;
19261 wxTimeSpan result;
19262 char *kwnames[] = {
19263 NULL
19264 };
19265
19266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
19267 {
19268 PyThreadState* __tstate = wxPyBeginAllowThreads();
19269 result = wxTimeSpan::Second();
19270
19271 wxPyEndAllowThreads(__tstate);
19272 if (PyErr_Occurred()) SWIG_fail;
19273 }
19274 {
19275 wxTimeSpan * resultptr;
19276 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19277 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19278 }
19279 return resultobj;
19280 fail:
19281 return NULL;
19282 }
19283
19284
19285 static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
19286 PyObject *resultobj;
19287 long arg1 ;
19288 wxTimeSpan result;
19289 char *kwnames[] = {
19290 (char *) "min", NULL
19291 };
19292
19293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Minutes",kwnames,&arg1)) goto fail;
19294 {
19295 PyThreadState* __tstate = wxPyBeginAllowThreads();
19296 result = wxTimeSpan::Minutes(arg1);
19297
19298 wxPyEndAllowThreads(__tstate);
19299 if (PyErr_Occurred()) SWIG_fail;
19300 }
19301 {
19302 wxTimeSpan * resultptr;
19303 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19304 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19305 }
19306 return resultobj;
19307 fail:
19308 return NULL;
19309 }
19310
19311
19312 static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
19313 PyObject *resultobj;
19314 wxTimeSpan result;
19315 char *kwnames[] = {
19316 NULL
19317 };
19318
19319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
19320 {
19321 PyThreadState* __tstate = wxPyBeginAllowThreads();
19322 result = wxTimeSpan::Minute();
19323
19324 wxPyEndAllowThreads(__tstate);
19325 if (PyErr_Occurred()) SWIG_fail;
19326 }
19327 {
19328 wxTimeSpan * resultptr;
19329 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19330 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19331 }
19332 return resultobj;
19333 fail:
19334 return NULL;
19335 }
19336
19337
19338 static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
19339 PyObject *resultobj;
19340 long arg1 ;
19341 wxTimeSpan result;
19342 char *kwnames[] = {
19343 (char *) "hours", NULL
19344 };
19345
19346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Hours",kwnames,&arg1)) goto fail;
19347 {
19348 PyThreadState* __tstate = wxPyBeginAllowThreads();
19349 result = wxTimeSpan::Hours(arg1);
19350
19351 wxPyEndAllowThreads(__tstate);
19352 if (PyErr_Occurred()) SWIG_fail;
19353 }
19354 {
19355 wxTimeSpan * resultptr;
19356 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19357 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19358 }
19359 return resultobj;
19360 fail:
19361 return NULL;
19362 }
19363
19364
19365 static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
19366 PyObject *resultobj;
19367 wxTimeSpan result;
19368 char *kwnames[] = {
19369 NULL
19370 };
19371
19372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
19373 {
19374 PyThreadState* __tstate = wxPyBeginAllowThreads();
19375 result = wxTimeSpan::Hour();
19376
19377 wxPyEndAllowThreads(__tstate);
19378 if (PyErr_Occurred()) SWIG_fail;
19379 }
19380 {
19381 wxTimeSpan * resultptr;
19382 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19383 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19384 }
19385 return resultobj;
19386 fail:
19387 return NULL;
19388 }
19389
19390
19391 static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
19392 PyObject *resultobj;
19393 long arg1 ;
19394 wxTimeSpan result;
19395 char *kwnames[] = {
19396 (char *) "days", NULL
19397 };
19398
19399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Days",kwnames,&arg1)) goto fail;
19400 {
19401 PyThreadState* __tstate = wxPyBeginAllowThreads();
19402 result = wxTimeSpan::Days(arg1);
19403
19404 wxPyEndAllowThreads(__tstate);
19405 if (PyErr_Occurred()) SWIG_fail;
19406 }
19407 {
19408 wxTimeSpan * resultptr;
19409 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19410 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19411 }
19412 return resultobj;
19413 fail:
19414 return NULL;
19415 }
19416
19417
19418 static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
19419 PyObject *resultobj;
19420 wxTimeSpan result;
19421 char *kwnames[] = {
19422 NULL
19423 };
19424
19425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
19426 {
19427 PyThreadState* __tstate = wxPyBeginAllowThreads();
19428 result = wxTimeSpan::Day();
19429
19430 wxPyEndAllowThreads(__tstate);
19431 if (PyErr_Occurred()) SWIG_fail;
19432 }
19433 {
19434 wxTimeSpan * resultptr;
19435 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19436 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19437 }
19438 return resultobj;
19439 fail:
19440 return NULL;
19441 }
19442
19443
19444 static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
19445 PyObject *resultobj;
19446 long arg1 ;
19447 wxTimeSpan result;
19448 char *kwnames[] = {
19449 (char *) "days", NULL
19450 };
19451
19452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Weeks",kwnames,&arg1)) goto fail;
19453 {
19454 PyThreadState* __tstate = wxPyBeginAllowThreads();
19455 result = wxTimeSpan::Weeks(arg1);
19456
19457 wxPyEndAllowThreads(__tstate);
19458 if (PyErr_Occurred()) SWIG_fail;
19459 }
19460 {
19461 wxTimeSpan * resultptr;
19462 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19463 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19464 }
19465 return resultobj;
19466 fail:
19467 return NULL;
19468 }
19469
19470
19471 static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
19472 PyObject *resultobj;
19473 wxTimeSpan result;
19474 char *kwnames[] = {
19475 NULL
19476 };
19477
19478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
19479 {
19480 PyThreadState* __tstate = wxPyBeginAllowThreads();
19481 result = wxTimeSpan::Week();
19482
19483 wxPyEndAllowThreads(__tstate);
19484 if (PyErr_Occurred()) SWIG_fail;
19485 }
19486 {
19487 wxTimeSpan * resultptr;
19488 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19489 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19490 }
19491 return resultobj;
19492 fail:
19493 return NULL;
19494 }
19495
19496
19497 static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19498 PyObject *resultobj;
19499 long arg1 = (long) 0 ;
19500 long arg2 = (long) 0 ;
19501 long arg3 = (long) 0 ;
19502 long arg4 = (long) 0 ;
19503 wxTimeSpan *result;
19504 char *kwnames[] = {
19505 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19506 };
19507
19508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|llll:new_TimeSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
19509 {
19510 PyThreadState* __tstate = wxPyBeginAllowThreads();
19511 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
19512
19513 wxPyEndAllowThreads(__tstate);
19514 if (PyErr_Occurred()) SWIG_fail;
19515 }
19516 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 1);
19517 return resultobj;
19518 fail:
19519 return NULL;
19520 }
19521
19522
19523 static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19524 PyObject *resultobj;
19525 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19526 PyObject * obj0 = 0 ;
19527 char *kwnames[] = {
19528 (char *) "self", NULL
19529 };
19530
19531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
19532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19533 {
19534 PyThreadState* __tstate = wxPyBeginAllowThreads();
19535 delete arg1;
19536
19537 wxPyEndAllowThreads(__tstate);
19538 if (PyErr_Occurred()) SWIG_fail;
19539 }
19540 Py_INCREF(Py_None); resultobj = Py_None;
19541 return resultobj;
19542 fail:
19543 return NULL;
19544 }
19545
19546
19547 static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
19548 PyObject *resultobj;
19549 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19550 wxTimeSpan *arg2 = 0 ;
19551 wxTimeSpan *result;
19552 PyObject * obj0 = 0 ;
19553 PyObject * obj1 = 0 ;
19554 char *kwnames[] = {
19555 (char *) "self",(char *) "diff", NULL
19556 };
19557
19558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
19559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19560 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19561 if (arg2 == NULL) {
19562 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19563 }
19564 {
19565 PyThreadState* __tstate = wxPyBeginAllowThreads();
19566 {
19567 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19568 result = (wxTimeSpan *) &_result_ref;
19569 }
19570
19571 wxPyEndAllowThreads(__tstate);
19572 if (PyErr_Occurred()) SWIG_fail;
19573 }
19574 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19575 return resultobj;
19576 fail:
19577 return NULL;
19578 }
19579
19580
19581 static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19582 PyObject *resultobj;
19583 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19584 wxTimeSpan *arg2 = 0 ;
19585 wxTimeSpan *result;
19586 PyObject * obj0 = 0 ;
19587 PyObject * obj1 = 0 ;
19588 char *kwnames[] = {
19589 (char *) "self",(char *) "diff", NULL
19590 };
19591
19592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
19593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19594 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19595 if (arg2 == NULL) {
19596 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19597 }
19598 {
19599 PyThreadState* __tstate = wxPyBeginAllowThreads();
19600 {
19601 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19602 result = (wxTimeSpan *) &_result_ref;
19603 }
19604
19605 wxPyEndAllowThreads(__tstate);
19606 if (PyErr_Occurred()) SWIG_fail;
19607 }
19608 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19609 return resultobj;
19610 fail:
19611 return NULL;
19612 }
19613
19614
19615 static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
19616 PyObject *resultobj;
19617 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19618 int arg2 ;
19619 wxTimeSpan *result;
19620 PyObject * obj0 = 0 ;
19621 char *kwnames[] = {
19622 (char *) "self",(char *) "n", NULL
19623 };
19624
19625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
19626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19627 {
19628 PyThreadState* __tstate = wxPyBeginAllowThreads();
19629 {
19630 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
19631 result = (wxTimeSpan *) &_result_ref;
19632 }
19633
19634 wxPyEndAllowThreads(__tstate);
19635 if (PyErr_Occurred()) SWIG_fail;
19636 }
19637 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19638 return resultobj;
19639 fail:
19640 return NULL;
19641 }
19642
19643
19644 static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
19645 PyObject *resultobj;
19646 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19647 wxTimeSpan *result;
19648 PyObject * obj0 = 0 ;
19649 char *kwnames[] = {
19650 (char *) "self", NULL
19651 };
19652
19653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
19654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19655 {
19656 PyThreadState* __tstate = wxPyBeginAllowThreads();
19657 {
19658 wxTimeSpan &_result_ref = (arg1)->Neg();
19659 result = (wxTimeSpan *) &_result_ref;
19660 }
19661
19662 wxPyEndAllowThreads(__tstate);
19663 if (PyErr_Occurred()) SWIG_fail;
19664 }
19665 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19666 return resultobj;
19667 fail:
19668 return NULL;
19669 }
19670
19671
19672 static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
19673 PyObject *resultobj;
19674 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19675 wxTimeSpan result;
19676 PyObject * obj0 = 0 ;
19677 char *kwnames[] = {
19678 (char *) "self", NULL
19679 };
19680
19681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
19682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19683 {
19684 PyThreadState* __tstate = wxPyBeginAllowThreads();
19685 result = ((wxTimeSpan const *)arg1)->Abs();
19686
19687 wxPyEndAllowThreads(__tstate);
19688 if (PyErr_Occurred()) SWIG_fail;
19689 }
19690 {
19691 wxTimeSpan * resultptr;
19692 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19693 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19694 }
19695 return resultobj;
19696 fail:
19697 return NULL;
19698 }
19699
19700
19701 static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
19702 PyObject *resultobj;
19703 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19704 wxTimeSpan *arg2 = 0 ;
19705 wxTimeSpan *result;
19706 PyObject * obj0 = 0 ;
19707 PyObject * obj1 = 0 ;
19708 char *kwnames[] = {
19709 (char *) "self",(char *) "diff", NULL
19710 };
19711
19712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
19713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19714 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19715 if (arg2 == NULL) {
19716 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19717 }
19718 {
19719 PyThreadState* __tstate = wxPyBeginAllowThreads();
19720 {
19721 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19722 result = (wxTimeSpan *) &_result_ref;
19723 }
19724
19725 wxPyEndAllowThreads(__tstate);
19726 if (PyErr_Occurred()) SWIG_fail;
19727 }
19728 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19729 return resultobj;
19730 fail:
19731 return NULL;
19732 }
19733
19734
19735 static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19736 PyObject *resultobj;
19737 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19738 wxTimeSpan *arg2 = 0 ;
19739 wxTimeSpan *result;
19740 PyObject * obj0 = 0 ;
19741 PyObject * obj1 = 0 ;
19742 char *kwnames[] = {
19743 (char *) "self",(char *) "diff", NULL
19744 };
19745
19746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
19747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19748 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19749 if (arg2 == NULL) {
19750 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19751 }
19752 {
19753 PyThreadState* __tstate = wxPyBeginAllowThreads();
19754 {
19755 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
19756 result = (wxTimeSpan *) &_result_ref;
19757 }
19758
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19763 return resultobj;
19764 fail:
19765 return NULL;
19766 }
19767
19768
19769 static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19770 PyObject *resultobj;
19771 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19772 int arg2 ;
19773 wxTimeSpan *result;
19774 PyObject * obj0 = 0 ;
19775 char *kwnames[] = {
19776 (char *) "self",(char *) "n", NULL
19777 };
19778
19779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
19780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19781 {
19782 PyThreadState* __tstate = wxPyBeginAllowThreads();
19783 {
19784 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
19785 result = (wxTimeSpan *) &_result_ref;
19786 }
19787
19788 wxPyEndAllowThreads(__tstate);
19789 if (PyErr_Occurred()) SWIG_fail;
19790 }
19791 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19792 return resultobj;
19793 fail:
19794 return NULL;
19795 }
19796
19797
19798 static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
19799 PyObject *resultobj;
19800 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19801 wxTimeSpan *result;
19802 PyObject * obj0 = 0 ;
19803 char *kwnames[] = {
19804 (char *) "self", NULL
19805 };
19806
19807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
19808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19809 {
19810 PyThreadState* __tstate = wxPyBeginAllowThreads();
19811 {
19812 wxTimeSpan &_result_ref = (arg1)->operator -();
19813 result = (wxTimeSpan *) &_result_ref;
19814 }
19815
19816 wxPyEndAllowThreads(__tstate);
19817 if (PyErr_Occurred()) SWIG_fail;
19818 }
19819 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19820 return resultobj;
19821 fail:
19822 return NULL;
19823 }
19824
19825
19826 static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
19827 PyObject *resultobj;
19828 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19829 wxTimeSpan *arg2 = 0 ;
19830 wxTimeSpan result;
19831 PyObject * obj0 = 0 ;
19832 PyObject * obj1 = 0 ;
19833 char *kwnames[] = {
19834 (char *) "self",(char *) "other", NULL
19835 };
19836
19837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
19838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19839 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19840 if (arg2 == NULL) {
19841 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19842 }
19843 {
19844 PyThreadState* __tstate = wxPyBeginAllowThreads();
19845 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
19846
19847 wxPyEndAllowThreads(__tstate);
19848 if (PyErr_Occurred()) SWIG_fail;
19849 }
19850 {
19851 wxTimeSpan * resultptr;
19852 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19853 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19854 }
19855 return resultobj;
19856 fail:
19857 return NULL;
19858 }
19859
19860
19861 static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19862 PyObject *resultobj;
19863 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19864 wxTimeSpan *arg2 = 0 ;
19865 wxTimeSpan result;
19866 PyObject * obj0 = 0 ;
19867 PyObject * obj1 = 0 ;
19868 char *kwnames[] = {
19869 (char *) "self",(char *) "other", NULL
19870 };
19871
19872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
19873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19874 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19875 if (arg2 == NULL) {
19876 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19877 }
19878 {
19879 PyThreadState* __tstate = wxPyBeginAllowThreads();
19880 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
19881
19882 wxPyEndAllowThreads(__tstate);
19883 if (PyErr_Occurred()) SWIG_fail;
19884 }
19885 {
19886 wxTimeSpan * resultptr;
19887 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19888 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19889 }
19890 return resultobj;
19891 fail:
19892 return NULL;
19893 }
19894
19895
19896 static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19897 PyObject *resultobj;
19898 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19899 int arg2 ;
19900 wxTimeSpan result;
19901 PyObject * obj0 = 0 ;
19902 char *kwnames[] = {
19903 (char *) "self",(char *) "n", NULL
19904 };
19905
19906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
19907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19908 {
19909 PyThreadState* __tstate = wxPyBeginAllowThreads();
19910 result = wxTimeSpan___mul__(arg1,arg2);
19911
19912 wxPyEndAllowThreads(__tstate);
19913 if (PyErr_Occurred()) SWIG_fail;
19914 }
19915 {
19916 wxTimeSpan * resultptr;
19917 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19918 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19919 }
19920 return resultobj;
19921 fail:
19922 return NULL;
19923 }
19924
19925
19926 static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19927 PyObject *resultobj;
19928 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19929 int arg2 ;
19930 wxTimeSpan result;
19931 PyObject * obj0 = 0 ;
19932 char *kwnames[] = {
19933 (char *) "self",(char *) "n", NULL
19934 };
19935
19936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
19937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19938 {
19939 PyThreadState* __tstate = wxPyBeginAllowThreads();
19940 result = wxTimeSpan___rmul__(arg1,arg2);
19941
19942 wxPyEndAllowThreads(__tstate);
19943 if (PyErr_Occurred()) SWIG_fail;
19944 }
19945 {
19946 wxTimeSpan * resultptr;
19947 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19948 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19949 }
19950 return resultobj;
19951 fail:
19952 return NULL;
19953 }
19954
19955
19956 static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19957 PyObject *resultobj;
19958 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19959 wxTimeSpan *arg2 = 0 ;
19960 bool result;
19961 PyObject * obj0 = 0 ;
19962 PyObject * obj1 = 0 ;
19963 char *kwnames[] = {
19964 (char *) "self",(char *) "other", NULL
19965 };
19966
19967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
19968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19969 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19970 if (arg2 == NULL) {
19971 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19972 }
19973 {
19974 PyThreadState* __tstate = wxPyBeginAllowThreads();
19975 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const &)*arg2);
19976
19977 wxPyEndAllowThreads(__tstate);
19978 if (PyErr_Occurred()) SWIG_fail;
19979 }
19980 resultobj = PyInt_FromLong((long)result);
19981 return resultobj;
19982 fail:
19983 return NULL;
19984 }
19985
19986
19987 static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
19988 PyObject *resultobj;
19989 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19990 wxTimeSpan *arg2 = 0 ;
19991 bool result;
19992 PyObject * obj0 = 0 ;
19993 PyObject * obj1 = 0 ;
19994 char *kwnames[] = {
19995 (char *) "self",(char *) "other", NULL
19996 };
19997
19998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
19999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20000 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20001 if (arg2 == NULL) {
20002 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20003 }
20004 {
20005 PyThreadState* __tstate = wxPyBeginAllowThreads();
20006 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const &)*arg2);
20007
20008 wxPyEndAllowThreads(__tstate);
20009 if (PyErr_Occurred()) SWIG_fail;
20010 }
20011 resultobj = PyInt_FromLong((long)result);
20012 return resultobj;
20013 fail:
20014 return NULL;
20015 }
20016
20017
20018 static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
20019 PyObject *resultobj;
20020 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20021 wxTimeSpan *arg2 = 0 ;
20022 bool result;
20023 PyObject * obj0 = 0 ;
20024 PyObject * obj1 = 0 ;
20025 char *kwnames[] = {
20026 (char *) "self",(char *) "other", NULL
20027 };
20028
20029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
20030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20031 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20032 if (arg2 == NULL) {
20033 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20034 }
20035 {
20036 PyThreadState* __tstate = wxPyBeginAllowThreads();
20037 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const &)*arg2);
20038
20039 wxPyEndAllowThreads(__tstate);
20040 if (PyErr_Occurred()) SWIG_fail;
20041 }
20042 resultobj = PyInt_FromLong((long)result);
20043 return resultobj;
20044 fail:
20045 return NULL;
20046 }
20047
20048
20049 static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
20050 PyObject *resultobj;
20051 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20052 wxTimeSpan *arg2 = 0 ;
20053 bool result;
20054 PyObject * obj0 = 0 ;
20055 PyObject * obj1 = 0 ;
20056 char *kwnames[] = {
20057 (char *) "self",(char *) "other", NULL
20058 };
20059
20060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
20061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20062 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20063 if (arg2 == NULL) {
20064 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20065 }
20066 {
20067 PyThreadState* __tstate = wxPyBeginAllowThreads();
20068 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const &)*arg2);
20069
20070 wxPyEndAllowThreads(__tstate);
20071 if (PyErr_Occurred()) SWIG_fail;
20072 }
20073 resultobj = PyInt_FromLong((long)result);
20074 return resultobj;
20075 fail:
20076 return NULL;
20077 }
20078
20079
20080 static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
20081 PyObject *resultobj;
20082 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20083 wxTimeSpan *arg2 = 0 ;
20084 bool result;
20085 PyObject * obj0 = 0 ;
20086 PyObject * obj1 = 0 ;
20087 char *kwnames[] = {
20088 (char *) "self",(char *) "other", NULL
20089 };
20090
20091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
20092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20093 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20094 if (arg2 == NULL) {
20095 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20096 }
20097 {
20098 PyThreadState* __tstate = wxPyBeginAllowThreads();
20099 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const &)*arg2);
20100
20101 wxPyEndAllowThreads(__tstate);
20102 if (PyErr_Occurred()) SWIG_fail;
20103 }
20104 resultobj = PyInt_FromLong((long)result);
20105 return resultobj;
20106 fail:
20107 return NULL;
20108 }
20109
20110
20111 static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
20112 PyObject *resultobj;
20113 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20114 wxTimeSpan *arg2 = 0 ;
20115 bool result;
20116 PyObject * obj0 = 0 ;
20117 PyObject * obj1 = 0 ;
20118 char *kwnames[] = {
20119 (char *) "self",(char *) "other", NULL
20120 };
20121
20122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
20123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20124 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20125 if (arg2 == NULL) {
20126 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20127 }
20128 {
20129 PyThreadState* __tstate = wxPyBeginAllowThreads();
20130 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const &)*arg2);
20131
20132 wxPyEndAllowThreads(__tstate);
20133 if (PyErr_Occurred()) SWIG_fail;
20134 }
20135 resultobj = PyInt_FromLong((long)result);
20136 return resultobj;
20137 fail:
20138 return NULL;
20139 }
20140
20141
20142 static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
20143 PyObject *resultobj;
20144 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20145 bool result;
20146 PyObject * obj0 = 0 ;
20147 char *kwnames[] = {
20148 (char *) "self", NULL
20149 };
20150
20151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
20152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20153 {
20154 PyThreadState* __tstate = wxPyBeginAllowThreads();
20155 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
20156
20157 wxPyEndAllowThreads(__tstate);
20158 if (PyErr_Occurred()) SWIG_fail;
20159 }
20160 resultobj = PyInt_FromLong((long)result);
20161 return resultobj;
20162 fail:
20163 return NULL;
20164 }
20165
20166
20167 static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
20168 PyObject *resultobj;
20169 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20170 bool result;
20171 PyObject * obj0 = 0 ;
20172 char *kwnames[] = {
20173 (char *) "self", NULL
20174 };
20175
20176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
20177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20178 {
20179 PyThreadState* __tstate = wxPyBeginAllowThreads();
20180 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
20181
20182 wxPyEndAllowThreads(__tstate);
20183 if (PyErr_Occurred()) SWIG_fail;
20184 }
20185 resultobj = PyInt_FromLong((long)result);
20186 return resultobj;
20187 fail:
20188 return NULL;
20189 }
20190
20191
20192 static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
20193 PyObject *resultobj;
20194 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20195 bool result;
20196 PyObject * obj0 = 0 ;
20197 char *kwnames[] = {
20198 (char *) "self", NULL
20199 };
20200
20201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
20202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20203 {
20204 PyThreadState* __tstate = wxPyBeginAllowThreads();
20205 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
20206
20207 wxPyEndAllowThreads(__tstate);
20208 if (PyErr_Occurred()) SWIG_fail;
20209 }
20210 resultobj = PyInt_FromLong((long)result);
20211 return resultobj;
20212 fail:
20213 return NULL;
20214 }
20215
20216
20217 static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20218 PyObject *resultobj;
20219 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20220 wxTimeSpan *arg2 = 0 ;
20221 bool result;
20222 PyObject * obj0 = 0 ;
20223 PyObject * obj1 = 0 ;
20224 char *kwnames[] = {
20225 (char *) "self",(char *) "ts", NULL
20226 };
20227
20228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
20229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20230 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20231 if (arg2 == NULL) {
20232 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20233 }
20234 {
20235 PyThreadState* __tstate = wxPyBeginAllowThreads();
20236 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
20237
20238 wxPyEndAllowThreads(__tstate);
20239 if (PyErr_Occurred()) SWIG_fail;
20240 }
20241 resultobj = PyInt_FromLong((long)result);
20242 return resultobj;
20243 fail:
20244 return NULL;
20245 }
20246
20247
20248 static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20249 PyObject *resultobj;
20250 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20251 wxTimeSpan *arg2 = 0 ;
20252 bool result;
20253 PyObject * obj0 = 0 ;
20254 PyObject * obj1 = 0 ;
20255 char *kwnames[] = {
20256 (char *) "self",(char *) "ts", NULL
20257 };
20258
20259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
20260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20261 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20262 if (arg2 == NULL) {
20263 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20264 }
20265 {
20266 PyThreadState* __tstate = wxPyBeginAllowThreads();
20267 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
20268
20269 wxPyEndAllowThreads(__tstate);
20270 if (PyErr_Occurred()) SWIG_fail;
20271 }
20272 resultobj = PyInt_FromLong((long)result);
20273 return resultobj;
20274 fail:
20275 return NULL;
20276 }
20277
20278
20279 static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20280 PyObject *resultobj;
20281 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20282 wxTimeSpan *arg2 = 0 ;
20283 bool result;
20284 PyObject * obj0 = 0 ;
20285 PyObject * obj1 = 0 ;
20286 char *kwnames[] = {
20287 (char *) "self",(char *) "t", NULL
20288 };
20289
20290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
20291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20292 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20293 if (arg2 == NULL) {
20294 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20295 }
20296 {
20297 PyThreadState* __tstate = wxPyBeginAllowThreads();
20298 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
20299
20300 wxPyEndAllowThreads(__tstate);
20301 if (PyErr_Occurred()) SWIG_fail;
20302 }
20303 resultobj = PyInt_FromLong((long)result);
20304 return resultobj;
20305 fail:
20306 return NULL;
20307 }
20308
20309
20310 static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20311 PyObject *resultobj;
20312 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20313 int result;
20314 PyObject * obj0 = 0 ;
20315 char *kwnames[] = {
20316 (char *) "self", NULL
20317 };
20318
20319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
20320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20321 {
20322 PyThreadState* __tstate = wxPyBeginAllowThreads();
20323 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
20324
20325 wxPyEndAllowThreads(__tstate);
20326 if (PyErr_Occurred()) SWIG_fail;
20327 }
20328 resultobj = PyInt_FromLong((long)result);
20329 return resultobj;
20330 fail:
20331 return NULL;
20332 }
20333
20334
20335 static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20336 PyObject *resultobj;
20337 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20338 int result;
20339 PyObject * obj0 = 0 ;
20340 char *kwnames[] = {
20341 (char *) "self", NULL
20342 };
20343
20344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
20345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20346 {
20347 PyThreadState* __tstate = wxPyBeginAllowThreads();
20348 result = (int)((wxTimeSpan const *)arg1)->GetDays();
20349
20350 wxPyEndAllowThreads(__tstate);
20351 if (PyErr_Occurred()) SWIG_fail;
20352 }
20353 resultobj = PyInt_FromLong((long)result);
20354 return resultobj;
20355 fail:
20356 return NULL;
20357 }
20358
20359
20360 static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
20361 PyObject *resultobj;
20362 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20363 int result;
20364 PyObject * obj0 = 0 ;
20365 char *kwnames[] = {
20366 (char *) "self", NULL
20367 };
20368
20369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
20370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20371 {
20372 PyThreadState* __tstate = wxPyBeginAllowThreads();
20373 result = (int)((wxTimeSpan const *)arg1)->GetHours();
20374
20375 wxPyEndAllowThreads(__tstate);
20376 if (PyErr_Occurred()) SWIG_fail;
20377 }
20378 resultobj = PyInt_FromLong((long)result);
20379 return resultobj;
20380 fail:
20381 return NULL;
20382 }
20383
20384
20385 static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
20386 PyObject *resultobj;
20387 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20388 int result;
20389 PyObject * obj0 = 0 ;
20390 char *kwnames[] = {
20391 (char *) "self", NULL
20392 };
20393
20394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
20395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20396 {
20397 PyThreadState* __tstate = wxPyBeginAllowThreads();
20398 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
20399
20400 wxPyEndAllowThreads(__tstate);
20401 if (PyErr_Occurred()) SWIG_fail;
20402 }
20403 resultobj = PyInt_FromLong((long)result);
20404 return resultobj;
20405 fail:
20406 return NULL;
20407 }
20408
20409
20410 static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20411 PyObject *resultobj;
20412 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20413 wxLongLong result;
20414 PyObject * obj0 = 0 ;
20415 char *kwnames[] = {
20416 (char *) "self", NULL
20417 };
20418
20419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
20420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20421 {
20422 PyThreadState* __tstate = wxPyBeginAllowThreads();
20423 result = ((wxTimeSpan const *)arg1)->GetSeconds();
20424
20425 wxPyEndAllowThreads(__tstate);
20426 if (PyErr_Occurred()) SWIG_fail;
20427 }
20428 {
20429 PyObject *hi, *lo, *shifter, *shifted;
20430 hi = PyLong_FromLong( (&result)->GetHi() );
20431 lo = PyLong_FromLong( (&result)->GetLo() );
20432 shifter = PyLong_FromLong(32);
20433 shifted = PyNumber_Lshift(hi, shifter);
20434 resultobj = PyNumber_Or(shifted, lo);
20435 Py_DECREF(hi);
20436 Py_DECREF(lo);
20437 Py_DECREF(shifter);
20438 Py_DECREF(shifted);
20439 }
20440 return resultobj;
20441 fail:
20442 return NULL;
20443 }
20444
20445
20446 static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20447 PyObject *resultobj;
20448 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20449 wxLongLong result;
20450 PyObject * obj0 = 0 ;
20451 char *kwnames[] = {
20452 (char *) "self", NULL
20453 };
20454
20455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
20456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20457 {
20458 PyThreadState* __tstate = wxPyBeginAllowThreads();
20459 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
20460
20461 wxPyEndAllowThreads(__tstate);
20462 if (PyErr_Occurred()) SWIG_fail;
20463 }
20464 {
20465 PyObject *hi, *lo, *shifter, *shifted;
20466 hi = PyLong_FromLong( (&result)->GetHi() );
20467 lo = PyLong_FromLong( (&result)->GetLo() );
20468 shifter = PyLong_FromLong(32);
20469 shifted = PyNumber_Lshift(hi, shifter);
20470 resultobj = PyNumber_Or(shifted, lo);
20471 Py_DECREF(hi);
20472 Py_DECREF(lo);
20473 Py_DECREF(shifter);
20474 Py_DECREF(shifted);
20475 }
20476 return resultobj;
20477 fail:
20478 return NULL;
20479 }
20480
20481
20482 static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20483 PyObject *resultobj;
20484 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20485 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
20486 wxString *arg2 = (wxString *) &arg2_defvalue ;
20487 wxString result;
20488 bool temp2 = False ;
20489 PyObject * obj0 = 0 ;
20490 PyObject * obj1 = 0 ;
20491 char *kwnames[] = {
20492 (char *) "self",(char *) "format", NULL
20493 };
20494
20495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
20496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20497 if (obj1) {
20498 {
20499 arg2 = wxString_in_helper(obj1);
20500 if (arg2 == NULL) SWIG_fail;
20501 temp2 = True;
20502 }
20503 }
20504 {
20505 PyThreadState* __tstate = wxPyBeginAllowThreads();
20506 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
20507
20508 wxPyEndAllowThreads(__tstate);
20509 if (PyErr_Occurred()) SWIG_fail;
20510 }
20511 {
20512 #if wxUSE_UNICODE
20513 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20514 #else
20515 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20516 #endif
20517 }
20518 {
20519 if (temp2)
20520 delete arg2;
20521 }
20522 return resultobj;
20523 fail:
20524 {
20525 if (temp2)
20526 delete arg2;
20527 }
20528 return NULL;
20529 }
20530
20531
20532 static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
20533 PyObject *obj;
20534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20535 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
20536 Py_INCREF(obj);
20537 return Py_BuildValue((char *)"");
20538 }
20539 static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20540 PyObject *resultobj;
20541 int arg1 = (int) 0 ;
20542 int arg2 = (int) 0 ;
20543 int arg3 = (int) 0 ;
20544 int arg4 = (int) 0 ;
20545 wxDateSpan *result;
20546 char *kwnames[] = {
20547 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20548 };
20549
20550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_DateSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
20551 {
20552 PyThreadState* __tstate = wxPyBeginAllowThreads();
20553 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
20554
20555 wxPyEndAllowThreads(__tstate);
20556 if (PyErr_Occurred()) SWIG_fail;
20557 }
20558 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 1);
20559 return resultobj;
20560 fail:
20561 return NULL;
20562 }
20563
20564
20565 static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20566 PyObject *resultobj;
20567 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20568 PyObject * obj0 = 0 ;
20569 char *kwnames[] = {
20570 (char *) "self", NULL
20571 };
20572
20573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
20574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20575 {
20576 PyThreadState* __tstate = wxPyBeginAllowThreads();
20577 delete arg1;
20578
20579 wxPyEndAllowThreads(__tstate);
20580 if (PyErr_Occurred()) SWIG_fail;
20581 }
20582 Py_INCREF(Py_None); resultobj = Py_None;
20583 return resultobj;
20584 fail:
20585 return NULL;
20586 }
20587
20588
20589 static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
20590 PyObject *resultobj;
20591 int arg1 ;
20592 wxDateSpan result;
20593 char *kwnames[] = {
20594 (char *) "days", NULL
20595 };
20596
20597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Days",kwnames,&arg1)) goto fail;
20598 {
20599 PyThreadState* __tstate = wxPyBeginAllowThreads();
20600 result = wxDateSpan::Days(arg1);
20601
20602 wxPyEndAllowThreads(__tstate);
20603 if (PyErr_Occurred()) SWIG_fail;
20604 }
20605 {
20606 wxDateSpan * resultptr;
20607 resultptr = new wxDateSpan((wxDateSpan &) result);
20608 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20609 }
20610 return resultobj;
20611 fail:
20612 return NULL;
20613 }
20614
20615
20616 static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
20617 PyObject *resultobj;
20618 wxDateSpan result;
20619 char *kwnames[] = {
20620 NULL
20621 };
20622
20623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
20624 {
20625 PyThreadState* __tstate = wxPyBeginAllowThreads();
20626 result = wxDateSpan::Day();
20627
20628 wxPyEndAllowThreads(__tstate);
20629 if (PyErr_Occurred()) SWIG_fail;
20630 }
20631 {
20632 wxDateSpan * resultptr;
20633 resultptr = new wxDateSpan((wxDateSpan &) result);
20634 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20635 }
20636 return resultobj;
20637 fail:
20638 return NULL;
20639 }
20640
20641
20642 static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20643 PyObject *resultobj;
20644 int arg1 ;
20645 wxDateSpan result;
20646 char *kwnames[] = {
20647 (char *) "weeks", NULL
20648 };
20649
20650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Weeks",kwnames,&arg1)) goto fail;
20651 {
20652 PyThreadState* __tstate = wxPyBeginAllowThreads();
20653 result = wxDateSpan::Weeks(arg1);
20654
20655 wxPyEndAllowThreads(__tstate);
20656 if (PyErr_Occurred()) SWIG_fail;
20657 }
20658 {
20659 wxDateSpan * resultptr;
20660 resultptr = new wxDateSpan((wxDateSpan &) result);
20661 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20662 }
20663 return resultobj;
20664 fail:
20665 return NULL;
20666 }
20667
20668
20669 static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
20670 PyObject *resultobj;
20671 wxDateSpan result;
20672 char *kwnames[] = {
20673 NULL
20674 };
20675
20676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
20677 {
20678 PyThreadState* __tstate = wxPyBeginAllowThreads();
20679 result = wxDateSpan::Week();
20680
20681 wxPyEndAllowThreads(__tstate);
20682 if (PyErr_Occurred()) SWIG_fail;
20683 }
20684 {
20685 wxDateSpan * resultptr;
20686 resultptr = new wxDateSpan((wxDateSpan &) result);
20687 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20688 }
20689 return resultobj;
20690 fail:
20691 return NULL;
20692 }
20693
20694
20695 static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
20696 PyObject *resultobj;
20697 int arg1 ;
20698 wxDateSpan result;
20699 char *kwnames[] = {
20700 (char *) "mon", NULL
20701 };
20702
20703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Months",kwnames,&arg1)) goto fail;
20704 {
20705 PyThreadState* __tstate = wxPyBeginAllowThreads();
20706 result = wxDateSpan::Months(arg1);
20707
20708 wxPyEndAllowThreads(__tstate);
20709 if (PyErr_Occurred()) SWIG_fail;
20710 }
20711 {
20712 wxDateSpan * resultptr;
20713 resultptr = new wxDateSpan((wxDateSpan &) result);
20714 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20715 }
20716 return resultobj;
20717 fail:
20718 return NULL;
20719 }
20720
20721
20722 static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
20723 PyObject *resultobj;
20724 wxDateSpan result;
20725 char *kwnames[] = {
20726 NULL
20727 };
20728
20729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
20730 {
20731 PyThreadState* __tstate = wxPyBeginAllowThreads();
20732 result = wxDateSpan::Month();
20733
20734 wxPyEndAllowThreads(__tstate);
20735 if (PyErr_Occurred()) SWIG_fail;
20736 }
20737 {
20738 wxDateSpan * resultptr;
20739 resultptr = new wxDateSpan((wxDateSpan &) result);
20740 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20741 }
20742 return resultobj;
20743 fail:
20744 return NULL;
20745 }
20746
20747
20748 static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
20749 PyObject *resultobj;
20750 int arg1 ;
20751 wxDateSpan result;
20752 char *kwnames[] = {
20753 (char *) "years", NULL
20754 };
20755
20756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Years",kwnames,&arg1)) goto fail;
20757 {
20758 PyThreadState* __tstate = wxPyBeginAllowThreads();
20759 result = wxDateSpan::Years(arg1);
20760
20761 wxPyEndAllowThreads(__tstate);
20762 if (PyErr_Occurred()) SWIG_fail;
20763 }
20764 {
20765 wxDateSpan * resultptr;
20766 resultptr = new wxDateSpan((wxDateSpan &) result);
20767 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20768 }
20769 return resultobj;
20770 fail:
20771 return NULL;
20772 }
20773
20774
20775 static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
20776 PyObject *resultobj;
20777 wxDateSpan result;
20778 char *kwnames[] = {
20779 NULL
20780 };
20781
20782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
20783 {
20784 PyThreadState* __tstate = wxPyBeginAllowThreads();
20785 result = wxDateSpan::Year();
20786
20787 wxPyEndAllowThreads(__tstate);
20788 if (PyErr_Occurred()) SWIG_fail;
20789 }
20790 {
20791 wxDateSpan * resultptr;
20792 resultptr = new wxDateSpan((wxDateSpan &) result);
20793 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20794 }
20795 return resultobj;
20796 fail:
20797 return NULL;
20798 }
20799
20800
20801 static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20802 PyObject *resultobj;
20803 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20804 int arg2 ;
20805 wxDateSpan *result;
20806 PyObject * obj0 = 0 ;
20807 char *kwnames[] = {
20808 (char *) "self",(char *) "n", NULL
20809 };
20810
20811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetYears",kwnames,&obj0,&arg2)) goto fail;
20812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20813 {
20814 PyThreadState* __tstate = wxPyBeginAllowThreads();
20815 {
20816 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
20817 result = (wxDateSpan *) &_result_ref;
20818 }
20819
20820 wxPyEndAllowThreads(__tstate);
20821 if (PyErr_Occurred()) SWIG_fail;
20822 }
20823 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20824 return resultobj;
20825 fail:
20826 return NULL;
20827 }
20828
20829
20830 static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20831 PyObject *resultobj;
20832 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20833 int arg2 ;
20834 wxDateSpan *result;
20835 PyObject * obj0 = 0 ;
20836 char *kwnames[] = {
20837 (char *) "self",(char *) "n", NULL
20838 };
20839
20840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetMonths",kwnames,&obj0,&arg2)) goto fail;
20841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20842 {
20843 PyThreadState* __tstate = wxPyBeginAllowThreads();
20844 {
20845 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
20846 result = (wxDateSpan *) &_result_ref;
20847 }
20848
20849 wxPyEndAllowThreads(__tstate);
20850 if (PyErr_Occurred()) SWIG_fail;
20851 }
20852 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20853 return resultobj;
20854 fail:
20855 return NULL;
20856 }
20857
20858
20859 static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20860 PyObject *resultobj;
20861 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20862 int arg2 ;
20863 wxDateSpan *result;
20864 PyObject * obj0 = 0 ;
20865 char *kwnames[] = {
20866 (char *) "self",(char *) "n", NULL
20867 };
20868
20869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetWeeks",kwnames,&obj0,&arg2)) goto fail;
20870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20871 {
20872 PyThreadState* __tstate = wxPyBeginAllowThreads();
20873 {
20874 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
20875 result = (wxDateSpan *) &_result_ref;
20876 }
20877
20878 wxPyEndAllowThreads(__tstate);
20879 if (PyErr_Occurred()) SWIG_fail;
20880 }
20881 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20882 return resultobj;
20883 fail:
20884 return NULL;
20885 }
20886
20887
20888 static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20889 PyObject *resultobj;
20890 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20891 int arg2 ;
20892 wxDateSpan *result;
20893 PyObject * obj0 = 0 ;
20894 char *kwnames[] = {
20895 (char *) "self",(char *) "n", NULL
20896 };
20897
20898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetDays",kwnames,&obj0,&arg2)) goto fail;
20899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20900 {
20901 PyThreadState* __tstate = wxPyBeginAllowThreads();
20902 {
20903 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
20904 result = (wxDateSpan *) &_result_ref;
20905 }
20906
20907 wxPyEndAllowThreads(__tstate);
20908 if (PyErr_Occurred()) SWIG_fail;
20909 }
20910 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20911 return resultobj;
20912 fail:
20913 return NULL;
20914 }
20915
20916
20917 static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20918 PyObject *resultobj;
20919 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20920 int result;
20921 PyObject * obj0 = 0 ;
20922 char *kwnames[] = {
20923 (char *) "self", NULL
20924 };
20925
20926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
20927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20928 {
20929 PyThreadState* __tstate = wxPyBeginAllowThreads();
20930 result = (int)((wxDateSpan const *)arg1)->GetYears();
20931
20932 wxPyEndAllowThreads(__tstate);
20933 if (PyErr_Occurred()) SWIG_fail;
20934 }
20935 resultobj = PyInt_FromLong((long)result);
20936 return resultobj;
20937 fail:
20938 return NULL;
20939 }
20940
20941
20942 static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20943 PyObject *resultobj;
20944 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20945 int result;
20946 PyObject * obj0 = 0 ;
20947 char *kwnames[] = {
20948 (char *) "self", NULL
20949 };
20950
20951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
20952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20953 {
20954 PyThreadState* __tstate = wxPyBeginAllowThreads();
20955 result = (int)((wxDateSpan const *)arg1)->GetMonths();
20956
20957 wxPyEndAllowThreads(__tstate);
20958 if (PyErr_Occurred()) SWIG_fail;
20959 }
20960 resultobj = PyInt_FromLong((long)result);
20961 return resultobj;
20962 fail:
20963 return NULL;
20964 }
20965
20966
20967 static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20968 PyObject *resultobj;
20969 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20970 int result;
20971 PyObject * obj0 = 0 ;
20972 char *kwnames[] = {
20973 (char *) "self", NULL
20974 };
20975
20976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
20977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20978 {
20979 PyThreadState* __tstate = wxPyBeginAllowThreads();
20980 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
20981
20982 wxPyEndAllowThreads(__tstate);
20983 if (PyErr_Occurred()) SWIG_fail;
20984 }
20985 resultobj = PyInt_FromLong((long)result);
20986 return resultobj;
20987 fail:
20988 return NULL;
20989 }
20990
20991
20992 static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20993 PyObject *resultobj;
20994 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20995 int result;
20996 PyObject * obj0 = 0 ;
20997 char *kwnames[] = {
20998 (char *) "self", NULL
20999 };
21000
21001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
21002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21003 {
21004 PyThreadState* __tstate = wxPyBeginAllowThreads();
21005 result = (int)((wxDateSpan const *)arg1)->GetDays();
21006
21007 wxPyEndAllowThreads(__tstate);
21008 if (PyErr_Occurred()) SWIG_fail;
21009 }
21010 resultobj = PyInt_FromLong((long)result);
21011 return resultobj;
21012 fail:
21013 return NULL;
21014 }
21015
21016
21017 static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
21018 PyObject *resultobj;
21019 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21020 int result;
21021 PyObject * obj0 = 0 ;
21022 char *kwnames[] = {
21023 (char *) "self", NULL
21024 };
21025
21026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
21027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21028 {
21029 PyThreadState* __tstate = wxPyBeginAllowThreads();
21030 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
21031
21032 wxPyEndAllowThreads(__tstate);
21033 if (PyErr_Occurred()) SWIG_fail;
21034 }
21035 resultobj = PyInt_FromLong((long)result);
21036 return resultobj;
21037 fail:
21038 return NULL;
21039 }
21040
21041
21042 static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
21043 PyObject *resultobj;
21044 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21045 wxDateSpan *arg2 = 0 ;
21046 wxDateSpan *result;
21047 PyObject * obj0 = 0 ;
21048 PyObject * obj1 = 0 ;
21049 char *kwnames[] = {
21050 (char *) "self",(char *) "other", NULL
21051 };
21052
21053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
21054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21055 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21056 if (arg2 == NULL) {
21057 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21058 }
21059 {
21060 PyThreadState* __tstate = wxPyBeginAllowThreads();
21061 {
21062 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
21063 result = (wxDateSpan *) &_result_ref;
21064 }
21065
21066 wxPyEndAllowThreads(__tstate);
21067 if (PyErr_Occurred()) SWIG_fail;
21068 }
21069 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21070 return resultobj;
21071 fail:
21072 return NULL;
21073 }
21074
21075
21076 static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
21077 PyObject *resultobj;
21078 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21079 wxDateSpan *arg2 = 0 ;
21080 wxDateSpan *result;
21081 PyObject * obj0 = 0 ;
21082 PyObject * obj1 = 0 ;
21083 char *kwnames[] = {
21084 (char *) "self",(char *) "other", NULL
21085 };
21086
21087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
21088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21089 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21090 if (arg2 == NULL) {
21091 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21092 }
21093 {
21094 PyThreadState* __tstate = wxPyBeginAllowThreads();
21095 {
21096 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
21097 result = (wxDateSpan *) &_result_ref;
21098 }
21099
21100 wxPyEndAllowThreads(__tstate);
21101 if (PyErr_Occurred()) SWIG_fail;
21102 }
21103 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21104 return resultobj;
21105 fail:
21106 return NULL;
21107 }
21108
21109
21110 static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
21111 PyObject *resultobj;
21112 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21113 wxDateSpan *result;
21114 PyObject * obj0 = 0 ;
21115 char *kwnames[] = {
21116 (char *) "self", NULL
21117 };
21118
21119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
21120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21121 {
21122 PyThreadState* __tstate = wxPyBeginAllowThreads();
21123 {
21124 wxDateSpan &_result_ref = (arg1)->Neg();
21125 result = (wxDateSpan *) &_result_ref;
21126 }
21127
21128 wxPyEndAllowThreads(__tstate);
21129 if (PyErr_Occurred()) SWIG_fail;
21130 }
21131 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21132 return resultobj;
21133 fail:
21134 return NULL;
21135 }
21136
21137
21138 static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
21139 PyObject *resultobj;
21140 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21141 int arg2 ;
21142 wxDateSpan *result;
21143 PyObject * obj0 = 0 ;
21144 char *kwnames[] = {
21145 (char *) "self",(char *) "factor", NULL
21146 };
21147
21148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
21149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21150 {
21151 PyThreadState* __tstate = wxPyBeginAllowThreads();
21152 {
21153 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
21154 result = (wxDateSpan *) &_result_ref;
21155 }
21156
21157 wxPyEndAllowThreads(__tstate);
21158 if (PyErr_Occurred()) SWIG_fail;
21159 }
21160 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21161 return resultobj;
21162 fail:
21163 return NULL;
21164 }
21165
21166
21167 static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21168 PyObject *resultobj;
21169 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21170 wxDateSpan *arg2 = 0 ;
21171 wxDateSpan *result;
21172 PyObject * obj0 = 0 ;
21173 PyObject * obj1 = 0 ;
21174 char *kwnames[] = {
21175 (char *) "self",(char *) "other", NULL
21176 };
21177
21178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21180 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21181 if (arg2 == NULL) {
21182 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21183 }
21184 {
21185 PyThreadState* __tstate = wxPyBeginAllowThreads();
21186 {
21187 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
21188 result = (wxDateSpan *) &_result_ref;
21189 }
21190
21191 wxPyEndAllowThreads(__tstate);
21192 if (PyErr_Occurred()) SWIG_fail;
21193 }
21194 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21195 return resultobj;
21196 fail:
21197 return NULL;
21198 }
21199
21200
21201 static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21202 PyObject *resultobj;
21203 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21204 wxDateSpan *arg2 = 0 ;
21205 wxDateSpan *result;
21206 PyObject * obj0 = 0 ;
21207 PyObject * obj1 = 0 ;
21208 char *kwnames[] = {
21209 (char *) "self",(char *) "other", NULL
21210 };
21211
21212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21214 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21215 if (arg2 == NULL) {
21216 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21217 }
21218 {
21219 PyThreadState* __tstate = wxPyBeginAllowThreads();
21220 {
21221 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
21222 result = (wxDateSpan *) &_result_ref;
21223 }
21224
21225 wxPyEndAllowThreads(__tstate);
21226 if (PyErr_Occurred()) SWIG_fail;
21227 }
21228 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21229 return resultobj;
21230 fail:
21231 return NULL;
21232 }
21233
21234
21235 static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21236 PyObject *resultobj;
21237 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21238 wxDateSpan *result;
21239 PyObject * obj0 = 0 ;
21240 char *kwnames[] = {
21241 (char *) "self", NULL
21242 };
21243
21244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
21245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21246 {
21247 PyThreadState* __tstate = wxPyBeginAllowThreads();
21248 {
21249 wxDateSpan &_result_ref = (arg1)->operator -();
21250 result = (wxDateSpan *) &_result_ref;
21251 }
21252
21253 wxPyEndAllowThreads(__tstate);
21254 if (PyErr_Occurred()) SWIG_fail;
21255 }
21256 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21257 return resultobj;
21258 fail:
21259 return NULL;
21260 }
21261
21262
21263 static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21264 PyObject *resultobj;
21265 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21266 int arg2 ;
21267 wxDateSpan *result;
21268 PyObject * obj0 = 0 ;
21269 char *kwnames[] = {
21270 (char *) "self",(char *) "factor", NULL
21271 };
21272
21273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
21274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21275 {
21276 PyThreadState* __tstate = wxPyBeginAllowThreads();
21277 {
21278 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
21279 result = (wxDateSpan *) &_result_ref;
21280 }
21281
21282 wxPyEndAllowThreads(__tstate);
21283 if (PyErr_Occurred()) SWIG_fail;
21284 }
21285 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21286 return resultobj;
21287 fail:
21288 return NULL;
21289 }
21290
21291
21292 static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21293 PyObject *resultobj;
21294 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21295 wxDateSpan *arg2 = 0 ;
21296 wxDateSpan result;
21297 PyObject * obj0 = 0 ;
21298 PyObject * obj1 = 0 ;
21299 char *kwnames[] = {
21300 (char *) "self",(char *) "other", NULL
21301 };
21302
21303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21305 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21306 if (arg2 == NULL) {
21307 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21308 }
21309 {
21310 PyThreadState* __tstate = wxPyBeginAllowThreads();
21311 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
21312
21313 wxPyEndAllowThreads(__tstate);
21314 if (PyErr_Occurred()) SWIG_fail;
21315 }
21316 {
21317 wxDateSpan * resultptr;
21318 resultptr = new wxDateSpan((wxDateSpan &) result);
21319 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21320 }
21321 return resultobj;
21322 fail:
21323 return NULL;
21324 }
21325
21326
21327 static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21328 PyObject *resultobj;
21329 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21330 wxDateSpan *arg2 = 0 ;
21331 wxDateSpan result;
21332 PyObject * obj0 = 0 ;
21333 PyObject * obj1 = 0 ;
21334 char *kwnames[] = {
21335 (char *) "self",(char *) "other", NULL
21336 };
21337
21338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21340 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21341 if (arg2 == NULL) {
21342 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21343 }
21344 {
21345 PyThreadState* __tstate = wxPyBeginAllowThreads();
21346 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
21347
21348 wxPyEndAllowThreads(__tstate);
21349 if (PyErr_Occurred()) SWIG_fail;
21350 }
21351 {
21352 wxDateSpan * resultptr;
21353 resultptr = new wxDateSpan((wxDateSpan &) result);
21354 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21355 }
21356 return resultobj;
21357 fail:
21358 return NULL;
21359 }
21360
21361
21362 static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21363 PyObject *resultobj;
21364 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21365 int arg2 ;
21366 wxDateSpan result;
21367 PyObject * obj0 = 0 ;
21368 char *kwnames[] = {
21369 (char *) "self",(char *) "n", NULL
21370 };
21371
21372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
21373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21374 {
21375 PyThreadState* __tstate = wxPyBeginAllowThreads();
21376 result = wxDateSpan___mul__(arg1,arg2);
21377
21378 wxPyEndAllowThreads(__tstate);
21379 if (PyErr_Occurred()) SWIG_fail;
21380 }
21381 {
21382 wxDateSpan * resultptr;
21383 resultptr = new wxDateSpan((wxDateSpan &) result);
21384 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21385 }
21386 return resultobj;
21387 fail:
21388 return NULL;
21389 }
21390
21391
21392 static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21393 PyObject *resultobj;
21394 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21395 int arg2 ;
21396 wxDateSpan result;
21397 PyObject * obj0 = 0 ;
21398 char *kwnames[] = {
21399 (char *) "self",(char *) "n", NULL
21400 };
21401
21402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
21403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21404 {
21405 PyThreadState* __tstate = wxPyBeginAllowThreads();
21406 result = wxDateSpan___rmul__(arg1,arg2);
21407
21408 wxPyEndAllowThreads(__tstate);
21409 if (PyErr_Occurred()) SWIG_fail;
21410 }
21411 {
21412 wxDateSpan * resultptr;
21413 resultptr = new wxDateSpan((wxDateSpan &) result);
21414 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21415 }
21416 return resultobj;
21417 fail:
21418 return NULL;
21419 }
21420
21421
21422 static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
21423 PyObject *resultobj;
21424 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21425 wxDateSpan *arg2 = 0 ;
21426 bool result;
21427 PyObject * obj0 = 0 ;
21428 PyObject * obj1 = 0 ;
21429 char *kwnames[] = {
21430 (char *) "self",(char *) "other", NULL
21431 };
21432
21433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
21434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21435 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21436 if (arg2 == NULL) {
21437 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21438 }
21439 {
21440 PyThreadState* __tstate = wxPyBeginAllowThreads();
21441 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const &)*arg2);
21442
21443 wxPyEndAllowThreads(__tstate);
21444 if (PyErr_Occurred()) SWIG_fail;
21445 }
21446 resultobj = PyInt_FromLong((long)result);
21447 return resultobj;
21448 fail:
21449 return NULL;
21450 }
21451
21452
21453 static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
21454 PyObject *resultobj;
21455 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21456 wxDateSpan *arg2 = 0 ;
21457 bool result;
21458 PyObject * obj0 = 0 ;
21459 PyObject * obj1 = 0 ;
21460 char *kwnames[] = {
21461 (char *) "self",(char *) "other", NULL
21462 };
21463
21464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
21465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21466 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21467 if (arg2 == NULL) {
21468 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21469 }
21470 {
21471 PyThreadState* __tstate = wxPyBeginAllowThreads();
21472 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const &)*arg2);
21473
21474 wxPyEndAllowThreads(__tstate);
21475 if (PyErr_Occurred()) SWIG_fail;
21476 }
21477 resultobj = PyInt_FromLong((long)result);
21478 return resultobj;
21479 fail:
21480 return NULL;
21481 }
21482
21483
21484 static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
21485 PyObject *obj;
21486 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21487 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
21488 Py_INCREF(obj);
21489 return Py_BuildValue((char *)"");
21490 }
21491 static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21492 PyObject *resultobj;
21493 long result;
21494 char *kwnames[] = {
21495 NULL
21496 };
21497
21498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
21499 {
21500 PyThreadState* __tstate = wxPyBeginAllowThreads();
21501 result = (long)wxGetLocalTime();
21502
21503 wxPyEndAllowThreads(__tstate);
21504 if (PyErr_Occurred()) SWIG_fail;
21505 }
21506 resultobj = PyInt_FromLong((long)result);
21507 return resultobj;
21508 fail:
21509 return NULL;
21510 }
21511
21512
21513 static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21514 PyObject *resultobj;
21515 long result;
21516 char *kwnames[] = {
21517 NULL
21518 };
21519
21520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
21521 {
21522 PyThreadState* __tstate = wxPyBeginAllowThreads();
21523 result = (long)wxGetUTCTime();
21524
21525 wxPyEndAllowThreads(__tstate);
21526 if (PyErr_Occurred()) SWIG_fail;
21527 }
21528 resultobj = PyInt_FromLong((long)result);
21529 return resultobj;
21530 fail:
21531 return NULL;
21532 }
21533
21534
21535 static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21536 PyObject *resultobj;
21537 long result;
21538 char *kwnames[] = {
21539 NULL
21540 };
21541
21542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
21543 {
21544 PyThreadState* __tstate = wxPyBeginAllowThreads();
21545 result = (long)wxGetCurrentTime();
21546
21547 wxPyEndAllowThreads(__tstate);
21548 if (PyErr_Occurred()) SWIG_fail;
21549 }
21550 resultobj = PyInt_FromLong((long)result);
21551 return resultobj;
21552 fail:
21553 return NULL;
21554 }
21555
21556
21557 static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
21558 PyObject *resultobj;
21559 wxLongLong result;
21560 char *kwnames[] = {
21561 NULL
21562 };
21563
21564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
21565 {
21566 PyThreadState* __tstate = wxPyBeginAllowThreads();
21567 result = wxGetLocalTimeMillis();
21568
21569 wxPyEndAllowThreads(__tstate);
21570 if (PyErr_Occurred()) SWIG_fail;
21571 }
21572 {
21573 PyObject *hi, *lo, *shifter, *shifted;
21574 hi = PyLong_FromLong( (&result)->GetHi() );
21575 lo = PyLong_FromLong( (&result)->GetLo() );
21576 shifter = PyLong_FromLong(32);
21577 shifted = PyNumber_Lshift(hi, shifter);
21578 resultobj = PyNumber_Or(shifted, lo);
21579 Py_DECREF(hi);
21580 Py_DECREF(lo);
21581 Py_DECREF(shifter);
21582 Py_DECREF(shifted);
21583 }
21584 return resultobj;
21585 fail:
21586 return NULL;
21587 }
21588
21589
21590 static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21591 PyObject *resultobj;
21592 int arg1 ;
21593 wxDataFormat *result;
21594 char *kwnames[] = {
21595 (char *) "type", NULL
21596 };
21597
21598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:new_DataFormat",kwnames,&arg1)) goto fail;
21599 {
21600 PyThreadState* __tstate = wxPyBeginAllowThreads();
21601 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
21602
21603 wxPyEndAllowThreads(__tstate);
21604 if (PyErr_Occurred()) SWIG_fail;
21605 }
21606 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21607 return resultobj;
21608 fail:
21609 return NULL;
21610 }
21611
21612
21613 static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21614 PyObject *resultobj;
21615 wxString *arg1 = 0 ;
21616 wxDataFormat *result;
21617 bool temp1 = False ;
21618 PyObject * obj0 = 0 ;
21619 char *kwnames[] = {
21620 (char *) "format", NULL
21621 };
21622
21623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
21624 {
21625 arg1 = wxString_in_helper(obj0);
21626 if (arg1 == NULL) SWIG_fail;
21627 temp1 = True;
21628 }
21629 {
21630 PyThreadState* __tstate = wxPyBeginAllowThreads();
21631 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
21632
21633 wxPyEndAllowThreads(__tstate);
21634 if (PyErr_Occurred()) SWIG_fail;
21635 }
21636 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21637 {
21638 if (temp1)
21639 delete arg1;
21640 }
21641 return resultobj;
21642 fail:
21643 {
21644 if (temp1)
21645 delete arg1;
21646 }
21647 return NULL;
21648 }
21649
21650
21651 static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21652 PyObject *resultobj;
21653 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21654 PyObject * obj0 = 0 ;
21655 char *kwnames[] = {
21656 (char *) "self", NULL
21657 };
21658
21659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
21660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21661 {
21662 PyThreadState* __tstate = wxPyBeginAllowThreads();
21663 delete arg1;
21664
21665 wxPyEndAllowThreads(__tstate);
21666 if (PyErr_Occurred()) SWIG_fail;
21667 }
21668 Py_INCREF(Py_None); resultobj = Py_None;
21669 return resultobj;
21670 fail:
21671 return NULL;
21672 }
21673
21674
21675 static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
21676 PyObject *resultobj;
21677 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21678 int arg2 ;
21679 bool result;
21680 PyObject * obj0 = 0 ;
21681
21682 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___eq__",&obj0,&arg2)) goto fail;
21683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21684 {
21685 PyThreadState* __tstate = wxPyBeginAllowThreads();
21686 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
21687
21688 wxPyEndAllowThreads(__tstate);
21689 if (PyErr_Occurred()) SWIG_fail;
21690 }
21691 resultobj = PyInt_FromLong((long)result);
21692 return resultobj;
21693 fail:
21694 return NULL;
21695 }
21696
21697
21698 static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
21699 PyObject *resultobj;
21700 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21701 int arg2 ;
21702 bool result;
21703 PyObject * obj0 = 0 ;
21704
21705 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___ne__",&obj0,&arg2)) goto fail;
21706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21707 {
21708 PyThreadState* __tstate = wxPyBeginAllowThreads();
21709 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
21710
21711 wxPyEndAllowThreads(__tstate);
21712 if (PyErr_Occurred()) SWIG_fail;
21713 }
21714 resultobj = PyInt_FromLong((long)result);
21715 return resultobj;
21716 fail:
21717 return NULL;
21718 }
21719
21720
21721 static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
21722 PyObject *resultobj;
21723 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21724 wxDataFormat *arg2 = 0 ;
21725 bool result;
21726 PyObject * obj0 = 0 ;
21727 PyObject * obj1 = 0 ;
21728
21729 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
21730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21731 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21732 if (arg2 == NULL) {
21733 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21734 }
21735 {
21736 PyThreadState* __tstate = wxPyBeginAllowThreads();
21737 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
21738
21739 wxPyEndAllowThreads(__tstate);
21740 if (PyErr_Occurred()) SWIG_fail;
21741 }
21742 resultobj = PyInt_FromLong((long)result);
21743 return resultobj;
21744 fail:
21745 return NULL;
21746 }
21747
21748
21749 static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
21750 int argc;
21751 PyObject *argv[3];
21752 int ii;
21753
21754 argc = PyObject_Length(args);
21755 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21756 argv[ii] = PyTuple_GetItem(args,ii);
21757 }
21758 if (argc == 2) {
21759 int _v;
21760 {
21761 void *ptr;
21762 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21763 _v = 0;
21764 PyErr_Clear();
21765 } else {
21766 _v = 1;
21767 }
21768 }
21769 if (_v) {
21770 {
21771 void *ptr;
21772 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21773 _v = 0;
21774 PyErr_Clear();
21775 } else {
21776 _v = 1;
21777 }
21778 }
21779 if (_v) {
21780 return _wrap_DataFormat___eq____SWIG_1(self,args);
21781 }
21782 }
21783 }
21784 if (argc == 2) {
21785 int _v;
21786 {
21787 void *ptr;
21788 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21789 _v = 0;
21790 PyErr_Clear();
21791 } else {
21792 _v = 1;
21793 }
21794 }
21795 if (_v) {
21796 {
21797 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21798 }
21799 if (_v) {
21800 return _wrap_DataFormat___eq____SWIG_0(self,args);
21801 }
21802 }
21803 }
21804
21805 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
21806 return NULL;
21807 }
21808
21809
21810 static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
21811 PyObject *resultobj;
21812 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21813 wxDataFormat *arg2 = 0 ;
21814 bool result;
21815 PyObject * obj0 = 0 ;
21816 PyObject * obj1 = 0 ;
21817
21818 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
21819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21820 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21821 if (arg2 == NULL) {
21822 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21823 }
21824 {
21825 PyThreadState* __tstate = wxPyBeginAllowThreads();
21826 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
21827
21828 wxPyEndAllowThreads(__tstate);
21829 if (PyErr_Occurred()) SWIG_fail;
21830 }
21831 resultobj = PyInt_FromLong((long)result);
21832 return resultobj;
21833 fail:
21834 return NULL;
21835 }
21836
21837
21838 static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
21839 int argc;
21840 PyObject *argv[3];
21841 int ii;
21842
21843 argc = PyObject_Length(args);
21844 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21845 argv[ii] = PyTuple_GetItem(args,ii);
21846 }
21847 if (argc == 2) {
21848 int _v;
21849 {
21850 void *ptr;
21851 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21852 _v = 0;
21853 PyErr_Clear();
21854 } else {
21855 _v = 1;
21856 }
21857 }
21858 if (_v) {
21859 {
21860 void *ptr;
21861 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21862 _v = 0;
21863 PyErr_Clear();
21864 } else {
21865 _v = 1;
21866 }
21867 }
21868 if (_v) {
21869 return _wrap_DataFormat___ne____SWIG_1(self,args);
21870 }
21871 }
21872 }
21873 if (argc == 2) {
21874 int _v;
21875 {
21876 void *ptr;
21877 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21878 _v = 0;
21879 PyErr_Clear();
21880 } else {
21881 _v = 1;
21882 }
21883 }
21884 if (_v) {
21885 {
21886 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21887 }
21888 if (_v) {
21889 return _wrap_DataFormat___ne____SWIG_0(self,args);
21890 }
21891 }
21892 }
21893
21894 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
21895 return NULL;
21896 }
21897
21898
21899 static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21900 PyObject *resultobj;
21901 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21902 int arg2 ;
21903 PyObject * obj0 = 0 ;
21904 char *kwnames[] = {
21905 (char *) "self",(char *) "format", NULL
21906 };
21907
21908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DataFormat_SetType",kwnames,&obj0,&arg2)) goto fail;
21909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21910 {
21911 PyThreadState* __tstate = wxPyBeginAllowThreads();
21912 (arg1)->SetType((wxDataFormatId )arg2);
21913
21914 wxPyEndAllowThreads(__tstate);
21915 if (PyErr_Occurred()) SWIG_fail;
21916 }
21917 Py_INCREF(Py_None); resultobj = Py_None;
21918 return resultobj;
21919 fail:
21920 return NULL;
21921 }
21922
21923
21924 static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21925 PyObject *resultobj;
21926 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21927 int result;
21928 PyObject * obj0 = 0 ;
21929 char *kwnames[] = {
21930 (char *) "self", NULL
21931 };
21932
21933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
21934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21935 {
21936 PyThreadState* __tstate = wxPyBeginAllowThreads();
21937 result = (int)((wxDataFormat const *)arg1)->GetType();
21938
21939 wxPyEndAllowThreads(__tstate);
21940 if (PyErr_Occurred()) SWIG_fail;
21941 }
21942 resultobj = PyInt_FromLong((long)result);
21943 return resultobj;
21944 fail:
21945 return NULL;
21946 }
21947
21948
21949 static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21950 PyObject *resultobj;
21951 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21952 wxString result;
21953 PyObject * obj0 = 0 ;
21954 char *kwnames[] = {
21955 (char *) "self", NULL
21956 };
21957
21958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
21959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21960 {
21961 PyThreadState* __tstate = wxPyBeginAllowThreads();
21962 result = ((wxDataFormat const *)arg1)->GetId();
21963
21964 wxPyEndAllowThreads(__tstate);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 }
21967 {
21968 #if wxUSE_UNICODE
21969 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21970 #else
21971 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21972 #endif
21973 }
21974 return resultobj;
21975 fail:
21976 return NULL;
21977 }
21978
21979
21980 static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21981 PyObject *resultobj;
21982 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21983 wxString *arg2 = 0 ;
21984 bool temp2 = False ;
21985 PyObject * obj0 = 0 ;
21986 PyObject * obj1 = 0 ;
21987 char *kwnames[] = {
21988 (char *) "self",(char *) "format", NULL
21989 };
21990
21991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
21992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21993 {
21994 arg2 = wxString_in_helper(obj1);
21995 if (arg2 == NULL) SWIG_fail;
21996 temp2 = True;
21997 }
21998 {
21999 PyThreadState* __tstate = wxPyBeginAllowThreads();
22000 (arg1)->SetId((wxString const &)*arg2);
22001
22002 wxPyEndAllowThreads(__tstate);
22003 if (PyErr_Occurred()) SWIG_fail;
22004 }
22005 Py_INCREF(Py_None); resultobj = Py_None;
22006 {
22007 if (temp2)
22008 delete arg2;
22009 }
22010 return resultobj;
22011 fail:
22012 {
22013 if (temp2)
22014 delete arg2;
22015 }
22016 return NULL;
22017 }
22018
22019
22020 static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
22021 PyObject *obj;
22022 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22023 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
22024 Py_INCREF(obj);
22025 return Py_BuildValue((char *)"");
22026 }
22027 static int _wrap_FormatInvalid_set(PyObject *_val) {
22028 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
22029 return 1;
22030 }
22031
22032
22033 static PyObject *_wrap_FormatInvalid_get() {
22034 PyObject *pyobj;
22035
22036 pyobj = SWIG_NewPointerObj((void *) &wxFormatInvalid, SWIGTYPE_p_wxDataFormat, 0);
22037 return pyobj;
22038 }
22039
22040
22041 static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22042 PyObject *resultobj;
22043 wxDataObject *arg1 = (wxDataObject *) 0 ;
22044 PyObject * obj0 = 0 ;
22045 char *kwnames[] = {
22046 (char *) "self", NULL
22047 };
22048
22049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
22050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22051 {
22052 PyThreadState* __tstate = wxPyBeginAllowThreads();
22053 delete arg1;
22054
22055 wxPyEndAllowThreads(__tstate);
22056 if (PyErr_Occurred()) SWIG_fail;
22057 }
22058 Py_INCREF(Py_None); resultobj = Py_None;
22059 return resultobj;
22060 fail:
22061 return NULL;
22062 }
22063
22064
22065 static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22066 PyObject *resultobj;
22067 wxDataObject *arg1 = (wxDataObject *) 0 ;
22068 int arg2 = (int) wxDataObject::Get ;
22069 SwigValueWrapper< wxDataFormat > result;
22070 PyObject * obj0 = 0 ;
22071 char *kwnames[] = {
22072 (char *) "self",(char *) "dir", NULL
22073 };
22074
22075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetPreferredFormat",kwnames,&obj0,&arg2)) goto fail;
22076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22077 {
22078 PyThreadState* __tstate = wxPyBeginAllowThreads();
22079 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
22080
22081 wxPyEndAllowThreads(__tstate);
22082 if (PyErr_Occurred()) SWIG_fail;
22083 }
22084 {
22085 wxDataFormat * resultptr;
22086 resultptr = new wxDataFormat((wxDataFormat &) result);
22087 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDataFormat, 1);
22088 }
22089 return resultobj;
22090 fail:
22091 return NULL;
22092 }
22093
22094
22095 static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22096 PyObject *resultobj;
22097 wxDataObject *arg1 = (wxDataObject *) 0 ;
22098 int arg2 = (int) wxDataObject::Get ;
22099 size_t result;
22100 PyObject * obj0 = 0 ;
22101 char *kwnames[] = {
22102 (char *) "self",(char *) "dir", NULL
22103 };
22104
22105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetFormatCount",kwnames,&obj0,&arg2)) goto fail;
22106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22107 {
22108 PyThreadState* __tstate = wxPyBeginAllowThreads();
22109 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
22110
22111 wxPyEndAllowThreads(__tstate);
22112 if (PyErr_Occurred()) SWIG_fail;
22113 }
22114 resultobj = PyInt_FromLong((long)result);
22115 return resultobj;
22116 fail:
22117 return NULL;
22118 }
22119
22120
22121 static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
22122 PyObject *resultobj;
22123 wxDataObject *arg1 = (wxDataObject *) 0 ;
22124 wxDataFormat *arg2 = 0 ;
22125 int arg3 = (int) wxDataObject::Get ;
22126 bool result;
22127 PyObject * obj0 = 0 ;
22128 PyObject * obj1 = 0 ;
22129 char *kwnames[] = {
22130 (char *) "self",(char *) "format",(char *) "dir", NULL
22131 };
22132
22133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_IsSupported",kwnames,&obj0,&obj1,&arg3)) goto fail;
22134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22135 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22136 if (arg2 == NULL) {
22137 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22138 }
22139 {
22140 PyThreadState* __tstate = wxPyBeginAllowThreads();
22141 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
22142
22143 wxPyEndAllowThreads(__tstate);
22144 if (PyErr_Occurred()) SWIG_fail;
22145 }
22146 resultobj = PyInt_FromLong((long)result);
22147 return resultobj;
22148 fail:
22149 return NULL;
22150 }
22151
22152
22153 static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22154 PyObject *resultobj;
22155 wxDataObject *arg1 = (wxDataObject *) 0 ;
22156 wxDataFormat *arg2 = 0 ;
22157 size_t result;
22158 PyObject * obj0 = 0 ;
22159 PyObject * obj1 = 0 ;
22160 char *kwnames[] = {
22161 (char *) "self",(char *) "format", NULL
22162 };
22163
22164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
22165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22166 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22167 if (arg2 == NULL) {
22168 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22169 }
22170 {
22171 PyThreadState* __tstate = wxPyBeginAllowThreads();
22172 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
22173
22174 wxPyEndAllowThreads(__tstate);
22175 if (PyErr_Occurred()) SWIG_fail;
22176 }
22177 resultobj = PyInt_FromLong((long)result);
22178 return resultobj;
22179 fail:
22180 return NULL;
22181 }
22182
22183
22184 static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
22185 PyObject *resultobj;
22186 wxDataObject *arg1 = (wxDataObject *) 0 ;
22187 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
22188 int arg3 = (int) wxDataObject::Get ;
22189 PyObject * obj0 = 0 ;
22190 PyObject * obj1 = 0 ;
22191 char *kwnames[] = {
22192 (char *) "self",(char *) "formats",(char *) "dir", NULL
22193 };
22194
22195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&arg3)) goto fail;
22196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22197 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22198 {
22199 PyThreadState* __tstate = wxPyBeginAllowThreads();
22200 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
22201
22202 wxPyEndAllowThreads(__tstate);
22203 if (PyErr_Occurred()) SWIG_fail;
22204 }
22205 Py_INCREF(Py_None); resultobj = Py_None;
22206 return resultobj;
22207 fail:
22208 return NULL;
22209 }
22210
22211
22212 static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
22213 PyObject *resultobj;
22214 wxDataObject *arg1 = (wxDataObject *) 0 ;
22215 wxDataFormat *arg2 = 0 ;
22216 void *arg3 = (void *) 0 ;
22217 bool result;
22218 PyObject * obj0 = 0 ;
22219 PyObject * obj1 = 0 ;
22220 PyObject * obj2 = 0 ;
22221 char *kwnames[] = {
22222 (char *) "self",(char *) "format",(char *) "buf", NULL
22223 };
22224
22225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
22226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22227 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22228 if (arg2 == NULL) {
22229 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22230 }
22231 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22232 {
22233 PyThreadState* __tstate = wxPyBeginAllowThreads();
22234 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
22235
22236 wxPyEndAllowThreads(__tstate);
22237 if (PyErr_Occurred()) SWIG_fail;
22238 }
22239 resultobj = PyInt_FromLong((long)result);
22240 return resultobj;
22241 fail:
22242 return NULL;
22243 }
22244
22245
22246 static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22247 PyObject *resultobj;
22248 wxDataObject *arg1 = (wxDataObject *) 0 ;
22249 wxDataFormat *arg2 = 0 ;
22250 size_t arg3 ;
22251 void *arg4 = (void *) 0 ;
22252 bool result;
22253 PyObject * obj0 = 0 ;
22254 PyObject * obj1 = 0 ;
22255 PyObject * obj2 = 0 ;
22256 PyObject * obj3 = 0 ;
22257 char *kwnames[] = {
22258 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
22259 };
22260
22261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22263 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22264 if (arg2 == NULL) {
22265 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22266 }
22267 arg3 = (size_t) PyInt_AsLong(obj2);
22268 if (PyErr_Occurred()) SWIG_fail;
22269 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22270 {
22271 PyThreadState* __tstate = wxPyBeginAllowThreads();
22272 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
22273
22274 wxPyEndAllowThreads(__tstate);
22275 if (PyErr_Occurred()) SWIG_fail;
22276 }
22277 resultobj = PyInt_FromLong((long)result);
22278 return resultobj;
22279 fail:
22280 return NULL;
22281 }
22282
22283
22284 static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
22285 PyObject *obj;
22286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22287 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
22288 Py_INCREF(obj);
22289 return Py_BuildValue((char *)"");
22290 }
22291 static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22292 PyObject *resultobj;
22293 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22294 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22295 wxDataObjectSimple *result;
22296 PyObject * obj0 = 0 ;
22297 char *kwnames[] = {
22298 (char *) "format", NULL
22299 };
22300
22301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
22302 if (obj0) {
22303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22304 if (arg1 == NULL) {
22305 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22306 }
22307 }
22308 {
22309 PyThreadState* __tstate = wxPyBeginAllowThreads();
22310 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
22311
22312 wxPyEndAllowThreads(__tstate);
22313 if (PyErr_Occurred()) SWIG_fail;
22314 }
22315 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectSimple, 1);
22316 return resultobj;
22317 fail:
22318 return NULL;
22319 }
22320
22321
22322 static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22323 PyObject *resultobj;
22324 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22325 wxDataFormat *result;
22326 PyObject * obj0 = 0 ;
22327 char *kwnames[] = {
22328 (char *) "self", NULL
22329 };
22330
22331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
22332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22333 {
22334 PyThreadState* __tstate = wxPyBeginAllowThreads();
22335 {
22336 wxDataFormat const &_result_ref = (arg1)->GetFormat();
22337 result = (wxDataFormat *) &_result_ref;
22338 }
22339
22340 wxPyEndAllowThreads(__tstate);
22341 if (PyErr_Occurred()) SWIG_fail;
22342 }
22343 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 0);
22344 return resultobj;
22345 fail:
22346 return NULL;
22347 }
22348
22349
22350 static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22351 PyObject *resultobj;
22352 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22353 wxDataFormat *arg2 = 0 ;
22354 PyObject * obj0 = 0 ;
22355 PyObject * obj1 = 0 ;
22356 char *kwnames[] = {
22357 (char *) "self",(char *) "format", NULL
22358 };
22359
22360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
22361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22362 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22363 if (arg2 == NULL) {
22364 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22365 }
22366 {
22367 PyThreadState* __tstate = wxPyBeginAllowThreads();
22368 (arg1)->SetFormat((wxDataFormat const &)*arg2);
22369
22370 wxPyEndAllowThreads(__tstate);
22371 if (PyErr_Occurred()) SWIG_fail;
22372 }
22373 Py_INCREF(Py_None); resultobj = Py_None;
22374 return resultobj;
22375 fail:
22376 return NULL;
22377 }
22378
22379
22380 static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22381 PyObject *obj;
22382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22383 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
22384 Py_INCREF(obj);
22385 return Py_BuildValue((char *)"");
22386 }
22387 static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22388 PyObject *resultobj;
22389 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22390 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22391 wxPyDataObjectSimple *result;
22392 PyObject * obj0 = 0 ;
22393 char *kwnames[] = {
22394 (char *) "format", NULL
22395 };
22396
22397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
22398 if (obj0) {
22399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22400 if (arg1 == NULL) {
22401 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22402 }
22403 }
22404 {
22405 PyThreadState* __tstate = wxPyBeginAllowThreads();
22406 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
22407
22408 wxPyEndAllowThreads(__tstate);
22409 if (PyErr_Occurred()) SWIG_fail;
22410 }
22411 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDataObjectSimple, 1);
22412 return resultobj;
22413 fail:
22414 return NULL;
22415 }
22416
22417
22418 static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22419 PyObject *resultobj;
22420 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
22421 PyObject *arg2 = (PyObject *) 0 ;
22422 PyObject *arg3 = (PyObject *) 0 ;
22423 PyObject * obj0 = 0 ;
22424 PyObject * obj1 = 0 ;
22425 PyObject * obj2 = 0 ;
22426 char *kwnames[] = {
22427 (char *) "self",(char *) "self",(char *) "_class", NULL
22428 };
22429
22430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22432 arg2 = obj1;
22433 arg3 = obj2;
22434 {
22435 PyThreadState* __tstate = wxPyBeginAllowThreads();
22436 (arg1)->_setCallbackInfo(arg2,arg3);
22437
22438 wxPyEndAllowThreads(__tstate);
22439 if (PyErr_Occurred()) SWIG_fail;
22440 }
22441 Py_INCREF(Py_None); resultobj = Py_None;
22442 return resultobj;
22443 fail:
22444 return NULL;
22445 }
22446
22447
22448 static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22449 PyObject *obj;
22450 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22451 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
22452 Py_INCREF(obj);
22453 return Py_BuildValue((char *)"");
22454 }
22455 static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
22456 PyObject *resultobj;
22457 wxDataObjectComposite *result;
22458 char *kwnames[] = {
22459 NULL
22460 };
22461
22462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
22463 {
22464 PyThreadState* __tstate = wxPyBeginAllowThreads();
22465 result = (wxDataObjectComposite *)new wxDataObjectComposite();
22466
22467 wxPyEndAllowThreads(__tstate);
22468 if (PyErr_Occurred()) SWIG_fail;
22469 }
22470 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectComposite, 1);
22471 return resultobj;
22472 fail:
22473 return NULL;
22474 }
22475
22476
22477 static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
22478 PyObject *resultobj;
22479 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
22480 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
22481 int arg3 = (int) False ;
22482 PyObject * obj0 = 0 ;
22483 PyObject * obj1 = 0 ;
22484 char *kwnames[] = {
22485 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22486 };
22487
22488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObjectComposite_Add",kwnames,&obj0,&obj1,&arg3)) goto fail;
22489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectComposite,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22490 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22491 {
22492 PyThreadState* __tstate = wxPyBeginAllowThreads();
22493 (arg1)->Add(arg2,arg3);
22494
22495 wxPyEndAllowThreads(__tstate);
22496 if (PyErr_Occurred()) SWIG_fail;
22497 }
22498 Py_INCREF(Py_None); resultobj = Py_None;
22499 return resultobj;
22500 fail:
22501 return NULL;
22502 }
22503
22504
22505 static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
22506 PyObject *obj;
22507 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22508 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
22509 Py_INCREF(obj);
22510 return Py_BuildValue((char *)"");
22511 }
22512 static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22513 PyObject *resultobj;
22514 wxString const &arg1_defvalue = wxPyEmptyString ;
22515 wxString *arg1 = (wxString *) &arg1_defvalue ;
22516 wxTextDataObject *result;
22517 bool temp1 = False ;
22518 PyObject * obj0 = 0 ;
22519 char *kwnames[] = {
22520 (char *) "text", NULL
22521 };
22522
22523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
22524 if (obj0) {
22525 {
22526 arg1 = wxString_in_helper(obj0);
22527 if (arg1 == NULL) SWIG_fail;
22528 temp1 = True;
22529 }
22530 }
22531 {
22532 PyThreadState* __tstate = wxPyBeginAllowThreads();
22533 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
22534
22535 wxPyEndAllowThreads(__tstate);
22536 if (PyErr_Occurred()) SWIG_fail;
22537 }
22538 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextDataObject, 1);
22539 {
22540 if (temp1)
22541 delete arg1;
22542 }
22543 return resultobj;
22544 fail:
22545 {
22546 if (temp1)
22547 delete arg1;
22548 }
22549 return NULL;
22550 }
22551
22552
22553 static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
22554 PyObject *resultobj;
22555 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22556 size_t result;
22557 PyObject * obj0 = 0 ;
22558 char *kwnames[] = {
22559 (char *) "self", NULL
22560 };
22561
22562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
22563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22564 {
22565 PyThreadState* __tstate = wxPyBeginAllowThreads();
22566 result = (size_t)(arg1)->GetTextLength();
22567
22568 wxPyEndAllowThreads(__tstate);
22569 if (PyErr_Occurred()) SWIG_fail;
22570 }
22571 resultobj = PyInt_FromLong((long)result);
22572 return resultobj;
22573 fail:
22574 return NULL;
22575 }
22576
22577
22578 static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22579 PyObject *resultobj;
22580 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22581 wxString result;
22582 PyObject * obj0 = 0 ;
22583 char *kwnames[] = {
22584 (char *) "self", NULL
22585 };
22586
22587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
22588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22589 {
22590 PyThreadState* __tstate = wxPyBeginAllowThreads();
22591 result = (arg1)->GetText();
22592
22593 wxPyEndAllowThreads(__tstate);
22594 if (PyErr_Occurred()) SWIG_fail;
22595 }
22596 {
22597 #if wxUSE_UNICODE
22598 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22599 #else
22600 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22601 #endif
22602 }
22603 return resultobj;
22604 fail:
22605 return NULL;
22606 }
22607
22608
22609 static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22610 PyObject *resultobj;
22611 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22612 wxString *arg2 = 0 ;
22613 bool temp2 = False ;
22614 PyObject * obj0 = 0 ;
22615 PyObject * obj1 = 0 ;
22616 char *kwnames[] = {
22617 (char *) "self",(char *) "text", NULL
22618 };
22619
22620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
22621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22622 {
22623 arg2 = wxString_in_helper(obj1);
22624 if (arg2 == NULL) SWIG_fail;
22625 temp2 = True;
22626 }
22627 {
22628 PyThreadState* __tstate = wxPyBeginAllowThreads();
22629 (arg1)->SetText((wxString const &)*arg2);
22630
22631 wxPyEndAllowThreads(__tstate);
22632 if (PyErr_Occurred()) SWIG_fail;
22633 }
22634 Py_INCREF(Py_None); resultobj = Py_None;
22635 {
22636 if (temp2)
22637 delete arg2;
22638 }
22639 return resultobj;
22640 fail:
22641 {
22642 if (temp2)
22643 delete arg2;
22644 }
22645 return NULL;
22646 }
22647
22648
22649 static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
22650 PyObject *obj;
22651 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22652 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
22653 Py_INCREF(obj);
22654 return Py_BuildValue((char *)"");
22655 }
22656 static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22657 PyObject *resultobj;
22658 wxString const &arg1_defvalue = wxPyEmptyString ;
22659 wxString *arg1 = (wxString *) &arg1_defvalue ;
22660 wxPyTextDataObject *result;
22661 bool temp1 = False ;
22662 PyObject * obj0 = 0 ;
22663 char *kwnames[] = {
22664 (char *) "text", NULL
22665 };
22666
22667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
22668 if (obj0) {
22669 {
22670 arg1 = wxString_in_helper(obj0);
22671 if (arg1 == NULL) SWIG_fail;
22672 temp1 = True;
22673 }
22674 }
22675 {
22676 PyThreadState* __tstate = wxPyBeginAllowThreads();
22677 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
22678
22679 wxPyEndAllowThreads(__tstate);
22680 if (PyErr_Occurred()) SWIG_fail;
22681 }
22682 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDataObject, 1);
22683 {
22684 if (temp1)
22685 delete arg1;
22686 }
22687 return resultobj;
22688 fail:
22689 {
22690 if (temp1)
22691 delete arg1;
22692 }
22693 return NULL;
22694 }
22695
22696
22697 static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22698 PyObject *resultobj;
22699 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
22700 PyObject *arg2 = (PyObject *) 0 ;
22701 PyObject *arg3 = (PyObject *) 0 ;
22702 PyObject * obj0 = 0 ;
22703 PyObject * obj1 = 0 ;
22704 PyObject * obj2 = 0 ;
22705 char *kwnames[] = {
22706 (char *) "self",(char *) "self",(char *) "_class", NULL
22707 };
22708
22709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22711 arg2 = obj1;
22712 arg3 = obj2;
22713 {
22714 PyThreadState* __tstate = wxPyBeginAllowThreads();
22715 (arg1)->_setCallbackInfo(arg2,arg3);
22716
22717 wxPyEndAllowThreads(__tstate);
22718 if (PyErr_Occurred()) SWIG_fail;
22719 }
22720 Py_INCREF(Py_None); resultobj = Py_None;
22721 return resultobj;
22722 fail:
22723 return NULL;
22724 }
22725
22726
22727 static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
22728 PyObject *obj;
22729 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22730 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
22731 Py_INCREF(obj);
22732 return Py_BuildValue((char *)"");
22733 }
22734 static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22735 PyObject *resultobj;
22736 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22737 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22738 wxBitmapDataObject *result;
22739 PyObject * obj0 = 0 ;
22740 char *kwnames[] = {
22741 (char *) "bitmap", NULL
22742 };
22743
22744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
22745 if (obj0) {
22746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22747 if (arg1 == NULL) {
22748 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22749 }
22750 }
22751 {
22752 PyThreadState* __tstate = wxPyBeginAllowThreads();
22753 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
22754
22755 wxPyEndAllowThreads(__tstate);
22756 if (PyErr_Occurred()) SWIG_fail;
22757 }
22758 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmapDataObject, 1);
22759 return resultobj;
22760 fail:
22761 return NULL;
22762 }
22763
22764
22765 static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22766 PyObject *resultobj;
22767 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22768 wxBitmap result;
22769 PyObject * obj0 = 0 ;
22770 char *kwnames[] = {
22771 (char *) "self", NULL
22772 };
22773
22774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
22775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22776 {
22777 PyThreadState* __tstate = wxPyBeginAllowThreads();
22778 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
22779
22780 wxPyEndAllowThreads(__tstate);
22781 if (PyErr_Occurred()) SWIG_fail;
22782 }
22783 {
22784 wxBitmap * resultptr;
22785 resultptr = new wxBitmap((wxBitmap &) result);
22786 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
22787 }
22788 return resultobj;
22789 fail:
22790 return NULL;
22791 }
22792
22793
22794 static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22795 PyObject *resultobj;
22796 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22797 wxBitmap *arg2 = 0 ;
22798 PyObject * obj0 = 0 ;
22799 PyObject * obj1 = 0 ;
22800 char *kwnames[] = {
22801 (char *) "self",(char *) "bitmap", NULL
22802 };
22803
22804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
22805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22806 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22807 if (arg2 == NULL) {
22808 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22809 }
22810 {
22811 PyThreadState* __tstate = wxPyBeginAllowThreads();
22812 (arg1)->SetBitmap((wxBitmap const &)*arg2);
22813
22814 wxPyEndAllowThreads(__tstate);
22815 if (PyErr_Occurred()) SWIG_fail;
22816 }
22817 Py_INCREF(Py_None); resultobj = Py_None;
22818 return resultobj;
22819 fail:
22820 return NULL;
22821 }
22822
22823
22824 static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22825 PyObject *obj;
22826 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22827 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
22828 Py_INCREF(obj);
22829 return Py_BuildValue((char *)"");
22830 }
22831 static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22832 PyObject *resultobj;
22833 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22834 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22835 wxPyBitmapDataObject *result;
22836 PyObject * obj0 = 0 ;
22837 char *kwnames[] = {
22838 (char *) "bitmap", NULL
22839 };
22840
22841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
22842 if (obj0) {
22843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22844 if (arg1 == NULL) {
22845 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22846 }
22847 }
22848 {
22849 PyThreadState* __tstate = wxPyBeginAllowThreads();
22850 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
22851
22852 wxPyEndAllowThreads(__tstate);
22853 if (PyErr_Occurred()) SWIG_fail;
22854 }
22855 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapDataObject, 1);
22856 return resultobj;
22857 fail:
22858 return NULL;
22859 }
22860
22861
22862 static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22863 PyObject *resultobj;
22864 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
22865 PyObject *arg2 = (PyObject *) 0 ;
22866 PyObject *arg3 = (PyObject *) 0 ;
22867 PyObject * obj0 = 0 ;
22868 PyObject * obj1 = 0 ;
22869 PyObject * obj2 = 0 ;
22870 char *kwnames[] = {
22871 (char *) "self",(char *) "self",(char *) "_class", NULL
22872 };
22873
22874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22876 arg2 = obj1;
22877 arg3 = obj2;
22878 {
22879 PyThreadState* __tstate = wxPyBeginAllowThreads();
22880 (arg1)->_setCallbackInfo(arg2,arg3);
22881
22882 wxPyEndAllowThreads(__tstate);
22883 if (PyErr_Occurred()) SWIG_fail;
22884 }
22885 Py_INCREF(Py_None); resultobj = Py_None;
22886 return resultobj;
22887 fail:
22888 return NULL;
22889 }
22890
22891
22892 static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22893 PyObject *obj;
22894 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22895 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
22896 Py_INCREF(obj);
22897 return Py_BuildValue((char *)"");
22898 }
22899 static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22900 PyObject *resultobj;
22901 wxFileDataObject *result;
22902 char *kwnames[] = {
22903 NULL
22904 };
22905
22906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
22907 {
22908 PyThreadState* __tstate = wxPyBeginAllowThreads();
22909 result = (wxFileDataObject *)new wxFileDataObject();
22910
22911 wxPyEndAllowThreads(__tstate);
22912 if (PyErr_Occurred()) SWIG_fail;
22913 }
22914 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDataObject, 1);
22915 return resultobj;
22916 fail:
22917 return NULL;
22918 }
22919
22920
22921 static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
22922 PyObject *resultobj;
22923 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
22924 wxArrayString *result;
22925 PyObject * obj0 = 0 ;
22926 char *kwnames[] = {
22927 (char *) "self", NULL
22928 };
22929
22930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
22931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22932 {
22933 PyThreadState* __tstate = wxPyBeginAllowThreads();
22934 {
22935 wxArrayString const &_result_ref = (arg1)->GetFilenames();
22936 result = (wxArrayString *) &_result_ref;
22937 }
22938
22939 wxPyEndAllowThreads(__tstate);
22940 if (PyErr_Occurred()) SWIG_fail;
22941 }
22942 {
22943 resultobj = wxArrayString2PyList_helper(*result);
22944 }
22945 return resultobj;
22946 fail:
22947 return NULL;
22948 }
22949
22950
22951 static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
22952 PyObject *obj;
22953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22954 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
22955 Py_INCREF(obj);
22956 return Py_BuildValue((char *)"");
22957 }
22958 static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22959 PyObject *resultobj;
22960 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22961 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22962 wxCustomDataObject *result;
22963 PyObject * obj0 = 0 ;
22964 char *kwnames[] = {
22965 (char *) "format", NULL
22966 };
22967
22968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
22969 if (obj0) {
22970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22971 if (arg1 == NULL) {
22972 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22973 }
22974 }
22975 {
22976 PyThreadState* __tstate = wxPyBeginAllowThreads();
22977 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
22978
22979 wxPyEndAllowThreads(__tstate);
22980 if (PyErr_Occurred()) SWIG_fail;
22981 }
22982 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCustomDataObject, 1);
22983 return resultobj;
22984 fail:
22985 return NULL;
22986 }
22987
22988
22989 static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
22990 PyObject *resultobj;
22991 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22992 PyObject *arg2 = (PyObject *) 0 ;
22993 PyObject * obj0 = 0 ;
22994 PyObject * obj1 = 0 ;
22995 char *kwnames[] = {
22996 (char *) "self",(char *) "data", NULL
22997 };
22998
22999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
23000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23001 arg2 = obj1;
23002 {
23003 PyThreadState* __tstate = wxPyBeginAllowThreads();
23004 wxCustomDataObject_TakeData(arg1,arg2);
23005
23006 wxPyEndAllowThreads(__tstate);
23007 if (PyErr_Occurred()) SWIG_fail;
23008 }
23009 Py_INCREF(Py_None); resultobj = Py_None;
23010 return resultobj;
23011 fail:
23012 return NULL;
23013 }
23014
23015
23016 static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23017 PyObject *resultobj;
23018 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
23019 PyObject *arg2 = (PyObject *) 0 ;
23020 bool result;
23021 PyObject * obj0 = 0 ;
23022 PyObject * obj1 = 0 ;
23023 char *kwnames[] = {
23024 (char *) "self",(char *) "data", NULL
23025 };
23026
23027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
23028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23029 arg2 = obj1;
23030 {
23031 PyThreadState* __tstate = wxPyBeginAllowThreads();
23032 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
23033
23034 wxPyEndAllowThreads(__tstate);
23035 if (PyErr_Occurred()) SWIG_fail;
23036 }
23037 resultobj = PyInt_FromLong((long)result);
23038 return resultobj;
23039 fail:
23040 return NULL;
23041 }
23042
23043
23044 static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23045 PyObject *resultobj;
23046 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
23047 size_t result;
23048 PyObject * obj0 = 0 ;
23049 char *kwnames[] = {
23050 (char *) "self", NULL
23051 };
23052
23053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
23054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23055 {
23056 PyThreadState* __tstate = wxPyBeginAllowThreads();
23057 result = (size_t)(arg1)->GetSize();
23058
23059 wxPyEndAllowThreads(__tstate);
23060 if (PyErr_Occurred()) SWIG_fail;
23061 }
23062 resultobj = PyInt_FromLong((long)result);
23063 return resultobj;
23064 fail:
23065 return NULL;
23066 }
23067
23068
23069 static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23070 PyObject *resultobj;
23071 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
23072 PyObject *result;
23073 PyObject * obj0 = 0 ;
23074 char *kwnames[] = {
23075 (char *) "self", NULL
23076 };
23077
23078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
23079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23080 {
23081 PyThreadState* __tstate = wxPyBeginAllowThreads();
23082 result = (PyObject *)wxCustomDataObject_GetData(arg1);
23083
23084 wxPyEndAllowThreads(__tstate);
23085 if (PyErr_Occurred()) SWIG_fail;
23086 }
23087 resultobj = result;
23088 return resultobj;
23089 fail:
23090 return NULL;
23091 }
23092
23093
23094 static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
23095 PyObject *obj;
23096 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23097 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
23098 Py_INCREF(obj);
23099 return Py_BuildValue((char *)"");
23100 }
23101 static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23102 PyObject *resultobj;
23103 wxURLDataObject *result;
23104 char *kwnames[] = {
23105 NULL
23106 };
23107
23108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
23109 {
23110 PyThreadState* __tstate = wxPyBeginAllowThreads();
23111 result = (wxURLDataObject *)new wxURLDataObject();
23112
23113 wxPyEndAllowThreads(__tstate);
23114 if (PyErr_Occurred()) SWIG_fail;
23115 }
23116 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxURLDataObject, 1);
23117 return resultobj;
23118 fail:
23119 return NULL;
23120 }
23121
23122
23123 static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
23124 PyObject *resultobj;
23125 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
23126 wxString result;
23127 PyObject * obj0 = 0 ;
23128 char *kwnames[] = {
23129 (char *) "self", NULL
23130 };
23131
23132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
23133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23134 {
23135 PyThreadState* __tstate = wxPyBeginAllowThreads();
23136 result = (arg1)->GetURL();
23137
23138 wxPyEndAllowThreads(__tstate);
23139 if (PyErr_Occurred()) SWIG_fail;
23140 }
23141 {
23142 #if wxUSE_UNICODE
23143 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23144 #else
23145 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23146 #endif
23147 }
23148 return resultobj;
23149 fail:
23150 return NULL;
23151 }
23152
23153
23154 static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
23155 PyObject *resultobj;
23156 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
23157 wxString *arg2 = 0 ;
23158 bool temp2 = False ;
23159 PyObject * obj0 = 0 ;
23160 PyObject * obj1 = 0 ;
23161 char *kwnames[] = {
23162 (char *) "self",(char *) "url", NULL
23163 };
23164
23165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
23166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23167 {
23168 arg2 = wxString_in_helper(obj1);
23169 if (arg2 == NULL) SWIG_fail;
23170 temp2 = True;
23171 }
23172 {
23173 PyThreadState* __tstate = wxPyBeginAllowThreads();
23174 (arg1)->SetURL((wxString const &)*arg2);
23175
23176 wxPyEndAllowThreads(__tstate);
23177 if (PyErr_Occurred()) SWIG_fail;
23178 }
23179 Py_INCREF(Py_None); resultobj = Py_None;
23180 {
23181 if (temp2)
23182 delete arg2;
23183 }
23184 return resultobj;
23185 fail:
23186 {
23187 if (temp2)
23188 delete arg2;
23189 }
23190 return NULL;
23191 }
23192
23193
23194 static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
23195 PyObject *obj;
23196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23197 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
23198 Py_INCREF(obj);
23199 return Py_BuildValue((char *)"");
23200 }
23201 static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23202 PyObject *resultobj;
23203 wxMetafileDataObject *result;
23204 char *kwnames[] = {
23205 NULL
23206 };
23207
23208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
23209 {
23210 PyThreadState* __tstate = wxPyBeginAllowThreads();
23211 result = (wxMetafileDataObject *)new wxMetafileDataObject();
23212
23213 wxPyEndAllowThreads(__tstate);
23214 if (PyErr_Occurred()) SWIG_fail;
23215 }
23216 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMetafileDataObject, 1);
23217 return resultobj;
23218 fail:
23219 return NULL;
23220 }
23221
23222
23223 static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
23224 PyObject *obj;
23225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23226 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
23227 Py_INCREF(obj);
23228 return Py_BuildValue((char *)"");
23229 }
23230 static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23231 PyObject *resultobj;
23232 int arg1 ;
23233 bool result;
23234 char *kwnames[] = {
23235 (char *) "res", NULL
23236 };
23237
23238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:IsDragResultOk",kwnames,&arg1)) goto fail;
23239 {
23240 PyThreadState* __tstate = wxPyBeginAllowThreads();
23241 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
23242
23243 wxPyEndAllowThreads(__tstate);
23244 if (PyErr_Occurred()) SWIG_fail;
23245 }
23246 resultobj = PyInt_FromLong((long)result);
23247 return resultobj;
23248 fail:
23249 return NULL;
23250 }
23251
23252
23253 static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23254 PyObject *resultobj;
23255 wxWindow *arg1 = (wxWindow *) NULL ;
23256 wxIcon const &arg2_defvalue = wxNullIcon ;
23257 wxIcon *arg2 = (wxIcon *) &arg2_defvalue ;
23258 wxIcon const &arg3_defvalue = wxNullIcon ;
23259 wxIcon *arg3 = (wxIcon *) &arg3_defvalue ;
23260 wxIcon const &arg4_defvalue = wxNullIcon ;
23261 wxIcon *arg4 = (wxIcon *) &arg4_defvalue ;
23262 wxPyDropSource *result;
23263 PyObject * obj0 = 0 ;
23264 PyObject * obj1 = 0 ;
23265 PyObject * obj2 = 0 ;
23266 PyObject * obj3 = 0 ;
23267 char *kwnames[] = {
23268 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
23269 };
23270
23271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23272 if (obj0) {
23273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23274 }
23275 if (obj1) {
23276 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23277 if (arg2 == NULL) {
23278 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23279 }
23280 }
23281 if (obj2) {
23282 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23283 if (arg3 == NULL) {
23284 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23285 }
23286 }
23287 if (obj3) {
23288 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23289 if (arg4 == NULL) {
23290 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23291 }
23292 }
23293 {
23294 PyThreadState* __tstate = wxPyBeginAllowThreads();
23295 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxIcon const &)*arg2,(wxIcon const &)*arg3,(wxIcon const &)*arg4);
23296
23297 wxPyEndAllowThreads(__tstate);
23298 if (PyErr_Occurred()) SWIG_fail;
23299 }
23300 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropSource, 1);
23301 return resultobj;
23302 fail:
23303 return NULL;
23304 }
23305
23306
23307 static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23308 PyObject *resultobj;
23309 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23310 PyObject *arg2 = (PyObject *) 0 ;
23311 PyObject *arg3 = (PyObject *) 0 ;
23312 int arg4 ;
23313 PyObject * obj0 = 0 ;
23314 PyObject * obj1 = 0 ;
23315 PyObject * obj2 = 0 ;
23316 char *kwnames[] = {
23317 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23318 };
23319
23320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOi:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
23321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23322 arg2 = obj1;
23323 arg3 = obj2;
23324 {
23325 PyThreadState* __tstate = wxPyBeginAllowThreads();
23326 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
23327
23328 wxPyEndAllowThreads(__tstate);
23329 if (PyErr_Occurred()) SWIG_fail;
23330 }
23331 Py_INCREF(Py_None); resultobj = Py_None;
23332 return resultobj;
23333 fail:
23334 return NULL;
23335 }
23336
23337
23338 static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23339 PyObject *resultobj;
23340 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23341 PyObject * obj0 = 0 ;
23342 char *kwnames[] = {
23343 (char *) "self", NULL
23344 };
23345
23346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
23347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23348 {
23349 PyThreadState* __tstate = wxPyBeginAllowThreads();
23350 delete arg1;
23351
23352 wxPyEndAllowThreads(__tstate);
23353 if (PyErr_Occurred()) SWIG_fail;
23354 }
23355 Py_INCREF(Py_None); resultobj = Py_None;
23356 return resultobj;
23357 fail:
23358 return NULL;
23359 }
23360
23361
23362 static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23363 PyObject *resultobj;
23364 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23365 wxDataObject *arg2 = 0 ;
23366 PyObject * obj0 = 0 ;
23367 PyObject * obj1 = 0 ;
23368 char *kwnames[] = {
23369 (char *) "self",(char *) "data", NULL
23370 };
23371
23372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
23373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23374 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23375 if (arg2 == NULL) {
23376 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23377 }
23378 {
23379 PyThreadState* __tstate = wxPyBeginAllowThreads();
23380 (arg1)->SetData(*arg2);
23381
23382 wxPyEndAllowThreads(__tstate);
23383 if (PyErr_Occurred()) SWIG_fail;
23384 }
23385 Py_INCREF(Py_None); resultobj = Py_None;
23386 return resultobj;
23387 fail:
23388 return NULL;
23389 }
23390
23391
23392 static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23393 PyObject *resultobj;
23394 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23395 wxDataObject *result;
23396 PyObject * obj0 = 0 ;
23397 char *kwnames[] = {
23398 (char *) "self", NULL
23399 };
23400
23401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
23402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23403 {
23404 PyThreadState* __tstate = wxPyBeginAllowThreads();
23405 result = (wxDataObject *)(arg1)->GetDataObject();
23406
23407 wxPyEndAllowThreads(__tstate);
23408 if (PyErr_Occurred()) SWIG_fail;
23409 }
23410 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23411 return resultobj;
23412 fail:
23413 return NULL;
23414 }
23415
23416
23417 static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
23418 PyObject *resultobj;
23419 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23420 int arg2 ;
23421 wxCursor *arg3 = 0 ;
23422 PyObject * obj0 = 0 ;
23423 PyObject * obj2 = 0 ;
23424 char *kwnames[] = {
23425 (char *) "self",(char *) "res",(char *) "cursor", NULL
23426 };
23427
23428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:DropSource_SetCursor",kwnames,&obj0,&arg2,&obj2)) goto fail;
23429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23430 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23431 if (arg3 == NULL) {
23432 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23433 }
23434 {
23435 PyThreadState* __tstate = wxPyBeginAllowThreads();
23436 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
23437
23438 wxPyEndAllowThreads(__tstate);
23439 if (PyErr_Occurred()) SWIG_fail;
23440 }
23441 Py_INCREF(Py_None); resultobj = Py_None;
23442 return resultobj;
23443 fail:
23444 return NULL;
23445 }
23446
23447
23448 static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23449 PyObject *resultobj;
23450 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23451 int arg2 = (int) wxDrag_CopyOnly ;
23452 int result;
23453 PyObject * obj0 = 0 ;
23454 char *kwnames[] = {
23455 (char *) "self",(char *) "flags", NULL
23456 };
23457
23458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DropSource_DoDragDrop",kwnames,&obj0,&arg2)) goto fail;
23459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23460 {
23461 PyThreadState* __tstate = wxPyBeginAllowThreads();
23462 result = (int)(arg1)->DoDragDrop(arg2);
23463
23464 wxPyEndAllowThreads(__tstate);
23465 if (PyErr_Occurred()) SWIG_fail;
23466 }
23467 resultobj = PyInt_FromLong((long)result);
23468 return resultobj;
23469 fail:
23470 return NULL;
23471 }
23472
23473
23474 static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
23475 PyObject *resultobj;
23476 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23477 int arg2 ;
23478 bool result;
23479 PyObject * obj0 = 0 ;
23480 char *kwnames[] = {
23481 (char *) "self",(char *) "effect", NULL
23482 };
23483
23484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DropSource_base_GiveFeedback",kwnames,&obj0,&arg2)) goto fail;
23485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23486 {
23487 PyThreadState* __tstate = wxPyBeginAllowThreads();
23488 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
23489
23490 wxPyEndAllowThreads(__tstate);
23491 if (PyErr_Occurred()) SWIG_fail;
23492 }
23493 resultobj = PyInt_FromLong((long)result);
23494 return resultobj;
23495 fail:
23496 return NULL;
23497 }
23498
23499
23500 static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
23501 PyObject *obj;
23502 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23503 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
23504 Py_INCREF(obj);
23505 return Py_BuildValue((char *)"");
23506 }
23507 static PyObject *_wrap_new_PyDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23508 PyObject *resultobj;
23509 wxDataObject *arg1 = (wxDataObject *) NULL ;
23510 wxPyDropTarget *result;
23511 PyObject * obj0 = 0 ;
23512 char *kwnames[] = {
23513 (char *) "dataObject", NULL
23514 };
23515
23516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDropTarget",kwnames,&obj0)) goto fail;
23517 if (obj0) {
23518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23519 }
23520 {
23521 PyThreadState* __tstate = wxPyBeginAllowThreads();
23522 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
23523
23524 wxPyEndAllowThreads(__tstate);
23525 if (PyErr_Occurred()) SWIG_fail;
23526 }
23527 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 1);
23528 return resultobj;
23529 fail:
23530 return NULL;
23531 }
23532
23533
23534 static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23535 PyObject *resultobj;
23536 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23537 PyObject *arg2 = (PyObject *) 0 ;
23538 PyObject *arg3 = (PyObject *) 0 ;
23539 PyObject * obj0 = 0 ;
23540 PyObject * obj1 = 0 ;
23541 PyObject * obj2 = 0 ;
23542 char *kwnames[] = {
23543 (char *) "self",(char *) "self",(char *) "_class", NULL
23544 };
23545
23546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23548 arg2 = obj1;
23549 arg3 = obj2;
23550 {
23551 PyThreadState* __tstate = wxPyBeginAllowThreads();
23552 (arg1)->_setCallbackInfo(arg2,arg3);
23553
23554 wxPyEndAllowThreads(__tstate);
23555 if (PyErr_Occurred()) SWIG_fail;
23556 }
23557 Py_INCREF(Py_None); resultobj = Py_None;
23558 return resultobj;
23559 fail:
23560 return NULL;
23561 }
23562
23563
23564 static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23565 PyObject *resultobj;
23566 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23567 PyObject * obj0 = 0 ;
23568 char *kwnames[] = {
23569 (char *) "self", NULL
23570 };
23571
23572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
23573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23574 {
23575 PyThreadState* __tstate = wxPyBeginAllowThreads();
23576 delete arg1;
23577
23578 wxPyEndAllowThreads(__tstate);
23579 if (PyErr_Occurred()) SWIG_fail;
23580 }
23581 Py_INCREF(Py_None); resultobj = Py_None;
23582 return resultobj;
23583 fail:
23584 return NULL;
23585 }
23586
23587
23588 static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23589 PyObject *resultobj;
23590 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23591 wxDataObject *result;
23592 PyObject * obj0 = 0 ;
23593 char *kwnames[] = {
23594 (char *) "self", NULL
23595 };
23596
23597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
23598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23599 {
23600 PyThreadState* __tstate = wxPyBeginAllowThreads();
23601 result = (wxDataObject *)(arg1)->GetDataObject();
23602
23603 wxPyEndAllowThreads(__tstate);
23604 if (PyErr_Occurred()) SWIG_fail;
23605 }
23606 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23607 return resultobj;
23608 fail:
23609 return NULL;
23610 }
23611
23612
23613 static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23614 PyObject *resultobj;
23615 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23616 wxDataObject *arg2 = (wxDataObject *) 0 ;
23617 PyObject * obj0 = 0 ;
23618 PyObject * obj1 = 0 ;
23619 char *kwnames[] = {
23620 (char *) "self",(char *) "dataObject", NULL
23621 };
23622
23623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
23624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23625 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23626 {
23627 PyThreadState* __tstate = wxPyBeginAllowThreads();
23628 (arg1)->SetDataObject(arg2);
23629
23630 wxPyEndAllowThreads(__tstate);
23631 if (PyErr_Occurred()) SWIG_fail;
23632 }
23633 Py_INCREF(Py_None); resultobj = Py_None;
23634 return resultobj;
23635 fail:
23636 return NULL;
23637 }
23638
23639
23640 static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23641 PyObject *resultobj;
23642 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23643 int arg2 ;
23644 int arg3 ;
23645 int arg4 ;
23646 int result;
23647 PyObject * obj0 = 0 ;
23648 char *kwnames[] = {
23649 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23650 };
23651
23652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23654 {
23655 PyThreadState* __tstate = wxPyBeginAllowThreads();
23656 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23657
23658 wxPyEndAllowThreads(__tstate);
23659 if (PyErr_Occurred()) SWIG_fail;
23660 }
23661 resultobj = PyInt_FromLong((long)result);
23662 return resultobj;
23663 fail:
23664 return NULL;
23665 }
23666
23667
23668 static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23669 PyObject *resultobj;
23670 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23671 int arg2 ;
23672 int arg3 ;
23673 int arg4 ;
23674 int result;
23675 PyObject * obj0 = 0 ;
23676 char *kwnames[] = {
23677 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23678 };
23679
23680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23682 {
23683 PyThreadState* __tstate = wxPyBeginAllowThreads();
23684 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23685
23686 wxPyEndAllowThreads(__tstate);
23687 if (PyErr_Occurred()) SWIG_fail;
23688 }
23689 resultobj = PyInt_FromLong((long)result);
23690 return resultobj;
23691 fail:
23692 return NULL;
23693 }
23694
23695
23696 static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23697 PyObject *resultobj;
23698 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23699 PyObject * obj0 = 0 ;
23700 char *kwnames[] = {
23701 (char *) "self", NULL
23702 };
23703
23704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23706 {
23707 PyThreadState* __tstate = wxPyBeginAllowThreads();
23708 (arg1)->base_OnLeave();
23709
23710 wxPyEndAllowThreads(__tstate);
23711 if (PyErr_Occurred()) SWIG_fail;
23712 }
23713 Py_INCREF(Py_None); resultobj = Py_None;
23714 return resultobj;
23715 fail:
23716 return NULL;
23717 }
23718
23719
23720 static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23721 PyObject *resultobj;
23722 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23723 int arg2 ;
23724 int arg3 ;
23725 bool result;
23726 PyObject * obj0 = 0 ;
23727 char *kwnames[] = {
23728 (char *) "self",(char *) "x",(char *) "y", NULL
23729 };
23730
23731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:DropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23733 {
23734 PyThreadState* __tstate = wxPyBeginAllowThreads();
23735 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23736
23737 wxPyEndAllowThreads(__tstate);
23738 if (PyErr_Occurred()) SWIG_fail;
23739 }
23740 resultobj = PyInt_FromLong((long)result);
23741 return resultobj;
23742 fail:
23743 return NULL;
23744 }
23745
23746
23747 static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23748 PyObject *resultobj;
23749 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23750 bool result;
23751 PyObject * obj0 = 0 ;
23752 char *kwnames[] = {
23753 (char *) "self", NULL
23754 };
23755
23756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
23757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23758 {
23759 PyThreadState* __tstate = wxPyBeginAllowThreads();
23760 result = (bool)(arg1)->GetData();
23761
23762 wxPyEndAllowThreads(__tstate);
23763 if (PyErr_Occurred()) SWIG_fail;
23764 }
23765 resultobj = PyInt_FromLong((long)result);
23766 return resultobj;
23767 fail:
23768 return NULL;
23769 }
23770
23771
23772 static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
23773 PyObject *obj;
23774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23775 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
23776 Py_INCREF(obj);
23777 return Py_BuildValue((char *)"");
23778 }
23779 static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23780 PyObject *resultobj;
23781 wxPyTextDropTarget *result;
23782 char *kwnames[] = {
23783 NULL
23784 };
23785
23786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
23787 {
23788 PyThreadState* __tstate = wxPyBeginAllowThreads();
23789 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
23790
23791 wxPyEndAllowThreads(__tstate);
23792 if (PyErr_Occurred()) SWIG_fail;
23793 }
23794 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDropTarget, 1);
23795 return resultobj;
23796 fail:
23797 return NULL;
23798 }
23799
23800
23801 static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23802 PyObject *resultobj;
23803 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23804 PyObject *arg2 = (PyObject *) 0 ;
23805 PyObject *arg3 = (PyObject *) 0 ;
23806 PyObject * obj0 = 0 ;
23807 PyObject * obj1 = 0 ;
23808 PyObject * obj2 = 0 ;
23809 char *kwnames[] = {
23810 (char *) "self",(char *) "self",(char *) "_class", NULL
23811 };
23812
23813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23815 arg2 = obj1;
23816 arg3 = obj2;
23817 {
23818 PyThreadState* __tstate = wxPyBeginAllowThreads();
23819 (arg1)->_setCallbackInfo(arg2,arg3);
23820
23821 wxPyEndAllowThreads(__tstate);
23822 if (PyErr_Occurred()) SWIG_fail;
23823 }
23824 Py_INCREF(Py_None); resultobj = Py_None;
23825 return resultobj;
23826 fail:
23827 return NULL;
23828 }
23829
23830
23831 static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23832 PyObject *resultobj;
23833 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23834 int arg2 ;
23835 int arg3 ;
23836 int arg4 ;
23837 int result;
23838 PyObject * obj0 = 0 ;
23839 char *kwnames[] = {
23840 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23841 };
23842
23843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23845 {
23846 PyThreadState* __tstate = wxPyBeginAllowThreads();
23847 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23848
23849 wxPyEndAllowThreads(__tstate);
23850 if (PyErr_Occurred()) SWIG_fail;
23851 }
23852 resultobj = PyInt_FromLong((long)result);
23853 return resultobj;
23854 fail:
23855 return NULL;
23856 }
23857
23858
23859 static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23860 PyObject *resultobj;
23861 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23862 int arg2 ;
23863 int arg3 ;
23864 int arg4 ;
23865 int result;
23866 PyObject * obj0 = 0 ;
23867 char *kwnames[] = {
23868 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23869 };
23870
23871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23873 {
23874 PyThreadState* __tstate = wxPyBeginAllowThreads();
23875 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23876
23877 wxPyEndAllowThreads(__tstate);
23878 if (PyErr_Occurred()) SWIG_fail;
23879 }
23880 resultobj = PyInt_FromLong((long)result);
23881 return resultobj;
23882 fail:
23883 return NULL;
23884 }
23885
23886
23887 static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23888 PyObject *resultobj;
23889 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23890 PyObject * obj0 = 0 ;
23891 char *kwnames[] = {
23892 (char *) "self", NULL
23893 };
23894
23895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23897 {
23898 PyThreadState* __tstate = wxPyBeginAllowThreads();
23899 (arg1)->base_OnLeave();
23900
23901 wxPyEndAllowThreads(__tstate);
23902 if (PyErr_Occurred()) SWIG_fail;
23903 }
23904 Py_INCREF(Py_None); resultobj = Py_None;
23905 return resultobj;
23906 fail:
23907 return NULL;
23908 }
23909
23910
23911 static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23912 PyObject *resultobj;
23913 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23914 int arg2 ;
23915 int arg3 ;
23916 bool result;
23917 PyObject * obj0 = 0 ;
23918 char *kwnames[] = {
23919 (char *) "self",(char *) "x",(char *) "y", NULL
23920 };
23921
23922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23924 {
23925 PyThreadState* __tstate = wxPyBeginAllowThreads();
23926 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23927
23928 wxPyEndAllowThreads(__tstate);
23929 if (PyErr_Occurred()) SWIG_fail;
23930 }
23931 resultobj = PyInt_FromLong((long)result);
23932 return resultobj;
23933 fail:
23934 return NULL;
23935 }
23936
23937
23938 static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
23939 PyObject *resultobj;
23940 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23941 int arg2 ;
23942 int arg3 ;
23943 int arg4 ;
23944 int result;
23945 PyObject * obj0 = 0 ;
23946 char *kwnames[] = {
23947 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23948 };
23949
23950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23952 {
23953 PyThreadState* __tstate = wxPyBeginAllowThreads();
23954 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
23955
23956 wxPyEndAllowThreads(__tstate);
23957 if (PyErr_Occurred()) SWIG_fail;
23958 }
23959 resultobj = PyInt_FromLong((long)result);
23960 return resultobj;
23961 fail:
23962 return NULL;
23963 }
23964
23965
23966 static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
23967 PyObject *obj;
23968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23969 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
23970 Py_INCREF(obj);
23971 return Py_BuildValue((char *)"");
23972 }
23973 static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23974 PyObject *resultobj;
23975 wxPyFileDropTarget *result;
23976 char *kwnames[] = {
23977 NULL
23978 };
23979
23980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
23981 {
23982 PyThreadState* __tstate = wxPyBeginAllowThreads();
23983 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
23984
23985 wxPyEndAllowThreads(__tstate);
23986 if (PyErr_Occurred()) SWIG_fail;
23987 }
23988 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileDropTarget, 1);
23989 return resultobj;
23990 fail:
23991 return NULL;
23992 }
23993
23994
23995 static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23996 PyObject *resultobj;
23997 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23998 PyObject *arg2 = (PyObject *) 0 ;
23999 PyObject *arg3 = (PyObject *) 0 ;
24000 PyObject * obj0 = 0 ;
24001 PyObject * obj1 = 0 ;
24002 PyObject * obj2 = 0 ;
24003 char *kwnames[] = {
24004 (char *) "self",(char *) "self",(char *) "_class", NULL
24005 };
24006
24007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24009 arg2 = obj1;
24010 arg3 = obj2;
24011 {
24012 PyThreadState* __tstate = wxPyBeginAllowThreads();
24013 (arg1)->_setCallbackInfo(arg2,arg3);
24014
24015 wxPyEndAllowThreads(__tstate);
24016 if (PyErr_Occurred()) SWIG_fail;
24017 }
24018 Py_INCREF(Py_None); resultobj = Py_None;
24019 return resultobj;
24020 fail:
24021 return NULL;
24022 }
24023
24024
24025 static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
24026 PyObject *resultobj;
24027 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24028 int arg2 ;
24029 int arg3 ;
24030 int arg4 ;
24031 int result;
24032 PyObject * obj0 = 0 ;
24033 char *kwnames[] = {
24034 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24035 };
24036
24037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24039 {
24040 PyThreadState* __tstate = wxPyBeginAllowThreads();
24041 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
24042
24043 wxPyEndAllowThreads(__tstate);
24044 if (PyErr_Occurred()) SWIG_fail;
24045 }
24046 resultobj = PyInt_FromLong((long)result);
24047 return resultobj;
24048 fail:
24049 return NULL;
24050 }
24051
24052
24053 static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
24054 PyObject *resultobj;
24055 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24056 int arg2 ;
24057 int arg3 ;
24058 int arg4 ;
24059 int result;
24060 PyObject * obj0 = 0 ;
24061 char *kwnames[] = {
24062 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24063 };
24064
24065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24067 {
24068 PyThreadState* __tstate = wxPyBeginAllowThreads();
24069 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
24070
24071 wxPyEndAllowThreads(__tstate);
24072 if (PyErr_Occurred()) SWIG_fail;
24073 }
24074 resultobj = PyInt_FromLong((long)result);
24075 return resultobj;
24076 fail:
24077 return NULL;
24078 }
24079
24080
24081 static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
24082 PyObject *resultobj;
24083 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24084 PyObject * obj0 = 0 ;
24085 char *kwnames[] = {
24086 (char *) "self", NULL
24087 };
24088
24089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
24090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24091 {
24092 PyThreadState* __tstate = wxPyBeginAllowThreads();
24093 (arg1)->base_OnLeave();
24094
24095 wxPyEndAllowThreads(__tstate);
24096 if (PyErr_Occurred()) SWIG_fail;
24097 }
24098 Py_INCREF(Py_None); resultobj = Py_None;
24099 return resultobj;
24100 fail:
24101 return NULL;
24102 }
24103
24104
24105 static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
24106 PyObject *resultobj;
24107 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24108 int arg2 ;
24109 int arg3 ;
24110 bool result;
24111 PyObject * obj0 = 0 ;
24112 char *kwnames[] = {
24113 (char *) "self",(char *) "x",(char *) "y", NULL
24114 };
24115
24116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
24117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24118 {
24119 PyThreadState* __tstate = wxPyBeginAllowThreads();
24120 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
24121
24122 wxPyEndAllowThreads(__tstate);
24123 if (PyErr_Occurred()) SWIG_fail;
24124 }
24125 resultobj = PyInt_FromLong((long)result);
24126 return resultobj;
24127 fail:
24128 return NULL;
24129 }
24130
24131
24132 static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
24133 PyObject *resultobj;
24134 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24135 int arg2 ;
24136 int arg3 ;
24137 int arg4 ;
24138 int result;
24139 PyObject * obj0 = 0 ;
24140 char *kwnames[] = {
24141 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24142 };
24143
24144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24146 {
24147 PyThreadState* __tstate = wxPyBeginAllowThreads();
24148 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
24149
24150 wxPyEndAllowThreads(__tstate);
24151 if (PyErr_Occurred()) SWIG_fail;
24152 }
24153 resultobj = PyInt_FromLong((long)result);
24154 return resultobj;
24155 fail:
24156 return NULL;
24157 }
24158
24159
24160 static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
24161 PyObject *obj;
24162 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24163 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
24164 Py_INCREF(obj);
24165 return Py_BuildValue((char *)"");
24166 }
24167 static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24168 PyObject *resultobj;
24169 wxClipboard *result;
24170 char *kwnames[] = {
24171 NULL
24172 };
24173
24174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
24175 {
24176 PyThreadState* __tstate = wxPyBeginAllowThreads();
24177 result = (wxClipboard *)new wxClipboard();
24178
24179 wxPyEndAllowThreads(__tstate);
24180 if (PyErr_Occurred()) SWIG_fail;
24181 }
24182 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboard, 1);
24183 return resultobj;
24184 fail:
24185 return NULL;
24186 }
24187
24188
24189 static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24190 PyObject *resultobj;
24191 wxClipboard *arg1 = (wxClipboard *) 0 ;
24192 PyObject * obj0 = 0 ;
24193 char *kwnames[] = {
24194 (char *) "self", NULL
24195 };
24196
24197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
24198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24199 {
24200 PyThreadState* __tstate = wxPyBeginAllowThreads();
24201 delete arg1;
24202
24203 wxPyEndAllowThreads(__tstate);
24204 if (PyErr_Occurred()) SWIG_fail;
24205 }
24206 Py_INCREF(Py_None); resultobj = Py_None;
24207 return resultobj;
24208 fail:
24209 return NULL;
24210 }
24211
24212
24213 static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
24214 PyObject *resultobj;
24215 wxClipboard *arg1 = (wxClipboard *) 0 ;
24216 bool result;
24217 PyObject * obj0 = 0 ;
24218 char *kwnames[] = {
24219 (char *) "self", NULL
24220 };
24221
24222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
24223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24224 {
24225 PyThreadState* __tstate = wxPyBeginAllowThreads();
24226 result = (bool)(arg1)->Open();
24227
24228 wxPyEndAllowThreads(__tstate);
24229 if (PyErr_Occurred()) SWIG_fail;
24230 }
24231 resultobj = PyInt_FromLong((long)result);
24232 return resultobj;
24233 fail:
24234 return NULL;
24235 }
24236
24237
24238 static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
24239 PyObject *resultobj;
24240 wxClipboard *arg1 = (wxClipboard *) 0 ;
24241 PyObject * obj0 = 0 ;
24242 char *kwnames[] = {
24243 (char *) "self", NULL
24244 };
24245
24246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
24247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24248 {
24249 PyThreadState* __tstate = wxPyBeginAllowThreads();
24250 (arg1)->Close();
24251
24252 wxPyEndAllowThreads(__tstate);
24253 if (PyErr_Occurred()) SWIG_fail;
24254 }
24255 Py_INCREF(Py_None); resultobj = Py_None;
24256 return resultobj;
24257 fail:
24258 return NULL;
24259 }
24260
24261
24262 static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
24263 PyObject *resultobj;
24264 wxClipboard *arg1 = (wxClipboard *) 0 ;
24265 bool result;
24266 PyObject * obj0 = 0 ;
24267 char *kwnames[] = {
24268 (char *) "self", NULL
24269 };
24270
24271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
24272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24273 {
24274 PyThreadState* __tstate = wxPyBeginAllowThreads();
24275 result = (bool)((wxClipboard const *)arg1)->IsOpened();
24276
24277 wxPyEndAllowThreads(__tstate);
24278 if (PyErr_Occurred()) SWIG_fail;
24279 }
24280 resultobj = PyInt_FromLong((long)result);
24281 return resultobj;
24282 fail:
24283 return NULL;
24284 }
24285
24286
24287 static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
24288 PyObject *resultobj;
24289 wxClipboard *arg1 = (wxClipboard *) 0 ;
24290 wxDataObject *arg2 = (wxDataObject *) 0 ;
24291 bool result;
24292 PyObject * obj0 = 0 ;
24293 PyObject * obj1 = 0 ;
24294 char *kwnames[] = {
24295 (char *) "self",(char *) "data", NULL
24296 };
24297
24298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
24299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24300 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24301 {
24302 PyThreadState* __tstate = wxPyBeginAllowThreads();
24303 result = (bool)(arg1)->AddData(arg2);
24304
24305 wxPyEndAllowThreads(__tstate);
24306 if (PyErr_Occurred()) SWIG_fail;
24307 }
24308 resultobj = PyInt_FromLong((long)result);
24309 return resultobj;
24310 fail:
24311 return NULL;
24312 }
24313
24314
24315 static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24316 PyObject *resultobj;
24317 wxClipboard *arg1 = (wxClipboard *) 0 ;
24318 wxDataObject *arg2 = (wxDataObject *) 0 ;
24319 bool result;
24320 PyObject * obj0 = 0 ;
24321 PyObject * obj1 = 0 ;
24322 char *kwnames[] = {
24323 (char *) "self",(char *) "data", NULL
24324 };
24325
24326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
24327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24328 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24329 {
24330 PyThreadState* __tstate = wxPyBeginAllowThreads();
24331 result = (bool)(arg1)->SetData(arg2);
24332
24333 wxPyEndAllowThreads(__tstate);
24334 if (PyErr_Occurred()) SWIG_fail;
24335 }
24336 resultobj = PyInt_FromLong((long)result);
24337 return resultobj;
24338 fail:
24339 return NULL;
24340 }
24341
24342
24343 static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24344 PyObject *resultobj;
24345 wxClipboard *arg1 = (wxClipboard *) 0 ;
24346 wxDataFormat *arg2 = 0 ;
24347 bool result;
24348 PyObject * obj0 = 0 ;
24349 PyObject * obj1 = 0 ;
24350 char *kwnames[] = {
24351 (char *) "self",(char *) "format", NULL
24352 };
24353
24354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
24355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24357 if (arg2 == NULL) {
24358 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24359 }
24360 {
24361 PyThreadState* __tstate = wxPyBeginAllowThreads();
24362 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
24363
24364 wxPyEndAllowThreads(__tstate);
24365 if (PyErr_Occurred()) SWIG_fail;
24366 }
24367 resultobj = PyInt_FromLong((long)result);
24368 return resultobj;
24369 fail:
24370 return NULL;
24371 }
24372
24373
24374 static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24375 PyObject *resultobj;
24376 wxClipboard *arg1 = (wxClipboard *) 0 ;
24377 wxDataObject *arg2 = 0 ;
24378 bool result;
24379 PyObject * obj0 = 0 ;
24380 PyObject * obj1 = 0 ;
24381 char *kwnames[] = {
24382 (char *) "self",(char *) "data", NULL
24383 };
24384
24385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
24386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24387 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24388 if (arg2 == NULL) {
24389 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24390 }
24391 {
24392 PyThreadState* __tstate = wxPyBeginAllowThreads();
24393 result = (bool)(arg1)->GetData(*arg2);
24394
24395 wxPyEndAllowThreads(__tstate);
24396 if (PyErr_Occurred()) SWIG_fail;
24397 }
24398 resultobj = PyInt_FromLong((long)result);
24399 return resultobj;
24400 fail:
24401 return NULL;
24402 }
24403
24404
24405 static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
24406 PyObject *resultobj;
24407 wxClipboard *arg1 = (wxClipboard *) 0 ;
24408 PyObject * obj0 = 0 ;
24409 char *kwnames[] = {
24410 (char *) "self", NULL
24411 };
24412
24413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
24414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24415 {
24416 PyThreadState* __tstate = wxPyBeginAllowThreads();
24417 (arg1)->Clear();
24418
24419 wxPyEndAllowThreads(__tstate);
24420 if (PyErr_Occurred()) SWIG_fail;
24421 }
24422 Py_INCREF(Py_None); resultobj = Py_None;
24423 return resultobj;
24424 fail:
24425 return NULL;
24426 }
24427
24428
24429 static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
24430 PyObject *resultobj;
24431 wxClipboard *arg1 = (wxClipboard *) 0 ;
24432 bool result;
24433 PyObject * obj0 = 0 ;
24434 char *kwnames[] = {
24435 (char *) "self", NULL
24436 };
24437
24438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
24439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24440 {
24441 PyThreadState* __tstate = wxPyBeginAllowThreads();
24442 result = (bool)(arg1)->Flush();
24443
24444 wxPyEndAllowThreads(__tstate);
24445 if (PyErr_Occurred()) SWIG_fail;
24446 }
24447 resultobj = PyInt_FromLong((long)result);
24448 return resultobj;
24449 fail:
24450 return NULL;
24451 }
24452
24453
24454 static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
24455 PyObject *resultobj;
24456 wxClipboard *arg1 = (wxClipboard *) 0 ;
24457 bool arg2 = (bool) False ;
24458 PyObject * obj0 = 0 ;
24459 PyObject * obj1 = 0 ;
24460 char *kwnames[] = {
24461 (char *) "self",(char *) "primary", NULL
24462 };
24463
24464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
24465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24466 if (obj1) {
24467 arg2 = PyInt_AsLong(obj1) ? true : false;
24468 if (PyErr_Occurred()) SWIG_fail;
24469 }
24470 {
24471 PyThreadState* __tstate = wxPyBeginAllowThreads();
24472 (arg1)->UsePrimarySelection(arg2);
24473
24474 wxPyEndAllowThreads(__tstate);
24475 if (PyErr_Occurred()) SWIG_fail;
24476 }
24477 Py_INCREF(Py_None); resultobj = Py_None;
24478 return resultobj;
24479 fail:
24480 return NULL;
24481 }
24482
24483
24484 static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
24485 PyObject *obj;
24486 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24487 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
24488 Py_INCREF(obj);
24489 return Py_BuildValue((char *)"");
24490 }
24491 static int _wrap_TheClipboard_set(PyObject *_val) {
24492 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
24493 return 1;
24494 }
24495
24496
24497 static PyObject *_wrap_TheClipboard_get() {
24498 PyObject *pyobj;
24499
24500 pyobj = SWIG_NewPointerObj((void *) wxTheClipboard, SWIGTYPE_p_wxClipboard, 0);
24501 return pyobj;
24502 }
24503
24504
24505 static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24506 PyObject *resultobj;
24507 wxClipboard *arg1 = (wxClipboard *) NULL ;
24508 wxClipboardLocker *result;
24509 PyObject * obj0 = 0 ;
24510 char *kwnames[] = {
24511 (char *) "clipboard", NULL
24512 };
24513
24514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
24515 if (obj0) {
24516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24517 }
24518 {
24519 PyThreadState* __tstate = wxPyBeginAllowThreads();
24520 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
24521
24522 wxPyEndAllowThreads(__tstate);
24523 if (PyErr_Occurred()) SWIG_fail;
24524 }
24525 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboardLocker, 1);
24526 return resultobj;
24527 fail:
24528 return NULL;
24529 }
24530
24531
24532 static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24533 PyObject *resultobj;
24534 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24535 PyObject * obj0 = 0 ;
24536 char *kwnames[] = {
24537 (char *) "self", NULL
24538 };
24539
24540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
24541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24542 {
24543 PyThreadState* __tstate = wxPyBeginAllowThreads();
24544 delete arg1;
24545
24546 wxPyEndAllowThreads(__tstate);
24547 if (PyErr_Occurred()) SWIG_fail;
24548 }
24549 Py_INCREF(Py_None); resultobj = Py_None;
24550 return resultobj;
24551 fail:
24552 return NULL;
24553 }
24554
24555
24556 static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
24557 PyObject *resultobj;
24558 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24559 bool result;
24560 PyObject * obj0 = 0 ;
24561 char *kwnames[] = {
24562 (char *) "self", NULL
24563 };
24564
24565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
24566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24567 {
24568 PyThreadState* __tstate = wxPyBeginAllowThreads();
24569 result = (bool)wxClipboardLocker___nonzero__(arg1);
24570
24571 wxPyEndAllowThreads(__tstate);
24572 if (PyErr_Occurred()) SWIG_fail;
24573 }
24574 resultobj = PyInt_FromLong((long)result);
24575 return resultobj;
24576 fail:
24577 return NULL;
24578 }
24579
24580
24581 static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
24582 PyObject *obj;
24583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24584 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
24585 Py_INCREF(obj);
24586 return Py_BuildValue((char *)"");
24587 }
24588 static PyMethodDef SwigMethods[] = {
24589 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
24596 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
24602 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
24603 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
24604 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
24606 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
24608 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
24663 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
24671 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
24687 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
24692 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
24695 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
24698 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
24704 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
24718 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
24724 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
24730 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
24733 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
24746 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
24749 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
24750 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
24753 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
24780 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
24782 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
24784 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
24786 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
24793 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
24799 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
24812 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
24817 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
24820 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
24837 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
24845 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
24891 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
24919 { (char *)"new_Wave", (PyCFunction) _wrap_new_Wave, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"new_WaveData", (PyCFunction) _wrap_new_WaveData, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"delete_Wave", (PyCFunction) _wrap_delete_Wave, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"Wave_IsOk", (PyCFunction) _wrap_Wave_IsOk, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"Wave_Play", (PyCFunction) _wrap_Wave_Play, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"Wave_swigregister", Wave_swigregister, METH_VARARGS },
24925 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
24941 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
24957 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
24971 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
24980 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
25023 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
25027 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
25030 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
25033 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
25125 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
25126 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
25127 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
25128 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
25129 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
25130 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
25131 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
25132 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
25133 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
25134 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
25143 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
25144 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
25145 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
25147 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
25148 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
25150 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
25151 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
25152 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
25153 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
25156 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
25167 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
25172 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
25174 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
25175 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
25177 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
25178 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
25180 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
25181 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
25182 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
25183 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
25185 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
25186 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
25187 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
25189 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
25190 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
25196 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
25197 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
25198 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
25199 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
25200 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
25201 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
25202 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
25205 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
25206 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
25207 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
25208 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
25212 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
25214 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
25215 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
25217 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
25218 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
25221 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
25222 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
25223 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
25224 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
25225 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
25226 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
25227 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
25228 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
25229 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
25230 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
25231 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
25232 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
25233 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
25234 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
25235 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
25238 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
25239 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
25240 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
25241 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
25242 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
25243 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
25245 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
25246 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
25247 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
25249 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
25251 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
25252 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25253 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
25254 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
25255 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
25256 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
25257 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
25258 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
25259 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
25260 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
25262 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
25263 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25264 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
25265 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25266 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25267 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25268 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
25269 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25270 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
25272 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
25273 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
25274 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
25275 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
25276 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
25277 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
25278 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
25279 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
25280 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
25281 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
25282 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
25283 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
25284 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
25285 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
25286 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
25287 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
25288 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
25289 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25290 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
25291 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
25292 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25293 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
25294 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
25295 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
25296 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
25297 { (char *)"new_PyDropTarget", (PyCFunction) _wrap_new_PyDropTarget, METH_VARARGS | METH_KEYWORDS },
25298 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25299 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
25300 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25301 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
25302 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25303 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25304 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25305 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25306 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
25307 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
25308 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
25309 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25310 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25311 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25312 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25313 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25314 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25315 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
25316 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
25317 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25318 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25319 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25320 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25321 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25322 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25323 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
25324 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
25325 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
25326 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
25327 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
25328 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
25329 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
25330 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
25331 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
25332 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
25333 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
25334 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
25335 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
25336 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
25337 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25338 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25339 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
25340 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
25341 { NULL, NULL }
25342 };
25343
25344
25345 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25346
25347 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25348 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25349 }
25350 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25351 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25352 }
25353 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25354 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25355 }
25356 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25357 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25358 }
25359 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25360 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25361 }
25362 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25363 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25364 }
25365 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
25366 return (void *)((wxEvent *) ((wxTimerEvent *) x));
25367 }
25368 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25369 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25370 }
25371 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25372 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25373 }
25374 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25375 return (void *)((wxEvent *) ((wxPyEvent *) x));
25376 }
25377 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25378 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25379 }
25380 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
25381 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
25382 }
25383 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25384 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25385 }
25386 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25387 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25388 }
25389 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25390 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25391 }
25392 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25393 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25394 }
25395 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25396 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25397 }
25398 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25399 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25400 }
25401 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25402 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25403 }
25404 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25405 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25406 }
25407 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25408 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25409 }
25410 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25411 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25412 }
25413 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25414 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25415 }
25416 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25417 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25418 }
25419 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25420 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25421 }
25422 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25423 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25424 }
25425 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25426 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25427 }
25428 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25429 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25430 }
25431 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25432 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25433 }
25434 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25435 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25436 }
25437 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
25438 return (void *)((wxEvent *) ((wxProcessEvent *) x));
25439 }
25440 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25441 return (void *)((wxEvent *) ((wxShowEvent *) x));
25442 }
25443 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25444 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25445 }
25446 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25447 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25448 }
25449 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25450 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25451 }
25452 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25453 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25454 }
25455 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25456 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25457 }
25458 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25459 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25460 }
25461 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
25462 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
25463 }
25464 static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
25465 return (void *)((wxConfigBase *) ((wxConfig *) x));
25466 }
25467 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
25468 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25469 }
25470 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
25471 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
25472 }
25473 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
25474 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
25475 }
25476 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
25477 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25478 }
25479 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
25480 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
25481 }
25482 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
25483 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
25484 }
25485 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
25486 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
25487 }
25488 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
25489 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25490 }
25491 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
25492 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25493 }
25494 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
25495 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
25496 }
25497 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
25498 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
25499 }
25500 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
25501 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
25502 }
25503 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
25504 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25505 }
25506 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
25507 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
25508 }
25509 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
25510 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25511 }
25512 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25513 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
25514 }
25515 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25516 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
25517 }
25518 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25519 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25520 }
25521 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25522 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25523 }
25524 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
25525 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
25526 }
25527 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
25528 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
25529 }
25530 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
25531 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25532 }
25533 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25534 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25535 }
25536 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25537 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25538 }
25539 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25540 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25541 }
25542 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25543 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25544 }
25545 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
25546 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
25547 }
25548 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25549 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25550 }
25551 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25552 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25553 }
25554 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25555 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25556 }
25557 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25558 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25559 }
25560 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
25561 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
25562 }
25563 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
25564 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
25565 }
25566 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25567 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25568 }
25569 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25570 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25571 }
25572 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25573 return (void *)((wxObject *) ((wxSizerItem *) x));
25574 }
25575 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25576 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25577 }
25578 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25579 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25580 }
25581 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25582 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25583 }
25584 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25585 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25586 }
25587 static void *_p_wxSizerTo_p_wxObject(void *x) {
25588 return (void *)((wxObject *) ((wxSizer *) x));
25589 }
25590 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25591 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25592 }
25593 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
25594 return (void *)((wxObject *) ((wxFileHistory *) x));
25595 }
25596 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25597 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25598 }
25599 static void *_p_wxEventTo_p_wxObject(void *x) {
25600 return (void *)((wxObject *) ((wxEvent *) x));
25601 }
25602 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25603 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25604 }
25605 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25606 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25607 }
25608 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25609 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25610 }
25611 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25612 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25613 }
25614 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25615 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25616 }
25617 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25618 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25619 }
25620 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25621 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25622 }
25623 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25624 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25625 }
25626 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25627 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25628 }
25629 static void *_p_wxControlTo_p_wxObject(void *x) {
25630 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25631 }
25632 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25633 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25634 }
25635 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
25636 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
25637 }
25638 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25639 return (void *)((wxObject *) ((wxFSFile *) x));
25640 }
25641 static void *_p_wxClipboardTo_p_wxObject(void *x) {
25642 return (void *)((wxObject *) ((wxClipboard *) x));
25643 }
25644 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25645 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25646 }
25647 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25648 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25649 }
25650 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25651 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25652 }
25653 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25654 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25655 }
25656 static void *_p_wxToolTipTo_p_wxObject(void *x) {
25657 return (void *)((wxObject *) ((wxToolTip *) x));
25658 }
25659 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25660 return (void *)((wxObject *) ((wxMenuItem *) x));
25661 }
25662 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25663 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25664 }
25665 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25666 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25667 }
25668 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25669 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25670 }
25671 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25672 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25673 }
25674 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25675 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25676 }
25677 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25678 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25679 }
25680 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25681 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25682 }
25683 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25684 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25685 }
25686 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25687 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25688 }
25689 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25690 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25691 }
25692 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25693 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25694 }
25695 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25696 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25697 }
25698 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25699 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25700 }
25701 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25702 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25703 }
25704 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25705 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25706 }
25707 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25708 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25709 }
25710 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25711 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25712 }
25713 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25714 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25715 }
25716 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25717 return (void *)((wxObject *) ((wxImageHandler *) x));
25718 }
25719 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25720 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25721 }
25722 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25723 return (void *)((wxObject *) ((wxEvtHandler *) x));
25724 }
25725 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25726 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25727 }
25728 static void *_p_wxImageTo_p_wxObject(void *x) {
25729 return (void *)((wxObject *) ((wxImage *) x));
25730 }
25731 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25732 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25733 }
25734 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
25735 return (void *)((wxObject *) ((wxSystemOptions *) x));
25736 }
25737 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
25738 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
25739 }
25740 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25741 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25742 }
25743 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25744 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25745 }
25746 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25747 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25748 }
25749 static void *_p_wxWindowTo_p_wxObject(void *x) {
25750 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25751 }
25752 static void *_p_wxMenuTo_p_wxObject(void *x) {
25753 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25754 }
25755 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25757 }
25758 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
25759 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
25760 }
25761 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25762 return (void *)((wxObject *) ((wxFileSystem *) x));
25763 }
25764 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25765 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25766 }
25767 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25768 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25769 }
25770 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25771 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25772 }
25773 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25774 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25775 }
25776 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25777 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25778 }
25779 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25780 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25781 }
25782 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
25783 return (void *)((wxObject *) ((wxBusyInfo *) x));
25784 }
25785 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25786 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25787 }
25788 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25789 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25790 }
25791 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25792 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25793 }
25794 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25795 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25796 }
25797 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25798 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25799 }
25800 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
25801 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
25802 }
25803 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25804 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25805 }
25806 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25807 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25808 }
25809 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25810 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25811 }
25812 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
25813 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
25814 }
25815 static void *_p_wxLogStderrTo_p_wxLog(void *x) {
25816 return (void *)((wxLog *) ((wxLogStderr *) x));
25817 }
25818 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
25819 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
25820 }
25821 static void *_p_wxLogWindowTo_p_wxLog(void *x) {
25822 return (void *)((wxLog *) ((wxLogWindow *) x));
25823 }
25824 static void *_p_wxLogChainTo_p_wxLog(void *x) {
25825 return (void *)((wxLog *) ((wxLogChain *) x));
25826 }
25827 static void *_p_wxLogGuiTo_p_wxLog(void *x) {
25828 return (void *)((wxLog *) ((wxLogGui *) x));
25829 }
25830 static void *_p_wxPyLogTo_p_wxLog(void *x) {
25831 return (void *)((wxLog *) ((wxPyLog *) x));
25832 }
25833 static void *_p_wxControlTo_p_wxWindow(void *x) {
25834 return (void *)((wxWindow *) ((wxControl *) x));
25835 }
25836 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25837 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25838 }
25839 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25840 return (void *)((wxWindow *) ((wxMenuBar *) x));
25841 }
25842 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
25843 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
25844 }
25845 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
25846 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
25847 }
25848 static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25849 static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
25850 static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25851 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}};
25852 static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25853 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25854 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}};
25855 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}};
25856 static swig_type_info _swigt__p_wxWave[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25857 static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25858 static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25859 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25860 static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25861 static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25862 static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25863 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25864 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25865 static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25866 static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25867 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25868 static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25869 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25870 static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25871 static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25872 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25873 static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25874 static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25875 static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25876 static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25877 static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject},{0}};
25878 static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject},{0}};
25879 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}};
25880 static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25881 static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25882 static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25883 static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25884 static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25885 static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25886 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25887 static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25888 static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25889 static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite},{0}};
25890 static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25891 static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25892 static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25893 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}};
25894 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}};
25895 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25896 static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25897 static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25898 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25899 static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25900 static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25901 static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25902 static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25903 static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider},{0}};
25904 static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25905 static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25906 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25907 static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25908 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
25909 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}};
25910 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25911 static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25912 static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25913 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}};
25914 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25915 static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25916 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25917 static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25918 static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25919 static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25920 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}};
25921 static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25922 static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25923 static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25924 static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25925 static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25926 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25927 static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25928 static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25929 static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25930
25931 static swig_type_info *swig_types_initial[] = {
25932 _swigt__p_wxLogChain,
25933 _swigt__p_wxMutexGuiLocker,
25934 _swigt__p_wxFileHistory,
25935 _swigt__p_wxLog,
25936 _swigt__p_wxDateTime__TimeZone,
25937 _swigt__p_wxMenu,
25938 _swigt__p_wxEvent,
25939 _swigt__p_wxConfigBase,
25940 _swigt__p_wxWave,
25941 _swigt__p_wxFileType,
25942 _swigt__p_wxLogGui,
25943 _swigt__p_wxFont,
25944 _swigt__p_wxDataFormat,
25945 _swigt__p_wxTimerEvent,
25946 _swigt__p_wxCaret,
25947 _swigt__p_int,
25948 _swigt__p_wxSize,
25949 _swigt__p_wxClipboard,
25950 _swigt__p_wxStopWatch,
25951 _swigt__p_wxDC,
25952 _swigt__p_wxClipboardLocker,
25953 _swigt__p_wxIcon,
25954 _swigt__p_wxLogStderr,
25955 _swigt__p_wxLogTextCtrl,
25956 _swigt__p_wxTextCtrl,
25957 _swigt__p_wxBusyCursor,
25958 _swigt__p_wxFileDataObject,
25959 _swigt__p_wxPyBitmapDataObject,
25960 _swigt__p_wxPyTextDataObject,
25961 _swigt__p_wxBitmapDataObject,
25962 _swigt__p_wxTextDataObject,
25963 _swigt__p_wxDataObject,
25964 _swigt__p_wxCustomDataObject,
25965 _swigt__p_wxURLDataObject,
25966 _swigt__p_wxMetafileDataObject,
25967 _swigt__p_wxTimerRunner,
25968 _swigt__p_wxLogWindow,
25969 _swigt__p_wxTimeSpan,
25970 _swigt__p_wxArrayString,
25971 _swigt__p_wxWindowDisabler,
25972 _swigt__p_wxToolTip,
25973 _swigt__p_wxDataObjectComposite,
25974 _swigt__p_wxFileConfig,
25975 _swigt__p_wxSystemSettings,
25976 _swigt__p_wxPyDataObjectSimple,
25977 _swigt__p_wxDataObjectSimple,
25978 _swigt__p_wxEvtHandler,
25979 _swigt__p_wxRect,
25980 _swigt__p_wxSingleInstanceChecker,
25981 _swigt__p_wxFileTypeInfo,
25982 _swigt__p_wxFrame,
25983 _swigt__p_wxTimer,
25984 _swigt__p_wxMimeTypesManager,
25985 _swigt__p_wxPyArtProvider,
25986 _swigt__p_wxPyTipProvider,
25987 _swigt__p_wxTipProvider,
25988 _swigt__p_wxJoystick,
25989 _swigt__p_wxSystemOptions,
25990 _swigt__p_wxPoint,
25991 _swigt__p_wxJoystickEvent,
25992 _swigt__p_wxCursor,
25993 _swigt__p_wxObject,
25994 _swigt__p_wxOutputStream,
25995 _swigt__p_wxDateTime,
25996 _swigt__p_wxPyDropSource,
25997 _swigt__p_wxWindow,
25998 _swigt__p_wxString,
25999 _swigt__p_wxPyProcess,
26000 _swigt__p_wxBitmap,
26001 _swigt__p_wxConfig,
26002 _swigt__p_wxChar,
26003 _swigt__p_wxBusyInfo,
26004 _swigt__p_wxPyDropTarget,
26005 _swigt__p_wxPyTextDropTarget,
26006 _swigt__p_wxPyFileDropTarget,
26007 _swigt__p_wxProcessEvent,
26008 _swigt__p_wxPyLog,
26009 _swigt__p_wxLogNull,
26010 _swigt__p_wxColour,
26011 _swigt__p_wxConfigPathChanger,
26012 _swigt__p_wxPyTimer,
26013 _swigt__p_wxDateSpan,
26014 0
26015 };
26016
26017
26018 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26019
26020 static swig_const_info swig_const_table[] = {
26021 { SWIG_PY_INT, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT, 0, 0, 0},
26022 { SWIG_PY_INT, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT, 0, 0, 0},
26023 { SWIG_PY_INT, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT, 0, 0, 0},
26024 { SWIG_PY_INT, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT, 0, 0, 0},
26025 { SWIG_PY_INT, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT, 0, 0, 0},
26026 { SWIG_PY_INT, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE, 0, 0, 0},
26027 { SWIG_PY_INT, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT, 0, 0, 0},
26028 { SWIG_PY_INT, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT, 0, 0, 0},
26029 { SWIG_PY_INT, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT, 0, 0, 0},
26030 { SWIG_PY_INT, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR, 0, 0, 0},
26031 { SWIG_PY_INT, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND, 0, 0, 0},
26032 { SWIG_PY_INT, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP, 0, 0, 0},
26033 { SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION, 0, 0, 0},
26034 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION, 0, 0, 0},
26035 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU, 0, 0, 0},
26036 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW, 0, 0, 0},
26037 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME, 0, 0, 0},
26038 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT, 0, 0, 0},
26039 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT, 0, 0, 0},
26040 { SWIG_PY_INT, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT, 0, 0, 0},
26041 { SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER, 0, 0, 0},
26042 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER, 0, 0, 0},
26043 { SWIG_PY_INT, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE, 0, 0, 0},
26044 { SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT, 0, 0, 0},
26045 { SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT, 0, 0, 0},
26046 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE, 0, 0, 0},
26047 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE, 0, 0, 0},
26048 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW, 0, 0, 0},
26049 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW, 0, 0, 0},
26050 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT, 0, 0, 0},
26051 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT, 0, 0, 0},
26052 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT, 0, 0, 0},
26053 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT, 0, 0, 0},
26054 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT, 0, 0, 0},
26055 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT, 0, 0, 0},
26056 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT, 0, 0, 0},
26057 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW, 0, 0, 0},
26058 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT, 0, 0, 0},
26059 { SWIG_PY_INT, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT, 0, 0, 0},
26060 { SWIG_PY_INT, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK, 0, 0, 0},
26061 { SWIG_PY_INT, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX, 0, 0, 0},
26062 { SWIG_PY_INT, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT, 0, 0, 0},
26063 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION, 0, 0, 0},
26064 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION, 0, 0, 0},
26065 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT, 0, 0, 0},
26066 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR, 0, 0, 0},
26067 { SWIG_PY_INT, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX, 0, 0, 0},
26068 { SWIG_PY_INT, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS, 0, 0, 0},
26069 { SWIG_PY_INT, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X, 0, 0, 0},
26070 { SWIG_PY_INT, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y, 0, 0, 0},
26071 { SWIG_PY_INT, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X, 0, 0, 0},
26072 { SWIG_PY_INT, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y, 0, 0, 0},
26073 { SWIG_PY_INT, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X, 0, 0, 0},
26074 { SWIG_PY_INT, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y, 0, 0, 0},
26075 { SWIG_PY_INT, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X, 0, 0, 0},
26076 { SWIG_PY_INT, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y, 0, 0, 0},
26077 { SWIG_PY_INT, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X, 0, 0, 0},
26078 { SWIG_PY_INT, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y, 0, 0, 0},
26079 { SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X, 0, 0, 0},
26080 { SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y, 0, 0, 0},
26081 { SWIG_PY_INT, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X, 0, 0, 0},
26082 { SWIG_PY_INT, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X, 0, 0, 0},
26083 { SWIG_PY_INT, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y, 0, 0, 0},
26084 { SWIG_PY_INT, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X, 0, 0, 0},
26085 { SWIG_PY_INT, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y, 0, 0, 0},
26086 { SWIG_PY_INT, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X, 0, 0, 0},
26087 { SWIG_PY_INT, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y, 0, 0, 0},
26088 { SWIG_PY_INT, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X, 0, 0, 0},
26089 { SWIG_PY_INT, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y, 0, 0, 0},
26090 { SWIG_PY_INT, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X, 0, 0, 0},
26091 { SWIG_PY_INT, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y, 0, 0, 0},
26092 { SWIG_PY_INT, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X, 0, 0, 0},
26093 { SWIG_PY_INT, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y, 0, 0, 0},
26094 { SWIG_PY_INT, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y, 0, 0, 0},
26095 { SWIG_PY_INT, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X, 0, 0, 0},
26096 { SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X, 0, 0, 0},
26097 { SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y, 0, 0, 0},
26098 { SWIG_PY_INT, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y, 0, 0, 0},
26099 { SWIG_PY_INT, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y, 0, 0, 0},
26100 { SWIG_PY_INT, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y, 0, 0, 0},
26101 { SWIG_PY_INT, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT, 0, 0, 0},
26102 { SWIG_PY_INT, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT, 0, 0, 0},
26103 { SWIG_PY_INT, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS, 0, 0, 0},
26104 { SWIG_PY_INT, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS, 0, 0, 0},
26105 { SWIG_PY_INT, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS, 0, 0, 0},
26106 { SWIG_PY_INT, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME, 0, 0, 0},
26107 { SWIG_PY_INT, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE, 0, 0, 0},
26108 { SWIG_PY_INT, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY, 0, 0, 0},
26109 { SWIG_PY_INT, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA, 0, 0, 0},
26110 { SWIG_PY_INT, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL, 0, 0, 0},
26111 { SWIG_PY_INT, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP, 0, 0, 0},
26112 { SWIG_PY_INT, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF, 0, 0, 0},
26113 { SWIG_PY_INT, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT, 0, 0, 0},
26114 { SWIG_PY_INT, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS, 0, 0, 0},
26115 { SWIG_PY_INT, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT, 0, 0, 0},
26116 { SWIG_PY_INT, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER, 0, 0, 0},
26117 { SWIG_PY_INT, (char *)"LOG_FatalError", (long) wxLOG_FatalError, 0, 0, 0},
26118 { SWIG_PY_INT, (char *)"LOG_Error", (long) wxLOG_Error, 0, 0, 0},
26119 { SWIG_PY_INT, (char *)"LOG_Warning", (long) wxLOG_Warning, 0, 0, 0},
26120 { SWIG_PY_INT, (char *)"LOG_Message", (long) wxLOG_Message, 0, 0, 0},
26121 { SWIG_PY_INT, (char *)"LOG_Status", (long) wxLOG_Status, 0, 0, 0},
26122 { SWIG_PY_INT, (char *)"LOG_Info", (long) wxLOG_Info, 0, 0, 0},
26123 { SWIG_PY_INT, (char *)"LOG_Debug", (long) wxLOG_Debug, 0, 0, 0},
26124 { SWIG_PY_INT, (char *)"LOG_Trace", (long) wxLOG_Trace, 0, 0, 0},
26125 { SWIG_PY_INT, (char *)"LOG_Progress", (long) wxLOG_Progress, 0, 0, 0},
26126 { SWIG_PY_INT, (char *)"LOG_User", (long) wxLOG_User, 0, 0, 0},
26127 { SWIG_PY_INT, (char *)"LOG_Max", (long) wxLOG_Max, 0, 0, 0},
26128 { SWIG_PY_STRING, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
26129 { SWIG_PY_STRING, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
26130 { SWIG_PY_STRING, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
26131 { SWIG_PY_STRING, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
26132 { SWIG_PY_STRING, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
26133 { SWIG_PY_INT, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
26134 { SWIG_PY_INT, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
26135 { SWIG_PY_INT, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
26136 { SWIG_PY_INT, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
26137 { SWIG_PY_INT, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
26138 { SWIG_PY_INT, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT, 0, 0, 0},
26139 { SWIG_PY_INT, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT, 0, 0, 0},
26140 { SWIG_PY_INT, (char *)"KILL_OK", (long) wxKILL_OK, 0, 0, 0},
26141 { SWIG_PY_INT, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL, 0, 0, 0},
26142 { SWIG_PY_INT, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED, 0, 0, 0},
26143 { SWIG_PY_INT, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS, 0, 0, 0},
26144 { SWIG_PY_INT, (char *)"KILL_ERROR", (long) wxKILL_ERROR, 0, 0, 0},
26145 { SWIG_PY_INT, (char *)"SIGNONE", (long) wxSIGNONE, 0, 0, 0},
26146 { SWIG_PY_INT, (char *)"SIGHUP", (long) wxSIGHUP, 0, 0, 0},
26147 { SWIG_PY_INT, (char *)"SIGINT", (long) wxSIGINT, 0, 0, 0},
26148 { SWIG_PY_INT, (char *)"SIGQUIT", (long) wxSIGQUIT, 0, 0, 0},
26149 { SWIG_PY_INT, (char *)"SIGILL", (long) wxSIGILL, 0, 0, 0},
26150 { SWIG_PY_INT, (char *)"SIGTRAP", (long) wxSIGTRAP, 0, 0, 0},
26151 { SWIG_PY_INT, (char *)"SIGABRT", (long) wxSIGABRT, 0, 0, 0},
26152 { SWIG_PY_INT, (char *)"SIGIOT", (long) wxSIGIOT, 0, 0, 0},
26153 { SWIG_PY_INT, (char *)"SIGEMT", (long) wxSIGEMT, 0, 0, 0},
26154 { SWIG_PY_INT, (char *)"SIGFPE", (long) wxSIGFPE, 0, 0, 0},
26155 { SWIG_PY_INT, (char *)"SIGKILL", (long) wxSIGKILL, 0, 0, 0},
26156 { SWIG_PY_INT, (char *)"SIGBUS", (long) wxSIGBUS, 0, 0, 0},
26157 { SWIG_PY_INT, (char *)"SIGSEGV", (long) wxSIGSEGV, 0, 0, 0},
26158 { SWIG_PY_INT, (char *)"SIGSYS", (long) wxSIGSYS, 0, 0, 0},
26159 { SWIG_PY_INT, (char *)"SIGPIPE", (long) wxSIGPIPE, 0, 0, 0},
26160 { SWIG_PY_INT, (char *)"SIGALRM", (long) wxSIGALRM, 0, 0, 0},
26161 { SWIG_PY_INT, (char *)"SIGTERM", (long) wxSIGTERM, 0, 0, 0},
26162 { SWIG_PY_INT, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS, 0, 0, 0},
26163 { SWIG_PY_INT, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC, 0, 0, 0},
26164 { SWIG_PY_INT, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC, 0, 0, 0},
26165 { SWIG_PY_INT, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE, 0, 0, 0},
26166 { SWIG_PY_INT, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER, 0, 0, 0},
26167 { SWIG_PY_INT, (char *)"JOYSTICK1", (long) wxJOYSTICK1, 0, 0, 0},
26168 { SWIG_PY_INT, (char *)"JOYSTICK2", (long) wxJOYSTICK2, 0, 0, 0},
26169 { SWIG_PY_INT, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY, 0, 0, 0},
26170 { SWIG_PY_INT, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1, 0, 0, 0},
26171 { SWIG_PY_INT, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2, 0, 0, 0},
26172 { SWIG_PY_INT, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3, 0, 0, 0},
26173 { SWIG_PY_INT, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4, 0, 0, 0},
26174 { SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN, 0, 0, 0},
26175 { SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP, 0, 0, 0},
26176 { SWIG_PY_INT, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE, 0, 0, 0},
26177 { SWIG_PY_INT, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE, 0, 0, 0},
26178 { SWIG_PY_INT, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD, 0, 0, 0},
26179 { SWIG_PY_INT, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE, 0, 0, 0},
26180 { SWIG_PY_INT, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE, 0, 0, 0},
26181 { SWIG_PY_INT, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME, 0, 0, 0},
26182 { SWIG_PY_INT, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL, 0, 0, 0},
26183 { SWIG_PY_INT, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE, 0, 0, 0},
26184 { SWIG_PY_INT, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE, 0, 0, 0},
26185 { SWIG_PY_INT, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH, 0, 0, 0},
26186 { SWIG_PY_INT, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS, 0, 0, 0},
26187 { SWIG_PY_INT, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown, 0, 0, 0},
26188 { SWIG_PY_INT, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String, 0, 0, 0},
26189 { SWIG_PY_INT, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean, 0, 0, 0},
26190 { SWIG_PY_INT, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer, 0, 0, 0},
26191 { SWIG_PY_INT, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float, 0, 0, 0},
26192 { SWIG_PY_INT, (char *)"DateTime_Local", (long) wxDateTime::Local, 0, 0, 0},
26193 { SWIG_PY_INT, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12, 0, 0, 0},
26194 { SWIG_PY_INT, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11, 0, 0, 0},
26195 { SWIG_PY_INT, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10, 0, 0, 0},
26196 { SWIG_PY_INT, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9, 0, 0, 0},
26197 { SWIG_PY_INT, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8, 0, 0, 0},
26198 { SWIG_PY_INT, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7, 0, 0, 0},
26199 { SWIG_PY_INT, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6, 0, 0, 0},
26200 { SWIG_PY_INT, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5, 0, 0, 0},
26201 { SWIG_PY_INT, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4, 0, 0, 0},
26202 { SWIG_PY_INT, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3, 0, 0, 0},
26203 { SWIG_PY_INT, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2, 0, 0, 0},
26204 { SWIG_PY_INT, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1, 0, 0, 0},
26205 { SWIG_PY_INT, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0, 0, 0, 0},
26206 { SWIG_PY_INT, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1, 0, 0, 0},
26207 { SWIG_PY_INT, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2, 0, 0, 0},
26208 { SWIG_PY_INT, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3, 0, 0, 0},
26209 { SWIG_PY_INT, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4, 0, 0, 0},
26210 { SWIG_PY_INT, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5, 0, 0, 0},
26211 { SWIG_PY_INT, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6, 0, 0, 0},
26212 { SWIG_PY_INT, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7, 0, 0, 0},
26213 { SWIG_PY_INT, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8, 0, 0, 0},
26214 { SWIG_PY_INT, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9, 0, 0, 0},
26215 { SWIG_PY_INT, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10, 0, 0, 0},
26216 { SWIG_PY_INT, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11, 0, 0, 0},
26217 { SWIG_PY_INT, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12, 0, 0, 0},
26218 { SWIG_PY_INT, (char *)"DateTime_WET", (long) wxDateTime::WET, 0, 0, 0},
26219 { SWIG_PY_INT, (char *)"DateTime_WEST", (long) wxDateTime::WEST, 0, 0, 0},
26220 { SWIG_PY_INT, (char *)"DateTime_CET", (long) wxDateTime::CET, 0, 0, 0},
26221 { SWIG_PY_INT, (char *)"DateTime_CEST", (long) wxDateTime::CEST, 0, 0, 0},
26222 { SWIG_PY_INT, (char *)"DateTime_EET", (long) wxDateTime::EET, 0, 0, 0},
26223 { SWIG_PY_INT, (char *)"DateTime_EEST", (long) wxDateTime::EEST, 0, 0, 0},
26224 { SWIG_PY_INT, (char *)"DateTime_MSK", (long) wxDateTime::MSK, 0, 0, 0},
26225 { SWIG_PY_INT, (char *)"DateTime_MSD", (long) wxDateTime::MSD, 0, 0, 0},
26226 { SWIG_PY_INT, (char *)"DateTime_AST", (long) wxDateTime::AST, 0, 0, 0},
26227 { SWIG_PY_INT, (char *)"DateTime_ADT", (long) wxDateTime::ADT, 0, 0, 0},
26228 { SWIG_PY_INT, (char *)"DateTime_EST", (long) wxDateTime::EST, 0, 0, 0},
26229 { SWIG_PY_INT, (char *)"DateTime_EDT", (long) wxDateTime::EDT, 0, 0, 0},
26230 { SWIG_PY_INT, (char *)"DateTime_CST", (long) wxDateTime::CST, 0, 0, 0},
26231 { SWIG_PY_INT, (char *)"DateTime_CDT", (long) wxDateTime::CDT, 0, 0, 0},
26232 { SWIG_PY_INT, (char *)"DateTime_MST", (long) wxDateTime::MST, 0, 0, 0},
26233 { SWIG_PY_INT, (char *)"DateTime_MDT", (long) wxDateTime::MDT, 0, 0, 0},
26234 { SWIG_PY_INT, (char *)"DateTime_PST", (long) wxDateTime::PST, 0, 0, 0},
26235 { SWIG_PY_INT, (char *)"DateTime_PDT", (long) wxDateTime::PDT, 0, 0, 0},
26236 { SWIG_PY_INT, (char *)"DateTime_HST", (long) wxDateTime::HST, 0, 0, 0},
26237 { SWIG_PY_INT, (char *)"DateTime_AKST", (long) wxDateTime::AKST, 0, 0, 0},
26238 { SWIG_PY_INT, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT, 0, 0, 0},
26239 { SWIG_PY_INT, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST, 0, 0, 0},
26240 { SWIG_PY_INT, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST, 0, 0, 0},
26241 { SWIG_PY_INT, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST, 0, 0, 0},
26242 { SWIG_PY_INT, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST, 0, 0, 0},
26243 { SWIG_PY_INT, (char *)"DateTime_UTC", (long) wxDateTime::UTC, 0, 0, 0},
26244 { SWIG_PY_INT, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian, 0, 0, 0},
26245 { SWIG_PY_INT, (char *)"DateTime_Julian", (long) wxDateTime::Julian, 0, 0, 0},
26246 { SWIG_PY_INT, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown, 0, 0, 0},
26247 { SWIG_PY_INT, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard, 0, 0, 0},
26248 { SWIG_PY_INT, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska, 0, 0, 0},
26249 { SWIG_PY_INT, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania, 0, 0, 0},
26250 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria, 0, 0, 0},
26251 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen, 0, 0, 0},
26252 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg, 0, 0, 0},
26253 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol, 0, 0, 0},
26254 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia, 0, 0, 0},
26255 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria, 0, 0, 0},
26256 { SWIG_PY_INT, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium, 0, 0, 0},
26257 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria, 0, 0, 0},
26258 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1, 0, 0, 0},
26259 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2, 0, 0, 0},
26260 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3, 0, 0, 0},
26261 { SWIG_PY_INT, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada, 0, 0, 0},
26262 { SWIG_PY_INT, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China, 0, 0, 0},
26263 { SWIG_PY_INT, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1, 0, 0, 0},
26264 { SWIG_PY_INT, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2, 0, 0, 0},
26265 { SWIG_PY_INT, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia, 0, 0, 0},
26266 { SWIG_PY_INT, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark, 0, 0, 0},
26267 { SWIG_PY_INT, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt, 0, 0, 0},
26268 { SWIG_PY_INT, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia, 0, 0, 0},
26269 { SWIG_PY_INT, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland, 0, 0, 0},
26270 { SWIG_PY_INT, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France, 0, 0, 0},
26271 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace, 0, 0, 0},
26272 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine, 0, 0, 0},
26273 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg, 0, 0, 0},
26274 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany, 0, 0, 0},
26275 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic, 0, 0, 0},
26276 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia, 0, 0, 0},
26277 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant, 0, 0, 0},
26278 { SWIG_PY_INT, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain, 0, 0, 0},
26279 { SWIG_PY_INT, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece, 0, 0, 0},
26280 { SWIG_PY_INT, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary, 0, 0, 0},
26281 { SWIG_PY_INT, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland, 0, 0, 0},
26282 { SWIG_PY_INT, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy, 0, 0, 0},
26283 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan, 0, 0, 0},
26284 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1, 0, 0, 0},
26285 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2, 0, 0, 0},
26286 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3, 0, 0, 0},
26287 { SWIG_PY_INT, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia, 0, 0, 0},
26288 { SWIG_PY_INT, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania, 0, 0, 0},
26289 { SWIG_PY_INT, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg, 0, 0, 0},
26290 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands, 0, 0, 0},
26291 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen, 0, 0, 0},
26292 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland, 0, 0, 0},
26293 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht, 0, 0, 0},
26294 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland, 0, 0, 0},
26295 { SWIG_PY_INT, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway, 0, 0, 0},
26296 { SWIG_PY_INT, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland, 0, 0, 0},
26297 { SWIG_PY_INT, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal, 0, 0, 0},
26298 { SWIG_PY_INT, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania, 0, 0, 0},
26299 { SWIG_PY_INT, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia, 0, 0, 0},
26300 { SWIG_PY_INT, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland, 0, 0, 0},
26301 { SWIG_PY_INT, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain, 0, 0, 0},
26302 { SWIG_PY_INT, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden, 0, 0, 0},
26303 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland, 0, 0, 0},
26304 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic, 0, 0, 0},
26305 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant, 0, 0, 0},
26306 { SWIG_PY_INT, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey, 0, 0, 0},
26307 { SWIG_PY_INT, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA, 0, 0, 0},
26308 { SWIG_PY_INT, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales, 0, 0, 0},
26309 { SWIG_PY_INT, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia, 0, 0, 0},
26310 { SWIG_PY_INT, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown, 0, 0, 0},
26311 { SWIG_PY_INT, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default, 0, 0, 0},
26312 { SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start, 0, 0, 0},
26313 { SWIG_PY_INT, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC, 0, 0, 0},
26314 { SWIG_PY_INT, (char *)"DateTime_France", (long) wxDateTime::France, 0, 0, 0},
26315 { SWIG_PY_INT, (char *)"DateTime_Germany", (long) wxDateTime::Germany, 0, 0, 0},
26316 { SWIG_PY_INT, (char *)"DateTime_UK", (long) wxDateTime::UK, 0, 0, 0},
26317 { SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End, 0, 0, 0},
26318 { SWIG_PY_INT, (char *)"DateTime_Russia", (long) wxDateTime::Russia, 0, 0, 0},
26319 { SWIG_PY_INT, (char *)"DateTime_USA", (long) wxDateTime::USA, 0, 0, 0},
26320 { SWIG_PY_INT, (char *)"DateTime_Jan", (long) wxDateTime::Jan, 0, 0, 0},
26321 { SWIG_PY_INT, (char *)"DateTime_Feb", (long) wxDateTime::Feb, 0, 0, 0},
26322 { SWIG_PY_INT, (char *)"DateTime_Mar", (long) wxDateTime::Mar, 0, 0, 0},
26323 { SWIG_PY_INT, (char *)"DateTime_Apr", (long) wxDateTime::Apr, 0, 0, 0},
26324 { SWIG_PY_INT, (char *)"DateTime_May", (long) wxDateTime::May, 0, 0, 0},
26325 { SWIG_PY_INT, (char *)"DateTime_Jun", (long) wxDateTime::Jun, 0, 0, 0},
26326 { SWIG_PY_INT, (char *)"DateTime_Jul", (long) wxDateTime::Jul, 0, 0, 0},
26327 { SWIG_PY_INT, (char *)"DateTime_Aug", (long) wxDateTime::Aug, 0, 0, 0},
26328 { SWIG_PY_INT, (char *)"DateTime_Sep", (long) wxDateTime::Sep, 0, 0, 0},
26329 { SWIG_PY_INT, (char *)"DateTime_Oct", (long) wxDateTime::Oct, 0, 0, 0},
26330 { SWIG_PY_INT, (char *)"DateTime_Nov", (long) wxDateTime::Nov, 0, 0, 0},
26331 { SWIG_PY_INT, (char *)"DateTime_Dec", (long) wxDateTime::Dec, 0, 0, 0},
26332 { SWIG_PY_INT, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month, 0, 0, 0},
26333 { SWIG_PY_INT, (char *)"DateTime_Sun", (long) wxDateTime::Sun, 0, 0, 0},
26334 { SWIG_PY_INT, (char *)"DateTime_Mon", (long) wxDateTime::Mon, 0, 0, 0},
26335 { SWIG_PY_INT, (char *)"DateTime_Tue", (long) wxDateTime::Tue, 0, 0, 0},
26336 { SWIG_PY_INT, (char *)"DateTime_Wed", (long) wxDateTime::Wed, 0, 0, 0},
26337 { SWIG_PY_INT, (char *)"DateTime_Thu", (long) wxDateTime::Thu, 0, 0, 0},
26338 { SWIG_PY_INT, (char *)"DateTime_Fri", (long) wxDateTime::Fri, 0, 0, 0},
26339 { SWIG_PY_INT, (char *)"DateTime_Sat", (long) wxDateTime::Sat, 0, 0, 0},
26340 { SWIG_PY_INT, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay, 0, 0, 0},
26341 { SWIG_PY_INT, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year, 0, 0, 0},
26342 { SWIG_PY_INT, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full, 0, 0, 0},
26343 { SWIG_PY_INT, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr, 0, 0, 0},
26344 { SWIG_PY_INT, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First, 0, 0, 0},
26345 { SWIG_PY_INT, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First, 0, 0, 0},
26346 { SWIG_PY_INT, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First, 0, 0, 0},
26347 { SWIG_PY_INT, (char *)"DF_INVALID", (long) wxDF_INVALID, 0, 0, 0},
26348 { SWIG_PY_INT, (char *)"DF_TEXT", (long) wxDF_TEXT, 0, 0, 0},
26349 { SWIG_PY_INT, (char *)"DF_BITMAP", (long) wxDF_BITMAP, 0, 0, 0},
26350 { SWIG_PY_INT, (char *)"DF_METAFILE", (long) wxDF_METAFILE, 0, 0, 0},
26351 { SWIG_PY_INT, (char *)"DF_SYLK", (long) wxDF_SYLK, 0, 0, 0},
26352 { SWIG_PY_INT, (char *)"DF_DIF", (long) wxDF_DIF, 0, 0, 0},
26353 { SWIG_PY_INT, (char *)"DF_TIFF", (long) wxDF_TIFF, 0, 0, 0},
26354 { SWIG_PY_INT, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT, 0, 0, 0},
26355 { SWIG_PY_INT, (char *)"DF_DIB", (long) wxDF_DIB, 0, 0, 0},
26356 { SWIG_PY_INT, (char *)"DF_PALETTE", (long) wxDF_PALETTE, 0, 0, 0},
26357 { SWIG_PY_INT, (char *)"DF_PENDATA", (long) wxDF_PENDATA, 0, 0, 0},
26358 { SWIG_PY_INT, (char *)"DF_RIFF", (long) wxDF_RIFF, 0, 0, 0},
26359 { SWIG_PY_INT, (char *)"DF_WAVE", (long) wxDF_WAVE, 0, 0, 0},
26360 { SWIG_PY_INT, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT, 0, 0, 0},
26361 { SWIG_PY_INT, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE, 0, 0, 0},
26362 { SWIG_PY_INT, (char *)"DF_FILENAME", (long) wxDF_FILENAME, 0, 0, 0},
26363 { SWIG_PY_INT, (char *)"DF_LOCALE", (long) wxDF_LOCALE, 0, 0, 0},
26364 { SWIG_PY_INT, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE, 0, 0, 0},
26365 { SWIG_PY_INT, (char *)"DF_HTML", (long) wxDF_HTML, 0, 0, 0},
26366 { SWIG_PY_INT, (char *)"DF_MAX", (long) wxDF_MAX, 0, 0, 0},
26367 { SWIG_PY_INT, (char *)"DataObject_Get", (long) wxDataObject::Get, 0, 0, 0},
26368 { SWIG_PY_INT, (char *)"DataObject_Set", (long) wxDataObject::Set, 0, 0, 0},
26369 { SWIG_PY_INT, (char *)"DataObject_Both", (long) wxDataObject::Both, 0, 0, 0},
26370 { SWIG_PY_INT, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly, 0, 0, 0},
26371 { SWIG_PY_INT, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove, 0, 0, 0},
26372 { SWIG_PY_INT, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove, 0, 0, 0},
26373 { SWIG_PY_INT, (char *)"DragError", (long) wxDragError, 0, 0, 0},
26374 { SWIG_PY_INT, (char *)"DragNone", (long) wxDragNone, 0, 0, 0},
26375 { SWIG_PY_INT, (char *)"DragCopy", (long) wxDragCopy, 0, 0, 0},
26376 { SWIG_PY_INT, (char *)"DragMove", (long) wxDragMove, 0, 0, 0},
26377 { SWIG_PY_INT, (char *)"DragLink", (long) wxDragLink, 0, 0, 0},
26378 { SWIG_PY_INT, (char *)"DragCancel", (long) wxDragCancel, 0, 0, 0},
26379 {0}};
26380
26381 #ifdef __cplusplus
26382 }
26383 #endif
26384
26385 #ifdef __cplusplus
26386 extern "C"
26387 #endif
26388 SWIGEXPORT(void) SWIG_init(void) {
26389 static PyObject *SWIG_globals = 0;
26390 static int typeinit = 0;
26391 PyObject *m, *d;
26392 int i;
26393 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26394 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26395 d = PyModule_GetDict(m);
26396
26397 if (!typeinit) {
26398 for (i = 0; swig_types_initial[i]; i++) {
26399 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26400 }
26401 typeinit = 1;
26402 }
26403 SWIG_InstallConstants(d,swig_const_table);
26404
26405 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26406 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26407 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26408 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26409 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
26410 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
26411
26412 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26413
26414 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
26415 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
26416 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
26417 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
26418 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
26419 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
26420 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
26421 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
26422 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
26423 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
26424 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
26425 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
26426 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
26427 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
26428 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
26429 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
26430 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
26431 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
26432 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
26433 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
26434 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
26435 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
26436 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
26437 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
26438 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
26439 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
26440 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
26441 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
26442 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
26443 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
26444 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
26445 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
26446 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
26447 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
26448 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
26449 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
26450 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
26451 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
26452 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
26453 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
26454 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
26455 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
26456 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
26457
26458 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26459
26460 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
26461 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
26462 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
26463
26464 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26465 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26466 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26467 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26468
26469 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
26470 }
26471