]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/misc_wrap.cpp
Added some more docstrings, and also a few little tweaks along the way.
[wxWidgets.git] / wxPython / src / msw / misc_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
83448d71 3 * Version 1.3.22
d14a1e28
RD
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
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
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; }
25private:
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
9fd4be55
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
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
f0983263
RD
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
d14a1e28 82#else
f0983263
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
f0983263 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
f0983263 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
f0983263 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
f0983263 104 void *clientdata;
d14a1e28
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
f0983263
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
124#endif
125
f0983263 126
d14a1e28
RD
127/***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
d14a1e28
RD
137#include "Python.h"
138
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143#define SWIG_PY_INT 1
144#define SWIG_PY_FLOAT 2
145#define SWIG_PY_STRING 3
146#define SWIG_PY_POINTER 4
147#define SWIG_PY_BINARY 5
148
149/* Flags for pointer conversion */
150
151#define SWIG_POINTER_EXCEPTION 0x1
152#define SWIG_POINTER_DISOWN 0x2
153
154/* Exception handling in wrappers */
155#define SWIG_fail goto fail
156
157/* Constant information structure */
158typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165} swig_const_info;
166
d14a1e28
RD
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
83448d71 174
d14a1e28
RD
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
182#define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184#define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
8edf1c75 187typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 188
f0983263
RD
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 197
8edf1c75
RD
198/* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201/* basic types */
202/*
203 utilities
204*/
205SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
d14a1e28
RD
219
220
221/* Contract support */
222
423f194a 223#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 224
d14a1e28
RD
225#ifdef __cplusplus
226}
227#endif
228
229
230
231/* -------- TYPES TABLE (BEGIN) -------- */
232
233#define SWIGTYPE_p_wxLogChain swig_types[0]
234#define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
83448d71
RD
235#define SWIGTYPE_p_wxMetafile swig_types[2]
236#define SWIGTYPE_p_wxFileHistory swig_types[3]
237#define SWIGTYPE_p_wxLog swig_types[4]
238#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
239#define SWIGTYPE_p_wxMenu swig_types[6]
240#define SWIGTYPE_p_wxEvent swig_types[7]
241#define SWIGTYPE_p_wxConfigBase swig_types[8]
4e760a36
RD
242#define SWIGTYPE_p_wxFileType swig_types[9]
243#define SWIGTYPE_p_wxLogGui swig_types[10]
244#define SWIGTYPE_p_wxFont swig_types[11]
245#define SWIGTYPE_p_wxDataFormat swig_types[12]
246#define SWIGTYPE_p_wxTimerEvent swig_types[13]
247#define SWIGTYPE_p_wxCaret swig_types[14]
248#define SWIGTYPE_p_int swig_types[15]
249#define SWIGTYPE_p_wxSize swig_types[16]
250#define SWIGTYPE_p_wxClipboard swig_types[17]
251#define SWIGTYPE_p_wxStopWatch swig_types[18]
252#define SWIGTYPE_p_wxDC swig_types[19]
253#define SWIGTYPE_p_wxClipboardLocker swig_types[20]
254#define SWIGTYPE_p_wxIcon swig_types[21]
255#define SWIGTYPE_p_wxLogStderr swig_types[22]
256#define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
257#define SWIGTYPE_p_wxTextCtrl swig_types[24]
258#define SWIGTYPE_p_wxBusyCursor swig_types[25]
259#define SWIGTYPE_p_wxPyTextDataObject swig_types[26]
260#define SWIGTYPE_p_wxBitmapDataObject swig_types[27]
261#define SWIGTYPE_p_wxTextDataObject swig_types[28]
262#define SWIGTYPE_p_wxDataObject swig_types[29]
263#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[30]
264#define SWIGTYPE_p_wxFileDataObject swig_types[31]
265#define SWIGTYPE_p_wxCustomDataObject swig_types[32]
266#define SWIGTYPE_p_wxURLDataObject swig_types[33]
267#define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
268#define SWIGTYPE_p_wxSound swig_types[35]
83448d71
RD
269#define SWIGTYPE_p_wxTimerRunner swig_types[36]
270#define SWIGTYPE_p_wxLogWindow swig_types[37]
271#define SWIGTYPE_p_wxTimeSpan swig_types[38]
272#define SWIGTYPE_p_wxArrayString swig_types[39]
273#define SWIGTYPE_p_wxWindowDisabler swig_types[40]
274#define SWIGTYPE_p_wxToolTip swig_types[41]
275#define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
276#define SWIGTYPE_p_wxFileConfig swig_types[43]
277#define SWIGTYPE_p_wxSystemSettings swig_types[44]
278#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[45]
279#define SWIGTYPE_p_wxDataObjectSimple swig_types[46]
280#define SWIGTYPE_p_wxEvtHandler swig_types[47]
281#define SWIGTYPE_p_wxRect swig_types[48]
8edf1c75
RD
282#define SWIGTYPE_p_char swig_types[49]
283#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[50]
284#define SWIGTYPE_p_wxFileTypeInfo swig_types[51]
285#define SWIGTYPE_p_wxFrame swig_types[52]
286#define SWIGTYPE_p_wxTimer swig_types[53]
287#define SWIGTYPE_p_wxMimeTypesManager swig_types[54]
288#define SWIGTYPE_p_wxPyArtProvider swig_types[55]
289#define SWIGTYPE_p_wxPyTipProvider swig_types[56]
290#define SWIGTYPE_p_wxTipProvider swig_types[57]
291#define SWIGTYPE_p_wxJoystick swig_types[58]
292#define SWIGTYPE_p_wxSystemOptions swig_types[59]
293#define SWIGTYPE_p_wxPoint swig_types[60]
294#define SWIGTYPE_p_wxJoystickEvent swig_types[61]
295#define SWIGTYPE_p_wxCursor swig_types[62]
296#define SWIGTYPE_p_wxObject swig_types[63]
297#define SWIGTYPE_p_wxOutputStream swig_types[64]
298#define SWIGTYPE_p_wxDateTime swig_types[65]
299#define SWIGTYPE_p_wxPyDropSource swig_types[66]
300#define SWIGTYPE_p_wxWindow swig_types[67]
301#define SWIGTYPE_p_wxString swig_types[68]
302#define SWIGTYPE_p_wxPyProcess swig_types[69]
303#define SWIGTYPE_p_wxBitmap swig_types[70]
304#define SWIGTYPE_p_wxConfig swig_types[71]
305#define SWIGTYPE_p_wxChar swig_types[72]
306#define SWIGTYPE_p_wxBusyInfo swig_types[73]
307#define SWIGTYPE_p_wxPyDropTarget swig_types[74]
308#define SWIGTYPE_p_wxPyTextDropTarget swig_types[75]
309#define SWIGTYPE_p_wxPyFileDropTarget swig_types[76]
310#define SWIGTYPE_p_wxProcessEvent swig_types[77]
311#define SWIGTYPE_p_wxPyLog swig_types[78]
312#define SWIGTYPE_p_wxLogNull swig_types[79]
313#define SWIGTYPE_p_wxColour swig_types[80]
4e760a36
RD
314#define SWIGTYPE_p_wxByte swig_types[81]
315#define SWIGTYPE_p_wxConfigPathChanger swig_types[82]
316#define SWIGTYPE_p_wxPyTimer swig_types[83]
317#define SWIGTYPE_p_wxDateSpan swig_types[84]
318static swig_type_info *swig_types[86];
d14a1e28
RD
319
320/* -------- TYPES TABLE (END) -------- */
321
322
323/*-----------------------------------------------
324 @(target):= _misc.so
325 ------------------------------------------------*/
326#define SWIG_init init_misc
327
328#define SWIG_name "_misc"
329
8edf1c75
RD
330#include <limits.h>
331#include <float.h>
332#include <string.h>
333
334#ifndef SWIGSTATIC
335#ifdef __cplusplus
336#define SWIGSTATIC(a) static inline a
337#else
338#define SWIGSTATIC(a) static a
339#endif
340#endif
341
342#ifndef numeric_cast
343#ifdef __cplusplus
344#ifdef HAVE_NUMERIC_CAST
345#define numeric_cast(type,a) numeric_cast<type>(a)
346#else
347#define numeric_cast(type,a) static_cast<type>(a)
348#endif
349#else
350#define numeric_cast(type,a) (type)(a)
351#endif
352#endif
353
354
355
356#define SWIG_PyObj_FromSignedChar PyInt_FromLong
357#define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
358#define SWIG_PyObj_FromShort PyInt_FromLong
359#define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
360#define SWIG_PyObj_FromInt PyInt_FromLong
361#define SWIG_PyObj_FromLong PyInt_FromLong
362#define SWIG_PyObj_FromFloat PyFloat_FromDouble
363#define SWIG_PyObj_FromDouble PyFloat_FromDouble
364#define SWIG_PyObj_FromFloat PyFloat_FromDouble
365#define SWIG_PyObj_FromDouble PyFloat_FromDouble
366
367
d14a1e28
RD
368#include "wx/wxPython/wxPython.h"
369#include "wx/wxPython/pyclasses.h"
370#include "wx/wxPython/pyistream.h"
371
d14a1e28 372
d03fd34d 373 static const wxString wxPyEmptyString(wxEmptyString);
d14a1e28
RD
374
375
8edf1c75
RD
376
377SWIGSTATIC(int)
378SWIG_PyObj_AsInt(PyObject *obj)
379{
380 return numeric_cast(int,
381 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
382}
383
d03fd34d
RD
384 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
385 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
386 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
d14a1e28 387
8edf1c75
RD
388SWIGSTATIC(long)
389SWIG_PyObj_AsLong(PyObject * obj)
390{
391 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
392}
393
394
395SWIGSTATIC(bool)
396SWIG_PyObj_AsBool(PyObject *obj)
397{
398 return PyObject_IsTrue(obj) ? true : false;
399}
400
401
d14a1e28
RD
402static PyObject* t_output_helper(PyObject* target, PyObject* o) {
403 PyObject* o2;
404 PyObject* o3;
405
406 if (!target) {
407 target = o;
408 } else if (target == Py_None) {
409 Py_DECREF(Py_None);
410 target = o;
411 } else {
412 if (!PyTuple_Check(target)) {
413 o2 = target;
414 target = PyTuple_New(1);
415 PyTuple_SetItem(target, 0, o2);
416 }
417 o3 = PyTuple_New(1);
418 PyTuple_SetItem(o3, 0, o);
419
420 o2 = target;
421 target = PySequence_Concat(o2, o3);
422 Py_DECREF(o2);
423 Py_DECREF(o3);
424 }
425 return target;
426}
427
428
8edf1c75
RD
429SWIGSTATIC(PyObject* )
430SWIG_PyObj_FromUnsignedLong(unsigned long value)
431{
432 return (value > (unsigned long)(LONG_MAX)) ?
433 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
434}
435
436
d14a1e28
RD
437 bool wxThread_IsMain() {
438#ifdef WXP_WITH_THREAD
439 return wxThread::IsMain();
440#else
423f194a 441 return True;
d14a1e28
RD
442#endif
443 }
444
445
446 int wxCaret_GetBlinkTime() {
447 return wxCaret::GetBlinkTime();
448 }
449
450 void wxCaret_SetBlinkTime(int milliseconds) {
451 wxCaret::SetBlinkTime(milliseconds);
452 }
453
454
455#include <wx/snglinst.h>
456
457
458#ifdef __WXMSW__
459#include <wx/msw/private.h>
460#include <wx/dynload.h>
461#endif
462
463
464
465void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
466{
467#ifdef __WXMSW__
468
469 switch (method)
470 {
471 case 1:
472 // This one only partially works. Appears to be an undocumented
473 // "standard" convention that not all widgets adhear to. For
474 // example, for some widgets backgrounds or non-client areas may
475 // not be painted.
476 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
477 break;
478
479 case 2:
480 // This one works much better, except for on XP. On Win2k nearly
481 // all widgets and their children are captured correctly[**]. On
482 // XP with Themes activated most native widgets draw only
483 // partially, if at all. Without themes it works just like on
484 // Win2k.
485 //
486 // ** For example the radio buttons in a wxRadioBox are not its
487 // children by default, but you can capture it via the panel
488 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
489 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
490 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
491 PRF_ERASEBKGND | PRF_OWNED );
492 break;
493
494 case 3:
495 // This one is only defined in the latest SDK and is only
496 // available on XP. MSDN says it is similar to sending WM_PRINT
497 // so I expect that it will work similar to the above. Since it
498 // is avaialble only on XP, it can't be compiled like this and
499 // will have to be loaded dynamically.
500 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
501
502 // fall through
503
504 case 4:
505 // Use PrintWindow if available, or fallback to WM_PRINT
506 // otherwise. Unfortunately using PrintWindow is even worse than
507 // WM_PRINT. For most native widgets nothing is drawn to the dc
508 // at all, with or without Themes.
509 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
423f194a 510 static bool s_triedToLoad = False;
d14a1e28
RD
511 static PrintWindow_t pfnPrintWindow = NULL;
512 if ( !s_triedToLoad )
513 {
514
423f194a 515 s_triedToLoad = True;
d14a1e28
RD
516 wxDynamicLibrary dllUser32(_T("user32.dll"));
517 if ( dllUser32.IsLoaded() )
518 {
519 wxLogNull nolog; // Don't report errors here
520 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
521 }
522 }
523 if (pfnPrintWindow)
524 {
525 printf("Using PrintWindow\n");
526 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
527 }
528 else
529 {
530 printf("Using WM_PRINT\n");
531 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
532 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
533 }
534 }
535#endif
536}
537
538
539
540#include <wx/tipdlg.h>
541
542
543class wxPyTipProvider : public wxTipProvider {
544public:
545 wxPyTipProvider(size_t currentTip)
546 : wxTipProvider(currentTip) {}
547
548 DEC_PYCALLBACK_STRING__pure(GetTip);
549 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
550 PYPRIVATE;
551};
552
553IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
554IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
555
556
557IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
558
8edf1c75
RD
559
560SWIGSTATIC(unsigned int)
561SWIG_PyObj_AsUnsignedInt(PyObject *obj)
562{
563 return numeric_cast(unsigned int,
564 SWIG_PyObj_AsUnsignedLongInRange(obj, "unsigned int", UINT_MAX));
565}
566
d14a1e28
RD
567wxString Log_TimeStamp(){
568 wxString msg;
569 wxLog::TimeStamp(&msg);
570 return msg;
571 }
572void wxLog_Destroy(wxLog *self){ delete self; }
573
574// A wxLog class that can be derived from in wxPython
575class wxPyLog : public wxLog {
576public:
577 wxPyLog() : wxLog() {}
578
579 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
580 bool found;
581 wxPyBeginBlockThreads();
582 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
583 PyObject* s = wx2PyString(szString);
584 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
585 Py_DECREF(s);
586 }
587 wxPyEndBlockThreads();
588 if (! found)
589 wxLog::DoLog(level, szString, t);
590 }
591
592 virtual void DoLogString(const wxChar *szString, time_t t) {
593 bool found;
594 wxPyBeginBlockThreads();
595 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
596 PyObject* s = wx2PyString(szString);
597 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
598 Py_DECREF(s);
599 }
600 wxPyEndBlockThreads();
601 if (! found)
602 wxLog::DoLogString(szString, t);
603 }
604
605 PYPRIVATE;
606};
607
608
609
610
611IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
612
613
614#include <wx/joystick.h>
615
616
617#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
618// A C++ stub class for wxJoystick for platforms that don't have it.
619class wxJoystick : public wxObject {
620public:
621 wxJoystick(int joystick = wxJOYSTICK1) {
622 wxPyBeginBlockThreads();
cbd72d4f
RD
623 PyErr_SetString(PyExc_NotImplementedError,
624 "wxJoystick is not available on this platform.");
d14a1e28
RD
625 wxPyEndBlockThreads();
626 }
627 wxPoint GetPosition() { return wxPoint(-1,-1); }
628 int GetZPosition() { return -1; }
629 int GetButtonState() { return -1; }
630 int GetPOVPosition() { return -1; }
631 int GetPOVCTSPosition() { return -1; }
632 int GetRudderPosition() { return -1; }
633 int GetUPosition() { return -1; }
634 int GetVPosition() { return -1; }
635 int GetMovementThreshold() { return -1; }
636 void SetMovementThreshold(int threshold) {}
637
423f194a 638 bool IsOk(void) { return False; }
d14a1e28
RD
639 int GetNumberJoysticks() { return -1; }
640 int GetManufacturerId() { return -1; }
641 int GetProductId() { return -1; }
642 wxString GetProductName() { return ""; }
643 int GetXMin() { return -1; }
644 int GetYMin() { return -1; }
645 int GetZMin() { return -1; }
646 int GetXMax() { return -1; }
647 int GetYMax() { return -1; }
648 int GetZMax() { return -1; }
649 int GetNumberButtons() { return -1; }
650 int GetNumberAxes() { return -1; }
651 int GetMaxButtons() { return -1; }
652 int GetMaxAxes() { return -1; }
653 int GetPollingMin() { return -1; }
654 int GetPollingMax() { return -1; }
655 int GetRudderMin() { return -1; }
656 int GetRudderMax() { return -1; }
657 int GetUMin() { return -1; }
658 int GetUMax() { return -1; }
659 int GetVMin() { return -1; }
660 int GetVMax() { return -1; }
661
423f194a
RD
662 bool HasRudder() { return False; }
663 bool HasZ() { return False; }
664 bool HasU() { return False; }
665 bool HasV() { return False; }
666 bool HasPOV() { return False; }
667 bool HasPOV4Dir() { return False; }
668 bool HasPOVCTS() { return False; }
d14a1e28 669
423f194a
RD
670 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
671 bool ReleaseCapture() { return False; }
d14a1e28
RD
672};
673#endif
674
675
4e760a36 676#include <wx/sound.h>
d14a1e28
RD
677
678
dff1fa9b 679#if !wxUSE_SOUND
d14a1e28 680// A C++ stub class for wxWave for platforms that don't have it.
4e760a36 681class wxSound : public wxObject
d14a1e28
RD
682{
683public:
4e760a36 684 wxSound() {
d14a1e28 685 wxPyBeginBlockThreads();
cbd72d4f 686 PyErr_SetString(PyExc_NotImplementedError,
4e760a36 687 "wxSound is not available on this platform.");
d14a1e28
RD
688 wxPyEndBlockThreads();
689 }
4e760a36 690 wxSound(const wxString&, bool) {
d14a1e28 691 wxPyBeginBlockThreads();
cbd72d4f 692 PyErr_SetString(PyExc_NotImplementedError,
4e760a36 693 "wxSound is not available on this platform.");
d14a1e28
RD
694 wxPyEndBlockThreads();
695 }
4e760a36
RD
696 wxSound(int, const wxByte*) {
697 wxPyBeginBlockThreads();
698 PyErr_SetString(PyExc_NotImplementedError,
699 "wxSound is not available on this platform.");
700 wxPyEndBlockThreads();
701 }
702
703 ~wxSound() {};
d14a1e28 704
4e760a36
RD
705 bool Create(const wxString&, bool) { return false; }
706 bool Create(int, const wxByte*) { return false; };
707 bool IsOk() { return false; };
708 bool Play(unsigned) const { return false; }
709 static bool Play(const wxString&, unsigned) { return false; }
710 static void Stop() {}
d14a1e28
RD
711};
712
713#endif
714
d14a1e28
RD
715
716#include <wx/mimetype.h>
717
718PyObject *wxFileType_GetMimeType(wxFileType *self){
719 wxString str;
720 if (self->GetMimeType(&str))
721 return wx2PyString(str);
722 else
723 RETURN_NONE();
724 }
725PyObject *wxFileType_GetMimeTypes(wxFileType *self){
726 wxArrayString arr;
727 if (self->GetMimeTypes(arr))
728 return wxArrayString2PyList_helper(arr);
729 else
730 RETURN_NONE();
731 }
732PyObject *wxFileType_GetExtensions(wxFileType *self){
733 wxArrayString arr;
734 if (self->GetExtensions(arr))
735 return wxArrayString2PyList_helper(arr);
736 else
737 RETURN_NONE();
738 }
739wxIcon *wxFileType_GetIcon(wxFileType *self){
740 wxIconLocation loc;
741 if (self->GetIcon(&loc))
742 return new wxIcon(loc);
743 else
744 return NULL;
745 }
746PyObject *wxFileType_GetIconInfo(wxFileType *self){
747 wxIconLocation loc;
748 if (self->GetIcon(&loc)) {
749 wxString iconFile = loc.GetFileName();
750 int iconIndex = -1;
751
752 iconIndex = loc.GetIndex();
753
754 // Make a tuple and put the values in it
755 wxPyBeginBlockThreads();
756 PyObject* tuple = PyTuple_New(3);
757 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
423f194a 758 wxT("wxIcon"), True));
d14a1e28
RD
759 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
760 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
761 wxPyEndBlockThreads();
762 return tuple;
763 }
764 else
765 RETURN_NONE();
766 }
767PyObject *wxFileType_GetDescription(wxFileType *self){
768 wxString str;
769 if (self->GetDescription(&str))
770 return wx2PyString(str);
771 else
772 RETURN_NONE();
773 }
774PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
775 wxString str;
776 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
777 return wx2PyString(str);
778 else
779 RETURN_NONE();
780 }
781PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
782 wxString str;
783 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
784 return wx2PyString(str);
785 else
786 RETURN_NONE();
787 }
788PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
789 wxArrayString verbs;
790 wxArrayString commands;
791 if (self->GetAllCommands(&verbs, &commands,
792 wxFileType::MessageParameters(filename, mimetype))) {
793 wxPyBeginBlockThreads();
794 PyObject* tuple = PyTuple_New(2);
795 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
796 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
797 wxPyEndBlockThreads();
798 return tuple;
799 }
800 else
801 RETURN_NONE();
802 }
803wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
804 return wxFileType::ExpandCommand(command,
805 wxFileType::MessageParameters(filename, mimetype));
806 }
807PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
808 wxArrayString arr;
809 self->EnumAllFileTypes(arr);
810 return wxArrayString2PyList_helper(arr);
811 }
812
813#include <wx/artprov.h>
814
815 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
816 static const wxString wxPyART_MENU(wxART_MENU);
817 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
818 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
819 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
820 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
821 static const wxString wxPyART_OTHER(wxART_OTHER);
822 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
823 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
824 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
825 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
826 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
827 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
828 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
829 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
830 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
831 static const wxString wxPyART_GO_UP(wxART_GO_UP);
832 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
833 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
834 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
835 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
836 static const wxString wxPyART_PRINT(wxART_PRINT);
837 static const wxString wxPyART_HELP(wxART_HELP);
838 static const wxString wxPyART_TIP(wxART_TIP);
839 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
840 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
841 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
842 static const wxString wxPyART_FOLDER(wxART_FOLDER);
843 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
844 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
845 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
846 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
847 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
848 static const wxString wxPyART_ERROR(wxART_ERROR);
849 static const wxString wxPyART_QUESTION(wxART_QUESTION);
850 static const wxString wxPyART_WARNING(wxART_WARNING);
851 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
852 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
853 // Python aware wxArtProvider
854class wxPyArtProvider : public wxArtProvider {
855public:
856
857 virtual wxBitmap CreateBitmap(const wxArtID& id,
858 const wxArtClient& client,
859 const wxSize& size) {
860 wxBitmap rval = wxNullBitmap;
861 wxPyBeginBlockThreads();
862 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
863 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
864 PyObject* ro;
865 wxBitmap* ptr;
866 PyObject* s1, *s2;
867 s1 = wx2PyString(id);
868 s2 = wx2PyString(client);
869 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
870 Py_DECREF(so);
871 Py_DECREF(s1);
872 Py_DECREF(s2);
873 if (ro) {
874 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
875 rval = *ptr;
876 Py_DECREF(ro);
877 }
878 }
879 wxPyEndBlockThreads();
880 return rval;
881 }
882
883 PYPRIVATE;
884};
885
41f1cec7 886void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
d14a1e28
RD
887
888
889
890 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
891 PyObject* ret = PyTuple_New(3);
892 if (ret) {
893 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
894 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
895 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
896 }
897 return ret;
898 }
899
900PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
901 bool cont;
902 long index = 0;
903 wxString value;
904
905 cont = self->GetFirstGroup(value, index);
906 return __EnumerationHelper(cont, value, index);
907 }
908PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
909 bool cont;
910 wxString value;
911
912 cont = self->GetNextGroup(value, index);
913 return __EnumerationHelper(cont, value, index);
914 }
915PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
916 bool cont;
917 long index = 0;
918 wxString value;
919
920 cont = self->GetFirstEntry(value, index);
921 return __EnumerationHelper(cont, value, index);
922 }
923PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
924 bool cont;
925 wxString value;
926
927 cont = self->GetNextEntry(value, index);
928 return __EnumerationHelper(cont, value, index);
929 }
930long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
931 long rv;
932 self->Read(key, &rv, defaultVal);
933 return rv;
934 }
8edf1c75
RD
935
936SWIGSTATIC(double)
937SWIG_PyObj_AsDouble(PyObject *obj)
938{
939 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
940#if HAVE_LONG_LONG
941 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
942#else
943 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
944#endif
945 if (PyErr_Occurred()) {
946 PyErr_Clear();
947 PyErr_SetString(PyExc_TypeError, "a double is expected");
948 }
949}
950
d14a1e28
RD
951double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
952 double rv;
953 self->Read(key, &rv, defaultVal);
954 return rv;
955 }
956bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
957 bool rv;
958 self->Read(key, &rv, defaultVal);
959 return rv;
960 }
961
962#include <wx/datetime.h>
963
d14a1e28 964
eb9b6107
RD
965 static const wxString wxPyDateFormatStr(wxT("%c"));
966 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
d14a1e28
RD
967
968#define LOCAL_TZ wxDateTime::Local
969
8edf1c75
RD
970
971#define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
972
d14a1e28
RD
973wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
974wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
975wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
976wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
977wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
978bool wxDateTime___lt__(wxDateTime *self,wxDateTime const &other){ return *self < other; }
979bool wxDateTime___le__(wxDateTime *self,wxDateTime const &other){ return *self <= other; }
980bool wxDateTime___gt__(wxDateTime *self,wxDateTime const &other){ return *self > other; }
981bool wxDateTime___ge__(wxDateTime *self,wxDateTime const &other){ return *self >= other; }
982bool wxDateTime___eq__(wxDateTime *self,wxDateTime const &other){ return *self == other; }
983bool wxDateTime___ne__(wxDateTime *self,wxDateTime const &other){ return *self != other; }
984int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
985 const wxChar* rv;
986 const wxChar* _date = date;
987 rv = self->ParseRfc822Date(_date);
988 if (rv == NULL) return -1;
989 return rv - _date;
990 }
991int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
992 const wxChar* rv;
993 const wxChar* _date = date;
994 rv = self->ParseFormat(_date, format, dateDef);
995 if (rv == NULL) return -1;
996 return rv - _date;
997 }
998int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
999 const wxChar* rv;
1000 const wxChar* _datetime = datetime;
1001 rv = self->ParseDateTime(_datetime);
1002 if (rv == NULL) return -1;
1003 return rv - _datetime;
1004 }
1005int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1006 const wxChar* rv;
1007 const wxChar* _date = date;
1008 rv = self->ParseDate(_date);
1009 if (rv == NULL) return -1;
1010 return rv - _date;
1011 }
1012int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1013 const wxChar* rv;
1014 const wxChar* _time = time;
1015 rv = self->ParseTime(_time);
1016 if (rv == NULL) return -1;
1017 return rv - _time;
1018 }
1019wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1020wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1021wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1022wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
1023bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self < other; }
1024bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const &other){ return *self <= other; }
1025bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self > other; }
1026bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const &other){ return *self >= other; }
1027bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const &other){ return *self == other; }
1028bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const &other){ return *self != other; }
1029wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1030wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1031wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1032wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
1033bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const &other){ return *self == other; }
1034bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const &other){ return *self != other; }
1035
1036#include <wx/dataobj.h>
1037
1038 // Create a new class for wxPython to use
1039class wxPyDataObjectSimple : public wxDataObjectSimple {
1040public:
1041 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1042 : wxDataObjectSimple(format) {}
1043
1044 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1045 bool GetDataHere(void *buf) const;
1046 bool SetData(size_t len, const void *buf) const;
1047 PYPRIVATE;
1048};
1049
1050IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1051
1052bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1053 // We need to get the data for this object and write it to buf. I think
1054 // the best way to do this for wxPython is to have the Python method
1055 // return either a string or None and then act appropriately with the
1056 // C++ version.
1057
423f194a 1058 bool rval = False;
d14a1e28
RD
1059 wxPyBeginBlockThreads();
1060 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1061 PyObject* ro;
1062 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1063 if (ro) {
1064 rval = (ro != Py_None && PyString_Check(ro));
1065 if (rval)
1066 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1067 Py_DECREF(ro);
1068 }
1069 }
1070 wxPyEndBlockThreads();
1071 return rval;
1072}
1073
1074bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1075 // For this one we simply need to make a string from buf and len
1076 // and send it to the Python method.
423f194a 1077 bool rval = False;
d14a1e28
RD
1078 wxPyBeginBlockThreads();
1079 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1080 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1081 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1082 Py_DECREF(data);
1083 }
1084 wxPyEndBlockThreads();
1085 return rval;
1086}
1087
1088 // Create a new class for wxPython to use
1089class wxPyTextDataObject : public wxTextDataObject {
1090public:
1091 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1092 : wxTextDataObject(text) {}
1093
1094 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1095 DEC_PYCALLBACK_STRING__const(GetText);
1096 DEC_PYCALLBACK__STRING(SetText);
1097 PYPRIVATE;
1098};
1099
1100IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1101IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1102IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1103
1104
1105 // Create a new class for wxPython to use
1106class wxPyBitmapDataObject : public wxBitmapDataObject {
1107public:
1108 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1109 : wxBitmapDataObject(bitmap) {}
1110
1111 wxBitmap GetBitmap() const;
1112 void SetBitmap(const wxBitmap& bitmap);
1113 PYPRIVATE;
1114};
1115
1116wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1117 wxBitmap* rval = &wxNullBitmap;
1118 wxPyBeginBlockThreads();
1119 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1120 PyObject* ro;
1121 wxBitmap* ptr;
1122 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1123 if (ro) {
1124 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1125 rval = ptr;
1126 Py_DECREF(ro);
1127 }
1128 }
1129 wxPyEndBlockThreads();
1130 return *rval;
1131}
1132
1133void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1134 wxPyBeginBlockThreads();
1135 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
423f194a 1136 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
d14a1e28
RD
1137 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1138 Py_DECREF(bo);
1139 }
1140 wxPyEndBlockThreads();
1141}
1142
1143void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1144 if (PyString_Check(data)) {
1145 // for Python we just call SetData here since we always need it to make a copy.
1146 self->SetData(PyString_Size(data), PyString_AsString(data));
1147 }
1148 else {
1149 // raise a TypeError if not a string
1150 PyErr_SetString(PyExc_TypeError, "String expected.");
1151 }
1152 }
1153bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1154 if (PyString_Check(data)) {
1155 return self->SetData(PyString_Size(data), PyString_AsString(data));
1156 }
1157 else {
1158 // raise a TypeError if not a string
1159 PyErr_SetString(PyExc_TypeError, "String expected.");
423f194a 1160 return False;
d14a1e28
RD
1161 }
1162 }
1163PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1164 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1165 }
1166
83448d71 1167#include <wx/metafile.h>
d14a1e28
RD
1168
1169
d14a1e28
RD
1170IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1171
1172
d14a1e28
RD
1173IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1174IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1175IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1176IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1177IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1178
1179
d14a1e28
RD
1180class wxPyTextDropTarget : public wxTextDropTarget {
1181public:
1182 wxPyTextDropTarget() {}
1183
1184 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1185
1186 DEC_PYCALLBACK__(OnLeave);
1187 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1188 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1189 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1190 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1191
1192 PYPRIVATE;
1193};
1194
1195IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1196IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1197IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1198IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1199IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1200IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1201
1202
1203
1204class wxPyFileDropTarget : public wxFileDropTarget {
1205public:
1206 wxPyFileDropTarget() {}
1207
1208 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1209
1210 DEC_PYCALLBACK__(OnLeave);
1211 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1212 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1213 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1214 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1215
1216 PYPRIVATE;
1217};
1218
1219bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1220 const wxArrayString& filenames) {
423f194a 1221 bool rval = False;
d14a1e28
RD
1222 wxPyBeginBlockThreads();
1223 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1224 PyObject* list = wxArrayString2PyList_helper(filenames);
1225 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1226 Py_DECREF(list);
1227 }
1228 wxPyEndBlockThreads();
1229 return rval;
1230}
1231
1232
1233
1234IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1235IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1236IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1237IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1238IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1239
1240
1241
1242
1243bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1244#ifdef __cplusplus
1245extern "C" {
1246#endif
1247static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1248 PyObject *resultobj;
1249 int arg1 ;
1250 wxColour result;
8edf1c75 1251 PyObject * obj0 = 0 ;
d14a1e28
RD
1252 char *kwnames[] = {
1253 (char *) "index", NULL
1254 };
1255
8edf1c75
RD
1256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
1257 {
1258 arg1 = (wxSystemColour) SWIG_PyObj_AsInt(obj0);
1259 if (PyErr_Occurred()) SWIG_fail;
1260 }
d14a1e28
RD
1261 {
1262 PyThreadState* __tstate = wxPyBeginAllowThreads();
1263 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1264
1265 wxPyEndAllowThreads(__tstate);
1266 if (PyErr_Occurred()) SWIG_fail;
1267 }
1268 {
1269 wxColour * resultptr;
1270 resultptr = new wxColour((wxColour &) result);
1271 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1272 }
1273 return resultobj;
1274 fail:
1275 return NULL;
1276}
1277
1278
1279static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1280 PyObject *resultobj;
1281 int arg1 ;
1282 wxFont result;
8edf1c75 1283 PyObject * obj0 = 0 ;
d14a1e28
RD
1284 char *kwnames[] = {
1285 (char *) "index", NULL
1286 };
1287
8edf1c75
RD
1288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
1289 {
1290 arg1 = (wxSystemFont) SWIG_PyObj_AsInt(obj0);
1291 if (PyErr_Occurred()) SWIG_fail;
1292 }
d14a1e28
RD
1293 {
1294 PyThreadState* __tstate = wxPyBeginAllowThreads();
1295 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1296
1297 wxPyEndAllowThreads(__tstate);
1298 if (PyErr_Occurred()) SWIG_fail;
1299 }
1300 {
1301 wxFont * resultptr;
1302 resultptr = new wxFont((wxFont &) result);
1303 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
1304 }
1305 return resultobj;
1306 fail:
1307 return NULL;
1308}
1309
1310
1311static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1312 PyObject *resultobj;
1313 int arg1 ;
1314 int result;
8edf1c75 1315 PyObject * obj0 = 0 ;
d14a1e28
RD
1316 char *kwnames[] = {
1317 (char *) "index", NULL
1318 };
1319
8edf1c75
RD
1320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
1321 {
1322 arg1 = (wxSystemMetric) SWIG_PyObj_AsInt(obj0);
1323 if (PyErr_Occurred()) SWIG_fail;
1324 }
d14a1e28
RD
1325 {
1326 PyThreadState* __tstate = wxPyBeginAllowThreads();
1327 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1328
1329 wxPyEndAllowThreads(__tstate);
1330 if (PyErr_Occurred()) SWIG_fail;
1331 }
8edf1c75 1332 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
1333 return resultobj;
1334 fail:
1335 return NULL;
1336}
1337
1338
1339static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1340 PyObject *resultobj;
1341 int arg1 ;
1342 bool result;
8edf1c75 1343 PyObject * obj0 = 0 ;
d14a1e28
RD
1344 char *kwnames[] = {
1345 (char *) "index", NULL
1346 };
1347
8edf1c75
RD
1348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
1349 {
1350 arg1 = (wxSystemFeature) SWIG_PyObj_AsInt(obj0);
1351 if (PyErr_Occurred()) SWIG_fail;
1352 }
d14a1e28
RD
1353 {
1354 PyThreadState* __tstate = wxPyBeginAllowThreads();
1355 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1356
1357 wxPyEndAllowThreads(__tstate);
1358 if (PyErr_Occurred()) SWIG_fail;
1359 }
4e760a36 1360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1361 return resultobj;
1362 fail:
1363 return NULL;
1364}
1365
1366
1367static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1368 PyObject *resultobj;
1369 int result;
1370 char *kwnames[] = {
1371 NULL
1372 };
1373
1374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1375 {
1376 PyThreadState* __tstate = wxPyBeginAllowThreads();
1377 result = (int)wxSystemSettings::GetScreenType();
1378
1379 wxPyEndAllowThreads(__tstate);
1380 if (PyErr_Occurred()) SWIG_fail;
1381 }
8edf1c75 1382 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
1383 return resultobj;
1384 fail:
1385 return NULL;
1386}
1387
1388
1389static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1390 PyObject *resultobj;
1391 int arg1 ;
8edf1c75 1392 PyObject * obj0 = 0 ;
d14a1e28
RD
1393 char *kwnames[] = {
1394 (char *) "screen", NULL
1395 };
1396
8edf1c75
RD
1397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
1398 {
1399 arg1 = (wxSystemScreenType) SWIG_PyObj_AsInt(obj0);
1400 if (PyErr_Occurred()) SWIG_fail;
1401 }
d14a1e28
RD
1402 {
1403 PyThreadState* __tstate = wxPyBeginAllowThreads();
1404 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1405
1406 wxPyEndAllowThreads(__tstate);
1407 if (PyErr_Occurred()) SWIG_fail;
1408 }
1409 Py_INCREF(Py_None); resultobj = Py_None;
1410 return resultobj;
1411 fail:
1412 return NULL;
1413}
1414
1415
1416static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1417 PyObject *obj;
1418 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1419 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1420 Py_INCREF(obj);
1421 return Py_BuildValue((char *)"");
1422}
1423static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1424 PyObject *resultobj;
1425 wxSystemOptions *result;
1426 char *kwnames[] = {
1427 NULL
1428 };
1429
1430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1431 {
1432 PyThreadState* __tstate = wxPyBeginAllowThreads();
1433 result = (wxSystemOptions *)new wxSystemOptions();
1434
1435 wxPyEndAllowThreads(__tstate);
1436 if (PyErr_Occurred()) SWIG_fail;
1437 }
1438 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSystemOptions, 1);
1439 return resultobj;
1440 fail:
1441 return NULL;
1442}
1443
1444
1445static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1446 PyObject *resultobj;
1447 wxString *arg1 = 0 ;
1448 wxString *arg2 = 0 ;
423f194a
RD
1449 bool temp1 = False ;
1450 bool temp2 = False ;
d14a1e28
RD
1451 PyObject * obj0 = 0 ;
1452 PyObject * obj1 = 0 ;
1453 char *kwnames[] = {
1454 (char *) "name",(char *) "value", NULL
1455 };
1456
1457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1458 {
1459 arg1 = wxString_in_helper(obj0);
1460 if (arg1 == NULL) SWIG_fail;
423f194a 1461 temp1 = True;
d14a1e28
RD
1462 }
1463 {
1464 arg2 = wxString_in_helper(obj1);
1465 if (arg2 == NULL) SWIG_fail;
423f194a 1466 temp2 = True;
d14a1e28
RD
1467 }
1468 {
1469 PyThreadState* __tstate = wxPyBeginAllowThreads();
1470 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1471
1472 wxPyEndAllowThreads(__tstate);
1473 if (PyErr_Occurred()) SWIG_fail;
1474 }
1475 Py_INCREF(Py_None); resultobj = Py_None;
1476 {
1477 if (temp1)
1478 delete arg1;
1479 }
1480 {
1481 if (temp2)
1482 delete arg2;
1483 }
1484 return resultobj;
1485 fail:
1486 {
1487 if (temp1)
1488 delete arg1;
1489 }
1490 {
1491 if (temp2)
1492 delete arg2;
1493 }
1494 return NULL;
1495}
1496
1497
1498static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1499 PyObject *resultobj;
1500 wxString *arg1 = 0 ;
1501 int arg2 ;
423f194a 1502 bool temp1 = False ;
d14a1e28 1503 PyObject * obj0 = 0 ;
8edf1c75 1504 PyObject * obj1 = 0 ;
d14a1e28
RD
1505 char *kwnames[] = {
1506 (char *) "name",(char *) "value", NULL
1507 };
1508
8edf1c75 1509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
1510 {
1511 arg1 = wxString_in_helper(obj0);
1512 if (arg1 == NULL) SWIG_fail;
423f194a 1513 temp1 = True;
d14a1e28 1514 }
8edf1c75
RD
1515 {
1516 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1517 if (PyErr_Occurred()) SWIG_fail;
1518 }
d14a1e28
RD
1519 {
1520 PyThreadState* __tstate = wxPyBeginAllowThreads();
1521 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1522
1523 wxPyEndAllowThreads(__tstate);
1524 if (PyErr_Occurred()) SWIG_fail;
1525 }
1526 Py_INCREF(Py_None); resultobj = Py_None;
1527 {
1528 if (temp1)
1529 delete arg1;
1530 }
1531 return resultobj;
1532 fail:
1533 {
1534 if (temp1)
1535 delete arg1;
1536 }
1537 return NULL;
1538}
1539
1540
1541static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1542 PyObject *resultobj;
1543 wxString *arg1 = 0 ;
1544 wxString result;
423f194a 1545 bool temp1 = False ;
d14a1e28
RD
1546 PyObject * obj0 = 0 ;
1547 char *kwnames[] = {
1548 (char *) "name", NULL
1549 };
1550
1551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1552 {
1553 arg1 = wxString_in_helper(obj0);
1554 if (arg1 == NULL) SWIG_fail;
423f194a 1555 temp1 = True;
d14a1e28
RD
1556 }
1557 {
1558 PyThreadState* __tstate = wxPyBeginAllowThreads();
1559 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1560
1561 wxPyEndAllowThreads(__tstate);
1562 if (PyErr_Occurred()) SWIG_fail;
1563 }
1564 {
1565#if wxUSE_UNICODE
1566 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1567#else
1568 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1569#endif
1570 }
1571 {
1572 if (temp1)
1573 delete arg1;
1574 }
1575 return resultobj;
1576 fail:
1577 {
1578 if (temp1)
1579 delete arg1;
1580 }
1581 return NULL;
1582}
1583
1584
1585static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1586 PyObject *resultobj;
1587 wxString *arg1 = 0 ;
1588 int result;
423f194a 1589 bool temp1 = False ;
d14a1e28
RD
1590 PyObject * obj0 = 0 ;
1591 char *kwnames[] = {
1592 (char *) "name", NULL
1593 };
1594
1595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1596 {
1597 arg1 = wxString_in_helper(obj0);
1598 if (arg1 == NULL) SWIG_fail;
423f194a 1599 temp1 = True;
d14a1e28
RD
1600 }
1601 {
1602 PyThreadState* __tstate = wxPyBeginAllowThreads();
1603 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1604
1605 wxPyEndAllowThreads(__tstate);
1606 if (PyErr_Occurred()) SWIG_fail;
1607 }
8edf1c75 1608 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
1609 {
1610 if (temp1)
1611 delete arg1;
1612 }
1613 return resultobj;
1614 fail:
1615 {
1616 if (temp1)
1617 delete arg1;
1618 }
1619 return NULL;
1620}
1621
1622
1623static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1624 PyObject *resultobj;
1625 wxString *arg1 = 0 ;
1626 bool result;
423f194a 1627 bool temp1 = False ;
d14a1e28
RD
1628 PyObject * obj0 = 0 ;
1629 char *kwnames[] = {
1630 (char *) "name", NULL
1631 };
1632
1633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1634 {
1635 arg1 = wxString_in_helper(obj0);
1636 if (arg1 == NULL) SWIG_fail;
423f194a 1637 temp1 = True;
d14a1e28
RD
1638 }
1639 {
1640 PyThreadState* __tstate = wxPyBeginAllowThreads();
1641 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1642
1643 wxPyEndAllowThreads(__tstate);
1644 if (PyErr_Occurred()) SWIG_fail;
1645 }
4e760a36 1646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1647 {
1648 if (temp1)
1649 delete arg1;
1650 }
1651 return resultobj;
1652 fail:
1653 {
1654 if (temp1)
1655 delete arg1;
1656 }
1657 return NULL;
1658}
1659
1660
1661static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1662 PyObject *obj;
1663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1664 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1665 Py_INCREF(obj);
1666 return Py_BuildValue((char *)"");
1667}
8edf1c75 1668static int _wrap_FileSelectorPromptStr_set(PyObject *) {
d03fd34d
RD
1669 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
1670 return 1;
1671}
1672
1673
1674static PyObject *_wrap_FileSelectorPromptStr_get() {
1675 PyObject *pyobj;
1676
1677 {
1678#if wxUSE_UNICODE
1679 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1680#else
1681 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1682#endif
1683 }
1684 return pyobj;
1685}
1686
1687
8edf1c75 1688static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
d03fd34d
RD
1689 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
1690 return 1;
1691}
1692
1693
1694static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
1695 PyObject *pyobj;
1696
1697 {
1698#if wxUSE_UNICODE
1699 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1700#else
1701 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1702#endif
1703 }
1704 return pyobj;
1705}
1706
1707
8edf1c75 1708static int _wrap_DirSelectorPromptStr_set(PyObject *) {
d03fd34d
RD
1709 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
1710 return 1;
1711}
1712
1713
1714static PyObject *_wrap_DirSelectorPromptStr_get() {
1715 PyObject *pyobj;
1716
1717 {
1718#if wxUSE_UNICODE
1719 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1720#else
1721 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1722#endif
1723 }
1724 return pyobj;
1725}
1726
1727
d14a1e28
RD
1728static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1729 PyObject *resultobj;
1730 long result;
1731 char *kwnames[] = {
1732 NULL
1733 };
1734
1735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1736 {
1737 PyThreadState* __tstate = wxPyBeginAllowThreads();
1738 result = (long)wxNewId();
1739
1740 wxPyEndAllowThreads(__tstate);
1741 if (PyErr_Occurred()) SWIG_fail;
1742 }
8edf1c75 1743 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
1744 return resultobj;
1745 fail:
1746 return NULL;
1747}
1748
1749
1750static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1751 PyObject *resultobj;
1752 long arg1 ;
8edf1c75 1753 PyObject * obj0 = 0 ;
d14a1e28
RD
1754 char *kwnames[] = {
1755 (char *) "id", NULL
1756 };
1757
8edf1c75
RD
1758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
1759 {
1760 arg1 = (long) SWIG_PyObj_AsLong(obj0);
1761 if (PyErr_Occurred()) SWIG_fail;
1762 }
d14a1e28
RD
1763 {
1764 PyThreadState* __tstate = wxPyBeginAllowThreads();
1765 wxRegisterId(arg1);
1766
1767 wxPyEndAllowThreads(__tstate);
1768 if (PyErr_Occurred()) SWIG_fail;
1769 }
1770 Py_INCREF(Py_None); resultobj = Py_None;
1771 return resultobj;
1772 fail:
1773 return NULL;
1774}
1775
1776
1777static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1778 PyObject *resultobj;
1779 long result;
1780 char *kwnames[] = {
1781 NULL
1782 };
1783
1784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1785 {
1786 PyThreadState* __tstate = wxPyBeginAllowThreads();
1787 result = (long)wxGetCurrentId();
1788
1789 wxPyEndAllowThreads(__tstate);
1790 if (PyErr_Occurred()) SWIG_fail;
1791 }
8edf1c75 1792 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
1793 return resultobj;
1794 fail:
1795 return NULL;
1796}
1797
1798
1799static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1800 PyObject *resultobj;
1801 char *kwnames[] = {
1802 NULL
1803 };
1804
1805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1806 {
1807 PyThreadState* __tstate = wxPyBeginAllowThreads();
1808 wxBell();
1809
1810 wxPyEndAllowThreads(__tstate);
1811 if (PyErr_Occurred()) SWIG_fail;
1812 }
1813 Py_INCREF(Py_None); resultobj = Py_None;
1814 return resultobj;
1815 fail:
1816 return NULL;
1817}
1818
1819
1820static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1821 PyObject *resultobj;
1822 char *kwnames[] = {
1823 NULL
1824 };
1825
1826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
1827 {
1828 PyThreadState* __tstate = wxPyBeginAllowThreads();
1829 wxEndBusyCursor();
1830
1831 wxPyEndAllowThreads(__tstate);
1832 if (PyErr_Occurred()) SWIG_fail;
1833 }
1834 Py_INCREF(Py_None); resultobj = Py_None;
1835 return resultobj;
1836 fail:
1837 return NULL;
1838}
1839
1840
1841static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1842 PyObject *resultobj;
423f194a 1843 bool arg1 = (bool) True ;
d14a1e28
RD
1844 long result;
1845 PyObject * obj0 = 0 ;
1846 char *kwnames[] = {
1847 (char *) "resetTimer", NULL
1848 };
1849
1850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
1851 if (obj0) {
83448d71 1852 {
8edf1c75 1853 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
83448d71
RD
1854 if (PyErr_Occurred()) SWIG_fail;
1855 }
d14a1e28
RD
1856 }
1857 {
1858 PyThreadState* __tstate = wxPyBeginAllowThreads();
1859 result = (long)wxGetElapsedTime(arg1);
1860
1861 wxPyEndAllowThreads(__tstate);
1862 if (PyErr_Occurred()) SWIG_fail;
1863 }
8edf1c75 1864 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
1865 return resultobj;
1866 fail:
1867 return NULL;
1868}
1869
1870
1871static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1872 PyObject *resultobj;
1873 int *arg1 = (int *) 0 ;
1874 int *arg2 = (int *) 0 ;
1875 int temp1 ;
1876 int temp2 ;
1877 char *kwnames[] = {
1878 NULL
1879 };
1880
1881 arg1 = &temp1;
1882 arg2 = &temp2;
1883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
1884 {
1885 PyThreadState* __tstate = wxPyBeginAllowThreads();
1886 wxGetMousePosition(arg1,arg2);
1887
1888 wxPyEndAllowThreads(__tstate);
1889 if (PyErr_Occurred()) SWIG_fail;
1890 }
1891 Py_INCREF(Py_None); resultobj = Py_None;
1892 {
1893 PyObject *o = PyInt_FromLong((long) (*arg1));
1894 resultobj = t_output_helper(resultobj,o);
1895 }
1896 {
1897 PyObject *o = PyInt_FromLong((long) (*arg2));
1898 resultobj = t_output_helper(resultobj,o);
1899 }
1900 return resultobj;
1901 fail:
1902 return NULL;
1903}
1904
1905
1906static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
1907 PyObject *resultobj;
1908 bool result;
1909 char *kwnames[] = {
1910 NULL
1911 };
1912
1913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
1914 {
1915 PyThreadState* __tstate = wxPyBeginAllowThreads();
1916 result = (bool)wxIsBusy();
1917
1918 wxPyEndAllowThreads(__tstate);
1919 if (PyErr_Occurred()) SWIG_fail;
1920 }
4e760a36 1921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1922 return resultobj;
1923 fail:
1924 return NULL;
1925}
1926
1927
1928static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
1929 PyObject *resultobj;
1930 wxString result;
1931 char *kwnames[] = {
1932 NULL
1933 };
1934
1935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
1936 {
1937 PyThreadState* __tstate = wxPyBeginAllowThreads();
1938 result = wxNow();
1939
1940 wxPyEndAllowThreads(__tstate);
1941 if (PyErr_Occurred()) SWIG_fail;
1942 }
1943 {
1944#if wxUSE_UNICODE
1945 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1946#else
1947 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1948#endif
1949 }
1950 return resultobj;
1951 fail:
1952 return NULL;
1953}
1954
1955
1956static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
1957 PyObject *resultobj;
1958 wxString const &arg1_defvalue = wxPyEmptyString ;
1959 wxString *arg1 = (wxString *) &arg1_defvalue ;
1960 bool result;
423f194a 1961 bool temp1 = False ;
d14a1e28
RD
1962 PyObject * obj0 = 0 ;
1963 char *kwnames[] = {
1964 (char *) "command", NULL
1965 };
1966
1967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
1968 if (obj0) {
1969 {
1970 arg1 = wxString_in_helper(obj0);
1971 if (arg1 == NULL) SWIG_fail;
423f194a 1972 temp1 = True;
d14a1e28
RD
1973 }
1974 }
1975 {
1976 PyThreadState* __tstate = wxPyBeginAllowThreads();
1977 result = (bool)wxShell((wxString const &)*arg1);
1978
1979 wxPyEndAllowThreads(__tstate);
1980 if (PyErr_Occurred()) SWIG_fail;
1981 }
4e760a36 1982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1983 {
1984 if (temp1)
1985 delete arg1;
1986 }
1987 return resultobj;
1988 fail:
1989 {
1990 if (temp1)
1991 delete arg1;
1992 }
1993 return NULL;
1994}
1995
1996
1997static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
1998 PyObject *resultobj;
1999 char *kwnames[] = {
2000 NULL
2001 };
2002
2003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2004 {
2005 PyThreadState* __tstate = wxPyBeginAllowThreads();
2006 wxStartTimer();
2007
2008 wxPyEndAllowThreads(__tstate);
2009 if (PyErr_Occurred()) SWIG_fail;
2010 }
2011 Py_INCREF(Py_None); resultobj = Py_None;
2012 return resultobj;
2013 fail:
2014 return NULL;
2015}
2016
2017
2018static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
2019 PyObject *resultobj;
2020 int *arg1 = (int *) 0 ;
2021 int *arg2 = (int *) 0 ;
2022 int result;
2023 int temp1 ;
2024 int temp2 ;
2025 char *kwnames[] = {
2026 NULL
2027 };
2028
2029 arg1 = &temp1;
2030 arg2 = &temp2;
2031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2032 {
2033 PyThreadState* __tstate = wxPyBeginAllowThreads();
2034 result = (int)wxGetOsVersion(arg1,arg2);
2035
2036 wxPyEndAllowThreads(__tstate);
2037 if (PyErr_Occurred()) SWIG_fail;
2038 }
8edf1c75 2039 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
2040 {
2041 PyObject *o = PyInt_FromLong((long) (*arg1));
2042 resultobj = t_output_helper(resultobj,o);
2043 }
2044 {
2045 PyObject *o = PyInt_FromLong((long) (*arg2));
2046 resultobj = t_output_helper(resultobj,o);
2047 }
2048 return resultobj;
2049 fail:
2050 return NULL;
2051}
2052
2053
2054static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
2055 PyObject *resultobj;
2056 wxString result;
2057 char *kwnames[] = {
2058 NULL
2059 };
2060
2061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2062 {
2063 PyThreadState* __tstate = wxPyBeginAllowThreads();
2064 result = wxGetOsDescription();
2065
2066 wxPyEndAllowThreads(__tstate);
2067 if (PyErr_Occurred()) SWIG_fail;
2068 }
2069 {
2070#if wxUSE_UNICODE
2071 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2072#else
2073 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2074#endif
2075 }
2076 return resultobj;
2077 fail:
2078 return NULL;
2079}
2080
2081
2082static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
2083 PyObject *resultobj;
2084 long result;
2085 char *kwnames[] = {
2086 NULL
2087 };
2088
2089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2090 {
2091 PyThreadState* __tstate = wxPyBeginAllowThreads();
2092 result = (long)wxGetFreeMemory();
2093
2094 wxPyEndAllowThreads(__tstate);
2095 if (PyErr_Occurred()) SWIG_fail;
2096 }
8edf1c75 2097 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
2098 return resultobj;
2099 fail:
2100 return NULL;
2101}
2102
2103
2104static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
2105 PyObject *resultobj;
2106 int arg1 ;
2107 bool result;
8edf1c75 2108 PyObject * obj0 = 0 ;
d14a1e28
RD
2109 char *kwnames[] = {
2110 (char *) "wFlags", NULL
2111 };
2112
8edf1c75
RD
2113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
2114 {
2115 arg1 = (wxShutdownFlags) SWIG_PyObj_AsInt(obj0);
2116 if (PyErr_Occurred()) SWIG_fail;
2117 }
d14a1e28
RD
2118 {
2119 PyThreadState* __tstate = wxPyBeginAllowThreads();
2120 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2121
2122 wxPyEndAllowThreads(__tstate);
2123 if (PyErr_Occurred()) SWIG_fail;
2124 }
4e760a36 2125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2126 return resultobj;
2127 fail:
2128 return NULL;
2129}
2130
2131
2132static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2133 PyObject *resultobj;
2134 int arg1 ;
8edf1c75 2135 PyObject * obj0 = 0 ;
d14a1e28
RD
2136 char *kwnames[] = {
2137 (char *) "secs", NULL
2138 };
2139
8edf1c75
RD
2140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
2141 {
2142 arg1 = (int) SWIG_PyObj_AsInt(obj0);
2143 if (PyErr_Occurred()) SWIG_fail;
2144 }
d14a1e28
RD
2145 {
2146 PyThreadState* __tstate = wxPyBeginAllowThreads();
2147 wxSleep(arg1);
2148
2149 wxPyEndAllowThreads(__tstate);
2150 if (PyErr_Occurred()) SWIG_fail;
2151 }
2152 Py_INCREF(Py_None); resultobj = Py_None;
2153 return resultobj;
2154 fail:
2155 return NULL;
2156}
2157
2158
2159static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2160 PyObject *resultobj;
2161 unsigned long arg1 ;
2162 PyObject * obj0 = 0 ;
2163 char *kwnames[] = {
2164 (char *) "milliseconds", NULL
2165 };
2166
2167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
83448d71 2168 {
8edf1c75 2169 arg1 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0);
83448d71
RD
2170 if (PyErr_Occurred()) SWIG_fail;
2171 }
d14a1e28
RD
2172 {
2173 PyThreadState* __tstate = wxPyBeginAllowThreads();
2174 wxUsleep(arg1);
2175
2176 wxPyEndAllowThreads(__tstate);
2177 if (PyErr_Occurred()) SWIG_fail;
2178 }
2179 Py_INCREF(Py_None); resultobj = Py_None;
2180 return resultobj;
2181 fail:
2182 return NULL;
2183}
2184
2185
2186static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2187 PyObject *resultobj;
2188 bool arg1 ;
2189 PyObject * obj0 = 0 ;
2190 char *kwnames[] = {
2191 (char *) "enable", NULL
2192 };
2193
2194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
83448d71 2195 {
8edf1c75 2196 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
83448d71
RD
2197 if (PyErr_Occurred()) SWIG_fail;
2198 }
d14a1e28
RD
2199 {
2200 PyThreadState* __tstate = wxPyBeginAllowThreads();
2201 wxEnableTopLevelWindows(arg1);
2202
2203 wxPyEndAllowThreads(__tstate);
2204 if (PyErr_Occurred()) SWIG_fail;
2205 }
2206 Py_INCREF(Py_None); resultobj = Py_None;
2207 return resultobj;
2208 fail:
2209 return NULL;
2210}
2211
2212
2213static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2214 PyObject *resultobj;
2215 wxString *arg1 = 0 ;
2216 wxString result;
423f194a 2217 bool temp1 = False ;
d14a1e28
RD
2218 PyObject * obj0 = 0 ;
2219 char *kwnames[] = {
2220 (char *) "in", NULL
2221 };
2222
2223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2224 {
2225 arg1 = wxString_in_helper(obj0);
2226 if (arg1 == NULL) SWIG_fail;
423f194a 2227 temp1 = True;
d14a1e28
RD
2228 }
2229 {
2230 PyThreadState* __tstate = wxPyBeginAllowThreads();
2231 result = wxStripMenuCodes((wxString const &)*arg1);
2232
2233 wxPyEndAllowThreads(__tstate);
2234 if (PyErr_Occurred()) SWIG_fail;
2235 }
2236 {
2237#if wxUSE_UNICODE
2238 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2239#else
2240 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2241#endif
2242 }
2243 {
2244 if (temp1)
2245 delete arg1;
2246 }
2247 return resultobj;
2248 fail:
2249 {
2250 if (temp1)
2251 delete arg1;
2252 }
2253 return NULL;
2254}
2255
2256
2257static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2258 PyObject *resultobj;
2259 wxString result;
2260 char *kwnames[] = {
2261 NULL
2262 };
2263
2264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2265 {
2266 PyThreadState* __tstate = wxPyBeginAllowThreads();
2267 result = wxGetEmailAddress();
2268
2269 wxPyEndAllowThreads(__tstate);
2270 if (PyErr_Occurred()) SWIG_fail;
2271 }
2272 {
2273#if wxUSE_UNICODE
2274 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2275#else
2276 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2277#endif
2278 }
2279 return resultobj;
2280 fail:
2281 return NULL;
2282}
2283
2284
2285static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2286 PyObject *resultobj;
2287 wxString result;
2288 char *kwnames[] = {
2289 NULL
2290 };
2291
2292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2293 {
2294 PyThreadState* __tstate = wxPyBeginAllowThreads();
2295 result = wxGetHostName();
2296
2297 wxPyEndAllowThreads(__tstate);
2298 if (PyErr_Occurred()) SWIG_fail;
2299 }
2300 {
2301#if wxUSE_UNICODE
2302 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2303#else
2304 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2305#endif
2306 }
2307 return resultobj;
2308 fail:
2309 return NULL;
2310}
2311
2312
2313static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2314 PyObject *resultobj;
2315 wxString result;
2316 char *kwnames[] = {
2317 NULL
2318 };
2319
2320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2321 {
2322 PyThreadState* __tstate = wxPyBeginAllowThreads();
2323 result = wxGetFullHostName();
2324
2325 wxPyEndAllowThreads(__tstate);
2326 if (PyErr_Occurred()) SWIG_fail;
2327 }
2328 {
2329#if wxUSE_UNICODE
2330 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2331#else
2332 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2333#endif
2334 }
2335 return resultobj;
2336 fail:
2337 return NULL;
2338}
2339
2340
2341static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2342 PyObject *resultobj;
2343 wxString result;
2344 char *kwnames[] = {
2345 NULL
2346 };
2347
2348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2349 {
2350 PyThreadState* __tstate = wxPyBeginAllowThreads();
2351 result = wxGetUserId();
2352
2353 wxPyEndAllowThreads(__tstate);
2354 if (PyErr_Occurred()) SWIG_fail;
2355 }
2356 {
2357#if wxUSE_UNICODE
2358 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2359#else
2360 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2361#endif
2362 }
2363 return resultobj;
2364 fail:
2365 return NULL;
2366}
2367
2368
2369static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2370 PyObject *resultobj;
2371 wxString result;
2372 char *kwnames[] = {
2373 NULL
2374 };
2375
2376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2377 {
2378 PyThreadState* __tstate = wxPyBeginAllowThreads();
2379 result = wxGetUserName();
2380
2381 wxPyEndAllowThreads(__tstate);
2382 if (PyErr_Occurred()) SWIG_fail;
2383 }
2384 {
2385#if wxUSE_UNICODE
2386 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2387#else
2388 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2389#endif
2390 }
2391 return resultobj;
2392 fail:
2393 return NULL;
2394}
2395
2396
2397static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2398 PyObject *resultobj;
2399 wxString result;
2400 char *kwnames[] = {
2401 NULL
2402 };
2403
2404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2405 {
2406 PyThreadState* __tstate = wxPyBeginAllowThreads();
2407 result = wxGetHomeDir();
2408
2409 wxPyEndAllowThreads(__tstate);
2410 if (PyErr_Occurred()) SWIG_fail;
2411 }
2412 {
2413#if wxUSE_UNICODE
2414 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2415#else
2416 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2417#endif
2418 }
2419 return resultobj;
2420 fail:
2421 return NULL;
2422}
2423
2424
2425static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2426 PyObject *resultobj;
2427 wxString const &arg1_defvalue = wxPyEmptyString ;
2428 wxString *arg1 = (wxString *) &arg1_defvalue ;
2429 wxString result;
423f194a 2430 bool temp1 = False ;
d14a1e28
RD
2431 PyObject * obj0 = 0 ;
2432 char *kwnames[] = {
2433 (char *) "user", NULL
2434 };
2435
2436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2437 if (obj0) {
2438 {
2439 arg1 = wxString_in_helper(obj0);
2440 if (arg1 == NULL) SWIG_fail;
423f194a 2441 temp1 = True;
d14a1e28
RD
2442 }
2443 }
2444 {
2445 PyThreadState* __tstate = wxPyBeginAllowThreads();
2446 result = wxGetUserHome((wxString const &)*arg1);
2447
2448 wxPyEndAllowThreads(__tstate);
2449 if (PyErr_Occurred()) SWIG_fail;
2450 }
2451 {
2452#if wxUSE_UNICODE
2453 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2454#else
2455 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2456#endif
2457 }
2458 {
2459 if (temp1)
2460 delete arg1;
2461 }
2462 return resultobj;
2463 fail:
2464 {
2465 if (temp1)
2466 delete arg1;
2467 }
2468 return NULL;
2469}
2470
2471
2472static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2473 PyObject *resultobj;
2474 unsigned long result;
2475 char *kwnames[] = {
2476 NULL
2477 };
2478
2479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2480 {
2481 PyThreadState* __tstate = wxPyBeginAllowThreads();
2482 result = (unsigned long)wxGetProcessId();
2483
2484 wxPyEndAllowThreads(__tstate);
2485 if (PyErr_Occurred()) SWIG_fail;
2486 }
8edf1c75 2487 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
2488 return resultobj;
2489 fail:
2490 return NULL;
2491}
2492
2493
2494static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2495 PyObject *resultobj;
2496 char *kwnames[] = {
2497 NULL
2498 };
2499
2500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2501 {
2502 PyThreadState* __tstate = wxPyBeginAllowThreads();
2503 wxTrap();
2504
2505 wxPyEndAllowThreads(__tstate);
2506 if (PyErr_Occurred()) SWIG_fail;
2507 }
2508 Py_INCREF(Py_None); resultobj = Py_None;
2509 return resultobj;
2510 fail:
2511 return NULL;
2512}
2513
2514
2515static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2516 PyObject *resultobj;
2517 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2518 wxString *arg1 = (wxString *) &arg1_defvalue ;
2519 wxString const &arg2_defvalue = wxPyEmptyString ;
2520 wxString *arg2 = (wxString *) &arg2_defvalue ;
2521 wxString const &arg3_defvalue = wxPyEmptyString ;
2522 wxString *arg3 = (wxString *) &arg3_defvalue ;
2523 wxString const &arg4_defvalue = wxPyEmptyString ;
2524 wxString *arg4 = (wxString *) &arg4_defvalue ;
2525 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2526 wxString *arg5 = (wxString *) &arg5_defvalue ;
2527 int arg6 = (int) 0 ;
2528 wxWindow *arg7 = (wxWindow *) NULL ;
2529 int arg8 = (int) -1 ;
2530 int arg9 = (int) -1 ;
2531 wxString result;
423f194a
RD
2532 bool temp1 = False ;
2533 bool temp2 = False ;
2534 bool temp3 = False ;
2535 bool temp4 = False ;
2536 bool temp5 = False ;
d14a1e28
RD
2537 PyObject * obj0 = 0 ;
2538 PyObject * obj1 = 0 ;
2539 PyObject * obj2 = 0 ;
2540 PyObject * obj3 = 0 ;
2541 PyObject * obj4 = 0 ;
8edf1c75 2542 PyObject * obj5 = 0 ;
d14a1e28 2543 PyObject * obj6 = 0 ;
8edf1c75
RD
2544 PyObject * obj7 = 0 ;
2545 PyObject * obj8 = 0 ;
d14a1e28
RD
2546 char *kwnames[] = {
2547 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2548 };
2549
8edf1c75 2550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28
RD
2551 if (obj0) {
2552 {
2553 arg1 = wxString_in_helper(obj0);
2554 if (arg1 == NULL) SWIG_fail;
423f194a 2555 temp1 = True;
d14a1e28
RD
2556 }
2557 }
2558 if (obj1) {
2559 {
2560 arg2 = wxString_in_helper(obj1);
2561 if (arg2 == NULL) SWIG_fail;
423f194a 2562 temp2 = True;
d14a1e28
RD
2563 }
2564 }
2565 if (obj2) {
2566 {
2567 arg3 = wxString_in_helper(obj2);
2568 if (arg3 == NULL) SWIG_fail;
423f194a 2569 temp3 = True;
d14a1e28
RD
2570 }
2571 }
2572 if (obj3) {
2573 {
2574 arg4 = wxString_in_helper(obj3);
2575 if (arg4 == NULL) SWIG_fail;
423f194a 2576 temp4 = True;
d14a1e28
RD
2577 }
2578 }
2579 if (obj4) {
2580 {
2581 arg5 = wxString_in_helper(obj4);
2582 if (arg5 == NULL) SWIG_fail;
423f194a 2583 temp5 = True;
d14a1e28
RD
2584 }
2585 }
8edf1c75
RD
2586 if (obj5) {
2587 {
2588 arg6 = (int) SWIG_PyObj_AsInt(obj5);
2589 if (PyErr_Occurred()) SWIG_fail;
2590 }
2591 }
d14a1e28
RD
2592 if (obj6) {
2593 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2594 }
8edf1c75
RD
2595 if (obj7) {
2596 {
2597 arg8 = (int) SWIG_PyObj_AsInt(obj7);
2598 if (PyErr_Occurred()) SWIG_fail;
2599 }
2600 }
2601 if (obj8) {
2602 {
2603 arg9 = (int) SWIG_PyObj_AsInt(obj8);
2604 if (PyErr_Occurred()) SWIG_fail;
2605 }
2606 }
d14a1e28
RD
2607 {
2608 PyThreadState* __tstate = wxPyBeginAllowThreads();
2609 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2610
2611 wxPyEndAllowThreads(__tstate);
2612 if (PyErr_Occurred()) SWIG_fail;
2613 }
2614 {
2615#if wxUSE_UNICODE
2616 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2617#else
2618 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2619#endif
2620 }
2621 {
2622 if (temp1)
2623 delete arg1;
2624 }
2625 {
2626 if (temp2)
2627 delete arg2;
2628 }
2629 {
2630 if (temp3)
2631 delete arg3;
2632 }
2633 {
2634 if (temp4)
2635 delete arg4;
2636 }
2637 {
2638 if (temp5)
2639 delete arg5;
2640 }
2641 return resultobj;
2642 fail:
2643 {
2644 if (temp1)
2645 delete arg1;
2646 }
2647 {
2648 if (temp2)
2649 delete arg2;
2650 }
2651 {
2652 if (temp3)
2653 delete arg3;
2654 }
2655 {
2656 if (temp4)
2657 delete arg4;
2658 }
2659 {
2660 if (temp5)
2661 delete arg5;
2662 }
2663 return NULL;
2664}
2665
2666
2667static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2668 PyObject *resultobj;
2669 wxString *arg1 = 0 ;
2670 wxString *arg2 = 0 ;
2671 wxString const &arg3_defvalue = wxPyEmptyString ;
2672 wxString *arg3 = (wxString *) &arg3_defvalue ;
2673 wxWindow *arg4 = (wxWindow *) NULL ;
2674 wxString result;
423f194a
RD
2675 bool temp1 = False ;
2676 bool temp2 = False ;
2677 bool temp3 = False ;
d14a1e28
RD
2678 PyObject * obj0 = 0 ;
2679 PyObject * obj1 = 0 ;
2680 PyObject * obj2 = 0 ;
2681 PyObject * obj3 = 0 ;
2682 char *kwnames[] = {
2683 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2684 };
2685
2686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2687 {
2688 arg1 = wxString_in_helper(obj0);
2689 if (arg1 == NULL) SWIG_fail;
423f194a 2690 temp1 = True;
d14a1e28
RD
2691 }
2692 {
2693 arg2 = wxString_in_helper(obj1);
2694 if (arg2 == NULL) SWIG_fail;
423f194a 2695 temp2 = True;
d14a1e28
RD
2696 }
2697 if (obj2) {
2698 {
2699 arg3 = wxString_in_helper(obj2);
2700 if (arg3 == NULL) SWIG_fail;
423f194a 2701 temp3 = True;
d14a1e28
RD
2702 }
2703 }
2704 if (obj3) {
2705 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2706 }
2707 {
2708 PyThreadState* __tstate = wxPyBeginAllowThreads();
2709 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2710
2711 wxPyEndAllowThreads(__tstate);
2712 if (PyErr_Occurred()) SWIG_fail;
2713 }
2714 {
2715#if wxUSE_UNICODE
2716 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2717#else
2718 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2719#endif
2720 }
2721 {
2722 if (temp1)
2723 delete arg1;
2724 }
2725 {
2726 if (temp2)
2727 delete arg2;
2728 }
2729 {
2730 if (temp3)
2731 delete arg3;
2732 }
2733 return resultobj;
2734 fail:
2735 {
2736 if (temp1)
2737 delete arg1;
2738 }
2739 {
2740 if (temp2)
2741 delete arg2;
2742 }
2743 {
2744 if (temp3)
2745 delete arg3;
2746 }
2747 return NULL;
2748}
2749
2750
2751static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2752 PyObject *resultobj;
2753 wxString *arg1 = 0 ;
2754 wxString *arg2 = 0 ;
2755 wxString const &arg3_defvalue = wxPyEmptyString ;
2756 wxString *arg3 = (wxString *) &arg3_defvalue ;
2757 wxWindow *arg4 = (wxWindow *) NULL ;
2758 wxString result;
423f194a
RD
2759 bool temp1 = False ;
2760 bool temp2 = False ;
2761 bool temp3 = False ;
d14a1e28
RD
2762 PyObject * obj0 = 0 ;
2763 PyObject * obj1 = 0 ;
2764 PyObject * obj2 = 0 ;
2765 PyObject * obj3 = 0 ;
2766 char *kwnames[] = {
2767 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2768 };
2769
2770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2771 {
2772 arg1 = wxString_in_helper(obj0);
2773 if (arg1 == NULL) SWIG_fail;
423f194a 2774 temp1 = True;
d14a1e28
RD
2775 }
2776 {
2777 arg2 = wxString_in_helper(obj1);
2778 if (arg2 == NULL) SWIG_fail;
423f194a 2779 temp2 = True;
d14a1e28
RD
2780 }
2781 if (obj2) {
2782 {
2783 arg3 = wxString_in_helper(obj2);
2784 if (arg3 == NULL) SWIG_fail;
423f194a 2785 temp3 = True;
d14a1e28
RD
2786 }
2787 }
2788 if (obj3) {
2789 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2790 }
2791 {
2792 PyThreadState* __tstate = wxPyBeginAllowThreads();
2793 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2794
2795 wxPyEndAllowThreads(__tstate);
2796 if (PyErr_Occurred()) SWIG_fail;
2797 }
2798 {
2799#if wxUSE_UNICODE
2800 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2801#else
2802 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2803#endif
2804 }
2805 {
2806 if (temp1)
2807 delete arg1;
2808 }
2809 {
2810 if (temp2)
2811 delete arg2;
2812 }
2813 {
2814 if (temp3)
2815 delete arg3;
2816 }
2817 return resultobj;
2818 fail:
2819 {
2820 if (temp1)
2821 delete arg1;
2822 }
2823 {
2824 if (temp2)
2825 delete arg2;
2826 }
2827 {
2828 if (temp3)
2829 delete arg3;
2830 }
2831 return NULL;
2832}
2833
2834
2835static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2836 PyObject *resultobj;
2837 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
2838 wxString *arg1 = (wxString *) &arg1_defvalue ;
2839 wxString const &arg2_defvalue = wxPyEmptyString ;
2840 wxString *arg2 = (wxString *) &arg2_defvalue ;
2841 long arg3 = (long) wxDD_DEFAULT_STYLE ;
2842 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2843 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2844 wxWindow *arg5 = (wxWindow *) NULL ;
2845 wxString result;
423f194a
RD
2846 bool temp1 = False ;
2847 bool temp2 = False ;
d14a1e28
RD
2848 wxPoint temp4 ;
2849 PyObject * obj0 = 0 ;
2850 PyObject * obj1 = 0 ;
8edf1c75 2851 PyObject * obj2 = 0 ;
d14a1e28
RD
2852 PyObject * obj3 = 0 ;
2853 PyObject * obj4 = 0 ;
2854 char *kwnames[] = {
2855 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2856 };
2857
8edf1c75 2858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
2859 if (obj0) {
2860 {
2861 arg1 = wxString_in_helper(obj0);
2862 if (arg1 == NULL) SWIG_fail;
423f194a 2863 temp1 = True;
d14a1e28
RD
2864 }
2865 }
2866 if (obj1) {
2867 {
2868 arg2 = wxString_in_helper(obj1);
2869 if (arg2 == NULL) SWIG_fail;
423f194a 2870 temp2 = True;
d14a1e28
RD
2871 }
2872 }
8edf1c75
RD
2873 if (obj2) {
2874 {
2875 arg3 = (long) SWIG_PyObj_AsLong(obj2);
2876 if (PyErr_Occurred()) SWIG_fail;
2877 }
2878 }
d14a1e28
RD
2879 if (obj3) {
2880 {
2881 arg4 = &temp4;
2882 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2883 }
2884 }
2885 if (obj4) {
2886 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2887 }
2888 {
2889 PyThreadState* __tstate = wxPyBeginAllowThreads();
2890 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
2891
2892 wxPyEndAllowThreads(__tstate);
2893 if (PyErr_Occurred()) SWIG_fail;
2894 }
2895 {
2896#if wxUSE_UNICODE
2897 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2898#else
2899 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2900#endif
2901 }
2902 {
2903 if (temp1)
2904 delete arg1;
2905 }
2906 {
2907 if (temp2)
2908 delete arg2;
2909 }
2910 return resultobj;
2911 fail:
2912 {
2913 if (temp1)
2914 delete arg1;
2915 }
2916 {
2917 if (temp2)
2918 delete arg2;
2919 }
2920 return NULL;
2921}
2922
2923
2924static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2925 PyObject *resultobj;
2926 wxString *arg1 = 0 ;
2927 wxString const &arg2_defvalue = wxPyEmptyString ;
2928 wxString *arg2 = (wxString *) &arg2_defvalue ;
2929 wxString const &arg3_defvalue = wxPyEmptyString ;
2930 wxString *arg3 = (wxString *) &arg3_defvalue ;
2931 wxWindow *arg4 = (wxWindow *) NULL ;
2932 int arg5 = (int) -1 ;
2933 int arg6 = (int) -1 ;
423f194a 2934 bool arg7 = (bool) True ;
d14a1e28 2935 wxString result;
423f194a
RD
2936 bool temp1 = False ;
2937 bool temp2 = False ;
2938 bool temp3 = False ;
d14a1e28
RD
2939 PyObject * obj0 = 0 ;
2940 PyObject * obj1 = 0 ;
2941 PyObject * obj2 = 0 ;
2942 PyObject * obj3 = 0 ;
8edf1c75
RD
2943 PyObject * obj4 = 0 ;
2944 PyObject * obj5 = 0 ;
d14a1e28
RD
2945 PyObject * obj6 = 0 ;
2946 char *kwnames[] = {
2947 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2948 };
2949
8edf1c75 2950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
2951 {
2952 arg1 = wxString_in_helper(obj0);
2953 if (arg1 == NULL) SWIG_fail;
423f194a 2954 temp1 = True;
d14a1e28
RD
2955 }
2956 if (obj1) {
2957 {
2958 arg2 = wxString_in_helper(obj1);
2959 if (arg2 == NULL) SWIG_fail;
423f194a 2960 temp2 = True;
d14a1e28
RD
2961 }
2962 }
2963 if (obj2) {
2964 {
2965 arg3 = wxString_in_helper(obj2);
2966 if (arg3 == NULL) SWIG_fail;
423f194a 2967 temp3 = True;
d14a1e28
RD
2968 }
2969 }
2970 if (obj3) {
2971 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2972 }
8edf1c75
RD
2973 if (obj4) {
2974 {
2975 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2976 if (PyErr_Occurred()) SWIG_fail;
2977 }
2978 }
2979 if (obj5) {
2980 {
2981 arg6 = (int) SWIG_PyObj_AsInt(obj5);
2982 if (PyErr_Occurred()) SWIG_fail;
2983 }
2984 }
d14a1e28 2985 if (obj6) {
83448d71 2986 {
8edf1c75 2987 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
2988 if (PyErr_Occurred()) SWIG_fail;
2989 }
d14a1e28
RD
2990 }
2991 {
2992 PyThreadState* __tstate = wxPyBeginAllowThreads();
2993 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
2994
2995 wxPyEndAllowThreads(__tstate);
2996 if (PyErr_Occurred()) SWIG_fail;
2997 }
2998 {
2999#if wxUSE_UNICODE
3000 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3001#else
3002 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3003#endif
3004 }
3005 {
3006 if (temp1)
3007 delete arg1;
3008 }
3009 {
3010 if (temp2)
3011 delete arg2;
3012 }
3013 {
3014 if (temp3)
3015 delete arg3;
3016 }
3017 return resultobj;
3018 fail:
3019 {
3020 if (temp1)
3021 delete arg1;
3022 }
3023 {
3024 if (temp2)
3025 delete arg2;
3026 }
3027 {
3028 if (temp3)
3029 delete arg3;
3030 }
3031 return NULL;
3032}
3033
3034
3035static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3036 PyObject *resultobj;
3037 wxString *arg1 = 0 ;
3038 wxString const &arg2_defvalue = wxPyEmptyString ;
3039 wxString *arg2 = (wxString *) &arg2_defvalue ;
3040 wxString const &arg3_defvalue = wxPyEmptyString ;
3041 wxString *arg3 = (wxString *) &arg3_defvalue ;
3042 wxWindow *arg4 = (wxWindow *) NULL ;
3043 wxString result;
423f194a
RD
3044 bool temp1 = False ;
3045 bool temp2 = False ;
3046 bool temp3 = False ;
d14a1e28
RD
3047 PyObject * obj0 = 0 ;
3048 PyObject * obj1 = 0 ;
3049 PyObject * obj2 = 0 ;
3050 PyObject * obj3 = 0 ;
3051 char *kwnames[] = {
3052 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3053 };
3054
3055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3056 {
3057 arg1 = wxString_in_helper(obj0);
3058 if (arg1 == NULL) SWIG_fail;
423f194a 3059 temp1 = True;
d14a1e28
RD
3060 }
3061 if (obj1) {
3062 {
3063 arg2 = wxString_in_helper(obj1);
3064 if (arg2 == NULL) SWIG_fail;
423f194a 3065 temp2 = True;
d14a1e28
RD
3066 }
3067 }
3068 if (obj2) {
3069 {
3070 arg3 = wxString_in_helper(obj2);
3071 if (arg3 == NULL) SWIG_fail;
423f194a 3072 temp3 = True;
d14a1e28
RD
3073 }
3074 }
3075 if (obj3) {
3076 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3077 }
3078 {
3079 PyThreadState* __tstate = wxPyBeginAllowThreads();
3080 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3081
3082 wxPyEndAllowThreads(__tstate);
3083 if (PyErr_Occurred()) SWIG_fail;
3084 }
3085 {
3086#if wxUSE_UNICODE
3087 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3088#else
3089 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3090#endif
3091 }
3092 {
3093 if (temp1)
3094 delete arg1;
3095 }
3096 {
3097 if (temp2)
3098 delete arg2;
3099 }
3100 {
3101 if (temp3)
3102 delete arg3;
3103 }
3104 return resultobj;
3105 fail:
3106 {
3107 if (temp1)
3108 delete arg1;
3109 }
3110 {
3111 if (temp2)
3112 delete arg2;
3113 }
3114 {
3115 if (temp3)
3116 delete arg3;
3117 }
3118 return NULL;
3119}
3120
3121
3122static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
3123 PyObject *resultobj;
3124 wxString *arg1 = 0 ;
3125 wxString *arg2 = 0 ;
3126 int arg3 ;
3127 wxString *arg4 = (wxString *) 0 ;
3128 wxWindow *arg5 = (wxWindow *) NULL ;
3129 int arg6 = (int) -1 ;
3130 int arg7 = (int) -1 ;
423f194a 3131 bool arg8 = (bool) True ;
d14a1e28
RD
3132 int arg9 = (int) 150 ;
3133 int arg10 = (int) 200 ;
3134 wxString result;
423f194a
RD
3135 bool temp1 = False ;
3136 bool temp2 = False ;
d14a1e28
RD
3137 PyObject * obj0 = 0 ;
3138 PyObject * obj1 = 0 ;
3139 PyObject * obj2 = 0 ;
3140 PyObject * obj3 = 0 ;
8edf1c75
RD
3141 PyObject * obj4 = 0 ;
3142 PyObject * obj5 = 0 ;
d14a1e28 3143 PyObject * obj6 = 0 ;
8edf1c75
RD
3144 PyObject * obj7 = 0 ;
3145 PyObject * obj8 = 0 ;
d14a1e28
RD
3146 char *kwnames[] = {
3147 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3148 };
3149
8edf1c75 3150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28
RD
3151 {
3152 arg1 = wxString_in_helper(obj0);
3153 if (arg1 == NULL) SWIG_fail;
423f194a 3154 temp1 = True;
d14a1e28
RD
3155 }
3156 {
3157 arg2 = wxString_in_helper(obj1);
3158 if (arg2 == NULL) SWIG_fail;
423f194a 3159 temp2 = True;
d14a1e28
RD
3160 }
3161 {
3162 arg3 = PyList_Size(obj2);
3163 arg4 = wxString_LIST_helper(obj2);
3164 if (arg4 == NULL) SWIG_fail;
3165 }
3166 if (obj3) {
3167 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3168 }
8edf1c75
RD
3169 if (obj4) {
3170 {
3171 arg6 = (int) SWIG_PyObj_AsInt(obj4);
3172 if (PyErr_Occurred()) SWIG_fail;
3173 }
3174 }
3175 if (obj5) {
3176 {
3177 arg7 = (int) SWIG_PyObj_AsInt(obj5);
3178 if (PyErr_Occurred()) SWIG_fail;
3179 }
3180 }
d14a1e28 3181 if (obj6) {
83448d71 3182 {
8edf1c75
RD
3183 arg8 = (bool) SWIG_PyObj_AsBool(obj6);
3184 if (PyErr_Occurred()) SWIG_fail;
3185 }
3186 }
3187 if (obj7) {
3188 {
3189 arg9 = (int) SWIG_PyObj_AsInt(obj7);
3190 if (PyErr_Occurred()) SWIG_fail;
3191 }
3192 }
3193 if (obj8) {
3194 {
3195 arg10 = (int) SWIG_PyObj_AsInt(obj8);
83448d71
RD
3196 if (PyErr_Occurred()) SWIG_fail;
3197 }
d14a1e28
RD
3198 }
3199 {
3200 PyThreadState* __tstate = wxPyBeginAllowThreads();
3201 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3202
3203 wxPyEndAllowThreads(__tstate);
3204 if (PyErr_Occurred()) SWIG_fail;
3205 }
3206 {
3207#if wxUSE_UNICODE
3208 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3209#else
3210 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3211#endif
3212 }
3213 {
3214 if (temp1)
3215 delete arg1;
3216 }
3217 {
3218 if (temp2)
3219 delete arg2;
3220 }
3221 {
3222 if (arg4) delete [] arg4;
3223 }
3224 return resultobj;
3225 fail:
3226 {
3227 if (temp1)
3228 delete arg1;
3229 }
3230 {
3231 if (temp2)
3232 delete arg2;
3233 }
3234 {
3235 if (arg4) delete [] arg4;
3236 }
3237 return NULL;
3238}
3239
3240
3241static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3242 PyObject *resultobj;
3243 wxString *arg1 = 0 ;
3244 wxString *arg2 = 0 ;
3245 int arg3 ;
3246 wxString *arg4 = (wxString *) 0 ;
3247 wxWindow *arg5 = (wxWindow *) NULL ;
3248 int arg6 = (int) -1 ;
3249 int arg7 = (int) -1 ;
423f194a 3250 bool arg8 = (bool) True ;
d14a1e28
RD
3251 int arg9 = (int) 150 ;
3252 int arg10 = (int) 200 ;
3253 int result;
423f194a
RD
3254 bool temp1 = False ;
3255 bool temp2 = False ;
d14a1e28
RD
3256 PyObject * obj0 = 0 ;
3257 PyObject * obj1 = 0 ;
3258 PyObject * obj2 = 0 ;
3259 PyObject * obj3 = 0 ;
8edf1c75
RD
3260 PyObject * obj4 = 0 ;
3261 PyObject * obj5 = 0 ;
d14a1e28 3262 PyObject * obj6 = 0 ;
8edf1c75
RD
3263 PyObject * obj7 = 0 ;
3264 PyObject * obj8 = 0 ;
d14a1e28
RD
3265 char *kwnames[] = {
3266 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3267 };
3268
8edf1c75 3269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28
RD
3270 {
3271 arg1 = wxString_in_helper(obj0);
3272 if (arg1 == NULL) SWIG_fail;
423f194a 3273 temp1 = True;
d14a1e28
RD
3274 }
3275 {
3276 arg2 = wxString_in_helper(obj1);
3277 if (arg2 == NULL) SWIG_fail;
423f194a 3278 temp2 = True;
d14a1e28
RD
3279 }
3280 {
3281 arg3 = PyList_Size(obj2);
3282 arg4 = wxString_LIST_helper(obj2);
3283 if (arg4 == NULL) SWIG_fail;
3284 }
3285 if (obj3) {
3286 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3287 }
8edf1c75
RD
3288 if (obj4) {
3289 {
3290 arg6 = (int) SWIG_PyObj_AsInt(obj4);
3291 if (PyErr_Occurred()) SWIG_fail;
3292 }
3293 }
3294 if (obj5) {
3295 {
3296 arg7 = (int) SWIG_PyObj_AsInt(obj5);
3297 if (PyErr_Occurred()) SWIG_fail;
3298 }
3299 }
d14a1e28 3300 if (obj6) {
83448d71 3301 {
8edf1c75
RD
3302 arg8 = (bool) SWIG_PyObj_AsBool(obj6);
3303 if (PyErr_Occurred()) SWIG_fail;
3304 }
3305 }
3306 if (obj7) {
3307 {
3308 arg9 = (int) SWIG_PyObj_AsInt(obj7);
3309 if (PyErr_Occurred()) SWIG_fail;
3310 }
3311 }
3312 if (obj8) {
3313 {
3314 arg10 = (int) SWIG_PyObj_AsInt(obj8);
83448d71
RD
3315 if (PyErr_Occurred()) SWIG_fail;
3316 }
d14a1e28
RD
3317 }
3318 {
3319 PyThreadState* __tstate = wxPyBeginAllowThreads();
3320 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3321
3322 wxPyEndAllowThreads(__tstate);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 }
8edf1c75 3325 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3326 {
3327 if (temp1)
3328 delete arg1;
3329 }
3330 {
3331 if (temp2)
3332 delete arg2;
3333 }
3334 {
3335 if (arg4) delete [] arg4;
3336 }
3337 return resultobj;
3338 fail:
3339 {
3340 if (temp1)
3341 delete arg1;
3342 }
3343 {
3344 if (temp2)
3345 delete arg2;
3346 }
3347 {
3348 if (arg4) delete [] arg4;
3349 }
3350 return NULL;
3351}
3352
3353
3354static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3355 PyObject *resultobj;
3356 wxString *arg1 = 0 ;
3357 wxString const &arg2_defvalue = wxPyEmptyString ;
3358 wxString *arg2 = (wxString *) &arg2_defvalue ;
3359 int arg3 = (int) wxOK|wxCENTRE ;
3360 wxWindow *arg4 = (wxWindow *) NULL ;
3361 int arg5 = (int) -1 ;
3362 int arg6 = (int) -1 ;
3363 int result;
423f194a
RD
3364 bool temp1 = False ;
3365 bool temp2 = False ;
d14a1e28
RD
3366 PyObject * obj0 = 0 ;
3367 PyObject * obj1 = 0 ;
8edf1c75 3368 PyObject * obj2 = 0 ;
d14a1e28 3369 PyObject * obj3 = 0 ;
8edf1c75
RD
3370 PyObject * obj4 = 0 ;
3371 PyObject * obj5 = 0 ;
d14a1e28
RD
3372 char *kwnames[] = {
3373 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3374 };
3375
8edf1c75 3376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28
RD
3377 {
3378 arg1 = wxString_in_helper(obj0);
3379 if (arg1 == NULL) SWIG_fail;
423f194a 3380 temp1 = True;
d14a1e28
RD
3381 }
3382 if (obj1) {
3383 {
3384 arg2 = wxString_in_helper(obj1);
3385 if (arg2 == NULL) SWIG_fail;
423f194a 3386 temp2 = True;
d14a1e28
RD
3387 }
3388 }
8edf1c75
RD
3389 if (obj2) {
3390 {
3391 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3392 if (PyErr_Occurred()) SWIG_fail;
3393 }
3394 }
d14a1e28
RD
3395 if (obj3) {
3396 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3397 }
8edf1c75
RD
3398 if (obj4) {
3399 {
3400 arg5 = (int) SWIG_PyObj_AsInt(obj4);
3401 if (PyErr_Occurred()) SWIG_fail;
3402 }
3403 }
3404 if (obj5) {
3405 {
3406 arg6 = (int) SWIG_PyObj_AsInt(obj5);
3407 if (PyErr_Occurred()) SWIG_fail;
3408 }
3409 }
d14a1e28
RD
3410 {
3411 PyThreadState* __tstate = wxPyBeginAllowThreads();
3412 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3413
3414 wxPyEndAllowThreads(__tstate);
3415 if (PyErr_Occurred()) SWIG_fail;
3416 }
8edf1c75 3417 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3418 {
3419 if (temp1)
3420 delete arg1;
3421 }
3422 {
3423 if (temp2)
3424 delete arg2;
3425 }
3426 return resultobj;
3427 fail:
3428 {
3429 if (temp1)
3430 delete arg1;
3431 }
3432 {
3433 if (temp2)
3434 delete arg2;
3435 }
3436 return NULL;
3437}
3438
3439
3440static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3441 PyObject *resultobj;
3442 wxString *arg1 = 0 ;
3443 wxString *arg2 = 0 ;
3444 wxString *arg3 = 0 ;
3445 long arg4 ;
3446 long arg5 = (long) 0 ;
3447 long arg6 = (long) 100 ;
3448 wxWindow *arg7 = (wxWindow *) NULL ;
3449 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3450 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3451 long result;
423f194a
RD
3452 bool temp1 = False ;
3453 bool temp2 = False ;
3454 bool temp3 = False ;
d14a1e28
RD
3455 wxPoint temp8 ;
3456 PyObject * obj0 = 0 ;
3457 PyObject * obj1 = 0 ;
3458 PyObject * obj2 = 0 ;
8edf1c75
RD
3459 PyObject * obj3 = 0 ;
3460 PyObject * obj4 = 0 ;
3461 PyObject * obj5 = 0 ;
3462 PyObject * obj6 = 0 ;
d14a1e28
RD
3463 PyObject * obj7 = 0 ;
3464 char *kwnames[] = {
3465 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3466 };
3467
8edf1c75 3468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d14a1e28
RD
3469 {
3470 arg1 = wxString_in_helper(obj0);
3471 if (arg1 == NULL) SWIG_fail;
423f194a 3472 temp1 = True;
d14a1e28
RD
3473 }
3474 {
3475 arg2 = wxString_in_helper(obj1);
3476 if (arg2 == NULL) SWIG_fail;
423f194a 3477 temp2 = True;
d14a1e28
RD
3478 }
3479 {
3480 arg3 = wxString_in_helper(obj2);
3481 if (arg3 == NULL) SWIG_fail;
423f194a 3482 temp3 = True;
d14a1e28 3483 }
8edf1c75
RD
3484 {
3485 arg4 = (long) SWIG_PyObj_AsLong(obj3);
3486 if (PyErr_Occurred()) SWIG_fail;
3487 }
3488 if (obj4) {
3489 {
3490 arg5 = (long) SWIG_PyObj_AsLong(obj4);
3491 if (PyErr_Occurred()) SWIG_fail;
3492 }
3493 }
3494 if (obj5) {
3495 {
3496 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3497 if (PyErr_Occurred()) SWIG_fail;
3498 }
3499 }
d14a1e28
RD
3500 if (obj6) {
3501 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3502 }
3503 if (obj7) {
3504 {
3505 arg8 = &temp8;
3506 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3507 }
3508 }
3509 {
3510 PyThreadState* __tstate = wxPyBeginAllowThreads();
3511 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3512
3513 wxPyEndAllowThreads(__tstate);
3514 if (PyErr_Occurred()) SWIG_fail;
3515 }
8edf1c75 3516 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
3517 {
3518 if (temp1)
3519 delete arg1;
3520 }
3521 {
3522 if (temp2)
3523 delete arg2;
3524 }
3525 {
3526 if (temp3)
3527 delete arg3;
3528 }
3529 return resultobj;
3530 fail:
3531 {
3532 if (temp1)
3533 delete arg1;
3534 }
3535 {
3536 if (temp2)
3537 delete arg2;
3538 }
3539 {
3540 if (temp3)
3541 delete arg3;
3542 }
3543 return NULL;
3544}
3545
3546
3547static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3548 PyObject *resultobj;
3549 bool result;
3550 char *kwnames[] = {
3551 NULL
3552 };
3553
3554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3555 {
3556 PyThreadState* __tstate = wxPyBeginAllowThreads();
3557 result = (bool)wxColourDisplay();
3558
3559 wxPyEndAllowThreads(__tstate);
3560 if (PyErr_Occurred()) SWIG_fail;
3561 }
4e760a36 3562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3563 return resultobj;
3564 fail:
3565 return NULL;
3566}
3567
3568
3569static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3570 PyObject *resultobj;
3571 int result;
3572 char *kwnames[] = {
3573 NULL
3574 };
3575
3576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3577 {
3578 PyThreadState* __tstate = wxPyBeginAllowThreads();
3579 result = (int)wxDisplayDepth();
3580
3581 wxPyEndAllowThreads(__tstate);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 }
8edf1c75 3584 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3585 return resultobj;
3586 fail:
3587 return NULL;
3588}
3589
3590
3591static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3592 PyObject *resultobj;
3593 int result;
3594 char *kwnames[] = {
3595 NULL
3596 };
3597
3598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3599 {
3600 PyThreadState* __tstate = wxPyBeginAllowThreads();
3601 result = (int)wxGetDisplayDepth();
3602
3603 wxPyEndAllowThreads(__tstate);
3604 if (PyErr_Occurred()) SWIG_fail;
3605 }
8edf1c75 3606 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3607 return resultobj;
3608 fail:
3609 return NULL;
3610}
3611
3612
3613static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3614 PyObject *resultobj;
3615 int *arg1 = (int *) 0 ;
3616 int *arg2 = (int *) 0 ;
3617 int temp1 ;
3618 int temp2 ;
3619 char *kwnames[] = {
3620 NULL
3621 };
3622
3623 arg1 = &temp1;
3624 arg2 = &temp2;
3625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3626 {
3627 PyThreadState* __tstate = wxPyBeginAllowThreads();
3628 wxDisplaySize(arg1,arg2);
3629
3630 wxPyEndAllowThreads(__tstate);
3631 if (PyErr_Occurred()) SWIG_fail;
3632 }
3633 Py_INCREF(Py_None); resultobj = Py_None;
3634 {
3635 PyObject *o = PyInt_FromLong((long) (*arg1));
3636 resultobj = t_output_helper(resultobj,o);
3637 }
3638 {
3639 PyObject *o = PyInt_FromLong((long) (*arg2));
3640 resultobj = t_output_helper(resultobj,o);
3641 }
3642 return resultobj;
3643 fail:
3644 return NULL;
3645}
3646
3647
3648static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3649 PyObject *resultobj;
3650 wxSize result;
3651 char *kwnames[] = {
3652 NULL
3653 };
3654
3655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3656 {
3657 PyThreadState* __tstate = wxPyBeginAllowThreads();
3658 result = wxGetDisplaySize();
3659
3660 wxPyEndAllowThreads(__tstate);
3661 if (PyErr_Occurred()) SWIG_fail;
3662 }
3663 {
3664 wxSize * resultptr;
3665 resultptr = new wxSize((wxSize &) result);
3666 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3667 }
3668 return resultobj;
3669 fail:
3670 return NULL;
3671}
3672
3673
3674static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3675 PyObject *resultobj;
3676 int *arg1 = (int *) 0 ;
3677 int *arg2 = (int *) 0 ;
3678 int temp1 ;
3679 int temp2 ;
3680 char *kwnames[] = {
3681 NULL
3682 };
3683
3684 arg1 = &temp1;
3685 arg2 = &temp2;
3686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3687 {
3688 PyThreadState* __tstate = wxPyBeginAllowThreads();
3689 wxDisplaySizeMM(arg1,arg2);
3690
3691 wxPyEndAllowThreads(__tstate);
3692 if (PyErr_Occurred()) SWIG_fail;
3693 }
3694 Py_INCREF(Py_None); resultobj = Py_None;
3695 {
3696 PyObject *o = PyInt_FromLong((long) (*arg1));
3697 resultobj = t_output_helper(resultobj,o);
3698 }
3699 {
3700 PyObject *o = PyInt_FromLong((long) (*arg2));
3701 resultobj = t_output_helper(resultobj,o);
3702 }
3703 return resultobj;
3704 fail:
3705 return NULL;
3706}
3707
3708
3709static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3710 PyObject *resultobj;
3711 wxSize result;
3712 char *kwnames[] = {
3713 NULL
3714 };
3715
3716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3717 {
3718 PyThreadState* __tstate = wxPyBeginAllowThreads();
3719 result = wxGetDisplaySizeMM();
3720
3721 wxPyEndAllowThreads(__tstate);
3722 if (PyErr_Occurred()) SWIG_fail;
3723 }
3724 {
3725 wxSize * resultptr;
3726 resultptr = new wxSize((wxSize &) result);
3727 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3728 }
3729 return resultobj;
3730 fail:
3731 return NULL;
3732}
3733
3734
3735static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3736 PyObject *resultobj;
3737 int *arg1 = (int *) 0 ;
3738 int *arg2 = (int *) 0 ;
3739 int *arg3 = (int *) 0 ;
3740 int *arg4 = (int *) 0 ;
3741 int temp1 ;
3742 int temp2 ;
3743 int temp3 ;
3744 int temp4 ;
3745 char *kwnames[] = {
3746 NULL
3747 };
3748
3749 arg1 = &temp1;
3750 arg2 = &temp2;
3751 arg3 = &temp3;
3752 arg4 = &temp4;
3753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3754 {
3755 PyThreadState* __tstate = wxPyBeginAllowThreads();
3756 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3757
3758 wxPyEndAllowThreads(__tstate);
3759 if (PyErr_Occurred()) SWIG_fail;
3760 }
3761 Py_INCREF(Py_None); resultobj = Py_None;
3762 {
3763 PyObject *o = PyInt_FromLong((long) (*arg1));
3764 resultobj = t_output_helper(resultobj,o);
3765 }
3766 {
3767 PyObject *o = PyInt_FromLong((long) (*arg2));
3768 resultobj = t_output_helper(resultobj,o);
3769 }
3770 {
3771 PyObject *o = PyInt_FromLong((long) (*arg3));
3772 resultobj = t_output_helper(resultobj,o);
3773 }
3774 {
3775 PyObject *o = PyInt_FromLong((long) (*arg4));
3776 resultobj = t_output_helper(resultobj,o);
3777 }
3778 return resultobj;
3779 fail:
3780 return NULL;
3781}
3782
3783
3784static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3785 PyObject *resultobj;
3786 wxRect result;
3787 char *kwnames[] = {
3788 NULL
3789 };
3790
3791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3792 {
3793 PyThreadState* __tstate = wxPyBeginAllowThreads();
3794 result = wxGetClientDisplayRect();
3795
3796 wxPyEndAllowThreads(__tstate);
3797 if (PyErr_Occurred()) SWIG_fail;
3798 }
3799 {
3800 wxRect * resultptr;
3801 resultptr = new wxRect((wxRect &) result);
3802 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3803 }
3804 return resultobj;
3805 fail:
3806 return NULL;
3807}
3808
3809
3810static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3811 PyObject *resultobj;
3812 wxCursor *arg1 = 0 ;
3813 PyObject * obj0 = 0 ;
3814 char *kwnames[] = {
3815 (char *) "cursor", NULL
3816 };
3817
3818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3820 if (arg1 == NULL) {
3821 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3822 }
3823 {
3824 PyThreadState* __tstate = wxPyBeginAllowThreads();
3825 wxSetCursor(*arg1);
3826
3827 wxPyEndAllowThreads(__tstate);
3828 if (PyErr_Occurred()) SWIG_fail;
3829 }
3830 Py_INCREF(Py_None); resultobj = Py_None;
3831 return resultobj;
3832 fail:
3833 return NULL;
3834}
3835
3836
3837static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3838 PyObject *resultobj;
3839 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3840 PyObject * obj0 = 0 ;
3841 char *kwnames[] = {
3842 (char *) "cursor", NULL
3843 };
3844
3845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3846 if (obj0) {
3847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3848 }
3849 {
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 wxBeginBusyCursor(arg1);
3852
3853 wxPyEndAllowThreads(__tstate);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
3856 Py_INCREF(Py_None); resultobj = Py_None;
3857 return resultobj;
3858 fail:
3859 return NULL;
3860}
3861
3862
3863static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3864 PyObject *resultobj;
3865 wxWindow *result;
3866 char *kwnames[] = {
3867 NULL
3868 };
3869
3870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
3871 {
3872 PyThreadState* __tstate = wxPyBeginAllowThreads();
3873 result = (wxWindow *)wxGetActiveWindow();
3874
3875 wxPyEndAllowThreads(__tstate);
3876 if (PyErr_Occurred()) SWIG_fail;
3877 }
3878 {
3879 resultobj = wxPyMake_wxObject(result);
3880 }
3881 return resultobj;
3882 fail:
3883 return NULL;
3884}
3885
3886
3887static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3888 PyObject *resultobj;
3889 wxPoint *arg1 = 0 ;
3890 wxWindow *result;
3891 wxPoint temp1 ;
3892 PyObject * obj0 = 0 ;
3893 char *kwnames[] = {
3894 (char *) "pt", NULL
3895 };
3896
3897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
3898 {
3899 arg1 = &temp1;
3900 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3901 }
3902 {
3903 PyThreadState* __tstate = wxPyBeginAllowThreads();
3904 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
3905
3906 wxPyEndAllowThreads(__tstate);
3907 if (PyErr_Occurred()) SWIG_fail;
3908 }
3909 {
3910 resultobj = wxPyMake_wxObject(result);
3911 }
3912 return resultobj;
3913 fail:
3914 return NULL;
3915}
3916
3917
3918static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3919 PyObject *resultobj;
3920 wxPoint *arg1 = 0 ;
3921 wxWindow *result;
3922 wxPoint temp1 ;
3923 PyObject * obj0 = 0 ;
3924 char *kwnames[] = {
3925 (char *) "pt", NULL
3926 };
3927
3928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
3929 {
3930 arg1 = &temp1;
3931 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3932 }
3933 {
3934 PyThreadState* __tstate = wxPyBeginAllowThreads();
3935 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
3936
3937 wxPyEndAllowThreads(__tstate);
3938 if (PyErr_Occurred()) SWIG_fail;
3939 }
3940 {
3941 resultobj = wxPyMake_wxObject(result);
3942 }
3943 return resultobj;
3944 fail:
3945 return NULL;
3946}
3947
3948
3949static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3950 PyObject *resultobj;
3951 wxWindow *arg1 = (wxWindow *) 0 ;
3952 wxWindow *result;
3953 PyObject * obj0 = 0 ;
3954 char *kwnames[] = {
3955 (char *) "win", NULL
3956 };
3957
3958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
3959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3960 {
3961 PyThreadState* __tstate = wxPyBeginAllowThreads();
3962 result = (wxWindow *)wxGetTopLevelParent(arg1);
3963
3964 wxPyEndAllowThreads(__tstate);
3965 if (PyErr_Occurred()) SWIG_fail;
3966 }
3967 {
3968 resultobj = wxPyMake_wxObject(result);
3969 }
3970 return resultobj;
3971 fail:
3972 return NULL;
3973}
3974
3975
d03fd34d
RD
3976static PyObject *_wrap_GetKeyState(PyObject *self, PyObject *args, PyObject *kwargs) {
3977 PyObject *resultobj;
3978 int arg1 ;
3979 bool result;
8edf1c75 3980 PyObject * obj0 = 0 ;
d03fd34d
RD
3981 char *kwnames[] = {
3982 (char *) "key", NULL
3983 };
3984
8edf1c75
RD
3985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
3986 {
3987 arg1 = (wxKeyCode) SWIG_PyObj_AsInt(obj0);
3988 if (PyErr_Occurred()) SWIG_fail;
3989 }
d03fd34d
RD
3990 {
3991 PyThreadState* __tstate = wxPyBeginAllowThreads();
3992 result = (bool)wxGetKeyState((wxKeyCode )arg1);
3993
3994 wxPyEndAllowThreads(__tstate);
3995 if (PyErr_Occurred()) SWIG_fail;
3996 }
4e760a36 3997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d03fd34d
RD
3998 return resultobj;
3999 fail:
4000 return NULL;
4001}
4002
4003
d14a1e28
RD
4004static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
4005 PyObject *resultobj;
4006 char *kwnames[] = {
4007 NULL
4008 };
4009
4010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4011 {
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 wxWakeUpMainThread();
4014
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 Py_INCREF(Py_None); resultobj = Py_None;
4019 return resultobj;
4020 fail:
4021 return NULL;
4022}
4023
4024
4025static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
4026 PyObject *resultobj;
4027 char *kwnames[] = {
4028 NULL
4029 };
4030
4031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4032 {
4033 PyThreadState* __tstate = wxPyBeginAllowThreads();
4034 wxMutexGuiEnter();
4035
4036 wxPyEndAllowThreads(__tstate);
4037 if (PyErr_Occurred()) SWIG_fail;
4038 }
4039 Py_INCREF(Py_None); resultobj = Py_None;
4040 return resultobj;
4041 fail:
4042 return NULL;
4043}
4044
4045
4046static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
4047 PyObject *resultobj;
4048 char *kwnames[] = {
4049 NULL
4050 };
4051
4052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4053 {
4054 PyThreadState* __tstate = wxPyBeginAllowThreads();
4055 wxMutexGuiLeave();
4056
4057 wxPyEndAllowThreads(__tstate);
4058 if (PyErr_Occurred()) SWIG_fail;
4059 }
4060 Py_INCREF(Py_None); resultobj = Py_None;
4061 return resultobj;
4062 fail:
4063 return NULL;
4064}
4065
4066
4067static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4068 PyObject *resultobj;
4069 wxMutexGuiLocker *result;
4070 char *kwnames[] = {
4071 NULL
4072 };
4073
4074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4075 {
4076 PyThreadState* __tstate = wxPyBeginAllowThreads();
4077 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4078
4079 wxPyEndAllowThreads(__tstate);
4080 if (PyErr_Occurred()) SWIG_fail;
4081 }
4082 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMutexGuiLocker, 1);
4083 return resultobj;
4084 fail:
4085 return NULL;
4086}
4087
4088
4089static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4090 PyObject *resultobj;
4091 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4092 PyObject * obj0 = 0 ;
4093 char *kwnames[] = {
4094 (char *) "self", NULL
4095 };
4096
4097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
4098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMutexGuiLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4099 {
4100 PyThreadState* __tstate = wxPyBeginAllowThreads();
4101 delete arg1;
4102
4103 wxPyEndAllowThreads(__tstate);
4104 if (PyErr_Occurred()) SWIG_fail;
4105 }
4106 Py_INCREF(Py_None); resultobj = Py_None;
4107 return resultobj;
4108 fail:
4109 return NULL;
4110}
4111
4112
4113static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
4114 PyObject *obj;
4115 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4116 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4117 Py_INCREF(obj);
4118 return Py_BuildValue((char *)"");
4119}
4120static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
4121 PyObject *resultobj;
4122 bool result;
4123 char *kwnames[] = {
4124 NULL
4125 };
4126
4127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4128 {
4129 PyThreadState* __tstate = wxPyBeginAllowThreads();
4130 result = (bool)wxThread_IsMain();
4131
4132 wxPyEndAllowThreads(__tstate);
4133 if (PyErr_Occurred()) SWIG_fail;
4134 }
4e760a36 4135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4136 return resultobj;
4137 fail:
4138 return NULL;
4139}
4140
4141
4142static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4143 PyObject *resultobj;
4144 wxString *arg1 = 0 ;
4145 wxToolTip *result;
423f194a 4146 bool temp1 = False ;
d14a1e28
RD
4147 PyObject * obj0 = 0 ;
4148 char *kwnames[] = {
4149 (char *) "tip", NULL
4150 };
4151
4152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4153 {
4154 arg1 = wxString_in_helper(obj0);
4155 if (arg1 == NULL) SWIG_fail;
423f194a 4156 temp1 = True;
d14a1e28
RD
4157 }
4158 {
4159 PyThreadState* __tstate = wxPyBeginAllowThreads();
4160 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4161
4162 wxPyEndAllowThreads(__tstate);
4163 if (PyErr_Occurred()) SWIG_fail;
4164 }
4165 {
4166 resultobj = wxPyMake_wxObject(result);
4167 }
4168 {
4169 if (temp1)
4170 delete arg1;
4171 }
4172 return resultobj;
4173 fail:
4174 {
4175 if (temp1)
4176 delete arg1;
4177 }
4178 return NULL;
4179}
4180
4181
4182static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4183 PyObject *resultobj;
4184 wxToolTip *arg1 = (wxToolTip *) 0 ;
4185 wxString *arg2 = 0 ;
423f194a 4186 bool temp2 = False ;
d14a1e28
RD
4187 PyObject * obj0 = 0 ;
4188 PyObject * obj1 = 0 ;
4189 char *kwnames[] = {
4190 (char *) "self",(char *) "tip", NULL
4191 };
4192
4193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
4194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4195 {
4196 arg2 = wxString_in_helper(obj1);
4197 if (arg2 == NULL) SWIG_fail;
423f194a 4198 temp2 = True;
d14a1e28
RD
4199 }
4200 {
4201 PyThreadState* __tstate = wxPyBeginAllowThreads();
4202 (arg1)->SetTip((wxString const &)*arg2);
4203
4204 wxPyEndAllowThreads(__tstate);
4205 if (PyErr_Occurred()) SWIG_fail;
4206 }
4207 Py_INCREF(Py_None); resultobj = Py_None;
4208 {
4209 if (temp2)
4210 delete arg2;
4211 }
4212 return resultobj;
4213 fail:
4214 {
4215 if (temp2)
4216 delete arg2;
4217 }
4218 return NULL;
4219}
4220
4221
4222static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4223 PyObject *resultobj;
4224 wxToolTip *arg1 = (wxToolTip *) 0 ;
4225 wxString result;
4226 PyObject * obj0 = 0 ;
4227 char *kwnames[] = {
4228 (char *) "self", NULL
4229 };
4230
4231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
4232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4233 {
4234 PyThreadState* __tstate = wxPyBeginAllowThreads();
4235 result = (arg1)->GetTip();
4236
4237 wxPyEndAllowThreads(__tstate);
4238 if (PyErr_Occurred()) SWIG_fail;
4239 }
4240 {
4241#if wxUSE_UNICODE
4242 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4243#else
4244 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4245#endif
4246 }
4247 return resultobj;
4248 fail:
4249 return NULL;
4250}
4251
4252
4253static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4254 PyObject *resultobj;
4255 wxToolTip *arg1 = (wxToolTip *) 0 ;
4256 wxWindow *result;
4257 PyObject * obj0 = 0 ;
4258 char *kwnames[] = {
4259 (char *) "self", NULL
4260 };
4261
4262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
4263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4264 {
4265 PyThreadState* __tstate = wxPyBeginAllowThreads();
4266 result = (wxWindow *)(arg1)->GetWindow();
4267
4268 wxPyEndAllowThreads(__tstate);
4269 if (PyErr_Occurred()) SWIG_fail;
4270 }
4271 {
4272 resultobj = wxPyMake_wxObject(result);
4273 }
4274 return resultobj;
4275 fail:
4276 return NULL;
4277}
4278
4279
4280static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
4281 PyObject *resultobj;
4282 bool arg1 ;
4283 PyObject * obj0 = 0 ;
4284 char *kwnames[] = {
4285 (char *) "flag", NULL
4286 };
4287
4288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
83448d71 4289 {
8edf1c75 4290 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
83448d71
RD
4291 if (PyErr_Occurred()) SWIG_fail;
4292 }
d14a1e28
RD
4293 {
4294 PyThreadState* __tstate = wxPyBeginAllowThreads();
4295 wxToolTip::Enable(arg1);
4296
4297 wxPyEndAllowThreads(__tstate);
4298 if (PyErr_Occurred()) SWIG_fail;
4299 }
4300 Py_INCREF(Py_None); resultobj = Py_None;
4301 return resultobj;
4302 fail:
4303 return NULL;
4304}
4305
4306
4307static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
4308 PyObject *resultobj;
4309 long arg1 ;
8edf1c75 4310 PyObject * obj0 = 0 ;
d14a1e28
RD
4311 char *kwnames[] = {
4312 (char *) "milliseconds", NULL
4313 };
4314
8edf1c75
RD
4315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
4316 {
4317 arg1 = (long) SWIG_PyObj_AsLong(obj0);
4318 if (PyErr_Occurred()) SWIG_fail;
4319 }
d14a1e28
RD
4320 {
4321 PyThreadState* __tstate = wxPyBeginAllowThreads();
4322 wxToolTip::SetDelay(arg1);
4323
4324 wxPyEndAllowThreads(__tstate);
4325 if (PyErr_Occurred()) SWIG_fail;
4326 }
4327 Py_INCREF(Py_None); resultobj = Py_None;
4328 return resultobj;
4329 fail:
4330 return NULL;
4331}
4332
4333
4334static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
4335 PyObject *obj;
4336 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4337 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4338 Py_INCREF(obj);
4339 return Py_BuildValue((char *)"");
4340}
4341static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4342 PyObject *resultobj;
4343 wxWindow *arg1 = (wxWindow *) 0 ;
4344 wxSize *arg2 = 0 ;
4345 wxCaret *result;
4346 wxSize temp2 ;
4347 PyObject * obj0 = 0 ;
4348 PyObject * obj1 = 0 ;
4349 char *kwnames[] = {
4350 (char *) "window",(char *) "size", NULL
4351 };
4352
4353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4355 {
4356 arg2 = &temp2;
4357 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4358 }
4359 {
4360 PyThreadState* __tstate = wxPyBeginAllowThreads();
4361 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4362
4363 wxPyEndAllowThreads(__tstate);
4364 if (PyErr_Occurred()) SWIG_fail;
4365 }
4366 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 1);
4367 return resultobj;
4368 fail:
4369 return NULL;
4370}
4371
4372
4373static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4374 PyObject *resultobj;
4375 wxCaret *arg1 = (wxCaret *) 0 ;
4376 PyObject * obj0 = 0 ;
4377 char *kwnames[] = {
4378 (char *) "self", NULL
4379 };
4380
4381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4383 {
4384 PyThreadState* __tstate = wxPyBeginAllowThreads();
4385 delete arg1;
4386
4387 wxPyEndAllowThreads(__tstate);
4388 if (PyErr_Occurred()) SWIG_fail;
4389 }
4390 Py_INCREF(Py_None); resultobj = Py_None;
4391 return resultobj;
4392 fail:
4393 return NULL;
4394}
4395
4396
4397static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4398 PyObject *resultobj;
4399 wxCaret *arg1 = (wxCaret *) 0 ;
4400 bool result;
4401 PyObject * obj0 = 0 ;
4402 char *kwnames[] = {
4403 (char *) "self", NULL
4404 };
4405
4406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4408 {
4409 PyThreadState* __tstate = wxPyBeginAllowThreads();
4410 result = (bool)(arg1)->IsOk();
4411
4412 wxPyEndAllowThreads(__tstate);
4413 if (PyErr_Occurred()) SWIG_fail;
4414 }
4e760a36 4415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4416 return resultobj;
4417 fail:
4418 return NULL;
4419}
4420
4421
4422static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4423 PyObject *resultobj;
4424 wxCaret *arg1 = (wxCaret *) 0 ;
4425 bool result;
4426 PyObject * obj0 = 0 ;
4427 char *kwnames[] = {
4428 (char *) "self", NULL
4429 };
4430
4431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4433 {
4434 PyThreadState* __tstate = wxPyBeginAllowThreads();
4435 result = (bool)(arg1)->IsVisible();
4436
4437 wxPyEndAllowThreads(__tstate);
4438 if (PyErr_Occurred()) SWIG_fail;
4439 }
4e760a36 4440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4441 return resultobj;
4442 fail:
4443 return NULL;
4444}
4445
4446
44127b65
RD
4447static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4448 PyObject *resultobj;
4449 wxCaret *arg1 = (wxCaret *) 0 ;
4450 wxPoint result;
4451 PyObject * obj0 = 0 ;
4452 char *kwnames[] = {
4453 (char *) "self", NULL
4454 };
4455
4456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4458 {
4459 PyThreadState* __tstate = wxPyBeginAllowThreads();
4460 result = (arg1)->GetPosition();
4461
4462 wxPyEndAllowThreads(__tstate);
4463 if (PyErr_Occurred()) SWIG_fail;
4464 }
4465 {
4466 wxPoint * resultptr;
4467 resultptr = new wxPoint((wxPoint &) result);
4468 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4469 }
4470 return resultobj;
4471 fail:
4472 return NULL;
4473}
4474
4475
d14a1e28
RD
4476static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4477 PyObject *resultobj;
4478 wxCaret *arg1 = (wxCaret *) 0 ;
4479 int *arg2 = (int *) 0 ;
4480 int *arg3 = (int *) 0 ;
4481 int temp2 ;
4482 int temp3 ;
4483 PyObject * obj0 = 0 ;
4484 char *kwnames[] = {
4485 (char *) "self", NULL
4486 };
4487
4488 arg2 = &temp2;
4489 arg3 = &temp3;
4490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4492 {
4493 PyThreadState* __tstate = wxPyBeginAllowThreads();
4494 (arg1)->GetPosition(arg2,arg3);
4495
4496 wxPyEndAllowThreads(__tstate);
4497 if (PyErr_Occurred()) SWIG_fail;
4498 }
4499 Py_INCREF(Py_None); resultobj = Py_None;
4500 {
4501 PyObject *o = PyInt_FromLong((long) (*arg2));
4502 resultobj = t_output_helper(resultobj,o);
4503 }
4504 {
4505 PyObject *o = PyInt_FromLong((long) (*arg3));
4506 resultobj = t_output_helper(resultobj,o);
4507 }
4508 return resultobj;
4509 fail:
4510 return NULL;
4511}
4512
4513
44127b65 4514static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4515 PyObject *resultobj;
4516 wxCaret *arg1 = (wxCaret *) 0 ;
44127b65 4517 wxSize result;
d14a1e28
RD
4518 PyObject * obj0 = 0 ;
4519 char *kwnames[] = {
4520 (char *) "self", NULL
4521 };
4522
44127b65 4523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
d14a1e28
RD
4524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4525 {
4526 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 4527 result = (arg1)->GetSize();
d14a1e28
RD
4528
4529 wxPyEndAllowThreads(__tstate);
4530 if (PyErr_Occurred()) SWIG_fail;
4531 }
4532 {
44127b65
RD
4533 wxSize * resultptr;
4534 resultptr = new wxSize((wxSize &) result);
4535 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
4536 }
4537 return resultobj;
4538 fail:
4539 return NULL;
4540}
4541
4542
4543static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4544 PyObject *resultobj;
4545 wxCaret *arg1 = (wxCaret *) 0 ;
4546 int *arg2 = (int *) 0 ;
4547 int *arg3 = (int *) 0 ;
4548 int temp2 ;
4549 int temp3 ;
4550 PyObject * obj0 = 0 ;
4551 char *kwnames[] = {
4552 (char *) "self", NULL
4553 };
4554
4555 arg2 = &temp2;
4556 arg3 = &temp3;
4557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4559 {
4560 PyThreadState* __tstate = wxPyBeginAllowThreads();
4561 (arg1)->GetSize(arg2,arg3);
4562
4563 wxPyEndAllowThreads(__tstate);
4564 if (PyErr_Occurred()) SWIG_fail;
4565 }
4566 Py_INCREF(Py_None); resultobj = Py_None;
4567 {
4568 PyObject *o = PyInt_FromLong((long) (*arg2));
4569 resultobj = t_output_helper(resultobj,o);
4570 }
4571 {
4572 PyObject *o = PyInt_FromLong((long) (*arg3));
4573 resultobj = t_output_helper(resultobj,o);
4574 }
4575 return resultobj;
4576 fail:
4577 return NULL;
4578}
4579
4580
d14a1e28
RD
4581static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4582 PyObject *resultobj;
4583 wxCaret *arg1 = (wxCaret *) 0 ;
4584 wxWindow *result;
4585 PyObject * obj0 = 0 ;
4586 char *kwnames[] = {
4587 (char *) "self", NULL
4588 };
4589
4590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4592 {
4593 PyThreadState* __tstate = wxPyBeginAllowThreads();
4594 result = (wxWindow *)(arg1)->GetWindow();
4595
4596 wxPyEndAllowThreads(__tstate);
4597 if (PyErr_Occurred()) SWIG_fail;
4598 }
4599 {
4600 resultobj = wxPyMake_wxObject(result);
4601 }
4602 return resultobj;
4603 fail:
4604 return NULL;
4605}
4606
4607
4608static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4609 PyObject *resultobj;
4610 wxCaret *arg1 = (wxCaret *) 0 ;
4611 int arg2 ;
4612 int arg3 ;
4613 PyObject * obj0 = 0 ;
8edf1c75
RD
4614 PyObject * obj1 = 0 ;
4615 PyObject * obj2 = 0 ;
d14a1e28
RD
4616 char *kwnames[] = {
4617 (char *) "self",(char *) "x",(char *) "y", NULL
4618 };
4619
8edf1c75 4620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 4621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
4622 {
4623 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4624 if (PyErr_Occurred()) SWIG_fail;
4625 }
4626 {
4627 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4628 if (PyErr_Occurred()) SWIG_fail;
4629 }
d14a1e28
RD
4630 {
4631 PyThreadState* __tstate = wxPyBeginAllowThreads();
4632 (arg1)->Move(arg2,arg3);
4633
4634 wxPyEndAllowThreads(__tstate);
4635 if (PyErr_Occurred()) SWIG_fail;
4636 }
4637 Py_INCREF(Py_None); resultobj = Py_None;
4638 return resultobj;
4639 fail:
4640 return NULL;
4641}
4642
4643
4644static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4645 PyObject *resultobj;
4646 wxCaret *arg1 = (wxCaret *) 0 ;
4647 wxPoint *arg2 = 0 ;
4648 wxPoint temp2 ;
4649 PyObject * obj0 = 0 ;
4650 PyObject * obj1 = 0 ;
4651 char *kwnames[] = {
4652 (char *) "self",(char *) "pt", NULL
4653 };
4654
4655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4657 {
4658 arg2 = &temp2;
4659 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4660 }
4661 {
4662 PyThreadState* __tstate = wxPyBeginAllowThreads();
4663 (arg1)->Move((wxPoint const &)*arg2);
4664
4665 wxPyEndAllowThreads(__tstate);
4666 if (PyErr_Occurred()) SWIG_fail;
4667 }
4668 Py_INCREF(Py_None); resultobj = Py_None;
4669 return resultobj;
4670 fail:
4671 return NULL;
4672}
4673
4674
4675static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4676 PyObject *resultobj;
4677 wxCaret *arg1 = (wxCaret *) 0 ;
4678 int arg2 ;
4679 int arg3 ;
4680 PyObject * obj0 = 0 ;
8edf1c75
RD
4681 PyObject * obj1 = 0 ;
4682 PyObject * obj2 = 0 ;
d14a1e28
RD
4683 char *kwnames[] = {
4684 (char *) "self",(char *) "width",(char *) "height", NULL
4685 };
4686
8edf1c75 4687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 4688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
4689 {
4690 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4691 if (PyErr_Occurred()) SWIG_fail;
4692 }
4693 {
4694 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4695 if (PyErr_Occurred()) SWIG_fail;
4696 }
d14a1e28
RD
4697 {
4698 PyThreadState* __tstate = wxPyBeginAllowThreads();
4699 (arg1)->SetSize(arg2,arg3);
4700
4701 wxPyEndAllowThreads(__tstate);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 Py_INCREF(Py_None); resultobj = Py_None;
4705 return resultobj;
4706 fail:
4707 return NULL;
4708}
4709
4710
4711static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4712 PyObject *resultobj;
4713 wxCaret *arg1 = (wxCaret *) 0 ;
4714 wxSize *arg2 = 0 ;
4715 wxSize temp2 ;
4716 PyObject * obj0 = 0 ;
4717 PyObject * obj1 = 0 ;
4718 char *kwnames[] = {
4719 (char *) "self",(char *) "size", NULL
4720 };
4721
4722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4724 {
4725 arg2 = &temp2;
4726 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4727 }
4728 {
4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
4730 (arg1)->SetSize((wxSize const &)*arg2);
4731
4732 wxPyEndAllowThreads(__tstate);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 }
4735 Py_INCREF(Py_None); resultobj = Py_None;
4736 return resultobj;
4737 fail:
4738 return NULL;
4739}
4740
4741
4742static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4743 PyObject *resultobj;
4744 wxCaret *arg1 = (wxCaret *) 0 ;
423f194a 4745 int arg2 = (int) True ;
d14a1e28 4746 PyObject * obj0 = 0 ;
8edf1c75 4747 PyObject * obj1 = 0 ;
d14a1e28
RD
4748 char *kwnames[] = {
4749 (char *) "self",(char *) "show", NULL
4750 };
4751
8edf1c75 4752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 4753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
4754 if (obj1) {
4755 {
4756 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4757 if (PyErr_Occurred()) SWIG_fail;
4758 }
4759 }
d14a1e28
RD
4760 {
4761 PyThreadState* __tstate = wxPyBeginAllowThreads();
4762 (arg1)->Show(arg2);
4763
4764 wxPyEndAllowThreads(__tstate);
4765 if (PyErr_Occurred()) SWIG_fail;
4766 }
4767 Py_INCREF(Py_None); resultobj = Py_None;
4768 return resultobj;
4769 fail:
4770 return NULL;
4771}
4772
4773
4774static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4775 PyObject *resultobj;
4776 wxCaret *arg1 = (wxCaret *) 0 ;
4777 PyObject * obj0 = 0 ;
4778 char *kwnames[] = {
4779 (char *) "self", NULL
4780 };
4781
4782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4784 {
4785 PyThreadState* __tstate = wxPyBeginAllowThreads();
4786 (arg1)->Hide();
4787
4788 wxPyEndAllowThreads(__tstate);
4789 if (PyErr_Occurred()) SWIG_fail;
4790 }
4791 Py_INCREF(Py_None); resultobj = Py_None;
4792 return resultobj;
4793 fail:
4794 return NULL;
4795}
4796
4797
4798static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4799 PyObject *obj;
4800 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4801 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4802 Py_INCREF(obj);
4803 return Py_BuildValue((char *)"");
4804}
4805static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4806 PyObject *resultobj;
4807 int result;
4808 char *kwnames[] = {
4809 NULL
4810 };
4811
4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4813 {
4814 PyThreadState* __tstate = wxPyBeginAllowThreads();
4815 result = (int)wxCaret_GetBlinkTime();
4816
4817 wxPyEndAllowThreads(__tstate);
4818 if (PyErr_Occurred()) SWIG_fail;
4819 }
8edf1c75 4820 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
4821 return resultobj;
4822 fail:
4823 return NULL;
4824}
4825
4826
4827static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4828 PyObject *resultobj;
4829 int arg1 ;
8edf1c75 4830 PyObject * obj0 = 0 ;
d14a1e28
RD
4831 char *kwnames[] = {
4832 (char *) "milliseconds", NULL
4833 };
4834
8edf1c75
RD
4835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
4836 {
4837 arg1 = (int) SWIG_PyObj_AsInt(obj0);
4838 if (PyErr_Occurred()) SWIG_fail;
4839 }
d14a1e28
RD
4840 {
4841 PyThreadState* __tstate = wxPyBeginAllowThreads();
4842 wxCaret_SetBlinkTime(arg1);
4843
4844 wxPyEndAllowThreads(__tstate);
4845 if (PyErr_Occurred()) SWIG_fail;
4846 }
4847 Py_INCREF(Py_None); resultobj = Py_None;
4848 return resultobj;
4849 fail:
4850 return NULL;
4851}
4852
4853
4854static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4855 PyObject *resultobj;
4856 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4857 wxBusyCursor *result;
4858 PyObject * obj0 = 0 ;
4859 char *kwnames[] = {
4860 (char *) "cursor", NULL
4861 };
4862
4863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
4864 if (obj0) {
4865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4866 }
4867 {
4868 PyThreadState* __tstate = wxPyBeginAllowThreads();
4869 result = (wxBusyCursor *)new wxBusyCursor(arg1);
4870
4871 wxPyEndAllowThreads(__tstate);
4872 if (PyErr_Occurred()) SWIG_fail;
4873 }
4874 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyCursor, 1);
4875 return resultobj;
4876 fail:
4877 return NULL;
4878}
4879
4880
4881static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4882 PyObject *resultobj;
4883 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
4884 PyObject * obj0 = 0 ;
4885 char *kwnames[] = {
4886 (char *) "self", NULL
4887 };
4888
4889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
4890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4891 {
4892 PyThreadState* __tstate = wxPyBeginAllowThreads();
4893 delete arg1;
4894
4895 wxPyEndAllowThreads(__tstate);
4896 if (PyErr_Occurred()) SWIG_fail;
4897 }
4898 Py_INCREF(Py_None); resultobj = Py_None;
4899 return resultobj;
4900 fail:
4901 return NULL;
4902}
4903
4904
4905static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
4906 PyObject *obj;
4907 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4908 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
4909 Py_INCREF(obj);
4910 return Py_BuildValue((char *)"");
4911}
4912static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4913 PyObject *resultobj;
4914 wxWindow *arg1 = (wxWindow *) NULL ;
4915 wxWindowDisabler *result;
4916 PyObject * obj0 = 0 ;
4917 char *kwnames[] = {
4918 (char *) "winToSkip", NULL
4919 };
4920
4921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
4922 if (obj0) {
4923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4924 }
4925 {
4926 PyThreadState* __tstate = wxPyBeginAllowThreads();
4927 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
4928
4929 wxPyEndAllowThreads(__tstate);
4930 if (PyErr_Occurred()) SWIG_fail;
4931 }
4932 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDisabler, 1);
4933 return resultobj;
4934 fail:
4935 return NULL;
4936}
4937
4938
4939static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4940 PyObject *resultobj;
4941 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
4942 PyObject * obj0 = 0 ;
4943 char *kwnames[] = {
4944 (char *) "self", NULL
4945 };
4946
4947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
4948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4949 {
4950 PyThreadState* __tstate = wxPyBeginAllowThreads();
4951 delete arg1;
4952
4953 wxPyEndAllowThreads(__tstate);
4954 if (PyErr_Occurred()) SWIG_fail;
4955 }
4956 Py_INCREF(Py_None); resultobj = Py_None;
4957 return resultobj;
4958 fail:
4959 return NULL;
4960}
4961
4962
4963static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
4964 PyObject *obj;
4965 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4966 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
4967 Py_INCREF(obj);
4968 return Py_BuildValue((char *)"");
4969}
4970static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4971 PyObject *resultobj;
4972 wxString *arg1 = 0 ;
4973 wxBusyInfo *result;
423f194a 4974 bool temp1 = False ;
d14a1e28
RD
4975 PyObject * obj0 = 0 ;
4976 char *kwnames[] = {
4977 (char *) "message", NULL
4978 };
4979
4980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
4981 {
4982 arg1 = wxString_in_helper(obj0);
4983 if (arg1 == NULL) SWIG_fail;
423f194a 4984 temp1 = True;
d14a1e28
RD
4985 }
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
4989
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyInfo, 1);
4994 {
4995 if (temp1)
4996 delete arg1;
4997 }
4998 return resultobj;
4999 fail:
5000 {
5001 if (temp1)
5002 delete arg1;
5003 }
5004 return NULL;
5005}
5006
5007
5008static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5009 PyObject *resultobj;
5010 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5011 PyObject * obj0 = 0 ;
5012 char *kwnames[] = {
5013 (char *) "self", NULL
5014 };
5015
5016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
5017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5018 {
5019 PyThreadState* __tstate = wxPyBeginAllowThreads();
5020 delete arg1;
5021
5022 wxPyEndAllowThreads(__tstate);
5023 if (PyErr_Occurred()) SWIG_fail;
5024 }
5025 Py_INCREF(Py_None); resultobj = Py_None;
5026 return resultobj;
5027 fail:
5028 return NULL;
5029}
5030
5031
5032static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
5033 PyObject *obj;
5034 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5035 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5036 Py_INCREF(obj);
5037 return Py_BuildValue((char *)"");
5038}
5039static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
5040 PyObject *resultobj;
5041 wxStopWatch *result;
5042 char *kwnames[] = {
5043 NULL
5044 };
5045
5046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5047 {
5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5049 result = (wxStopWatch *)new wxStopWatch();
5050
5051 wxPyEndAllowThreads(__tstate);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 }
5054 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStopWatch, 1);
5055 return resultobj;
5056 fail:
5057 return NULL;
5058}
5059
5060
5061static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5062 PyObject *resultobj;
5063 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5064 long arg2 = (long) 0 ;
5065 PyObject * obj0 = 0 ;
8edf1c75 5066 PyObject * obj1 = 0 ;
d14a1e28
RD
5067 char *kwnames[] = {
5068 (char *) "self",(char *) "t0", NULL
5069 };
5070
8edf1c75 5071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5073 if (obj1) {
5074 {
5075 arg2 = (long) SWIG_PyObj_AsLong(obj1);
5076 if (PyErr_Occurred()) SWIG_fail;
5077 }
5078 }
d14a1e28
RD
5079 {
5080 PyThreadState* __tstate = wxPyBeginAllowThreads();
5081 (arg1)->Start(arg2);
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
5093static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
5094 PyObject *resultobj;
5095 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5096 PyObject * obj0 = 0 ;
5097 char *kwnames[] = {
5098 (char *) "self", NULL
5099 };
5100
5101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
5102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5103 {
5104 PyThreadState* __tstate = wxPyBeginAllowThreads();
5105 (arg1)->Pause();
5106
5107 wxPyEndAllowThreads(__tstate);
5108 if (PyErr_Occurred()) SWIG_fail;
5109 }
5110 Py_INCREF(Py_None); resultobj = Py_None;
5111 return resultobj;
5112 fail:
5113 return NULL;
5114}
5115
5116
5117static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
5118 PyObject *resultobj;
5119 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5120 PyObject * obj0 = 0 ;
5121 char *kwnames[] = {
5122 (char *) "self", NULL
5123 };
5124
5125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
5126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5127 {
5128 PyThreadState* __tstate = wxPyBeginAllowThreads();
5129 (arg1)->Resume();
5130
5131 wxPyEndAllowThreads(__tstate);
5132 if (PyErr_Occurred()) SWIG_fail;
5133 }
5134 Py_INCREF(Py_None); resultobj = Py_None;
5135 return resultobj;
5136 fail:
5137 return NULL;
5138}
5139
5140
5141static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
5142 PyObject *resultobj;
5143 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5144 long result;
5145 PyObject * obj0 = 0 ;
5146 char *kwnames[] = {
5147 (char *) "self", NULL
5148 };
5149
5150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
5151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5152 {
5153 PyThreadState* __tstate = wxPyBeginAllowThreads();
5154 result = (long)((wxStopWatch const *)arg1)->Time();
5155
5156 wxPyEndAllowThreads(__tstate);
5157 if (PyErr_Occurred()) SWIG_fail;
5158 }
8edf1c75 5159 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
5160 return resultobj;
5161 fail:
5162 return NULL;
5163}
5164
5165
5166static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
5167 PyObject *obj;
5168 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5169 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5170 Py_INCREF(obj);
5171 return Py_BuildValue((char *)"");
5172}
5173static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5174 PyObject *resultobj;
5175 int arg1 = (int) 9 ;
5176 wxFileHistory *result;
8edf1c75 5177 PyObject * obj0 = 0 ;
d14a1e28
RD
5178 char *kwnames[] = {
5179 (char *) "maxFiles", NULL
5180 };
5181
8edf1c75
RD
5182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FileHistory",kwnames,&obj0)) goto fail;
5183 if (obj0) {
5184 {
5185 arg1 = (int) SWIG_PyObj_AsInt(obj0);
5186 if (PyErr_Occurred()) SWIG_fail;
5187 }
5188 }
d14a1e28
RD
5189 {
5190 PyThreadState* __tstate = wxPyBeginAllowThreads();
5191 result = (wxFileHistory *)new wxFileHistory(arg1);
5192
5193 wxPyEndAllowThreads(__tstate);
5194 if (PyErr_Occurred()) SWIG_fail;
5195 }
5196 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileHistory, 1);
5197 return resultobj;
5198 fail:
5199 return NULL;
5200}
5201
5202
5203static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5204 PyObject *resultobj;
5205 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5206 PyObject * obj0 = 0 ;
5207 char *kwnames[] = {
5208 (char *) "self", NULL
5209 };
5210
5211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
5212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5213 {
5214 PyThreadState* __tstate = wxPyBeginAllowThreads();
5215 delete arg1;
5216
5217 wxPyEndAllowThreads(__tstate);
5218 if (PyErr_Occurred()) SWIG_fail;
5219 }
5220 Py_INCREF(Py_None); resultobj = Py_None;
5221 return resultobj;
5222 fail:
5223 return NULL;
5224}
5225
5226
5227static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5228 PyObject *resultobj;
5229 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5230 wxString *arg2 = 0 ;
423f194a 5231 bool temp2 = False ;
d14a1e28
RD
5232 PyObject * obj0 = 0 ;
5233 PyObject * obj1 = 0 ;
5234 char *kwnames[] = {
5235 (char *) "self",(char *) "file", NULL
5236 };
5237
5238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
5239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5240 {
5241 arg2 = wxString_in_helper(obj1);
5242 if (arg2 == NULL) SWIG_fail;
423f194a 5243 temp2 = True;
d14a1e28
RD
5244 }
5245 {
5246 PyThreadState* __tstate = wxPyBeginAllowThreads();
5247 (arg1)->AddFileToHistory((wxString const &)*arg2);
5248
5249 wxPyEndAllowThreads(__tstate);
5250 if (PyErr_Occurred()) SWIG_fail;
5251 }
5252 Py_INCREF(Py_None); resultobj = Py_None;
5253 {
5254 if (temp2)
5255 delete arg2;
5256 }
5257 return resultobj;
5258 fail:
5259 {
5260 if (temp2)
5261 delete arg2;
5262 }
5263 return NULL;
5264}
5265
5266
5267static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5268 PyObject *resultobj;
5269 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5270 int arg2 ;
5271 PyObject * obj0 = 0 ;
8edf1c75 5272 PyObject * obj1 = 0 ;
d14a1e28
RD
5273 char *kwnames[] = {
5274 (char *) "self",(char *) "i", NULL
5275 };
5276
8edf1c75 5277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5279 {
5280 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
d14a1e28
RD
5283 {
5284 PyThreadState* __tstate = wxPyBeginAllowThreads();
5285 (arg1)->RemoveFileFromHistory(arg2);
5286
5287 wxPyEndAllowThreads(__tstate);
5288 if (PyErr_Occurred()) SWIG_fail;
5289 }
5290 Py_INCREF(Py_None); resultobj = Py_None;
5291 return resultobj;
5292 fail:
5293 return NULL;
5294}
5295
5296
5297static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
5298 PyObject *resultobj;
5299 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5300 int result;
5301 PyObject * obj0 = 0 ;
5302 char *kwnames[] = {
5303 (char *) "self", NULL
5304 };
5305
5306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
5307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5308 {
5309 PyThreadState* __tstate = wxPyBeginAllowThreads();
5310 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5311
5312 wxPyEndAllowThreads(__tstate);
5313 if (PyErr_Occurred()) SWIG_fail;
5314 }
8edf1c75 5315 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
5316 return resultobj;
5317 fail:
5318 return NULL;
5319}
5320
5321
5322static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5323 PyObject *resultobj;
5324 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5325 wxMenu *arg2 = (wxMenu *) 0 ;
5326 PyObject * obj0 = 0 ;
5327 PyObject * obj1 = 0 ;
5328 char *kwnames[] = {
5329 (char *) "self",(char *) "menu", NULL
5330 };
5331
5332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
5333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5335 {
5336 PyThreadState* __tstate = wxPyBeginAllowThreads();
5337 (arg1)->UseMenu(arg2);
5338
5339 wxPyEndAllowThreads(__tstate);
5340 if (PyErr_Occurred()) SWIG_fail;
5341 }
5342 Py_INCREF(Py_None); resultobj = Py_None;
5343 return resultobj;
5344 fail:
5345 return NULL;
5346}
5347
5348
5349static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5350 PyObject *resultobj;
5351 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5352 wxMenu *arg2 = (wxMenu *) 0 ;
5353 PyObject * obj0 = 0 ;
5354 PyObject * obj1 = 0 ;
5355 char *kwnames[] = {
5356 (char *) "self",(char *) "menu", NULL
5357 };
5358
5359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
5360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5361 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5362 {
5363 PyThreadState* __tstate = wxPyBeginAllowThreads();
5364 (arg1)->RemoveMenu(arg2);
5365
5366 wxPyEndAllowThreads(__tstate);
5367 if (PyErr_Occurred()) SWIG_fail;
5368 }
5369 Py_INCREF(Py_None); resultobj = Py_None;
5370 return resultobj;
5371 fail:
5372 return NULL;
5373}
5374
5375
5376static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
5377 PyObject *resultobj;
5378 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5379 wxConfigBase *arg2 = 0 ;
5380 PyObject * obj0 = 0 ;
5381 PyObject * obj1 = 0 ;
5382 char *kwnames[] = {
5383 (char *) "self",(char *) "config", NULL
5384 };
5385
5386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
5387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5388 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5389 if (arg2 == NULL) {
5390 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5391 }
5392 {
5393 PyThreadState* __tstate = wxPyBeginAllowThreads();
5394 (arg1)->Load(*arg2);
5395
5396 wxPyEndAllowThreads(__tstate);
5397 if (PyErr_Occurred()) SWIG_fail;
5398 }
5399 Py_INCREF(Py_None); resultobj = Py_None;
5400 return resultobj;
5401 fail:
5402 return NULL;
5403}
5404
5405
5406static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5407 PyObject *resultobj;
5408 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5409 wxConfigBase *arg2 = 0 ;
5410 PyObject * obj0 = 0 ;
5411 PyObject * obj1 = 0 ;
5412 char *kwnames[] = {
5413 (char *) "self",(char *) "config", NULL
5414 };
5415
5416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5418 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5419 if (arg2 == NULL) {
5420 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5421 }
5422 {
5423 PyThreadState* __tstate = wxPyBeginAllowThreads();
5424 (arg1)->Save(*arg2);
5425
5426 wxPyEndAllowThreads(__tstate);
5427 if (PyErr_Occurred()) SWIG_fail;
5428 }
5429 Py_INCREF(Py_None); resultobj = Py_None;
5430 return resultobj;
5431 fail:
5432 return NULL;
5433}
5434
5435
5436static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5437 PyObject *resultobj;
5438 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5439 PyObject * obj0 = 0 ;
5440 char *kwnames[] = {
5441 (char *) "self", NULL
5442 };
5443
5444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5446 {
5447 PyThreadState* __tstate = wxPyBeginAllowThreads();
5448 (arg1)->AddFilesToMenu();
5449
5450 wxPyEndAllowThreads(__tstate);
5451 if (PyErr_Occurred()) SWIG_fail;
5452 }
5453 Py_INCREF(Py_None); resultobj = Py_None;
5454 return resultobj;
5455 fail:
5456 return NULL;
5457}
5458
5459
5460static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5461 PyObject *resultobj;
5462 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5463 wxMenu *arg2 = (wxMenu *) 0 ;
5464 PyObject * obj0 = 0 ;
5465 PyObject * obj1 = 0 ;
5466 char *kwnames[] = {
5467 (char *) "self",(char *) "menu", NULL
5468 };
5469
5470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5473 {
5474 PyThreadState* __tstate = wxPyBeginAllowThreads();
5475 (arg1)->AddFilesToMenu(arg2);
5476
5477 wxPyEndAllowThreads(__tstate);
5478 if (PyErr_Occurred()) SWIG_fail;
5479 }
5480 Py_INCREF(Py_None); resultobj = Py_None;
5481 return resultobj;
5482 fail:
5483 return NULL;
5484}
5485
5486
5487static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5488 PyObject *resultobj;
5489 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5490 int arg2 ;
5491 wxString result;
5492 PyObject * obj0 = 0 ;
8edf1c75 5493 PyObject * obj1 = 0 ;
d14a1e28
RD
5494 char *kwnames[] = {
5495 (char *) "self",(char *) "i", NULL
5496 };
5497
8edf1c75 5498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5500 {
5501 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5502 if (PyErr_Occurred()) SWIG_fail;
5503 }
d14a1e28
RD
5504 {
5505 PyThreadState* __tstate = wxPyBeginAllowThreads();
5506 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5507
5508 wxPyEndAllowThreads(__tstate);
5509 if (PyErr_Occurred()) SWIG_fail;
5510 }
5511 {
5512#if wxUSE_UNICODE
5513 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5514#else
5515 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5516#endif
5517 }
5518 return resultobj;
5519 fail:
5520 return NULL;
5521}
5522
5523
5524static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5525 PyObject *resultobj;
5526 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5527 int result;
5528 PyObject * obj0 = 0 ;
5529 char *kwnames[] = {
5530 (char *) "self", NULL
5531 };
5532
5533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5535 {
5536 PyThreadState* __tstate = wxPyBeginAllowThreads();
5537 result = (int)((wxFileHistory const *)arg1)->GetCount();
5538
5539 wxPyEndAllowThreads(__tstate);
5540 if (PyErr_Occurred()) SWIG_fail;
5541 }
8edf1c75 5542 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
5543 return resultobj;
5544 fail:
5545 return NULL;
5546}
5547
5548
5549static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5550 PyObject *obj;
5551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5552 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5553 Py_INCREF(obj);
5554 return Py_BuildValue((char *)"");
5555}
5556static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5557 PyObject *resultobj;
5558 wxString *arg1 = 0 ;
5559 wxString const &arg2_defvalue = wxPyEmptyString ;
5560 wxString *arg2 = (wxString *) &arg2_defvalue ;
5561 wxSingleInstanceChecker *result;
423f194a
RD
5562 bool temp1 = False ;
5563 bool temp2 = False ;
d14a1e28
RD
5564 PyObject * obj0 = 0 ;
5565 PyObject * obj1 = 0 ;
5566 char *kwnames[] = {
5567 (char *) "name",(char *) "path", NULL
5568 };
5569
5570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5571 {
5572 arg1 = wxString_in_helper(obj0);
5573 if (arg1 == NULL) SWIG_fail;
423f194a 5574 temp1 = True;
d14a1e28
RD
5575 }
5576 if (obj1) {
5577 {
5578 arg2 = wxString_in_helper(obj1);
5579 if (arg2 == NULL) SWIG_fail;
423f194a 5580 temp2 = True;
d14a1e28
RD
5581 }
5582 }
5583 {
5584 PyThreadState* __tstate = wxPyBeginAllowThreads();
5585 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5586
5587 wxPyEndAllowThreads(__tstate);
5588 if (PyErr_Occurred()) SWIG_fail;
5589 }
5590 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5591 {
5592 if (temp1)
5593 delete arg1;
5594 }
5595 {
5596 if (temp2)
5597 delete arg2;
5598 }
5599 return resultobj;
5600 fail:
5601 {
5602 if (temp1)
5603 delete arg1;
5604 }
5605 {
5606 if (temp2)
5607 delete arg2;
5608 }
5609 return NULL;
5610}
5611
5612
5613static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5614 PyObject *resultobj;
5615 wxSingleInstanceChecker *result;
5616 char *kwnames[] = {
5617 NULL
5618 };
5619
5620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5621 {
5622 PyThreadState* __tstate = wxPyBeginAllowThreads();
5623 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5624
5625 wxPyEndAllowThreads(__tstate);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 }
5628 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5629 return resultobj;
5630 fail:
5631 return NULL;
5632}
5633
5634
5635static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5636 PyObject *resultobj;
5637 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5638 PyObject * obj0 = 0 ;
5639 char *kwnames[] = {
5640 (char *) "self", NULL
5641 };
5642
5643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5645 {
5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
5647 delete arg1;
5648
5649 wxPyEndAllowThreads(__tstate);
5650 if (PyErr_Occurred()) SWIG_fail;
5651 }
5652 Py_INCREF(Py_None); resultobj = Py_None;
5653 return resultobj;
5654 fail:
5655 return NULL;
5656}
5657
5658
5659static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5660 PyObject *resultobj;
5661 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5662 wxString *arg2 = 0 ;
5663 wxString const &arg3_defvalue = wxPyEmptyString ;
5664 wxString *arg3 = (wxString *) &arg3_defvalue ;
5665 bool result;
423f194a
RD
5666 bool temp2 = False ;
5667 bool temp3 = False ;
d14a1e28
RD
5668 PyObject * obj0 = 0 ;
5669 PyObject * obj1 = 0 ;
5670 PyObject * obj2 = 0 ;
5671 char *kwnames[] = {
5672 (char *) "self",(char *) "name",(char *) "path", NULL
5673 };
5674
5675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5677 {
5678 arg2 = wxString_in_helper(obj1);
5679 if (arg2 == NULL) SWIG_fail;
423f194a 5680 temp2 = True;
d14a1e28
RD
5681 }
5682 if (obj2) {
5683 {
5684 arg3 = wxString_in_helper(obj2);
5685 if (arg3 == NULL) SWIG_fail;
423f194a 5686 temp3 = True;
d14a1e28
RD
5687 }
5688 }
5689 {
5690 PyThreadState* __tstate = wxPyBeginAllowThreads();
5691 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5692
5693 wxPyEndAllowThreads(__tstate);
5694 if (PyErr_Occurred()) SWIG_fail;
5695 }
4e760a36 5696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5697 {
5698 if (temp2)
5699 delete arg2;
5700 }
5701 {
5702 if (temp3)
5703 delete arg3;
5704 }
5705 return resultobj;
5706 fail:
5707 {
5708 if (temp2)
5709 delete arg2;
5710 }
5711 {
5712 if (temp3)
5713 delete arg3;
5714 }
5715 return NULL;
5716}
5717
5718
5719static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5720 PyObject *resultobj;
5721 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5722 bool result;
5723 PyObject * obj0 = 0 ;
5724 char *kwnames[] = {
5725 (char *) "self", NULL
5726 };
5727
5728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5730 {
5731 PyThreadState* __tstate = wxPyBeginAllowThreads();
5732 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5733
5734 wxPyEndAllowThreads(__tstate);
5735 if (PyErr_Occurred()) SWIG_fail;
5736 }
4e760a36 5737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5738 return resultobj;
5739 fail:
5740 return NULL;
5741}
5742
5743
5744static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5745 PyObject *obj;
5746 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5747 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5748 Py_INCREF(obj);
5749 return Py_BuildValue((char *)"");
5750}
5751static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5752 PyObject *resultobj;
5753 wxWindow *arg1 = (wxWindow *) 0 ;
5754 wxDC *arg2 = 0 ;
5755 int arg3 ;
5756 PyObject * obj0 = 0 ;
5757 PyObject * obj1 = 0 ;
8edf1c75 5758 PyObject * obj2 = 0 ;
d14a1e28
RD
5759 char *kwnames[] = {
5760 (char *) "window",(char *) "dc",(char *) "method", NULL
5761 };
5762
8edf1c75 5763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
5764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5765 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5766 if (arg2 == NULL) {
5767 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5768 }
8edf1c75
RD
5769 {
5770 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5771 if (PyErr_Occurred()) SWIG_fail;
5772 }
d14a1e28
RD
5773 {
5774 PyThreadState* __tstate = wxPyBeginAllowThreads();
5775 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5776
5777 wxPyEndAllowThreads(__tstate);
5778 if (PyErr_Occurred()) SWIG_fail;
5779 }
5780 Py_INCREF(Py_None); resultobj = Py_None;
5781 return resultobj;
5782 fail:
5783 return NULL;
5784}
5785
5786
5787static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5788 PyObject *resultobj;
5789 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5790 PyObject * obj0 = 0 ;
5791 char *kwnames[] = {
5792 (char *) "self", NULL
5793 };
5794
5795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5797 {
5798 PyThreadState* __tstate = wxPyBeginAllowThreads();
5799 delete arg1;
5800
5801 wxPyEndAllowThreads(__tstate);
5802 if (PyErr_Occurred()) SWIG_fail;
5803 }
5804 Py_INCREF(Py_None); resultobj = Py_None;
5805 return resultobj;
5806 fail:
5807 return NULL;
5808}
5809
5810
5811static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5812 PyObject *resultobj;
5813 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5814 wxString result;
5815 PyObject * obj0 = 0 ;
5816 char *kwnames[] = {
5817 (char *) "self", NULL
5818 };
5819
5820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
5821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5822 {
5823 PyThreadState* __tstate = wxPyBeginAllowThreads();
5824 result = (arg1)->GetTip();
5825
5826 wxPyEndAllowThreads(__tstate);
5827 if (PyErr_Occurred()) SWIG_fail;
5828 }
5829 {
5830#if wxUSE_UNICODE
5831 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5832#else
5833 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5834#endif
5835 }
5836 return resultobj;
5837 fail:
5838 return NULL;
5839}
5840
5841
5842static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5843 PyObject *resultobj;
5844 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5845 size_t result;
5846 PyObject * obj0 = 0 ;
5847 char *kwnames[] = {
5848 (char *) "self", NULL
5849 };
5850
5851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
5852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5853 {
5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
5855 result = (size_t)(arg1)->GetCurrentTip();
5856
5857 wxPyEndAllowThreads(__tstate);
5858 if (PyErr_Occurred()) SWIG_fail;
5859 }
8edf1c75 5860 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
5861 return resultobj;
5862 fail:
5863 return NULL;
5864}
5865
5866
5867static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5868 PyObject *resultobj;
5869 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5870 wxString *arg2 = 0 ;
5871 wxString result;
423f194a 5872 bool temp2 = False ;
d14a1e28
RD
5873 PyObject * obj0 = 0 ;
5874 PyObject * obj1 = 0 ;
5875 char *kwnames[] = {
5876 (char *) "self",(char *) "tip", NULL
5877 };
5878
5879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
5880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5881 {
5882 arg2 = wxString_in_helper(obj1);
5883 if (arg2 == NULL) SWIG_fail;
423f194a 5884 temp2 = True;
d14a1e28
RD
5885 }
5886 {
5887 PyThreadState* __tstate = wxPyBeginAllowThreads();
5888 result = (arg1)->PreprocessTip((wxString const &)*arg2);
5889
5890 wxPyEndAllowThreads(__tstate);
5891 if (PyErr_Occurred()) SWIG_fail;
5892 }
5893 {
5894#if wxUSE_UNICODE
5895 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5896#else
5897 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5898#endif
5899 }
5900 {
5901 if (temp2)
5902 delete arg2;
5903 }
5904 return resultobj;
5905 fail:
5906 {
5907 if (temp2)
5908 delete arg2;
5909 }
5910 return NULL;
5911}
5912
5913
5914static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
5915 PyObject *obj;
5916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5917 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
5918 Py_INCREF(obj);
5919 return Py_BuildValue((char *)"");
5920}
5921static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5922 PyObject *resultobj;
5923 size_t arg1 ;
5924 wxPyTipProvider *result;
5925 PyObject * obj0 = 0 ;
5926 char *kwnames[] = {
5927 (char *) "currentTip", NULL
5928 };
5929
5930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
83448d71 5931 {
8edf1c75 5932 arg1 = (size_t) SWIG_PyObj_AsUnsignedLong(obj0);
83448d71
RD
5933 if (PyErr_Occurred()) SWIG_fail;
5934 }
d14a1e28
RD
5935 {
5936 PyThreadState* __tstate = wxPyBeginAllowThreads();
5937 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
5938
5939 wxPyEndAllowThreads(__tstate);
5940 if (PyErr_Occurred()) SWIG_fail;
5941 }
5942 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTipProvider, 1);
5943 return resultobj;
5944 fail:
5945 return NULL;
5946}
5947
5948
5949static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5950 PyObject *resultobj;
5951 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
5952 PyObject *arg2 = (PyObject *) 0 ;
5953 PyObject *arg3 = (PyObject *) 0 ;
5954 PyObject * obj0 = 0 ;
5955 PyObject * obj1 = 0 ;
5956 PyObject * obj2 = 0 ;
5957 char *kwnames[] = {
5958 (char *) "self",(char *) "self",(char *) "_class", NULL
5959 };
5960
5961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5963 arg2 = obj1;
5964 arg3 = obj2;
5965 {
5966 PyThreadState* __tstate = wxPyBeginAllowThreads();
5967 (arg1)->_setCallbackInfo(arg2,arg3);
5968
5969 wxPyEndAllowThreads(__tstate);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 }
5972 Py_INCREF(Py_None); resultobj = Py_None;
5973 return resultobj;
5974 fail:
5975 return NULL;
5976}
5977
5978
5979static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
5980 PyObject *obj;
5981 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5982 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
5983 Py_INCREF(obj);
5984 return Py_BuildValue((char *)"");
5985}
5986static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5987 PyObject *resultobj;
5988 wxWindow *arg1 = (wxWindow *) 0 ;
5989 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
423f194a 5990 bool arg3 = (bool) True ;
d14a1e28
RD
5991 bool result;
5992 PyObject * obj0 = 0 ;
5993 PyObject * obj1 = 0 ;
5994 PyObject * obj2 = 0 ;
5995 char *kwnames[] = {
5996 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5997 };
5998
5999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
6000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6001 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6002 if (obj2) {
83448d71 6003 {
8edf1c75 6004 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
6005 if (PyErr_Occurred()) SWIG_fail;
6006 }
d14a1e28
RD
6007 }
6008 {
6009 PyThreadState* __tstate = wxPyBeginAllowThreads();
6010 result = (bool)wxShowTip(arg1,arg2,arg3);
6011
6012 wxPyEndAllowThreads(__tstate);
6013 if (PyErr_Occurred()) SWIG_fail;
6014 }
4e760a36 6015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6016 return resultobj;
6017 fail:
6018 return NULL;
6019}
6020
6021
6022static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6023 PyObject *resultobj;
6024 wxString *arg1 = 0 ;
6025 size_t arg2 ;
6026 wxTipProvider *result;
423f194a 6027 bool temp1 = False ;
d14a1e28
RD
6028 PyObject * obj0 = 0 ;
6029 PyObject * obj1 = 0 ;
6030 char *kwnames[] = {
6031 (char *) "filename",(char *) "currentTip", NULL
6032 };
6033
6034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6035 {
6036 arg1 = wxString_in_helper(obj0);
6037 if (arg1 == NULL) SWIG_fail;
423f194a 6038 temp1 = True;
d14a1e28 6039 }
83448d71 6040 {
8edf1c75 6041 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
83448d71
RD
6042 if (PyErr_Occurred()) SWIG_fail;
6043 }
d14a1e28
RD
6044 {
6045 PyThreadState* __tstate = wxPyBeginAllowThreads();
6046 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6047
6048 wxPyEndAllowThreads(__tstate);
6049 if (PyErr_Occurred()) SWIG_fail;
6050 }
6051 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipProvider, 1);
6052 {
6053 if (temp1)
6054 delete arg1;
6055 }
6056 return resultobj;
6057 fail:
6058 {
6059 if (temp1)
6060 delete arg1;
6061 }
6062 return NULL;
6063}
6064
6065
6066static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6067 PyObject *resultobj;
6068 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6069 int arg2 = (int) -1 ;
6070 wxPyTimer *result;
6071 PyObject * obj0 = 0 ;
8edf1c75 6072 PyObject * obj1 = 0 ;
d14a1e28
RD
6073 char *kwnames[] = {
6074 (char *) "owner",(char *) "id", NULL
6075 };
6076
8edf1c75 6077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
6078 if (obj0) {
6079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6080 }
8edf1c75
RD
6081 if (obj1) {
6082 {
6083 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6084 if (PyErr_Occurred()) SWIG_fail;
6085 }
6086 }
d14a1e28
RD
6087 {
6088 PyThreadState* __tstate = wxPyBeginAllowThreads();
6089 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6090
6091 wxPyEndAllowThreads(__tstate);
6092 if (PyErr_Occurred()) SWIG_fail;
6093 }
6094 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTimer, 1);
6095 return resultobj;
6096 fail:
6097 return NULL;
6098}
6099
6100
6101static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6102 PyObject *resultobj;
6103 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6104 PyObject * obj0 = 0 ;
6105 char *kwnames[] = {
6106 (char *) "self", NULL
6107 };
6108
6109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
6110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6111 {
6112 PyThreadState* __tstate = wxPyBeginAllowThreads();
6113 delete arg1;
6114
6115 wxPyEndAllowThreads(__tstate);
6116 if (PyErr_Occurred()) SWIG_fail;
6117 }
6118 Py_INCREF(Py_None); resultobj = Py_None;
6119 return resultobj;
6120 fail:
6121 return NULL;
6122}
6123
6124
44127b65
RD
6125static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6126 PyObject *resultobj;
6127 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6128 PyObject *arg2 = (PyObject *) 0 ;
6129 PyObject *arg3 = (PyObject *) 0 ;
6130 PyObject * obj0 = 0 ;
6131 PyObject * obj1 = 0 ;
6132 PyObject * obj2 = 0 ;
6133 char *kwnames[] = {
6134 (char *) "self",(char *) "self",(char *) "_class", NULL
6135 };
6136
6137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6139 arg2 = obj1;
6140 arg3 = obj2;
6141 {
6142 PyThreadState* __tstate = wxPyBeginAllowThreads();
6143 (arg1)->_setCallbackInfo(arg2,arg3);
6144
6145 wxPyEndAllowThreads(__tstate);
6146 if (PyErr_Occurred()) SWIG_fail;
6147 }
6148 Py_INCREF(Py_None); resultobj = Py_None;
6149 return resultobj;
6150 fail:
6151 return NULL;
6152}
6153
6154
d14a1e28
RD
6155static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
6156 PyObject *resultobj;
6157 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6158 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6159 int arg3 = (int) -1 ;
6160 PyObject * obj0 = 0 ;
6161 PyObject * obj1 = 0 ;
8edf1c75 6162 PyObject * obj2 = 0 ;
d14a1e28
RD
6163 char *kwnames[] = {
6164 (char *) "self",(char *) "owner",(char *) "id", NULL
6165 };
6166
8edf1c75 6167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
6168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6169 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6170 if (obj2) {
6171 {
6172 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6173 if (PyErr_Occurred()) SWIG_fail;
6174 }
6175 }
d14a1e28
RD
6176 {
6177 PyThreadState* __tstate = wxPyBeginAllowThreads();
6178 (arg1)->SetOwner(arg2,arg3);
6179
6180 wxPyEndAllowThreads(__tstate);
6181 if (PyErr_Occurred()) SWIG_fail;
6182 }
6183 Py_INCREF(Py_None); resultobj = Py_None;
6184 return resultobj;
6185 fail:
6186 return NULL;
6187}
6188
6189
6190static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6191 PyObject *resultobj;
6192 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6193 int arg2 = (int) -1 ;
423f194a 6194 bool arg3 = (bool) False ;
d14a1e28
RD
6195 bool result;
6196 PyObject * obj0 = 0 ;
8edf1c75 6197 PyObject * obj1 = 0 ;
d14a1e28
RD
6198 PyObject * obj2 = 0 ;
6199 char *kwnames[] = {
6200 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6201 };
6202
8edf1c75 6203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 6204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6205 if (obj1) {
6206 {
6207 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6208 if (PyErr_Occurred()) SWIG_fail;
6209 }
6210 }
d14a1e28 6211 if (obj2) {
83448d71 6212 {
8edf1c75 6213 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
6214 if (PyErr_Occurred()) SWIG_fail;
6215 }
d14a1e28
RD
6216 }
6217 {
6218 PyThreadState* __tstate = wxPyBeginAllowThreads();
6219 result = (bool)(arg1)->Start(arg2,arg3);
6220
6221 wxPyEndAllowThreads(__tstate);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
4e760a36 6224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6225 return resultobj;
6226 fail:
6227 return NULL;
6228}
6229
6230
6231static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
6232 PyObject *resultobj;
6233 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6234 PyObject * obj0 = 0 ;
6235 char *kwnames[] = {
6236 (char *) "self", NULL
6237 };
6238
6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
6240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6241 {
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 (arg1)->Stop();
6244
6245 wxPyEndAllowThreads(__tstate);
6246 if (PyErr_Occurred()) SWIG_fail;
6247 }
6248 Py_INCREF(Py_None); resultobj = Py_None;
6249 return resultobj;
6250 fail:
6251 return NULL;
6252}
6253
6254
d14a1e28
RD
6255static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6256 PyObject *resultobj;
6257 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6258 bool result;
6259 PyObject * obj0 = 0 ;
6260 char *kwnames[] = {
6261 (char *) "self", NULL
6262 };
6263
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
6265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6266 {
6267 PyThreadState* __tstate = wxPyBeginAllowThreads();
6268 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
6269
6270 wxPyEndAllowThreads(__tstate);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 }
4e760a36 6273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6274 return resultobj;
6275 fail:
6276 return NULL;
6277}
6278
6279
6280static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6281 PyObject *resultobj;
6282 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6283 int result;
6284 PyObject * obj0 = 0 ;
6285 char *kwnames[] = {
6286 (char *) "self", NULL
6287 };
6288
6289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
6290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6291 {
6292 PyThreadState* __tstate = wxPyBeginAllowThreads();
6293 result = (int)((wxPyTimer const *)arg1)->GetInterval();
6294
6295 wxPyEndAllowThreads(__tstate);
6296 if (PyErr_Occurred()) SWIG_fail;
6297 }
8edf1c75 6298 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
6299 return resultobj;
6300 fail:
6301 return NULL;
6302}
6303
6304
6305static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
6306 PyObject *resultobj;
6307 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6308 bool result;
6309 PyObject * obj0 = 0 ;
6310 char *kwnames[] = {
6311 (char *) "self", NULL
6312 };
6313
6314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
6315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6316 {
6317 PyThreadState* __tstate = wxPyBeginAllowThreads();
6318 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
6319
6320 wxPyEndAllowThreads(__tstate);
6321 if (PyErr_Occurred()) SWIG_fail;
6322 }
4e760a36 6323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6324 return resultobj;
6325 fail:
6326 return NULL;
6327}
6328
6329
f0983263
RD
6330static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6331 PyObject *resultobj;
6332 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6333 int result;
6334 PyObject * obj0 = 0 ;
6335 char *kwnames[] = {
6336 (char *) "self", NULL
6337 };
6338
6339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
6340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6341 {
6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
6343 result = (int)((wxPyTimer const *)arg1)->GetId();
6344
6345 wxPyEndAllowThreads(__tstate);
6346 if (PyErr_Occurred()) SWIG_fail;
6347 }
8edf1c75 6348 resultobj = SWIG_PyObj_FromInt((int)result);
f0983263
RD
6349 return resultobj;
6350 fail:
6351 return NULL;
6352}
6353
6354
d14a1e28
RD
6355static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
6356 PyObject *obj;
6357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6358 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
6359 Py_INCREF(obj);
6360 return Py_BuildValue((char *)"");
6361}
6362static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6363 PyObject *resultobj;
6364 int arg1 = (int) 0 ;
6365 int arg2 = (int) 0 ;
6366 wxTimerEvent *result;
8edf1c75
RD
6367 PyObject * obj0 = 0 ;
6368 PyObject * obj1 = 0 ;
d14a1e28
RD
6369 char *kwnames[] = {
6370 (char *) "timerid",(char *) "interval", NULL
6371 };
6372
8edf1c75
RD
6373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
6374 if (obj0) {
6375 {
6376 arg1 = (int) SWIG_PyObj_AsInt(obj0);
6377 if (PyErr_Occurred()) SWIG_fail;
6378 }
6379 }
6380 if (obj1) {
6381 {
6382 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6383 if (PyErr_Occurred()) SWIG_fail;
6384 }
6385 }
d14a1e28
RD
6386 {
6387 PyThreadState* __tstate = wxPyBeginAllowThreads();
6388 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
6389
6390 wxPyEndAllowThreads(__tstate);
6391 if (PyErr_Occurred()) SWIG_fail;
6392 }
6393 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerEvent, 1);
6394 return resultobj;
6395 fail:
6396 return NULL;
6397}
6398
6399
6400static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6401 PyObject *resultobj;
6402 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
6403 int result;
6404 PyObject * obj0 = 0 ;
6405 char *kwnames[] = {
6406 (char *) "self", NULL
6407 };
6408
6409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
6410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6411 {
6412 PyThreadState* __tstate = wxPyBeginAllowThreads();
6413 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
6414
6415 wxPyEndAllowThreads(__tstate);
6416 if (PyErr_Occurred()) SWIG_fail;
6417 }
8edf1c75 6418 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
6419 return resultobj;
6420 fail:
6421 return NULL;
6422}
6423
6424
6425static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
6426 PyObject *obj;
6427 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6428 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
6429 Py_INCREF(obj);
6430 return Py_BuildValue((char *)"");
6431}
6432static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
6433 PyObject *resultobj;
6434 wxTimer *arg1 = 0 ;
6435 wxTimerRunner *result;
6436 PyObject * obj0 = 0 ;
6437
6438 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
6439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6440 if (arg1 == NULL) {
6441 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6442 }
6443 {
6444 PyThreadState* __tstate = wxPyBeginAllowThreads();
6445 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6446
6447 wxPyEndAllowThreads(__tstate);
6448 if (PyErr_Occurred()) SWIG_fail;
6449 }
6450 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6451 return resultobj;
6452 fail:
6453 return NULL;
6454}
6455
6456
6457static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6458 PyObject *resultobj;
6459 wxTimer *arg1 = 0 ;
6460 int arg2 ;
423f194a 6461 bool arg3 = (bool) False ;
d14a1e28
RD
6462 wxTimerRunner *result;
6463 PyObject * obj0 = 0 ;
8edf1c75 6464 PyObject * obj1 = 0 ;
d14a1e28
RD
6465 PyObject * obj2 = 0 ;
6466
8edf1c75 6467 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
6468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6469 if (arg1 == NULL) {
6470 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6471 }
8edf1c75
RD
6472 {
6473 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6474 if (PyErr_Occurred()) SWIG_fail;
6475 }
d14a1e28 6476 if (obj2) {
83448d71 6477 {
8edf1c75 6478 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
6479 if (PyErr_Occurred()) SWIG_fail;
6480 }
d14a1e28
RD
6481 }
6482 {
6483 PyThreadState* __tstate = wxPyBeginAllowThreads();
6484 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6485
6486 wxPyEndAllowThreads(__tstate);
6487 if (PyErr_Occurred()) SWIG_fail;
6488 }
6489 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6490 return resultobj;
6491 fail:
6492 return NULL;
6493}
6494
6495
6496static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6497 int argc;
6498 PyObject *argv[4];
6499 int ii;
6500
6501 argc = PyObject_Length(args);
6502 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6503 argv[ii] = PyTuple_GetItem(args,ii);
6504 }
6505 if (argc == 1) {
6506 int _v;
6507 {
6508 void *ptr;
6509 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6510 _v = 0;
6511 PyErr_Clear();
6512 } else {
6513 _v = 1;
6514 }
6515 }
6516 if (_v) {
6517 return _wrap_new_TimerRunner__SWIG_0(self,args);
6518 }
6519 }
6520 if ((argc >= 2) && (argc <= 3)) {
6521 int _v;
6522 {
6523 void *ptr;
6524 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6525 _v = 0;
6526 PyErr_Clear();
6527 } else {
6528 _v = 1;
6529 }
6530 }
6531 if (_v) {
6532 {
8edf1c75 6533 SWIG_PyObj_AsInt(argv[1]);
83448d71
RD
6534 if (PyErr_Occurred()) {
6535 _v = 0;
6536 PyErr_Clear();
6537 } else {
6538 _v = 1;
6539 }
d14a1e28
RD
6540 }
6541 if (_v) {
6542 if (argc <= 2) {
6543 return _wrap_new_TimerRunner__SWIG_1(self,args);
6544 }
6545 {
8edf1c75 6546 SWIG_PyObj_AsBool(argv[2]);
83448d71
RD
6547 if (PyErr_Occurred()) {
6548 _v = 0;
6549 PyErr_Clear();
6550 } else {
6551 _v = 1;
6552 }
d14a1e28
RD
6553 }
6554 if (_v) {
6555 return _wrap_new_TimerRunner__SWIG_1(self,args);
6556 }
6557 }
6558 }
6559 }
6560
6561 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6562 return NULL;
6563}
6564
6565
6566static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6567 PyObject *resultobj;
6568 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6569 PyObject * obj0 = 0 ;
6570 char *kwnames[] = {
6571 (char *) "self", NULL
6572 };
6573
6574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6576 {
6577 PyThreadState* __tstate = wxPyBeginAllowThreads();
6578 delete arg1;
6579
6580 wxPyEndAllowThreads(__tstate);
6581 if (PyErr_Occurred()) SWIG_fail;
6582 }
6583 Py_INCREF(Py_None); resultobj = Py_None;
6584 return resultobj;
6585 fail:
6586 return NULL;
6587}
6588
6589
6590static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6591 PyObject *resultobj;
6592 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6593 int arg2 ;
423f194a 6594 bool arg3 = (bool) False ;
d14a1e28 6595 PyObject * obj0 = 0 ;
8edf1c75 6596 PyObject * obj1 = 0 ;
d14a1e28
RD
6597 PyObject * obj2 = 0 ;
6598 char *kwnames[] = {
6599 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6600 };
6601
8edf1c75 6602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 6603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6604 {
6605 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6606 if (PyErr_Occurred()) SWIG_fail;
6607 }
d14a1e28 6608 if (obj2) {
83448d71 6609 {
8edf1c75 6610 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
6611 if (PyErr_Occurred()) SWIG_fail;
6612 }
d14a1e28
RD
6613 }
6614 {
6615 PyThreadState* __tstate = wxPyBeginAllowThreads();
6616 (arg1)->Start(arg2,arg3);
6617
6618 wxPyEndAllowThreads(__tstate);
6619 if (PyErr_Occurred()) SWIG_fail;
6620 }
6621 Py_INCREF(Py_None); resultobj = Py_None;
6622 return resultobj;
6623 fail:
6624 return NULL;
6625}
6626
6627
6628static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6629 PyObject *obj;
6630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6631 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6632 Py_INCREF(obj);
6633 return Py_BuildValue((char *)"");
6634}
6635static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6636 PyObject *resultobj;
6637 wxLog *result;
6638 char *kwnames[] = {
6639 NULL
6640 };
6641
6642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6643 {
6644 PyThreadState* __tstate = wxPyBeginAllowThreads();
6645 result = (wxLog *)new wxLog();
6646
6647 wxPyEndAllowThreads(__tstate);
6648 if (PyErr_Occurred()) SWIG_fail;
6649 }
6650 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 1);
6651 return resultobj;
6652 fail:
6653 return NULL;
6654}
6655
6656
6657static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6658 PyObject *resultobj;
6659 bool result;
6660 char *kwnames[] = {
6661 NULL
6662 };
6663
6664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6665 {
6666 PyThreadState* __tstate = wxPyBeginAllowThreads();
6667 result = (bool)wxLog::IsEnabled();
6668
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
4e760a36 6672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6673 return resultobj;
6674 fail:
6675 return NULL;
6676}
6677
6678
6679static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6680 PyObject *resultobj;
423f194a 6681 bool arg1 = (bool) True ;
d14a1e28
RD
6682 bool result;
6683 PyObject * obj0 = 0 ;
6684 char *kwnames[] = {
6685 (char *) "doIt", NULL
6686 };
6687
6688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6689 if (obj0) {
83448d71 6690 {
8edf1c75 6691 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
83448d71
RD
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
d14a1e28
RD
6694 }
6695 {
6696 PyThreadState* __tstate = wxPyBeginAllowThreads();
6697 result = (bool)wxLog::EnableLogging(arg1);
6698
6699 wxPyEndAllowThreads(__tstate);
6700 if (PyErr_Occurred()) SWIG_fail;
6701 }
4e760a36 6702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6703 return resultobj;
6704 fail:
6705 return NULL;
6706}
6707
6708
6709static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6710 PyObject *resultobj;
6711 wxLogLevel arg1 ;
6712 wxChar *arg2 = (wxChar *) 0 ;
6713 time_t arg3 ;
6714 PyObject * obj0 = 0 ;
6715 PyObject * obj1 = 0 ;
6716 PyObject * obj2 = 0 ;
6717 char *kwnames[] = {
6718 (char *) "level",(char *) "szString",(char *) "t", NULL
6719 };
6720
6721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
83448d71 6722 {
8edf1c75 6723 arg1 = (wxLogLevel) SWIG_PyObj_AsUnsignedLong(obj0);
83448d71
RD
6724 if (PyErr_Occurred()) SWIG_fail;
6725 }
d14a1e28 6726 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 6727 {
8edf1c75 6728 arg3 = (time_t) SWIG_PyObj_AsUnsignedInt(obj2);
83448d71
RD
6729 if (PyErr_Occurred()) SWIG_fail;
6730 }
d14a1e28
RD
6731 {
6732 PyThreadState* __tstate = wxPyBeginAllowThreads();
6733 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6734
6735 wxPyEndAllowThreads(__tstate);
6736 if (PyErr_Occurred()) SWIG_fail;
6737 }
6738 Py_INCREF(Py_None); resultobj = Py_None;
6739 return resultobj;
6740 fail:
6741 return NULL;
6742}
6743
6744
6745static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6746 PyObject *resultobj;
6747 wxLog *arg1 = (wxLog *) 0 ;
6748 PyObject * obj0 = 0 ;
6749 char *kwnames[] = {
6750 (char *) "self", NULL
6751 };
6752
6753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6755 {
6756 PyThreadState* __tstate = wxPyBeginAllowThreads();
6757 (arg1)->Flush();
6758
6759 wxPyEndAllowThreads(__tstate);
6760 if (PyErr_Occurred()) SWIG_fail;
6761 }
6762 Py_INCREF(Py_None); resultobj = Py_None;
6763 return resultobj;
6764 fail:
6765 return NULL;
6766}
6767
6768
6769static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6770 PyObject *resultobj;
6771 char *kwnames[] = {
6772 NULL
6773 };
6774
6775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6776 {
6777 PyThreadState* __tstate = wxPyBeginAllowThreads();
6778 wxLog::FlushActive();
6779
6780 wxPyEndAllowThreads(__tstate);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 }
6783 Py_INCREF(Py_None); resultobj = Py_None;
6784 return resultobj;
6785 fail:
6786 return NULL;
6787}
6788
6789
6790static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6791 PyObject *resultobj;
6792 wxLog *result;
6793 char *kwnames[] = {
6794 NULL
6795 };
6796
6797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6798 {
6799 PyThreadState* __tstate = wxPyBeginAllowThreads();
6800 result = (wxLog *)wxLog::GetActiveTarget();
6801
6802 wxPyEndAllowThreads(__tstate);
6803 if (PyErr_Occurred()) SWIG_fail;
6804 }
6805 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6806 return resultobj;
6807 fail:
6808 return NULL;
6809}
6810
6811
6812static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6813 PyObject *resultobj;
6814 wxLog *arg1 = (wxLog *) 0 ;
6815 wxLog *result;
6816 PyObject * obj0 = 0 ;
6817 char *kwnames[] = {
6818 (char *) "pLogger", NULL
6819 };
6820
6821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
6822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6823 {
6824 PyThreadState* __tstate = wxPyBeginAllowThreads();
6825 result = (wxLog *)wxLog::SetActiveTarget(arg1);
6826
6827 wxPyEndAllowThreads(__tstate);
6828 if (PyErr_Occurred()) SWIG_fail;
6829 }
6830 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6831 return resultobj;
6832 fail:
6833 return NULL;
6834}
6835
6836
6837static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
6838 PyObject *resultobj;
6839 char *kwnames[] = {
6840 NULL
6841 };
6842
6843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
6844 {
6845 PyThreadState* __tstate = wxPyBeginAllowThreads();
6846 wxLog::Suspend();
6847
6848 wxPyEndAllowThreads(__tstate);
6849 if (PyErr_Occurred()) SWIG_fail;
6850 }
6851 Py_INCREF(Py_None); resultobj = Py_None;
6852 return resultobj;
6853 fail:
6854 return NULL;
6855}
6856
6857
6858static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
6859 PyObject *resultobj;
6860 char *kwnames[] = {
6861 NULL
6862 };
6863
6864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
6865 {
6866 PyThreadState* __tstate = wxPyBeginAllowThreads();
6867 wxLog::Resume();
6868
6869 wxPyEndAllowThreads(__tstate);
6870 if (PyErr_Occurred()) SWIG_fail;
6871 }
6872 Py_INCREF(Py_None); resultobj = Py_None;
6873 return resultobj;
6874 fail:
6875 return NULL;
6876}
6877
6878
6879static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6880 PyObject *resultobj;
423f194a 6881 bool arg1 = (bool) True ;
d14a1e28
RD
6882 PyObject * obj0 = 0 ;
6883 char *kwnames[] = {
6884 (char *) "bVerbose", NULL
6885 };
6886
6887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
6888 if (obj0) {
83448d71 6889 {
8edf1c75 6890 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
83448d71
RD
6891 if (PyErr_Occurred()) SWIG_fail;
6892 }
d14a1e28
RD
6893 }
6894 {
6895 PyThreadState* __tstate = wxPyBeginAllowThreads();
6896 wxLog::SetVerbose(arg1);
6897
6898 wxPyEndAllowThreads(__tstate);
6899 if (PyErr_Occurred()) SWIG_fail;
6900 }
6901 Py_INCREF(Py_None); resultobj = Py_None;
6902 return resultobj;
6903 fail:
6904 return NULL;
6905}
6906
6907
6908static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6909 PyObject *resultobj;
6910 wxLogLevel arg1 ;
6911 PyObject * obj0 = 0 ;
6912 char *kwnames[] = {
6913 (char *) "logLevel", NULL
6914 };
6915
6916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
83448d71 6917 {
8edf1c75 6918 arg1 = (wxLogLevel) SWIG_PyObj_AsUnsignedLong(obj0);
83448d71
RD
6919 if (PyErr_Occurred()) SWIG_fail;
6920 }
d14a1e28
RD
6921 {
6922 PyThreadState* __tstate = wxPyBeginAllowThreads();
6923 wxLog::SetLogLevel(arg1);
6924
6925 wxPyEndAllowThreads(__tstate);
6926 if (PyErr_Occurred()) SWIG_fail;
6927 }
6928 Py_INCREF(Py_None); resultobj = Py_None;
6929 return resultobj;
6930 fail:
6931 return NULL;
6932}
6933
6934
6935static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
6936 PyObject *resultobj;
6937 char *kwnames[] = {
6938 NULL
6939 };
6940
6941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
6942 {
6943 PyThreadState* __tstate = wxPyBeginAllowThreads();
6944 wxLog::DontCreateOnDemand();
6945
6946 wxPyEndAllowThreads(__tstate);
6947 if (PyErr_Occurred()) SWIG_fail;
6948 }
6949 Py_INCREF(Py_None); resultobj = Py_None;
6950 return resultobj;
6951 fail:
6952 return NULL;
6953}
6954
6955
6956static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6957 PyObject *resultobj;
6958 wxTraceMask arg1 ;
6959 PyObject * obj0 = 0 ;
6960 char *kwnames[] = {
6961 (char *) "ulMask", NULL
6962 };
6963
6964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
83448d71 6965 {
8edf1c75 6966 arg1 = (wxTraceMask) SWIG_PyObj_AsUnsignedLong(obj0);
83448d71
RD
6967 if (PyErr_Occurred()) SWIG_fail;
6968 }
d14a1e28
RD
6969 {
6970 PyThreadState* __tstate = wxPyBeginAllowThreads();
6971 wxLog::SetTraceMask(arg1);
6972
6973 wxPyEndAllowThreads(__tstate);
6974 if (PyErr_Occurred()) SWIG_fail;
6975 }
6976 Py_INCREF(Py_None); resultobj = Py_None;
6977 return resultobj;
6978 fail:
6979 return NULL;
6980}
6981
6982
6983static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6984 PyObject *resultobj;
6985 wxString *arg1 = 0 ;
423f194a 6986 bool temp1 = False ;
d14a1e28
RD
6987 PyObject * obj0 = 0 ;
6988 char *kwnames[] = {
6989 (char *) "str", NULL
6990 };
6991
6992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
6993 {
6994 arg1 = wxString_in_helper(obj0);
6995 if (arg1 == NULL) SWIG_fail;
423f194a 6996 temp1 = True;
d14a1e28
RD
6997 }
6998 {
6999 PyThreadState* __tstate = wxPyBeginAllowThreads();
7000 wxLog::AddTraceMask((wxString const &)*arg1);
7001
7002 wxPyEndAllowThreads(__tstate);
7003 if (PyErr_Occurred()) SWIG_fail;
7004 }
7005 Py_INCREF(Py_None); resultobj = Py_None;
7006 {
7007 if (temp1)
7008 delete arg1;
7009 }
7010 return resultobj;
7011 fail:
7012 {
7013 if (temp1)
7014 delete arg1;
7015 }
7016 return NULL;
7017}
7018
7019
7020static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7021 PyObject *resultobj;
7022 wxString *arg1 = 0 ;
423f194a 7023 bool temp1 = False ;
d14a1e28
RD
7024 PyObject * obj0 = 0 ;
7025 char *kwnames[] = {
7026 (char *) "str", NULL
7027 };
7028
7029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7030 {
7031 arg1 = wxString_in_helper(obj0);
7032 if (arg1 == NULL) SWIG_fail;
423f194a 7033 temp1 = True;
d14a1e28
RD
7034 }
7035 {
7036 PyThreadState* __tstate = wxPyBeginAllowThreads();
7037 wxLog::RemoveTraceMask((wxString const &)*arg1);
7038
7039 wxPyEndAllowThreads(__tstate);
7040 if (PyErr_Occurred()) SWIG_fail;
7041 }
7042 Py_INCREF(Py_None); resultobj = Py_None;
7043 {
7044 if (temp1)
7045 delete arg1;
7046 }
7047 return resultobj;
7048 fail:
7049 {
7050 if (temp1)
7051 delete arg1;
7052 }
7053 return NULL;
7054}
7055
7056
7057static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7058 PyObject *resultobj;
7059 char *kwnames[] = {
7060 NULL
7061 };
7062
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7064 {
7065 PyThreadState* __tstate = wxPyBeginAllowThreads();
7066 wxLog::ClearTraceMasks();
7067
7068 wxPyEndAllowThreads(__tstate);
7069 if (PyErr_Occurred()) SWIG_fail;
7070 }
7071 Py_INCREF(Py_None); resultobj = Py_None;
7072 return resultobj;
7073 fail:
7074 return NULL;
7075}
7076
7077
7078static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7079 PyObject *resultobj;
7080 wxArrayString *result;
7081 char *kwnames[] = {
7082 NULL
7083 };
7084
7085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7086 {
7087 PyThreadState* __tstate = wxPyBeginAllowThreads();
7088 {
7089 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7090 result = (wxArrayString *) &_result_ref;
7091 }
7092
7093 wxPyEndAllowThreads(__tstate);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 }
7096 {
7097 resultobj = wxArrayString2PyList_helper(*result);
7098 }
7099 return resultobj;
7100 fail:
7101 return NULL;
7102}
7103
7104
7105static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7106 PyObject *resultobj;
7107 wxChar *arg1 = (wxChar *) 0 ;
7108 PyObject * obj0 = 0 ;
7109 char *kwnames[] = {
7110 (char *) "ts", NULL
7111 };
7112
7113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
7114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7115 {
7116 PyThreadState* __tstate = wxPyBeginAllowThreads();
7117 wxLog::SetTimestamp((wxChar const *)arg1);
7118
7119 wxPyEndAllowThreads(__tstate);
7120 if (PyErr_Occurred()) SWIG_fail;
7121 }
7122 Py_INCREF(Py_None); resultobj = Py_None;
7123 return resultobj;
7124 fail:
7125 return NULL;
7126}
7127
7128
7129static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7130 PyObject *resultobj;
7131 bool result;
7132 char *kwnames[] = {
7133 NULL
7134 };
7135
7136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7137 {
7138 PyThreadState* __tstate = wxPyBeginAllowThreads();
7139 result = (bool)wxLog::GetVerbose();
7140
7141 wxPyEndAllowThreads(__tstate);
7142 if (PyErr_Occurred()) SWIG_fail;
7143 }
4e760a36 7144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7145 return resultobj;
7146 fail:
7147 return NULL;
7148}
7149
7150
7151static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7152 PyObject *resultobj;
7153 wxTraceMask result;
7154 char *kwnames[] = {
7155 NULL
7156 };
7157
7158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7159 {
7160 PyThreadState* __tstate = wxPyBeginAllowThreads();
7161 result = (wxTraceMask)wxLog::GetTraceMask();
7162
7163 wxPyEndAllowThreads(__tstate);
7164 if (PyErr_Occurred()) SWIG_fail;
7165 }
8edf1c75 7166 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
7167 return resultobj;
7168 fail:
7169 return NULL;
7170}
7171
7172
7173static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7174 PyObject *resultobj;
7175 wxChar *arg1 = (wxChar *) 0 ;
7176 bool result;
7177 PyObject * obj0 = 0 ;
7178 char *kwnames[] = {
7179 (char *) "mask", NULL
7180 };
7181
7182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
7183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7184 {
7185 PyThreadState* __tstate = wxPyBeginAllowThreads();
7186 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
7187
7188 wxPyEndAllowThreads(__tstate);
7189 if (PyErr_Occurred()) SWIG_fail;
7190 }
4e760a36 7191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7192 return resultobj;
7193 fail:
7194 return NULL;
7195}
7196
7197
7198static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7199 PyObject *resultobj;
7200 wxLogLevel result;
7201 char *kwnames[] = {
7202 NULL
7203 };
7204
7205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
7206 {
7207 PyThreadState* __tstate = wxPyBeginAllowThreads();
7208 result = (wxLogLevel)wxLog::GetLogLevel();
7209
7210 wxPyEndAllowThreads(__tstate);
7211 if (PyErr_Occurred()) SWIG_fail;
7212 }
8edf1c75 7213 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
7214 return resultobj;
7215 fail:
7216 return NULL;
7217}
7218
7219
7220static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7221 PyObject *resultobj;
7222 wxChar *result;
7223 char *kwnames[] = {
7224 NULL
7225 };
7226
7227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
7228 {
7229 PyThreadState* __tstate = wxPyBeginAllowThreads();
7230 result = (wxChar *)wxLog::GetTimestamp();
7231
7232 wxPyEndAllowThreads(__tstate);
7233 if (PyErr_Occurred()) SWIG_fail;
7234 }
7235 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChar, 0);
7236 return resultobj;
7237 fail:
7238 return NULL;
7239}
7240
7241
7242static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7243 PyObject *resultobj;
7244 wxString result;
7245 char *kwnames[] = {
7246 NULL
7247 };
7248
7249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
7250 {
7251 PyThreadState* __tstate = wxPyBeginAllowThreads();
7252 result = Log_TimeStamp();
7253
7254 wxPyEndAllowThreads(__tstate);
7255 if (PyErr_Occurred()) SWIG_fail;
7256 }
7257 {
7258#if wxUSE_UNICODE
7259 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7260#else
7261 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7262#endif
7263 }
7264 return resultobj;
7265 fail:
7266 return NULL;
7267}
7268
7269
7270static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7271 PyObject *resultobj;
7272 wxLog *arg1 = (wxLog *) 0 ;
7273 PyObject * obj0 = 0 ;
7274 char *kwnames[] = {
7275 (char *) "self", NULL
7276 };
7277
7278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
7279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7280 {
7281 PyThreadState* __tstate = wxPyBeginAllowThreads();
7282 wxLog_Destroy(arg1);
7283
7284 wxPyEndAllowThreads(__tstate);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 }
7287 Py_INCREF(Py_None); resultobj = Py_None;
7288 return resultobj;
7289 fail:
7290 return NULL;
7291}
7292
7293
7294static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
7295 PyObject *obj;
7296 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7297 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
7298 Py_INCREF(obj);
7299 return Py_BuildValue((char *)"");
7300}
7301static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
7302 PyObject *resultobj;
7303 wxLogStderr *result;
7304 char *kwnames[] = {
7305 NULL
7306 };
7307
7308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
7309 {
7310 PyThreadState* __tstate = wxPyBeginAllowThreads();
7311 result = (wxLogStderr *)new wxLogStderr();
7312
7313 wxPyEndAllowThreads(__tstate);
7314 if (PyErr_Occurred()) SWIG_fail;
7315 }
7316 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogStderr, 1);
7317 return resultobj;
7318 fail:
7319 return NULL;
7320}
7321
7322
7323static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
7324 PyObject *obj;
7325 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7326 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
7327 Py_INCREF(obj);
7328 return Py_BuildValue((char *)"");
7329}
7330static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7331 PyObject *resultobj;
7332 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7333 wxLogTextCtrl *result;
7334 PyObject * obj0 = 0 ;
7335 char *kwnames[] = {
7336 (char *) "pTextCtrl", NULL
7337 };
7338
7339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
7340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7341 {
7342 PyThreadState* __tstate = wxPyBeginAllowThreads();
7343 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
7344
7345 wxPyEndAllowThreads(__tstate);
7346 if (PyErr_Occurred()) SWIG_fail;
7347 }
7348 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogTextCtrl, 1);
7349 return resultobj;
7350 fail:
7351 return NULL;
7352}
7353
7354
7355static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
7356 PyObject *obj;
7357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7358 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
7359 Py_INCREF(obj);
7360 return Py_BuildValue((char *)"");
7361}
7362static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
7363 PyObject *resultobj;
7364 wxLogGui *result;
7365 char *kwnames[] = {
7366 NULL
7367 };
7368
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
7370 {
7371 PyThreadState* __tstate = wxPyBeginAllowThreads();
7372 result = (wxLogGui *)new wxLogGui();
7373
7374 wxPyEndAllowThreads(__tstate);
7375 if (PyErr_Occurred()) SWIG_fail;
7376 }
7377 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogGui, 1);
7378 return resultobj;
7379 fail:
7380 return NULL;
7381}
7382
7383
7384static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
7385 PyObject *obj;
7386 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7387 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
7388 Py_INCREF(obj);
7389 return Py_BuildValue((char *)"");
7390}
7391static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7392 PyObject *resultobj;
7393 wxFrame *arg1 = (wxFrame *) 0 ;
7394 wxString *arg2 = 0 ;
423f194a
RD
7395 bool arg3 = (bool) True ;
7396 bool arg4 = (bool) True ;
d14a1e28 7397 wxLogWindow *result;
423f194a 7398 bool temp2 = False ;
d14a1e28
RD
7399 PyObject * obj0 = 0 ;
7400 PyObject * obj1 = 0 ;
7401 PyObject * obj2 = 0 ;
7402 PyObject * obj3 = 0 ;
7403 char *kwnames[] = {
7404 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7405 };
7406
7407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7409 {
7410 arg2 = wxString_in_helper(obj1);
7411 if (arg2 == NULL) SWIG_fail;
423f194a 7412 temp2 = True;
d14a1e28
RD
7413 }
7414 if (obj2) {
83448d71 7415 {
8edf1c75 7416 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
7417 if (PyErr_Occurred()) SWIG_fail;
7418 }
d14a1e28
RD
7419 }
7420 if (obj3) {
83448d71 7421 {
8edf1c75 7422 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
83448d71
RD
7423 if (PyErr_Occurred()) SWIG_fail;
7424 }
d14a1e28
RD
7425 }
7426 {
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7429
7430 wxPyEndAllowThreads(__tstate);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
7433 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogWindow, 1);
7434 {
7435 if (temp2)
7436 delete arg2;
7437 }
7438 return resultobj;
7439 fail:
7440 {
7441 if (temp2)
7442 delete arg2;
7443 }
7444 return NULL;
7445}
7446
7447
7448static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
7449 PyObject *resultobj;
7450 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
423f194a 7451 bool arg2 = (bool) True ;
d14a1e28
RD
7452 PyObject * obj0 = 0 ;
7453 PyObject * obj1 = 0 ;
7454 char *kwnames[] = {
7455 (char *) "self",(char *) "bShow", NULL
7456 };
7457
7458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
7459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7460 if (obj1) {
83448d71 7461 {
8edf1c75 7462 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
7463 if (PyErr_Occurred()) SWIG_fail;
7464 }
d14a1e28
RD
7465 }
7466 {
7467 PyThreadState* __tstate = wxPyBeginAllowThreads();
7468 (arg1)->Show(arg2);
7469
7470 wxPyEndAllowThreads(__tstate);
7471 if (PyErr_Occurred()) SWIG_fail;
7472 }
7473 Py_INCREF(Py_None); resultobj = Py_None;
7474 return resultobj;
7475 fail:
7476 return NULL;
7477}
7478
7479
7480static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7481 PyObject *resultobj;
7482 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7483 wxFrame *result;
7484 PyObject * obj0 = 0 ;
7485 char *kwnames[] = {
7486 (char *) "self", NULL
7487 };
7488
7489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
7490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7491 {
7492 PyThreadState* __tstate = wxPyBeginAllowThreads();
7493 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7494
7495 wxPyEndAllowThreads(__tstate);
7496 if (PyErr_Occurred()) SWIG_fail;
7497 }
7498 {
7499 resultobj = wxPyMake_wxObject(result);
7500 }
7501 return resultobj;
7502 fail:
7503 return NULL;
7504}
7505
7506
7507static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7508 PyObject *resultobj;
7509 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7510 wxLog *result;
7511 PyObject * obj0 = 0 ;
7512 char *kwnames[] = {
7513 (char *) "self", NULL
7514 };
7515
7516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7518 {
7519 PyThreadState* __tstate = wxPyBeginAllowThreads();
7520 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7521
7522 wxPyEndAllowThreads(__tstate);
7523 if (PyErr_Occurred()) SWIG_fail;
7524 }
7525 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7526 return resultobj;
7527 fail:
7528 return NULL;
7529}
7530
7531
7532static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7533 PyObject *resultobj;
7534 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7535 bool result;
7536 PyObject * obj0 = 0 ;
7537 char *kwnames[] = {
7538 (char *) "self", NULL
7539 };
7540
7541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
7542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7543 {
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7546
7547 wxPyEndAllowThreads(__tstate);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 }
4e760a36 7550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7551 return resultobj;
7552 fail:
7553 return NULL;
7554}
7555
7556
7557static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7558 PyObject *resultobj;
7559 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7560 bool arg2 ;
7561 PyObject * obj0 = 0 ;
7562 PyObject * obj1 = 0 ;
7563 char *kwnames[] = {
7564 (char *) "self",(char *) "bDoPass", NULL
7565 };
7566
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 7569 {
8edf1c75 7570 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
7571 if (PyErr_Occurred()) SWIG_fail;
7572 }
d14a1e28
RD
7573 {
7574 PyThreadState* __tstate = wxPyBeginAllowThreads();
7575 (arg1)->PassMessages(arg2);
7576
7577 wxPyEndAllowThreads(__tstate);
7578 if (PyErr_Occurred()) SWIG_fail;
7579 }
7580 Py_INCREF(Py_None); resultobj = Py_None;
7581 return resultobj;
7582 fail:
7583 return NULL;
7584}
7585
7586
7587static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7588 PyObject *obj;
7589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7590 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7591 Py_INCREF(obj);
7592 return Py_BuildValue((char *)"");
7593}
7594static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7595 PyObject *resultobj;
7596 wxLog *arg1 = (wxLog *) 0 ;
7597 wxLogChain *result;
7598 PyObject * obj0 = 0 ;
7599 char *kwnames[] = {
7600 (char *) "logger", NULL
7601 };
7602
7603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7605 {
7606 PyThreadState* __tstate = wxPyBeginAllowThreads();
7607 result = (wxLogChain *)new wxLogChain(arg1);
7608
7609 wxPyEndAllowThreads(__tstate);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogChain, 1);
7613 return resultobj;
7614 fail:
7615 return NULL;
7616}
7617
7618
7619static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7620 PyObject *resultobj;
7621 wxLogChain *arg1 = (wxLogChain *) 0 ;
7622 wxLog *arg2 = (wxLog *) 0 ;
7623 PyObject * obj0 = 0 ;
7624 PyObject * obj1 = 0 ;
7625 char *kwnames[] = {
7626 (char *) "self",(char *) "logger", NULL
7627 };
7628
7629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7631 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7632 {
7633 PyThreadState* __tstate = wxPyBeginAllowThreads();
7634 (arg1)->SetLog(arg2);
7635
7636 wxPyEndAllowThreads(__tstate);
7637 if (PyErr_Occurred()) SWIG_fail;
7638 }
7639 Py_INCREF(Py_None); resultobj = Py_None;
7640 return resultobj;
7641 fail:
7642 return NULL;
7643}
7644
7645
7646static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7647 PyObject *resultobj;
7648 wxLogChain *arg1 = (wxLogChain *) 0 ;
7649 bool arg2 ;
7650 PyObject * obj0 = 0 ;
7651 PyObject * obj1 = 0 ;
7652 char *kwnames[] = {
7653 (char *) "self",(char *) "bDoPass", NULL
7654 };
7655
7656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 7658 {
8edf1c75 7659 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
7660 if (PyErr_Occurred()) SWIG_fail;
7661 }
d14a1e28
RD
7662 {
7663 PyThreadState* __tstate = wxPyBeginAllowThreads();
7664 (arg1)->PassMessages(arg2);
7665
7666 wxPyEndAllowThreads(__tstate);
7667 if (PyErr_Occurred()) SWIG_fail;
7668 }
7669 Py_INCREF(Py_None); resultobj = Py_None;
7670 return resultobj;
7671 fail:
7672 return NULL;
7673}
7674
7675
7676static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7677 PyObject *resultobj;
7678 wxLogChain *arg1 = (wxLogChain *) 0 ;
7679 bool result;
7680 PyObject * obj0 = 0 ;
7681 char *kwnames[] = {
7682 (char *) "self", NULL
7683 };
7684
7685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7687 {
7688 PyThreadState* __tstate = wxPyBeginAllowThreads();
7689 result = (bool)(arg1)->IsPassingMessages();
7690
7691 wxPyEndAllowThreads(__tstate);
7692 if (PyErr_Occurred()) SWIG_fail;
7693 }
4e760a36 7694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7695 return resultobj;
7696 fail:
7697 return NULL;
7698}
7699
7700
7701static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7702 PyObject *resultobj;
7703 wxLogChain *arg1 = (wxLogChain *) 0 ;
7704 wxLog *result;
7705 PyObject * obj0 = 0 ;
7706 char *kwnames[] = {
7707 (char *) "self", NULL
7708 };
7709
7710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7712 {
7713 PyThreadState* __tstate = wxPyBeginAllowThreads();
7714 result = (wxLog *)(arg1)->GetOldLog();
7715
7716 wxPyEndAllowThreads(__tstate);
7717 if (PyErr_Occurred()) SWIG_fail;
7718 }
7719 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7720 return resultobj;
7721 fail:
7722 return NULL;
7723}
7724
7725
7726static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7727 PyObject *obj;
7728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7729 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7730 Py_INCREF(obj);
7731 return Py_BuildValue((char *)"");
7732}
7733static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7734 PyObject *resultobj;
7735 unsigned long result;
7736 char *kwnames[] = {
7737 NULL
7738 };
7739
7740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7741 {
7742 PyThreadState* __tstate = wxPyBeginAllowThreads();
7743 result = (unsigned long)wxSysErrorCode();
7744
7745 wxPyEndAllowThreads(__tstate);
7746 if (PyErr_Occurred()) SWIG_fail;
7747 }
8edf1c75 7748 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
7749 return resultobj;
7750 fail:
7751 return NULL;
7752}
7753
7754
7755static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7756 PyObject *resultobj;
7757 unsigned long arg1 = (unsigned long) 0 ;
7758 wxString result;
7759 PyObject * obj0 = 0 ;
7760 char *kwnames[] = {
7761 (char *) "nErrCode", NULL
7762 };
7763
7764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7765 if (obj0) {
83448d71 7766 {
8edf1c75 7767 arg1 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0);
83448d71
RD
7768 if (PyErr_Occurred()) SWIG_fail;
7769 }
d14a1e28
RD
7770 }
7771 {
7772 PyThreadState* __tstate = wxPyBeginAllowThreads();
7773 result = wxSysErrorMsg(arg1);
7774
7775 wxPyEndAllowThreads(__tstate);
7776 if (PyErr_Occurred()) SWIG_fail;
7777 }
7778 {
7779#if wxUSE_UNICODE
7780 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7781#else
7782 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7783#endif
7784 }
7785 return resultobj;
7786 fail:
7787 return NULL;
7788}
7789
7790
7791static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7792 PyObject *resultobj;
7793 wxString *arg1 = 0 ;
423f194a 7794 bool temp1 = False ;
d14a1e28
RD
7795 PyObject * obj0 = 0 ;
7796 char *kwnames[] = {
7797 (char *) "msg", NULL
7798 };
7799
7800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7801 {
7802 arg1 = wxString_in_helper(obj0);
7803 if (arg1 == NULL) SWIG_fail;
423f194a 7804 temp1 = True;
d14a1e28
RD
7805 }
7806 {
7807 PyThreadState* __tstate = wxPyBeginAllowThreads();
7808 wxLogFatalError((wxString const &)*arg1);
7809
7810 wxPyEndAllowThreads(__tstate);
7811 if (PyErr_Occurred()) SWIG_fail;
7812 }
7813 Py_INCREF(Py_None); resultobj = Py_None;
7814 {
7815 if (temp1)
7816 delete arg1;
7817 }
7818 return resultobj;
7819 fail:
7820 {
7821 if (temp1)
7822 delete arg1;
7823 }
7824 return NULL;
7825}
7826
7827
7828static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
7829 PyObject *resultobj;
7830 wxString *arg1 = 0 ;
423f194a 7831 bool temp1 = False ;
d14a1e28
RD
7832 PyObject * obj0 = 0 ;
7833 char *kwnames[] = {
7834 (char *) "msg", NULL
7835 };
7836
7837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
7838 {
7839 arg1 = wxString_in_helper(obj0);
7840 if (arg1 == NULL) SWIG_fail;
423f194a 7841 temp1 = True;
d14a1e28
RD
7842 }
7843 {
7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
7845 wxLogError((wxString const &)*arg1);
7846
7847 wxPyEndAllowThreads(__tstate);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 }
7850 Py_INCREF(Py_None); resultobj = Py_None;
7851 {
7852 if (temp1)
7853 delete arg1;
7854 }
7855 return resultobj;
7856 fail:
7857 {
7858 if (temp1)
7859 delete arg1;
7860 }
7861 return NULL;
7862}
7863
7864
7865static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
7866 PyObject *resultobj;
7867 wxString *arg1 = 0 ;
423f194a 7868 bool temp1 = False ;
d14a1e28
RD
7869 PyObject * obj0 = 0 ;
7870 char *kwnames[] = {
7871 (char *) "msg", NULL
7872 };
7873
7874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
7875 {
7876 arg1 = wxString_in_helper(obj0);
7877 if (arg1 == NULL) SWIG_fail;
423f194a 7878 temp1 = True;
d14a1e28
RD
7879 }
7880 {
7881 PyThreadState* __tstate = wxPyBeginAllowThreads();
7882 wxLogWarning((wxString const &)*arg1);
7883
7884 wxPyEndAllowThreads(__tstate);
7885 if (PyErr_Occurred()) SWIG_fail;
7886 }
7887 Py_INCREF(Py_None); resultobj = Py_None;
7888 {
7889 if (temp1)
7890 delete arg1;
7891 }
7892 return resultobj;
7893 fail:
7894 {
7895 if (temp1)
7896 delete arg1;
7897 }
7898 return NULL;
7899}
7900
7901
7902static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7903 PyObject *resultobj;
7904 wxString *arg1 = 0 ;
423f194a 7905 bool temp1 = False ;
d14a1e28
RD
7906 PyObject * obj0 = 0 ;
7907 char *kwnames[] = {
7908 (char *) "msg", NULL
7909 };
7910
7911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
7912 {
7913 arg1 = wxString_in_helper(obj0);
7914 if (arg1 == NULL) SWIG_fail;
423f194a 7915 temp1 = True;
d14a1e28
RD
7916 }
7917 {
7918 PyThreadState* __tstate = wxPyBeginAllowThreads();
7919 wxLogMessage((wxString const &)*arg1);
7920
7921 wxPyEndAllowThreads(__tstate);
7922 if (PyErr_Occurred()) SWIG_fail;
7923 }
7924 Py_INCREF(Py_None); resultobj = Py_None;
7925 {
7926 if (temp1)
7927 delete arg1;
7928 }
7929 return resultobj;
7930 fail:
7931 {
7932 if (temp1)
7933 delete arg1;
7934 }
7935 return NULL;
7936}
7937
7938
7939static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7940 PyObject *resultobj;
7941 wxString *arg1 = 0 ;
423f194a 7942 bool temp1 = False ;
d14a1e28
RD
7943 PyObject * obj0 = 0 ;
7944 char *kwnames[] = {
7945 (char *) "msg", NULL
7946 };
7947
7948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
7949 {
7950 arg1 = wxString_in_helper(obj0);
7951 if (arg1 == NULL) SWIG_fail;
423f194a 7952 temp1 = True;
d14a1e28
RD
7953 }
7954 {
7955 PyThreadState* __tstate = wxPyBeginAllowThreads();
7956 wxLogInfo((wxString const &)*arg1);
7957
7958 wxPyEndAllowThreads(__tstate);
7959 if (PyErr_Occurred()) SWIG_fail;
7960 }
7961 Py_INCREF(Py_None); resultobj = Py_None;
7962 {
7963 if (temp1)
7964 delete arg1;
7965 }
7966 return resultobj;
7967 fail:
7968 {
7969 if (temp1)
7970 delete arg1;
7971 }
7972 return NULL;
7973}
7974
7975
7976static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
7977 PyObject *resultobj;
7978 wxString *arg1 = 0 ;
423f194a 7979 bool temp1 = False ;
d14a1e28
RD
7980 PyObject * obj0 = 0 ;
7981 char *kwnames[] = {
7982 (char *) "msg", NULL
7983 };
7984
7985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
7986 {
7987 arg1 = wxString_in_helper(obj0);
7988 if (arg1 == NULL) SWIG_fail;
423f194a 7989 temp1 = True;
d14a1e28
RD
7990 }
7991 {
7992 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993 wxLogDebug((wxString const &)*arg1);
7994
7995 wxPyEndAllowThreads(__tstate);
7996 if (PyErr_Occurred()) SWIG_fail;
7997 }
7998 Py_INCREF(Py_None); resultobj = Py_None;
7999 {
8000 if (temp1)
8001 delete arg1;
8002 }
8003 return resultobj;
8004 fail:
8005 {
8006 if (temp1)
8007 delete arg1;
8008 }
8009 return NULL;
8010}
8011
8012
8013static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
8014 PyObject *resultobj;
8015 wxString *arg1 = 0 ;
423f194a 8016 bool temp1 = False ;
d14a1e28
RD
8017 PyObject * obj0 = 0 ;
8018 char *kwnames[] = {
8019 (char *) "msg", NULL
8020 };
8021
8022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8023 {
8024 arg1 = wxString_in_helper(obj0);
8025 if (arg1 == NULL) SWIG_fail;
423f194a 8026 temp1 = True;
d14a1e28
RD
8027 }
8028 {
8029 PyThreadState* __tstate = wxPyBeginAllowThreads();
8030 wxLogVerbose((wxString const &)*arg1);
8031
8032 wxPyEndAllowThreads(__tstate);
8033 if (PyErr_Occurred()) SWIG_fail;
8034 }
8035 Py_INCREF(Py_None); resultobj = Py_None;
8036 {
8037 if (temp1)
8038 delete arg1;
8039 }
8040 return resultobj;
8041 fail:
8042 {
8043 if (temp1)
8044 delete arg1;
8045 }
8046 return NULL;
8047}
8048
8049
8050static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8051 PyObject *resultobj;
8052 wxString *arg1 = 0 ;
423f194a 8053 bool temp1 = False ;
d14a1e28
RD
8054 PyObject * obj0 = 0 ;
8055 char *kwnames[] = {
8056 (char *) "msg", NULL
8057 };
8058
8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8060 {
8061 arg1 = wxString_in_helper(obj0);
8062 if (arg1 == NULL) SWIG_fail;
423f194a 8063 temp1 = True;
d14a1e28
RD
8064 }
8065 {
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 wxLogStatus((wxString const &)*arg1);
8068
8069 wxPyEndAllowThreads(__tstate);
8070 if (PyErr_Occurred()) SWIG_fail;
8071 }
8072 Py_INCREF(Py_None); resultobj = Py_None;
8073 {
8074 if (temp1)
8075 delete arg1;
8076 }
8077 return resultobj;
8078 fail:
8079 {
8080 if (temp1)
8081 delete arg1;
8082 }
8083 return NULL;
8084}
8085
8086
8087static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8088 PyObject *resultobj;
8089 wxFrame *arg1 = (wxFrame *) 0 ;
8090 wxString *arg2 = 0 ;
423f194a 8091 bool temp2 = False ;
d14a1e28
RD
8092 PyObject * obj0 = 0 ;
8093 PyObject * obj1 = 0 ;
8094 char *kwnames[] = {
8095 (char *) "pFrame",(char *) "msg", NULL
8096 };
8097
8098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
8099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8100 {
8101 arg2 = wxString_in_helper(obj1);
8102 if (arg2 == NULL) SWIG_fail;
423f194a 8103 temp2 = True;
d14a1e28
RD
8104 }
8105 {
8106 PyThreadState* __tstate = wxPyBeginAllowThreads();
8107 wxLogStatus(arg1,(wxString const &)*arg2);
8108
8109 wxPyEndAllowThreads(__tstate);
8110 if (PyErr_Occurred()) SWIG_fail;
8111 }
8112 Py_INCREF(Py_None); resultobj = Py_None;
8113 {
8114 if (temp2)
8115 delete arg2;
8116 }
8117 return resultobj;
8118 fail:
8119 {
8120 if (temp2)
8121 delete arg2;
8122 }
8123 return NULL;
8124}
8125
8126
8127static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
8128 PyObject *resultobj;
8129 wxString *arg1 = 0 ;
423f194a 8130 bool temp1 = False ;
d14a1e28
RD
8131 PyObject * obj0 = 0 ;
8132 char *kwnames[] = {
8133 (char *) "msg", NULL
8134 };
8135
8136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8137 {
8138 arg1 = wxString_in_helper(obj0);
8139 if (arg1 == NULL) SWIG_fail;
423f194a 8140 temp1 = True;
d14a1e28
RD
8141 }
8142 {
8143 PyThreadState* __tstate = wxPyBeginAllowThreads();
8144 wxLogSysError((wxString const &)*arg1);
8145
8146 wxPyEndAllowThreads(__tstate);
8147 if (PyErr_Occurred()) SWIG_fail;
8148 }
8149 Py_INCREF(Py_None); resultobj = Py_None;
8150 {
8151 if (temp1)
8152 delete arg1;
8153 }
8154 return resultobj;
8155 fail:
8156 {
8157 if (temp1)
8158 delete arg1;
8159 }
8160 return NULL;
8161}
8162
8163
f0983263 8164static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28 8165 PyObject *resultobj;
f0983263
RD
8166 unsigned long arg1 ;
8167 wxString *arg2 = 0 ;
8168 bool temp2 = False ;
d14a1e28 8169 PyObject * obj0 = 0 ;
f0983263 8170 PyObject * obj1 = 0 ;
d14a1e28 8171
f0983263 8172 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
83448d71 8173 {
8edf1c75 8174 arg1 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0);
83448d71
RD
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
d14a1e28 8177 {
f0983263
RD
8178 arg2 = wxString_in_helper(obj1);
8179 if (arg2 == NULL) SWIG_fail;
8180 temp2 = True;
d14a1e28
RD
8181 }
8182 {
8183 PyThreadState* __tstate = wxPyBeginAllowThreads();
f0983263 8184 wxLogTrace(arg1,(wxString const &)*arg2);
d14a1e28
RD
8185
8186 wxPyEndAllowThreads(__tstate);
8187 if (PyErr_Occurred()) SWIG_fail;
8188 }
8189 Py_INCREF(Py_None); resultobj = Py_None;
8190 {
f0983263
RD
8191 if (temp2)
8192 delete arg2;
d14a1e28
RD
8193 }
8194 return resultobj;
8195 fail:
8196 {
f0983263
RD
8197 if (temp2)
8198 delete arg2;
d14a1e28
RD
8199 }
8200 return NULL;
8201}
8202
8203
f0983263 8204static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
8205 PyObject *resultobj;
8206 wxString *arg1 = 0 ;
8207 wxString *arg2 = 0 ;
423f194a
RD
8208 bool temp1 = False ;
8209 bool temp2 = False ;
d14a1e28
RD
8210 PyObject * obj0 = 0 ;
8211 PyObject * obj1 = 0 ;
d14a1e28 8212
f0983263 8213 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
d14a1e28
RD
8214 {
8215 arg1 = wxString_in_helper(obj0);
8216 if (arg1 == NULL) SWIG_fail;
423f194a 8217 temp1 = True;
d14a1e28
RD
8218 }
8219 {
8220 arg2 = wxString_in_helper(obj1);
8221 if (arg2 == NULL) SWIG_fail;
423f194a 8222 temp2 = True;
d14a1e28
RD
8223 }
8224 {
8225 PyThreadState* __tstate = wxPyBeginAllowThreads();
8226 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
8227
8228 wxPyEndAllowThreads(__tstate);
8229 if (PyErr_Occurred()) SWIG_fail;
8230 }
8231 Py_INCREF(Py_None); resultobj = Py_None;
8232 {
8233 if (temp1)
8234 delete arg1;
8235 }
8236 {
8237 if (temp2)
8238 delete arg2;
8239 }
8240 return resultobj;
8241 fail:
8242 {
8243 if (temp1)
8244 delete arg1;
8245 }
8246 {
8247 if (temp2)
8248 delete arg2;
8249 }
8250 return NULL;
8251}
8252
8253
f0983263
RD
8254static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
8255 int argc;
8256 PyObject *argv[3];
8257 int ii;
8258
8259 argc = PyObject_Length(args);
8260 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
8261 argv[ii] = PyTuple_GetItem(args,ii);
8262 }
8263 if (argc == 2) {
8264 int _v;
8265 {
4e760a36 8266 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
f0983263
RD
8267 }
8268 if (_v) {
8269 {
4e760a36 8270 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
f0983263
RD
8271 }
8272 if (_v) {
8273 return _wrap_LogTrace__SWIG_1(self,args);
8274 }
8275 }
8276 }
8277 if (argc == 2) {
8278 int _v;
8279 {
8edf1c75 8280 SWIG_PyObj_AsUnsignedLong(argv[0]);
83448d71
RD
8281 if (PyErr_Occurred()) {
8282 _v = 0;
8283 PyErr_Clear();
8284 } else {
8285 _v = 1;
8286 }
f0983263
RD
8287 }
8288 if (_v) {
8289 {
4e760a36 8290 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
f0983263
RD
8291 }
8292 if (_v) {
8293 return _wrap_LogTrace__SWIG_0(self,args);
8294 }
8295 }
8296 }
8297
8298 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
8299 return NULL;
8300}
8301
8302
d14a1e28
RD
8303static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
8304 PyObject *resultobj;
8305 unsigned long arg1 ;
8306 wxString *arg2 = 0 ;
423f194a 8307 bool temp2 = False ;
d14a1e28
RD
8308 PyObject * obj0 = 0 ;
8309 PyObject * obj1 = 0 ;
8310 char *kwnames[] = {
8311 (char *) "level",(char *) "msg", NULL
8312 };
8313
8314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
83448d71 8315 {
8edf1c75 8316 arg1 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0);
83448d71
RD
8317 if (PyErr_Occurred()) SWIG_fail;
8318 }
d14a1e28
RD
8319 {
8320 arg2 = wxString_in_helper(obj1);
8321 if (arg2 == NULL) SWIG_fail;
423f194a 8322 temp2 = True;
d14a1e28
RD
8323 }
8324 {
8325 PyThreadState* __tstate = wxPyBeginAllowThreads();
8326 wxLogGeneric(arg1,(wxString const &)*arg2);
8327
8328 wxPyEndAllowThreads(__tstate);
8329 if (PyErr_Occurred()) SWIG_fail;
8330 }
8331 Py_INCREF(Py_None); resultobj = Py_None;
8332 {
8333 if (temp2)
8334 delete arg2;
8335 }
8336 return resultobj;
8337 fail:
8338 {
8339 if (temp2)
8340 delete arg2;
8341 }
8342 return NULL;
8343}
8344
8345
8346static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8347 PyObject *resultobj;
8348 wxString *arg1 = 0 ;
8349 wxString *arg2 = 0 ;
423f194a
RD
8350 bool temp1 = False ;
8351 bool temp2 = False ;
d14a1e28
RD
8352 PyObject * obj0 = 0 ;
8353 PyObject * obj1 = 0 ;
8354 char *kwnames[] = {
8355 (char *) "title",(char *) "text", NULL
8356 };
8357
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
8359 {
8360 arg1 = wxString_in_helper(obj0);
8361 if (arg1 == NULL) SWIG_fail;
423f194a 8362 temp1 = True;
d14a1e28
RD
8363 }
8364 {
8365 arg2 = wxString_in_helper(obj1);
8366 if (arg2 == NULL) SWIG_fail;
423f194a 8367 temp2 = True;
d14a1e28
RD
8368 }
8369 {
8370 PyThreadState* __tstate = wxPyBeginAllowThreads();
8371 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
8372
8373 wxPyEndAllowThreads(__tstate);
8374 if (PyErr_Occurred()) SWIG_fail;
8375 }
8376 Py_INCREF(Py_None); resultobj = Py_None;
8377 {
8378 if (temp1)
8379 delete arg1;
8380 }
8381 {
8382 if (temp2)
8383 delete arg2;
8384 }
8385 return resultobj;
8386 fail:
8387 {
8388 if (temp1)
8389 delete arg1;
8390 }
8391 {
8392 if (temp2)
8393 delete arg2;
8394 }
8395 return NULL;
8396}
8397
8398
8399static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8400 PyObject *resultobj;
8401 wxLogNull *result;
8402 char *kwnames[] = {
8403 NULL
8404 };
8405
8406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
8407 {
8408 PyThreadState* __tstate = wxPyBeginAllowThreads();
8409 result = (wxLogNull *)new wxLogNull();
8410
8411 wxPyEndAllowThreads(__tstate);
8412 if (PyErr_Occurred()) SWIG_fail;
8413 }
8414 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogNull, 1);
8415 return resultobj;
8416 fail:
8417 return NULL;
8418}
8419
8420
8421static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8422 PyObject *resultobj;
8423 wxLogNull *arg1 = (wxLogNull *) 0 ;
8424 PyObject * obj0 = 0 ;
8425 char *kwnames[] = {
8426 (char *) "self", NULL
8427 };
8428
8429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
8430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogNull,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8431 {
8432 PyThreadState* __tstate = wxPyBeginAllowThreads();
8433 delete arg1;
8434
8435 wxPyEndAllowThreads(__tstate);
8436 if (PyErr_Occurred()) SWIG_fail;
8437 }
8438 Py_INCREF(Py_None); resultobj = Py_None;
8439 return resultobj;
8440 fail:
8441 return NULL;
8442}
8443
8444
8445static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
8446 PyObject *obj;
8447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8448 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
8449 Py_INCREF(obj);
8450 return Py_BuildValue((char *)"");
8451}
8452static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8453 PyObject *resultobj;
8454 wxPyLog *result;
8455 char *kwnames[] = {
8456 NULL
8457 };
8458
8459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
8460 {
8461 PyThreadState* __tstate = wxPyBeginAllowThreads();
8462 result = (wxPyLog *)new wxPyLog();
8463
8464 wxPyEndAllowThreads(__tstate);
8465 if (PyErr_Occurred()) SWIG_fail;
8466 }
8467 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLog, 1);
8468 return resultobj;
8469 fail:
8470 return NULL;
8471}
8472
8473
8474static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8475 PyObject *resultobj;
8476 wxPyLog *arg1 = (wxPyLog *) 0 ;
8477 PyObject *arg2 = (PyObject *) 0 ;
8478 PyObject *arg3 = (PyObject *) 0 ;
8479 PyObject * obj0 = 0 ;
8480 PyObject * obj1 = 0 ;
8481 PyObject * obj2 = 0 ;
8482 char *kwnames[] = {
8483 (char *) "self",(char *) "self",(char *) "_class", NULL
8484 };
8485
8486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8488 arg2 = obj1;
8489 arg3 = obj2;
8490 {
8491 PyThreadState* __tstate = wxPyBeginAllowThreads();
8492 (arg1)->_setCallbackInfo(arg2,arg3);
8493
8494 wxPyEndAllowThreads(__tstate);
8495 if (PyErr_Occurred()) SWIG_fail;
8496 }
8497 Py_INCREF(Py_None); resultobj = Py_None;
8498 return resultobj;
8499 fail:
8500 return NULL;
8501}
8502
8503
8504static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8505 PyObject *obj;
8506 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8507 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8508 Py_INCREF(obj);
8509 return Py_BuildValue((char *)"");
8510}
8511static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8512 PyObject *resultobj;
8513 int arg1 ;
8514 int arg2 = (int) wxSIGTERM ;
8515 int result;
8edf1c75
RD
8516 PyObject * obj0 = 0 ;
8517 PyObject * obj1 = 0 ;
d14a1e28
RD
8518 char *kwnames[] = {
8519 (char *) "pid",(char *) "sig", NULL
8520 };
8521
8edf1c75
RD
8522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
8523 {
8524 arg1 = (int) SWIG_PyObj_AsInt(obj0);
8525 if (PyErr_Occurred()) SWIG_fail;
8526 }
8527 if (obj1) {
8528 {
8529 arg2 = (wxSignal) SWIG_PyObj_AsInt(obj1);
8530 if (PyErr_Occurred()) SWIG_fail;
8531 }
8532 }
d14a1e28
RD
8533 {
8534 PyThreadState* __tstate = wxPyBeginAllowThreads();
8535 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8536
8537 wxPyEndAllowThreads(__tstate);
8538 if (PyErr_Occurred()) SWIG_fail;
8539 }
8edf1c75 8540 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
8541 return resultobj;
8542 fail:
8543 return NULL;
8544}
8545
8546
8547static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
8548 PyObject *resultobj;
8549 int arg1 ;
8550 bool result;
8edf1c75 8551 PyObject * obj0 = 0 ;
d14a1e28
RD
8552 char *kwnames[] = {
8553 (char *) "pid", NULL
8554 };
8555
8edf1c75
RD
8556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
8557 {
8558 arg1 = (int) SWIG_PyObj_AsInt(obj0);
8559 if (PyErr_Occurred()) SWIG_fail;
8560 }
d14a1e28
RD
8561 {
8562 PyThreadState* __tstate = wxPyBeginAllowThreads();
8563 result = (bool)wxPyProcess::Exists(arg1);
8564
8565 wxPyEndAllowThreads(__tstate);
8566 if (PyErr_Occurred()) SWIG_fail;
8567 }
4e760a36 8568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8569 return resultobj;
8570 fail:
8571 return NULL;
8572}
8573
8574
8575static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
8576 PyObject *resultobj;
8577 wxString *arg1 = 0 ;
8578 int arg2 = (int) wxEXEC_ASYNC ;
8579 wxPyProcess *result;
423f194a 8580 bool temp1 = False ;
d14a1e28 8581 PyObject * obj0 = 0 ;
8edf1c75 8582 PyObject * obj1 = 0 ;
d14a1e28
RD
8583 char *kwnames[] = {
8584 (char *) "cmd",(char *) "flags", NULL
8585 };
8586
8edf1c75 8587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
8588 {
8589 arg1 = wxString_in_helper(obj0);
8590 if (arg1 == NULL) SWIG_fail;
423f194a 8591 temp1 = True;
d14a1e28 8592 }
8edf1c75
RD
8593 if (obj1) {
8594 {
8595 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8596 if (PyErr_Occurred()) SWIG_fail;
8597 }
8598 }
d14a1e28
RD
8599 {
8600 PyThreadState* __tstate = wxPyBeginAllowThreads();
8601 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8602
8603 wxPyEndAllowThreads(__tstate);
8604 if (PyErr_Occurred()) SWIG_fail;
8605 }
8606 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 0);
8607 {
8608 if (temp1)
8609 delete arg1;
8610 }
8611 return resultobj;
8612 fail:
8613 {
8614 if (temp1)
8615 delete arg1;
8616 }
8617 return NULL;
8618}
8619
8620
8621static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
8622 PyObject *resultobj;
8623 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8624 int arg2 = (int) -1 ;
8625 wxPyProcess *result;
8626 PyObject * obj0 = 0 ;
8edf1c75 8627 PyObject * obj1 = 0 ;
d14a1e28
RD
8628 char *kwnames[] = {
8629 (char *) "parent",(char *) "id", NULL
8630 };
8631
8edf1c75 8632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
8633 if (obj0) {
8634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8635 }
8edf1c75
RD
8636 if (obj1) {
8637 {
8638 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8639 if (PyErr_Occurred()) SWIG_fail;
8640 }
8641 }
d14a1e28
RD
8642 {
8643 PyThreadState* __tstate = wxPyBeginAllowThreads();
8644 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8645
8646 wxPyEndAllowThreads(__tstate);
8647 if (PyErr_Occurred()) SWIG_fail;
8648 }
8649 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 1);
8650 return resultobj;
8651 fail:
8652 return NULL;
8653}
8654
8655
8656static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8657 PyObject *resultobj;
8658 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8659 PyObject *arg2 = (PyObject *) 0 ;
8660 PyObject *arg3 = (PyObject *) 0 ;
8661 PyObject * obj0 = 0 ;
8662 PyObject * obj1 = 0 ;
8663 PyObject * obj2 = 0 ;
8664 char *kwnames[] = {
8665 (char *) "self",(char *) "self",(char *) "_class", NULL
8666 };
8667
8668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8670 arg2 = obj1;
8671 arg3 = obj2;
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 (arg1)->_setCallbackInfo(arg2,arg3);
8675
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 Py_INCREF(Py_None); resultobj = Py_None;
8680 return resultobj;
8681 fail:
8682 return NULL;
8683}
8684
8685
8686static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8687 PyObject *resultobj;
8688 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8689 int arg2 ;
8690 int arg3 ;
8691 PyObject * obj0 = 0 ;
8edf1c75
RD
8692 PyObject * obj1 = 0 ;
8693 PyObject * obj2 = 0 ;
d14a1e28
RD
8694 char *kwnames[] = {
8695 (char *) "self",(char *) "pid",(char *) "status", NULL
8696 };
8697
8edf1c75 8698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 8699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
8700 {
8701 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8702 if (PyErr_Occurred()) SWIG_fail;
8703 }
8704 {
8705 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8706 if (PyErr_Occurred()) SWIG_fail;
8707 }
d14a1e28
RD
8708 {
8709 PyThreadState* __tstate = wxPyBeginAllowThreads();
8710 (arg1)->base_OnTerminate(arg2,arg3);
8711
8712 wxPyEndAllowThreads(__tstate);
8713 if (PyErr_Occurred()) SWIG_fail;
8714 }
8715 Py_INCREF(Py_None); resultobj = Py_None;
8716 return resultobj;
8717 fail:
8718 return NULL;
8719}
8720
8721
8722static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8723 PyObject *resultobj;
8724 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8725 PyObject * obj0 = 0 ;
8726 char *kwnames[] = {
8727 (char *) "self", NULL
8728 };
8729
8730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8732 {
8733 PyThreadState* __tstate = wxPyBeginAllowThreads();
8734 (arg1)->Redirect();
8735
8736 wxPyEndAllowThreads(__tstate);
8737 if (PyErr_Occurred()) SWIG_fail;
8738 }
8739 Py_INCREF(Py_None); resultobj = Py_None;
8740 return resultobj;
8741 fail:
8742 return NULL;
8743}
8744
8745
8746static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8747 PyObject *resultobj;
8748 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8749 bool result;
8750 PyObject * obj0 = 0 ;
8751 char *kwnames[] = {
8752 (char *) "self", NULL
8753 };
8754
8755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8757 {
8758 PyThreadState* __tstate = wxPyBeginAllowThreads();
8759 result = (bool)(arg1)->IsRedirected();
8760
8761 wxPyEndAllowThreads(__tstate);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 }
4e760a36 8764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8765 return resultobj;
8766 fail:
8767 return NULL;
8768}
8769
8770
8771static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8772 PyObject *resultobj;
8773 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8774 PyObject * obj0 = 0 ;
8775 char *kwnames[] = {
8776 (char *) "self", NULL
8777 };
8778
8779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8781 {
8782 PyThreadState* __tstate = wxPyBeginAllowThreads();
8783 (arg1)->Detach();
8784
8785 wxPyEndAllowThreads(__tstate);
8786 if (PyErr_Occurred()) SWIG_fail;
8787 }
8788 Py_INCREF(Py_None); resultobj = Py_None;
8789 return resultobj;
8790 fail:
8791 return NULL;
8792}
8793
8794
8795static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8796 PyObject *resultobj;
8797 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8798 wxInputStream *result;
8799 PyObject * obj0 = 0 ;
8800 char *kwnames[] = {
8801 (char *) "self", NULL
8802 };
8803
8804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8806 {
8807 PyThreadState* __tstate = wxPyBeginAllowThreads();
8808 result = (wxInputStream *)(arg1)->GetInputStream();
8809
8810 wxPyEndAllowThreads(__tstate);
8811 if (PyErr_Occurred()) SWIG_fail;
8812 }
8813 {
8814 wxPyInputStream * _ptr = NULL;
8815
8816 if (result) {
8817 _ptr = new wxPyInputStream(result);
8818 }
423f194a 8819 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
8820 }
8821 return resultobj;
8822 fail:
8823 return NULL;
8824}
8825
8826
8827static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8828 PyObject *resultobj;
8829 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8830 wxInputStream *result;
8831 PyObject * obj0 = 0 ;
8832 char *kwnames[] = {
8833 (char *) "self", NULL
8834 };
8835
8836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
8837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8838 {
8839 PyThreadState* __tstate = wxPyBeginAllowThreads();
8840 result = (wxInputStream *)(arg1)->GetErrorStream();
8841
8842 wxPyEndAllowThreads(__tstate);
8843 if (PyErr_Occurred()) SWIG_fail;
8844 }
8845 {
8846 wxPyInputStream * _ptr = NULL;
8847
8848 if (result) {
8849 _ptr = new wxPyInputStream(result);
8850 }
423f194a 8851 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
8852 }
8853 return resultobj;
8854 fail:
8855 return NULL;
8856}
8857
8858
8859static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8860 PyObject *resultobj;
8861 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8862 wxOutputStream *result;
8863 PyObject * obj0 = 0 ;
8864 char *kwnames[] = {
8865 (char *) "self", NULL
8866 };
8867
8868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
8869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8870 {
8871 PyThreadState* __tstate = wxPyBeginAllowThreads();
8872 result = (wxOutputStream *)(arg1)->GetOutputStream();
8873
8874 wxPyEndAllowThreads(__tstate);
8875 if (PyErr_Occurred()) SWIG_fail;
8876 }
8877 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0);
8878 return resultobj;
8879 fail:
8880 return NULL;
8881}
8882
8883
8884static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
8885 PyObject *resultobj;
8886 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8887 PyObject * obj0 = 0 ;
8888 char *kwnames[] = {
8889 (char *) "self", NULL
8890 };
8891
8892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
8893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8894 {
8895 PyThreadState* __tstate = wxPyBeginAllowThreads();
8896 (arg1)->CloseOutput();
8897
8898 wxPyEndAllowThreads(__tstate);
8899 if (PyErr_Occurred()) SWIG_fail;
8900 }
8901 Py_INCREF(Py_None); resultobj = Py_None;
8902 return resultobj;
8903 fail:
8904 return NULL;
8905}
8906
8907
8908static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
8909 PyObject *resultobj;
8910 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8911 bool result;
8912 PyObject * obj0 = 0 ;
8913 char *kwnames[] = {
8914 (char *) "self", NULL
8915 };
8916
8917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
8918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8919 {
8920 PyThreadState* __tstate = wxPyBeginAllowThreads();
8921 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
8922
8923 wxPyEndAllowThreads(__tstate);
8924 if (PyErr_Occurred()) SWIG_fail;
8925 }
4e760a36 8926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8927 return resultobj;
8928 fail:
8929 return NULL;
8930}
8931
8932
8933static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8934 PyObject *resultobj;
8935 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8936 bool result;
8937 PyObject * obj0 = 0 ;
8938 char *kwnames[] = {
8939 (char *) "self", NULL
8940 };
8941
8942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
8943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8944 {
8945 PyThreadState* __tstate = wxPyBeginAllowThreads();
8946 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
8947
8948 wxPyEndAllowThreads(__tstate);
8949 if (PyErr_Occurred()) SWIG_fail;
8950 }
4e760a36 8951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8952 return resultobj;
8953 fail:
8954 return NULL;
8955}
8956
8957
8958static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8959 PyObject *resultobj;
8960 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8961 bool result;
8962 PyObject * obj0 = 0 ;
8963 char *kwnames[] = {
8964 (char *) "self", NULL
8965 };
8966
8967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
8968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8969 {
8970 PyThreadState* __tstate = wxPyBeginAllowThreads();
8971 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
8972
8973 wxPyEndAllowThreads(__tstate);
8974 if (PyErr_Occurred()) SWIG_fail;
8975 }
4e760a36 8976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8977 return resultobj;
8978 fail:
8979 return NULL;
8980}
8981
8982
8983static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
8984 PyObject *obj;
8985 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8986 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
8987 Py_INCREF(obj);
8988 return Py_BuildValue((char *)"");
8989}
8990static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8991 PyObject *resultobj;
8992 int arg1 = (int) 0 ;
8993 int arg2 = (int) 0 ;
8994 int arg3 = (int) 0 ;
8995 wxProcessEvent *result;
8edf1c75
RD
8996 PyObject * obj0 = 0 ;
8997 PyObject * obj1 = 0 ;
8998 PyObject * obj2 = 0 ;
d14a1e28
RD
8999 char *kwnames[] = {
9000 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9001 };
9002
8edf1c75
RD
9003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9004 if (obj0) {
9005 {
9006 arg1 = (int) SWIG_PyObj_AsInt(obj0);
9007 if (PyErr_Occurred()) SWIG_fail;
9008 }
9009 }
9010 if (obj1) {
9011 {
9012 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
9015 }
9016 if (obj2) {
9017 {
9018 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9019 if (PyErr_Occurred()) SWIG_fail;
9020 }
9021 }
d14a1e28
RD
9022 {
9023 PyThreadState* __tstate = wxPyBeginAllowThreads();
9024 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9025
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProcessEvent, 1);
9030 return resultobj;
9031 fail:
9032 return NULL;
9033}
9034
9035
9036static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj;
9038 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9039 int result;
9040 PyObject * obj0 = 0 ;
9041 char *kwnames[] = {
9042 (char *) "self", NULL
9043 };
9044
9045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
9046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 result = (int)(arg1)->GetPid();
9050
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
8edf1c75 9054 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9055 return resultobj;
9056 fail:
9057 return NULL;
9058}
9059
9060
9061static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
9062 PyObject *resultobj;
9063 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9064 int result;
9065 PyObject * obj0 = 0 ;
9066 char *kwnames[] = {
9067 (char *) "self", NULL
9068 };
9069
9070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
9071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9072 {
9073 PyThreadState* __tstate = wxPyBeginAllowThreads();
9074 result = (int)(arg1)->GetExitCode();
9075
9076 wxPyEndAllowThreads(__tstate);
9077 if (PyErr_Occurred()) SWIG_fail;
9078 }
8edf1c75 9079 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9080 return resultobj;
9081 fail:
9082 return NULL;
9083}
9084
9085
9086static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9087 PyObject *resultobj;
9088 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9089 int arg2 ;
9090 PyObject * obj0 = 0 ;
8edf1c75 9091 PyObject * obj1 = 0 ;
d14a1e28
RD
9092 char *kwnames[] = {
9093 (char *) "self",(char *) "m_pid", NULL
9094 };
9095
8edf1c75 9096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 9097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
9098 {
9099 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9100 if (PyErr_Occurred()) SWIG_fail;
9101 }
d14a1e28
RD
9102 if (arg1) (arg1)->m_pid = arg2;
9103
9104 Py_INCREF(Py_None); resultobj = Py_None;
9105 return resultobj;
9106 fail:
9107 return NULL;
9108}
9109
9110
9111static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9112 PyObject *resultobj;
9113 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9114 int result;
9115 PyObject * obj0 = 0 ;
9116 char *kwnames[] = {
9117 (char *) "self", NULL
9118 };
9119
9120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
9121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9122 result = (int) ((arg1)->m_pid);
9123
8edf1c75 9124 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9125 return resultobj;
9126 fail:
9127 return NULL;
9128}
9129
9130
9131static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9132 PyObject *resultobj;
9133 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9134 int arg2 ;
9135 PyObject * obj0 = 0 ;
8edf1c75 9136 PyObject * obj1 = 0 ;
d14a1e28
RD
9137 char *kwnames[] = {
9138 (char *) "self",(char *) "m_exitcode", NULL
9139 };
9140
8edf1c75 9141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 9142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
9143 {
9144 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9145 if (PyErr_Occurred()) SWIG_fail;
9146 }
d14a1e28
RD
9147 if (arg1) (arg1)->m_exitcode = arg2;
9148
9149 Py_INCREF(Py_None); resultobj = Py_None;
9150 return resultobj;
9151 fail:
9152 return NULL;
9153}
9154
9155
9156static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9157 PyObject *resultobj;
9158 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9159 int result;
9160 PyObject * obj0 = 0 ;
9161 char *kwnames[] = {
9162 (char *) "self", NULL
9163 };
9164
9165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
9166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9167 result = (int) ((arg1)->m_exitcode);
9168
8edf1c75 9169 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9170 return resultobj;
9171 fail:
9172 return NULL;
9173}
9174
9175
9176static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
9177 PyObject *obj;
9178 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9179 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
9180 Py_INCREF(obj);
9181 return Py_BuildValue((char *)"");
9182}
9183static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
9184 PyObject *resultobj;
9185 wxString *arg1 = 0 ;
9186 int arg2 = (int) wxEXEC_ASYNC ;
9187 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
9188 long result;
423f194a 9189 bool temp1 = False ;
d14a1e28 9190 PyObject * obj0 = 0 ;
8edf1c75 9191 PyObject * obj1 = 0 ;
d14a1e28
RD
9192 PyObject * obj2 = 0 ;
9193 char *kwnames[] = {
9194 (char *) "command",(char *) "flags",(char *) "process", NULL
9195 };
9196
8edf1c75 9197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
9198 {
9199 arg1 = wxString_in_helper(obj0);
9200 if (arg1 == NULL) SWIG_fail;
423f194a 9201 temp1 = True;
d14a1e28 9202 }
8edf1c75
RD
9203 if (obj1) {
9204 {
9205 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9206 if (PyErr_Occurred()) SWIG_fail;
9207 }
9208 }
d14a1e28
RD
9209 if (obj2) {
9210 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9211 }
9212 {
9213 PyThreadState* __tstate = wxPyBeginAllowThreads();
9214 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
9215
9216 wxPyEndAllowThreads(__tstate);
9217 if (PyErr_Occurred()) SWIG_fail;
9218 }
8edf1c75 9219 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
9220 {
9221 if (temp1)
9222 delete arg1;
9223 }
9224 return resultobj;
9225 fail:
9226 {
9227 if (temp1)
9228 delete arg1;
9229 }
9230 return NULL;
9231}
9232
9233
9234static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9235 PyObject *resultobj;
9236 int arg1 = (int) wxJOYSTICK1 ;
9237 wxJoystick *result;
8edf1c75 9238 PyObject * obj0 = 0 ;
d14a1e28
RD
9239 char *kwnames[] = {
9240 (char *) "joystick", NULL
9241 };
9242
8edf1c75
RD
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
9244 if (obj0) {
9245 {
9246 arg1 = (int) SWIG_PyObj_AsInt(obj0);
9247 if (PyErr_Occurred()) SWIG_fail;
9248 }
9249 }
d14a1e28
RD
9250 {
9251 PyThreadState* __tstate = wxPyBeginAllowThreads();
9252 result = (wxJoystick *)new wxJoystick(arg1);
9253
9254 wxPyEndAllowThreads(__tstate);
9255 if (PyErr_Occurred()) SWIG_fail;
9256 }
9257 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystick, 1);
9258 return resultobj;
9259 fail:
9260 return NULL;
9261}
9262
9263
9264static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9265 PyObject *resultobj;
9266 wxJoystick *arg1 = (wxJoystick *) 0 ;
9267 PyObject * obj0 = 0 ;
9268 char *kwnames[] = {
9269 (char *) "self", NULL
9270 };
9271
9272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
9273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9274 {
9275 PyThreadState* __tstate = wxPyBeginAllowThreads();
9276 delete arg1;
9277
9278 wxPyEndAllowThreads(__tstate);
9279 if (PyErr_Occurred()) SWIG_fail;
9280 }
9281 Py_INCREF(Py_None); resultobj = Py_None;
9282 return resultobj;
9283 fail:
9284 return NULL;
9285}
9286
9287
9288static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9289 PyObject *resultobj;
9290 wxJoystick *arg1 = (wxJoystick *) 0 ;
9291 wxPoint result;
9292 PyObject * obj0 = 0 ;
9293 char *kwnames[] = {
9294 (char *) "self", NULL
9295 };
9296
9297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
9298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9299 {
9300 PyThreadState* __tstate = wxPyBeginAllowThreads();
9301 result = (arg1)->GetPosition();
9302
9303 wxPyEndAllowThreads(__tstate);
9304 if (PyErr_Occurred()) SWIG_fail;
9305 }
9306 {
9307 wxPoint * resultptr;
9308 resultptr = new wxPoint((wxPoint &) result);
9309 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9310 }
9311 return resultobj;
9312 fail:
9313 return NULL;
9314}
9315
9316
9317static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9318 PyObject *resultobj;
9319 wxJoystick *arg1 = (wxJoystick *) 0 ;
9320 int result;
9321 PyObject * obj0 = 0 ;
9322 char *kwnames[] = {
9323 (char *) "self", NULL
9324 };
9325
9326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
9327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9328 {
9329 PyThreadState* __tstate = wxPyBeginAllowThreads();
9330 result = (int)(arg1)->GetZPosition();
9331
9332 wxPyEndAllowThreads(__tstate);
9333 if (PyErr_Occurred()) SWIG_fail;
9334 }
8edf1c75 9335 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9336 return resultobj;
9337 fail:
9338 return NULL;
9339}
9340
9341
9342static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9343 PyObject *resultobj;
9344 wxJoystick *arg1 = (wxJoystick *) 0 ;
9345 int result;
9346 PyObject * obj0 = 0 ;
9347 char *kwnames[] = {
9348 (char *) "self", NULL
9349 };
9350
9351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
9352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9353 {
9354 PyThreadState* __tstate = wxPyBeginAllowThreads();
9355 result = (int)(arg1)->GetButtonState();
9356
9357 wxPyEndAllowThreads(__tstate);
9358 if (PyErr_Occurred()) SWIG_fail;
9359 }
8edf1c75 9360 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9361 return resultobj;
9362 fail:
9363 return NULL;
9364}
9365
9366
9367static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9368 PyObject *resultobj;
9369 wxJoystick *arg1 = (wxJoystick *) 0 ;
9370 int result;
9371 PyObject * obj0 = 0 ;
9372 char *kwnames[] = {
9373 (char *) "self", NULL
9374 };
9375
9376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
9377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9378 {
9379 PyThreadState* __tstate = wxPyBeginAllowThreads();
9380 result = (int)(arg1)->GetPOVPosition();
9381
9382 wxPyEndAllowThreads(__tstate);
9383 if (PyErr_Occurred()) SWIG_fail;
9384 }
8edf1c75 9385 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9386 return resultobj;
9387 fail:
9388 return NULL;
9389}
9390
9391
9392static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9393 PyObject *resultobj;
9394 wxJoystick *arg1 = (wxJoystick *) 0 ;
9395 int result;
9396 PyObject * obj0 = 0 ;
9397 char *kwnames[] = {
9398 (char *) "self", NULL
9399 };
9400
9401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
9402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9403 {
9404 PyThreadState* __tstate = wxPyBeginAllowThreads();
9405 result = (int)(arg1)->GetPOVCTSPosition();
9406
9407 wxPyEndAllowThreads(__tstate);
9408 if (PyErr_Occurred()) SWIG_fail;
9409 }
8edf1c75 9410 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9411 return resultobj;
9412 fail:
9413 return NULL;
9414}
9415
9416
9417static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9418 PyObject *resultobj;
9419 wxJoystick *arg1 = (wxJoystick *) 0 ;
9420 int result;
9421 PyObject * obj0 = 0 ;
9422 char *kwnames[] = {
9423 (char *) "self", NULL
9424 };
9425
9426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
9427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9428 {
9429 PyThreadState* __tstate = wxPyBeginAllowThreads();
9430 result = (int)(arg1)->GetRudderPosition();
9431
9432 wxPyEndAllowThreads(__tstate);
9433 if (PyErr_Occurred()) SWIG_fail;
9434 }
8edf1c75 9435 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9436 return resultobj;
9437 fail:
9438 return NULL;
9439}
9440
9441
9442static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9443 PyObject *resultobj;
9444 wxJoystick *arg1 = (wxJoystick *) 0 ;
9445 int result;
9446 PyObject * obj0 = 0 ;
9447 char *kwnames[] = {
9448 (char *) "self", NULL
9449 };
9450
9451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
9452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9453 {
9454 PyThreadState* __tstate = wxPyBeginAllowThreads();
9455 result = (int)(arg1)->GetUPosition();
9456
9457 wxPyEndAllowThreads(__tstate);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 }
8edf1c75 9460 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9461 return resultobj;
9462 fail:
9463 return NULL;
9464}
9465
9466
9467static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9468 PyObject *resultobj;
9469 wxJoystick *arg1 = (wxJoystick *) 0 ;
9470 int result;
9471 PyObject * obj0 = 0 ;
9472 char *kwnames[] = {
9473 (char *) "self", NULL
9474 };
9475
9476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
9477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9478 {
9479 PyThreadState* __tstate = wxPyBeginAllowThreads();
9480 result = (int)(arg1)->GetVPosition();
9481
9482 wxPyEndAllowThreads(__tstate);
9483 if (PyErr_Occurred()) SWIG_fail;
9484 }
8edf1c75 9485 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9486 return resultobj;
9487 fail:
9488 return NULL;
9489}
9490
9491
9492static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9493 PyObject *resultobj;
9494 wxJoystick *arg1 = (wxJoystick *) 0 ;
9495 int result;
9496 PyObject * obj0 = 0 ;
9497 char *kwnames[] = {
9498 (char *) "self", NULL
9499 };
9500
9501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
9502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9503 {
9504 PyThreadState* __tstate = wxPyBeginAllowThreads();
9505 result = (int)(arg1)->GetMovementThreshold();
9506
9507 wxPyEndAllowThreads(__tstate);
9508 if (PyErr_Occurred()) SWIG_fail;
9509 }
8edf1c75 9510 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9511 return resultobj;
9512 fail:
9513 return NULL;
9514}
9515
9516
9517static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9518 PyObject *resultobj;
9519 wxJoystick *arg1 = (wxJoystick *) 0 ;
9520 int arg2 ;
9521 PyObject * obj0 = 0 ;
8edf1c75 9522 PyObject * obj1 = 0 ;
d14a1e28
RD
9523 char *kwnames[] = {
9524 (char *) "self",(char *) "threshold", NULL
9525 };
9526
8edf1c75 9527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 9528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
9529 {
9530 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9531 if (PyErr_Occurred()) SWIG_fail;
9532 }
d14a1e28
RD
9533 {
9534 PyThreadState* __tstate = wxPyBeginAllowThreads();
9535 (arg1)->SetMovementThreshold(arg2);
9536
9537 wxPyEndAllowThreads(__tstate);
9538 if (PyErr_Occurred()) SWIG_fail;
9539 }
9540 Py_INCREF(Py_None); resultobj = Py_None;
9541 return resultobj;
9542 fail:
9543 return NULL;
9544}
9545
9546
9547static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9548 PyObject *resultobj;
9549 wxJoystick *arg1 = (wxJoystick *) 0 ;
9550 bool result;
9551 PyObject * obj0 = 0 ;
9552 char *kwnames[] = {
9553 (char *) "self", NULL
9554 };
9555
9556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
9557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9558 {
9559 PyThreadState* __tstate = wxPyBeginAllowThreads();
9560 result = (bool)(arg1)->IsOk();
9561
9562 wxPyEndAllowThreads(__tstate);
9563 if (PyErr_Occurred()) SWIG_fail;
9564 }
4e760a36 9565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9566 return resultobj;
9567 fail:
9568 return NULL;
9569}
9570
9571
9572static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
9573 PyObject *resultobj;
9574 wxJoystick *arg1 = (wxJoystick *) 0 ;
9575 int result;
9576 PyObject * obj0 = 0 ;
9577 char *kwnames[] = {
9578 (char *) "self", NULL
9579 };
9580
9581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
9582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9583 {
9584 PyThreadState* __tstate = wxPyBeginAllowThreads();
9585 result = (int)(arg1)->GetNumberJoysticks();
9586
9587 wxPyEndAllowThreads(__tstate);
9588 if (PyErr_Occurred()) SWIG_fail;
9589 }
8edf1c75 9590 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9591 return resultobj;
9592 fail:
9593 return NULL;
9594}
9595
9596
9597static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
9598 PyObject *resultobj;
9599 wxJoystick *arg1 = (wxJoystick *) 0 ;
9600 int result;
9601 PyObject * obj0 = 0 ;
9602 char *kwnames[] = {
9603 (char *) "self", NULL
9604 };
9605
9606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
9607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9608 {
9609 PyThreadState* __tstate = wxPyBeginAllowThreads();
9610 result = (int)(arg1)->GetManufacturerId();
9611
9612 wxPyEndAllowThreads(__tstate);
9613 if (PyErr_Occurred()) SWIG_fail;
9614 }
8edf1c75 9615 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9616 return resultobj;
9617 fail:
9618 return NULL;
9619}
9620
9621
9622static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
9623 PyObject *resultobj;
9624 wxJoystick *arg1 = (wxJoystick *) 0 ;
9625 int result;
9626 PyObject * obj0 = 0 ;
9627 char *kwnames[] = {
9628 (char *) "self", NULL
9629 };
9630
9631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
9632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9633 {
9634 PyThreadState* __tstate = wxPyBeginAllowThreads();
9635 result = (int)(arg1)->GetProductId();
9636
9637 wxPyEndAllowThreads(__tstate);
9638 if (PyErr_Occurred()) SWIG_fail;
9639 }
8edf1c75 9640 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9641 return resultobj;
9642 fail:
9643 return NULL;
9644}
9645
9646
9647static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
9648 PyObject *resultobj;
9649 wxJoystick *arg1 = (wxJoystick *) 0 ;
9650 wxString result;
9651 PyObject * obj0 = 0 ;
9652 char *kwnames[] = {
9653 (char *) "self", NULL
9654 };
9655
9656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
9657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9658 {
9659 PyThreadState* __tstate = wxPyBeginAllowThreads();
9660 result = (arg1)->GetProductName();
9661
9662 wxPyEndAllowThreads(__tstate);
9663 if (PyErr_Occurred()) SWIG_fail;
9664 }
9665 {
9666#if wxUSE_UNICODE
9667 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9668#else
9669 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9670#endif
9671 }
9672 return resultobj;
9673 fail:
9674 return NULL;
9675}
9676
9677
9678static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9679 PyObject *resultobj;
9680 wxJoystick *arg1 = (wxJoystick *) 0 ;
9681 int result;
9682 PyObject * obj0 = 0 ;
9683 char *kwnames[] = {
9684 (char *) "self", NULL
9685 };
9686
9687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
9688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9689 {
9690 PyThreadState* __tstate = wxPyBeginAllowThreads();
9691 result = (int)(arg1)->GetXMin();
9692
9693 wxPyEndAllowThreads(__tstate);
9694 if (PyErr_Occurred()) SWIG_fail;
9695 }
8edf1c75 9696 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9697 return resultobj;
9698 fail:
9699 return NULL;
9700}
9701
9702
9703static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9704 PyObject *resultobj;
9705 wxJoystick *arg1 = (wxJoystick *) 0 ;
9706 int result;
9707 PyObject * obj0 = 0 ;
9708 char *kwnames[] = {
9709 (char *) "self", NULL
9710 };
9711
9712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
9713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9714 {
9715 PyThreadState* __tstate = wxPyBeginAllowThreads();
9716 result = (int)(arg1)->GetYMin();
9717
9718 wxPyEndAllowThreads(__tstate);
9719 if (PyErr_Occurred()) SWIG_fail;
9720 }
8edf1c75 9721 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9722 return resultobj;
9723 fail:
9724 return NULL;
9725}
9726
9727
9728static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9729 PyObject *resultobj;
9730 wxJoystick *arg1 = (wxJoystick *) 0 ;
9731 int result;
9732 PyObject * obj0 = 0 ;
9733 char *kwnames[] = {
9734 (char *) "self", NULL
9735 };
9736
9737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9739 {
9740 PyThreadState* __tstate = wxPyBeginAllowThreads();
9741 result = (int)(arg1)->GetZMin();
9742
9743 wxPyEndAllowThreads(__tstate);
9744 if (PyErr_Occurred()) SWIG_fail;
9745 }
8edf1c75 9746 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9747 return resultobj;
9748 fail:
9749 return NULL;
9750}
9751
9752
9753static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9754 PyObject *resultobj;
9755 wxJoystick *arg1 = (wxJoystick *) 0 ;
9756 int result;
9757 PyObject * obj0 = 0 ;
9758 char *kwnames[] = {
9759 (char *) "self", NULL
9760 };
9761
9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9764 {
9765 PyThreadState* __tstate = wxPyBeginAllowThreads();
9766 result = (int)(arg1)->GetXMax();
9767
9768 wxPyEndAllowThreads(__tstate);
9769 if (PyErr_Occurred()) SWIG_fail;
9770 }
8edf1c75 9771 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9772 return resultobj;
9773 fail:
9774 return NULL;
9775}
9776
9777
9778static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9779 PyObject *resultobj;
9780 wxJoystick *arg1 = (wxJoystick *) 0 ;
9781 int result;
9782 PyObject * obj0 = 0 ;
9783 char *kwnames[] = {
9784 (char *) "self", NULL
9785 };
9786
9787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
9788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9789 {
9790 PyThreadState* __tstate = wxPyBeginAllowThreads();
9791 result = (int)(arg1)->GetYMax();
9792
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 }
8edf1c75 9796 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9797 return resultobj;
9798 fail:
9799 return NULL;
9800}
9801
9802
9803static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9804 PyObject *resultobj;
9805 wxJoystick *arg1 = (wxJoystick *) 0 ;
9806 int result;
9807 PyObject * obj0 = 0 ;
9808 char *kwnames[] = {
9809 (char *) "self", NULL
9810 };
9811
9812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
9813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9814 {
9815 PyThreadState* __tstate = wxPyBeginAllowThreads();
9816 result = (int)(arg1)->GetZMax();
9817
9818 wxPyEndAllowThreads(__tstate);
9819 if (PyErr_Occurred()) SWIG_fail;
9820 }
8edf1c75 9821 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9822 return resultobj;
9823 fail:
9824 return NULL;
9825}
9826
9827
9828static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9829 PyObject *resultobj;
9830 wxJoystick *arg1 = (wxJoystick *) 0 ;
9831 int result;
9832 PyObject * obj0 = 0 ;
9833 char *kwnames[] = {
9834 (char *) "self", NULL
9835 };
9836
9837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
9838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9839 {
9840 PyThreadState* __tstate = wxPyBeginAllowThreads();
9841 result = (int)(arg1)->GetNumberButtons();
9842
9843 wxPyEndAllowThreads(__tstate);
9844 if (PyErr_Occurred()) SWIG_fail;
9845 }
8edf1c75 9846 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9847 return resultobj;
9848 fail:
9849 return NULL;
9850}
9851
9852
9853static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9854 PyObject *resultobj;
9855 wxJoystick *arg1 = (wxJoystick *) 0 ;
9856 int result;
9857 PyObject * obj0 = 0 ;
9858 char *kwnames[] = {
9859 (char *) "self", NULL
9860 };
9861
9862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
9863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9864 {
9865 PyThreadState* __tstate = wxPyBeginAllowThreads();
9866 result = (int)(arg1)->GetNumberAxes();
9867
9868 wxPyEndAllowThreads(__tstate);
9869 if (PyErr_Occurred()) SWIG_fail;
9870 }
8edf1c75 9871 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9872 return resultobj;
9873 fail:
9874 return NULL;
9875}
9876
9877
9878static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9879 PyObject *resultobj;
9880 wxJoystick *arg1 = (wxJoystick *) 0 ;
9881 int result;
9882 PyObject * obj0 = 0 ;
9883 char *kwnames[] = {
9884 (char *) "self", NULL
9885 };
9886
9887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
9888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9889 {
9890 PyThreadState* __tstate = wxPyBeginAllowThreads();
9891 result = (int)(arg1)->GetMaxButtons();
9892
9893 wxPyEndAllowThreads(__tstate);
9894 if (PyErr_Occurred()) SWIG_fail;
9895 }
8edf1c75 9896 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9897 return resultobj;
9898 fail:
9899 return NULL;
9900}
9901
9902
9903static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9904 PyObject *resultobj;
9905 wxJoystick *arg1 = (wxJoystick *) 0 ;
9906 int result;
9907 PyObject * obj0 = 0 ;
9908 char *kwnames[] = {
9909 (char *) "self", NULL
9910 };
9911
9912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
9913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9914 {
9915 PyThreadState* __tstate = wxPyBeginAllowThreads();
9916 result = (int)(arg1)->GetMaxAxes();
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
8edf1c75 9921 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9922 return resultobj;
9923 fail:
9924 return NULL;
9925}
9926
9927
9928static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9929 PyObject *resultobj;
9930 wxJoystick *arg1 = (wxJoystick *) 0 ;
9931 int result;
9932 PyObject * obj0 = 0 ;
9933 char *kwnames[] = {
9934 (char *) "self", NULL
9935 };
9936
9937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
9938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 result = (int)(arg1)->GetPollingMin();
9942
9943 wxPyEndAllowThreads(__tstate);
9944 if (PyErr_Occurred()) SWIG_fail;
9945 }
8edf1c75 9946 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9947 return resultobj;
9948 fail:
9949 return NULL;
9950}
9951
9952
9953static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxJoystick *arg1 = (wxJoystick *) 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:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
9963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9964 {
9965 PyThreadState* __tstate = wxPyBeginAllowThreads();
9966 result = (int)(arg1)->GetPollingMax();
9967
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
8edf1c75 9971 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9972 return resultobj;
9973 fail:
9974 return NULL;
9975}
9976
9977
9978static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9979 PyObject *resultobj;
9980 wxJoystick *arg1 = (wxJoystick *) 0 ;
9981 int result;
9982 PyObject * obj0 = 0 ;
9983 char *kwnames[] = {
9984 (char *) "self", NULL
9985 };
9986
9987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
9988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9989 {
9990 PyThreadState* __tstate = wxPyBeginAllowThreads();
9991 result = (int)(arg1)->GetRudderMin();
9992
9993 wxPyEndAllowThreads(__tstate);
9994 if (PyErr_Occurred()) SWIG_fail;
9995 }
8edf1c75 9996 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9997 return resultobj;
9998 fail:
9999 return NULL;
10000}
10001
10002
10003static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10004 PyObject *resultobj;
10005 wxJoystick *arg1 = (wxJoystick *) 0 ;
10006 int result;
10007 PyObject * obj0 = 0 ;
10008 char *kwnames[] = {
10009 (char *) "self", NULL
10010 };
10011
10012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
10013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10014 {
10015 PyThreadState* __tstate = wxPyBeginAllowThreads();
10016 result = (int)(arg1)->GetRudderMax();
10017
10018 wxPyEndAllowThreads(__tstate);
10019 if (PyErr_Occurred()) SWIG_fail;
10020 }
8edf1c75 10021 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10022 return resultobj;
10023 fail:
10024 return NULL;
10025}
10026
10027
10028static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10029 PyObject *resultobj;
10030 wxJoystick *arg1 = (wxJoystick *) 0 ;
10031 int result;
10032 PyObject * obj0 = 0 ;
10033 char *kwnames[] = {
10034 (char *) "self", NULL
10035 };
10036
10037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
10038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 result = (int)(arg1)->GetUMin();
10042
10043 wxPyEndAllowThreads(__tstate);
10044 if (PyErr_Occurred()) SWIG_fail;
10045 }
8edf1c75 10046 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10047 return resultobj;
10048 fail:
10049 return NULL;
10050}
10051
10052
10053static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10054 PyObject *resultobj;
10055 wxJoystick *arg1 = (wxJoystick *) 0 ;
10056 int result;
10057 PyObject * obj0 = 0 ;
10058 char *kwnames[] = {
10059 (char *) "self", NULL
10060 };
10061
10062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
10063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10064 {
10065 PyThreadState* __tstate = wxPyBeginAllowThreads();
10066 result = (int)(arg1)->GetUMax();
10067
10068 wxPyEndAllowThreads(__tstate);
10069 if (PyErr_Occurred()) SWIG_fail;
10070 }
8edf1c75 10071 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10072 return resultobj;
10073 fail:
10074 return NULL;
10075}
10076
10077
10078static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10079 PyObject *resultobj;
10080 wxJoystick *arg1 = (wxJoystick *) 0 ;
10081 int result;
10082 PyObject * obj0 = 0 ;
10083 char *kwnames[] = {
10084 (char *) "self", NULL
10085 };
10086
10087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
10088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10089 {
10090 PyThreadState* __tstate = wxPyBeginAllowThreads();
10091 result = (int)(arg1)->GetVMin();
10092
10093 wxPyEndAllowThreads(__tstate);
10094 if (PyErr_Occurred()) SWIG_fail;
10095 }
8edf1c75 10096 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10097 return resultobj;
10098 fail:
10099 return NULL;
10100}
10101
10102
10103static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10104 PyObject *resultobj;
10105 wxJoystick *arg1 = (wxJoystick *) 0 ;
10106 int result;
10107 PyObject * obj0 = 0 ;
10108 char *kwnames[] = {
10109 (char *) "self", NULL
10110 };
10111
10112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
10113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10114 {
10115 PyThreadState* __tstate = wxPyBeginAllowThreads();
10116 result = (int)(arg1)->GetVMax();
10117
10118 wxPyEndAllowThreads(__tstate);
10119 if (PyErr_Occurred()) SWIG_fail;
10120 }
8edf1c75 10121 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10122 return resultobj;
10123 fail:
10124 return NULL;
10125}
10126
10127
10128static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
10129 PyObject *resultobj;
10130 wxJoystick *arg1 = (wxJoystick *) 0 ;
10131 bool result;
10132 PyObject * obj0 = 0 ;
10133 char *kwnames[] = {
10134 (char *) "self", NULL
10135 };
10136
10137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
10138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10139 {
10140 PyThreadState* __tstate = wxPyBeginAllowThreads();
10141 result = (bool)(arg1)->HasRudder();
10142
10143 wxPyEndAllowThreads(__tstate);
10144 if (PyErr_Occurred()) SWIG_fail;
10145 }
4e760a36 10146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10147 return resultobj;
10148 fail:
10149 return NULL;
10150}
10151
10152
10153static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
10154 PyObject *resultobj;
10155 wxJoystick *arg1 = (wxJoystick *) 0 ;
10156 bool result;
10157 PyObject * obj0 = 0 ;
10158 char *kwnames[] = {
10159 (char *) "self", NULL
10160 };
10161
10162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
10163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10164 {
10165 PyThreadState* __tstate = wxPyBeginAllowThreads();
10166 result = (bool)(arg1)->HasZ();
10167
10168 wxPyEndAllowThreads(__tstate);
10169 if (PyErr_Occurred()) SWIG_fail;
10170 }
4e760a36 10171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10172 return resultobj;
10173 fail:
10174 return NULL;
10175}
10176
10177
10178static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
10179 PyObject *resultobj;
10180 wxJoystick *arg1 = (wxJoystick *) 0 ;
10181 bool result;
10182 PyObject * obj0 = 0 ;
10183 char *kwnames[] = {
10184 (char *) "self", NULL
10185 };
10186
10187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
10188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10189 {
10190 PyThreadState* __tstate = wxPyBeginAllowThreads();
10191 result = (bool)(arg1)->HasU();
10192
10193 wxPyEndAllowThreads(__tstate);
10194 if (PyErr_Occurred()) SWIG_fail;
10195 }
4e760a36 10196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10197 return resultobj;
10198 fail:
10199 return NULL;
10200}
10201
10202
10203static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
10204 PyObject *resultobj;
10205 wxJoystick *arg1 = (wxJoystick *) 0 ;
10206 bool result;
10207 PyObject * obj0 = 0 ;
10208 char *kwnames[] = {
10209 (char *) "self", NULL
10210 };
10211
10212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
10213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10214 {
10215 PyThreadState* __tstate = wxPyBeginAllowThreads();
10216 result = (bool)(arg1)->HasV();
10217
10218 wxPyEndAllowThreads(__tstate);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 }
4e760a36 10221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10222 return resultobj;
10223 fail:
10224 return NULL;
10225}
10226
10227
10228static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
10229 PyObject *resultobj;
10230 wxJoystick *arg1 = (wxJoystick *) 0 ;
10231 bool result;
10232 PyObject * obj0 = 0 ;
10233 char *kwnames[] = {
10234 (char *) "self", NULL
10235 };
10236
10237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
10238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10239 {
10240 PyThreadState* __tstate = wxPyBeginAllowThreads();
10241 result = (bool)(arg1)->HasPOV();
10242
10243 wxPyEndAllowThreads(__tstate);
10244 if (PyErr_Occurred()) SWIG_fail;
10245 }
4e760a36 10246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10247 return resultobj;
10248 fail:
10249 return NULL;
10250}
10251
10252
10253static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
10254 PyObject *resultobj;
10255 wxJoystick *arg1 = (wxJoystick *) 0 ;
10256 bool result;
10257 PyObject * obj0 = 0 ;
10258 char *kwnames[] = {
10259 (char *) "self", NULL
10260 };
10261
10262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
10263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10264 {
10265 PyThreadState* __tstate = wxPyBeginAllowThreads();
10266 result = (bool)(arg1)->HasPOV4Dir();
10267
10268 wxPyEndAllowThreads(__tstate);
10269 if (PyErr_Occurred()) SWIG_fail;
10270 }
4e760a36 10271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10272 return resultobj;
10273 fail:
10274 return NULL;
10275}
10276
10277
10278static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
10279 PyObject *resultobj;
10280 wxJoystick *arg1 = (wxJoystick *) 0 ;
10281 bool result;
10282 PyObject * obj0 = 0 ;
10283 char *kwnames[] = {
10284 (char *) "self", NULL
10285 };
10286
10287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
10288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10289 {
10290 PyThreadState* __tstate = wxPyBeginAllowThreads();
10291 result = (bool)(arg1)->HasPOVCTS();
10292
10293 wxPyEndAllowThreads(__tstate);
10294 if (PyErr_Occurred()) SWIG_fail;
10295 }
4e760a36 10296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10297 return resultobj;
10298 fail:
10299 return NULL;
10300}
10301
10302
10303static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10304 PyObject *resultobj;
10305 wxJoystick *arg1 = (wxJoystick *) 0 ;
10306 wxWindow *arg2 = (wxWindow *) 0 ;
10307 int arg3 = (int) 0 ;
10308 bool result;
10309 PyObject * obj0 = 0 ;
10310 PyObject * obj1 = 0 ;
8edf1c75 10311 PyObject * obj2 = 0 ;
d14a1e28
RD
10312 char *kwnames[] = {
10313 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10314 };
10315
8edf1c75 10316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
10317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10318 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10319 if (obj2) {
10320 {
10321 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10322 if (PyErr_Occurred()) SWIG_fail;
10323 }
10324 }
d14a1e28
RD
10325 {
10326 PyThreadState* __tstate = wxPyBeginAllowThreads();
10327 result = (bool)(arg1)->SetCapture(arg2,arg3);
10328
10329 wxPyEndAllowThreads(__tstate);
10330 if (PyErr_Occurred()) SWIG_fail;
10331 }
4e760a36 10332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10333 return resultobj;
10334 fail:
10335 return NULL;
10336}
10337
10338
10339static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10340 PyObject *resultobj;
10341 wxJoystick *arg1 = (wxJoystick *) 0 ;
10342 bool result;
10343 PyObject * obj0 = 0 ;
10344 char *kwnames[] = {
10345 (char *) "self", NULL
10346 };
10347
10348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
10349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10350 {
10351 PyThreadState* __tstate = wxPyBeginAllowThreads();
10352 result = (bool)(arg1)->ReleaseCapture();
10353
10354 wxPyEndAllowThreads(__tstate);
10355 if (PyErr_Occurred()) SWIG_fail;
10356 }
4e760a36 10357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10358 return resultobj;
10359 fail:
10360 return NULL;
10361}
10362
10363
10364static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
10365 PyObject *obj;
10366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10367 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
10368 Py_INCREF(obj);
10369 return Py_BuildValue((char *)"");
10370}
10371static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10372 PyObject *resultobj;
10373 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10374 wxPoint *arg2 = (wxPoint *) 0 ;
10375 PyObject * obj0 = 0 ;
10376 PyObject * obj1 = 0 ;
10377 char *kwnames[] = {
10378 (char *) "self",(char *) "m_pos", NULL
10379 };
10380
10381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
10382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10383 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10384 if (arg1) (arg1)->m_pos = *arg2;
10385
10386 Py_INCREF(Py_None); resultobj = Py_None;
10387 return resultobj;
10388 fail:
10389 return NULL;
10390}
10391
10392
10393static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10394 PyObject *resultobj;
10395 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10396 wxPoint *result;
10397 PyObject * obj0 = 0 ;
10398 char *kwnames[] = {
10399 (char *) "self", NULL
10400 };
10401
10402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
10403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10404 result = (wxPoint *)& ((arg1)->m_pos);
10405
10406 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
10407 return resultobj;
10408 fail:
10409 return NULL;
10410}
10411
10412
10413static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10414 PyObject *resultobj;
10415 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10416 int arg2 ;
10417 PyObject * obj0 = 0 ;
8edf1c75 10418 PyObject * obj1 = 0 ;
d14a1e28
RD
10419 char *kwnames[] = {
10420 (char *) "self",(char *) "m_zPosition", NULL
10421 };
10422
8edf1c75 10423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 10424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10425 {
10426 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10427 if (PyErr_Occurred()) SWIG_fail;
10428 }
d14a1e28
RD
10429 if (arg1) (arg1)->m_zPosition = arg2;
10430
10431 Py_INCREF(Py_None); resultobj = Py_None;
10432 return resultobj;
10433 fail:
10434 return NULL;
10435}
10436
10437
10438static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10439 PyObject *resultobj;
10440 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10441 int result;
10442 PyObject * obj0 = 0 ;
10443 char *kwnames[] = {
10444 (char *) "self", NULL
10445 };
10446
10447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
10448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10449 result = (int) ((arg1)->m_zPosition);
10450
8edf1c75 10451 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10452 return resultobj;
10453 fail:
10454 return NULL;
10455}
10456
10457
10458static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10459 PyObject *resultobj;
10460 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10461 int arg2 ;
10462 PyObject * obj0 = 0 ;
8edf1c75 10463 PyObject * obj1 = 0 ;
d14a1e28
RD
10464 char *kwnames[] = {
10465 (char *) "self",(char *) "m_buttonChange", NULL
10466 };
10467
8edf1c75 10468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 10469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10470 {
10471 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10472 if (PyErr_Occurred()) SWIG_fail;
10473 }
d14a1e28
RD
10474 if (arg1) (arg1)->m_buttonChange = arg2;
10475
10476 Py_INCREF(Py_None); resultobj = Py_None;
10477 return resultobj;
10478 fail:
10479 return NULL;
10480}
10481
10482
10483static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10484 PyObject *resultobj;
10485 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10486 int result;
10487 PyObject * obj0 = 0 ;
10488 char *kwnames[] = {
10489 (char *) "self", NULL
10490 };
10491
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
10493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10494 result = (int) ((arg1)->m_buttonChange);
10495
8edf1c75 10496 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10497 return resultobj;
10498 fail:
10499 return NULL;
10500}
10501
10502
10503static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10504 PyObject *resultobj;
10505 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10506 int arg2 ;
10507 PyObject * obj0 = 0 ;
8edf1c75 10508 PyObject * obj1 = 0 ;
d14a1e28
RD
10509 char *kwnames[] = {
10510 (char *) "self",(char *) "m_buttonState", NULL
10511 };
10512
8edf1c75 10513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 10514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10515 {
10516 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10517 if (PyErr_Occurred()) SWIG_fail;
10518 }
d14a1e28
RD
10519 if (arg1) (arg1)->m_buttonState = arg2;
10520
10521 Py_INCREF(Py_None); resultobj = Py_None;
10522 return resultobj;
10523 fail:
10524 return NULL;
10525}
10526
10527
10528static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10529 PyObject *resultobj;
10530 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10531 int result;
10532 PyObject * obj0 = 0 ;
10533 char *kwnames[] = {
10534 (char *) "self", NULL
10535 };
10536
10537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
10538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10539 result = (int) ((arg1)->m_buttonState);
10540
8edf1c75 10541 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10542 return resultobj;
10543 fail:
10544 return NULL;
10545}
10546
10547
10548static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10549 PyObject *resultobj;
10550 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10551 int arg2 ;
10552 PyObject * obj0 = 0 ;
8edf1c75 10553 PyObject * obj1 = 0 ;
d14a1e28
RD
10554 char *kwnames[] = {
10555 (char *) "self",(char *) "m_joyStick", NULL
10556 };
10557
8edf1c75 10558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 10559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10560 {
10561 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 }
d14a1e28
RD
10564 if (arg1) (arg1)->m_joyStick = arg2;
10565
10566 Py_INCREF(Py_None); resultobj = Py_None;
10567 return resultobj;
10568 fail:
10569 return NULL;
10570}
10571
10572
10573static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10574 PyObject *resultobj;
10575 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10576 int result;
10577 PyObject * obj0 = 0 ;
10578 char *kwnames[] = {
10579 (char *) "self", NULL
10580 };
10581
10582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
10583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10584 result = (int) ((arg1)->m_joyStick);
10585
8edf1c75 10586 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10587 return resultobj;
10588 fail:
10589 return NULL;
10590}
10591
10592
10593static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10594 PyObject *resultobj;
10595 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10596 int arg2 = (int) 0 ;
10597 int arg3 = (int) wxJOYSTICK1 ;
10598 int arg4 = (int) 0 ;
10599 wxJoystickEvent *result;
8edf1c75
RD
10600 PyObject * obj0 = 0 ;
10601 PyObject * obj1 = 0 ;
10602 PyObject * obj2 = 0 ;
10603 PyObject * obj3 = 0 ;
d14a1e28
RD
10604 char *kwnames[] = {
10605 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10606 };
10607
8edf1c75
RD
10608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10609 if (obj0) {
10610 {
10611 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
10612 if (PyErr_Occurred()) SWIG_fail;
10613 }
10614 }
10615 if (obj1) {
10616 {
10617 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10618 if (PyErr_Occurred()) SWIG_fail;
10619 }
10620 }
10621 if (obj2) {
10622 {
10623 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10624 if (PyErr_Occurred()) SWIG_fail;
10625 }
10626 }
10627 if (obj3) {
10628 {
10629 arg4 = (int) SWIG_PyObj_AsInt(obj3);
10630 if (PyErr_Occurred()) SWIG_fail;
10631 }
10632 }
d14a1e28
RD
10633 {
10634 PyThreadState* __tstate = wxPyBeginAllowThreads();
10635 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
10636
10637 wxPyEndAllowThreads(__tstate);
10638 if (PyErr_Occurred()) SWIG_fail;
10639 }
10640 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystickEvent, 1);
10641 return resultobj;
10642 fail:
10643 return NULL;
10644}
10645
10646
10647static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10648 PyObject *resultobj;
10649 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10650 wxPoint result;
10651 PyObject * obj0 = 0 ;
10652 char *kwnames[] = {
10653 (char *) "self", NULL
10654 };
10655
10656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
10657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10658 {
10659 PyThreadState* __tstate = wxPyBeginAllowThreads();
10660 result = ((wxJoystickEvent const *)arg1)->GetPosition();
10661
10662 wxPyEndAllowThreads(__tstate);
10663 if (PyErr_Occurred()) SWIG_fail;
10664 }
10665 {
10666 wxPoint * resultptr;
10667 resultptr = new wxPoint((wxPoint &) result);
10668 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
10669 }
10670 return resultobj;
10671 fail:
10672 return NULL;
10673}
10674
10675
10676static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10677 PyObject *resultobj;
10678 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10679 int result;
10680 PyObject * obj0 = 0 ;
10681 char *kwnames[] = {
10682 (char *) "self", NULL
10683 };
10684
10685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
10686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10687 {
10688 PyThreadState* __tstate = wxPyBeginAllowThreads();
10689 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
10690
10691 wxPyEndAllowThreads(__tstate);
10692 if (PyErr_Occurred()) SWIG_fail;
10693 }
8edf1c75 10694 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10695 return resultobj;
10696 fail:
10697 return NULL;
10698}
10699
10700
10701static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10702 PyObject *resultobj;
10703 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10704 int result;
10705 PyObject * obj0 = 0 ;
10706 char *kwnames[] = {
10707 (char *) "self", NULL
10708 };
10709
10710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
10711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10712 {
10713 PyThreadState* __tstate = wxPyBeginAllowThreads();
10714 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
10715
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 }
8edf1c75 10719 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10720 return resultobj;
10721 fail:
10722 return NULL;
10723}
10724
10725
10726static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10727 PyObject *resultobj;
10728 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10729 int result;
10730 PyObject * obj0 = 0 ;
10731 char *kwnames[] = {
10732 (char *) "self", NULL
10733 };
10734
10735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
10736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10737 {
10738 PyThreadState* __tstate = wxPyBeginAllowThreads();
10739 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10740
10741 wxPyEndAllowThreads(__tstate);
10742 if (PyErr_Occurred()) SWIG_fail;
10743 }
8edf1c75 10744 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10745 return resultobj;
10746 fail:
10747 return NULL;
10748}
10749
10750
10751static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10752 PyObject *resultobj;
10753 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10754 int result;
10755 PyObject * obj0 = 0 ;
10756 char *kwnames[] = {
10757 (char *) "self", NULL
10758 };
10759
10760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
10761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10762 {
10763 PyThreadState* __tstate = wxPyBeginAllowThreads();
10764 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
10765
10766 wxPyEndAllowThreads(__tstate);
10767 if (PyErr_Occurred()) SWIG_fail;
10768 }
8edf1c75 10769 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10770 return resultobj;
10771 fail:
10772 return NULL;
10773}
10774
10775
10776static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10777 PyObject *resultobj;
10778 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10779 int arg2 ;
10780 PyObject * obj0 = 0 ;
8edf1c75 10781 PyObject * obj1 = 0 ;
d14a1e28
RD
10782 char *kwnames[] = {
10783 (char *) "self",(char *) "stick", NULL
10784 };
10785
8edf1c75 10786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 10787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10788 {
10789 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10790 if (PyErr_Occurred()) SWIG_fail;
10791 }
d14a1e28
RD
10792 {
10793 PyThreadState* __tstate = wxPyBeginAllowThreads();
10794 (arg1)->SetJoystick(arg2);
10795
10796 wxPyEndAllowThreads(__tstate);
10797 if (PyErr_Occurred()) SWIG_fail;
10798 }
10799 Py_INCREF(Py_None); resultobj = Py_None;
10800 return resultobj;
10801 fail:
10802 return NULL;
10803}
10804
10805
10806static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10807 PyObject *resultobj;
10808 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10809 int arg2 ;
10810 PyObject * obj0 = 0 ;
8edf1c75 10811 PyObject * obj1 = 0 ;
d14a1e28
RD
10812 char *kwnames[] = {
10813 (char *) "self",(char *) "state", NULL
10814 };
10815
8edf1c75 10816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 10817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10818 {
10819 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10820 if (PyErr_Occurred()) SWIG_fail;
10821 }
d14a1e28
RD
10822 {
10823 PyThreadState* __tstate = wxPyBeginAllowThreads();
10824 (arg1)->SetButtonState(arg2);
10825
10826 wxPyEndAllowThreads(__tstate);
10827 if (PyErr_Occurred()) SWIG_fail;
10828 }
10829 Py_INCREF(Py_None); resultobj = Py_None;
10830 return resultobj;
10831 fail:
10832 return NULL;
10833}
10834
10835
10836static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10837 PyObject *resultobj;
10838 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10839 int arg2 ;
10840 PyObject * obj0 = 0 ;
8edf1c75 10841 PyObject * obj1 = 0 ;
d14a1e28
RD
10842 char *kwnames[] = {
10843 (char *) "self",(char *) "change", NULL
10844 };
10845
8edf1c75 10846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 10847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10848 {
10849 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10850 if (PyErr_Occurred()) SWIG_fail;
10851 }
d14a1e28
RD
10852 {
10853 PyThreadState* __tstate = wxPyBeginAllowThreads();
10854 (arg1)->SetButtonChange(arg2);
10855
10856 wxPyEndAllowThreads(__tstate);
10857 if (PyErr_Occurred()) SWIG_fail;
10858 }
10859 Py_INCREF(Py_None); resultobj = Py_None;
10860 return resultobj;
10861 fail:
10862 return NULL;
10863}
10864
10865
10866static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10867 PyObject *resultobj;
10868 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10869 wxPoint *arg2 = 0 ;
10870 wxPoint temp2 ;
10871 PyObject * obj0 = 0 ;
10872 PyObject * obj1 = 0 ;
10873 char *kwnames[] = {
10874 (char *) "self",(char *) "pos", NULL
10875 };
10876
10877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10879 {
10880 arg2 = &temp2;
10881 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10882 }
10883 {
10884 PyThreadState* __tstate = wxPyBeginAllowThreads();
10885 (arg1)->SetPosition((wxPoint const &)*arg2);
10886
10887 wxPyEndAllowThreads(__tstate);
10888 if (PyErr_Occurred()) SWIG_fail;
10889 }
10890 Py_INCREF(Py_None); resultobj = Py_None;
10891 return resultobj;
10892 fail:
10893 return NULL;
10894}
10895
10896
10897static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10898 PyObject *resultobj;
10899 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10900 int arg2 ;
10901 PyObject * obj0 = 0 ;
8edf1c75 10902 PyObject * obj1 = 0 ;
d14a1e28
RD
10903 char *kwnames[] = {
10904 (char *) "self",(char *) "zPos", NULL
10905 };
10906
8edf1c75 10907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 10908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10909 {
10910 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10911 if (PyErr_Occurred()) SWIG_fail;
10912 }
d14a1e28
RD
10913 {
10914 PyThreadState* __tstate = wxPyBeginAllowThreads();
10915 (arg1)->SetZPosition(arg2);
10916
10917 wxPyEndAllowThreads(__tstate);
10918 if (PyErr_Occurred()) SWIG_fail;
10919 }
10920 Py_INCREF(Py_None); resultobj = Py_None;
10921 return resultobj;
10922 fail:
10923 return NULL;
10924}
10925
10926
10927static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10928 PyObject *resultobj;
10929 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10930 bool result;
10931 PyObject * obj0 = 0 ;
10932 char *kwnames[] = {
10933 (char *) "self", NULL
10934 };
10935
10936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
10937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10938 {
10939 PyThreadState* __tstate = wxPyBeginAllowThreads();
10940 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
10941
10942 wxPyEndAllowThreads(__tstate);
10943 if (PyErr_Occurred()) SWIG_fail;
10944 }
4e760a36 10945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10946 return resultobj;
10947 fail:
10948 return NULL;
10949}
10950
10951
10952static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10953 PyObject *resultobj;
10954 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10955 bool result;
10956 PyObject * obj0 = 0 ;
10957 char *kwnames[] = {
10958 (char *) "self", NULL
10959 };
10960
10961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
10962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10963 {
10964 PyThreadState* __tstate = wxPyBeginAllowThreads();
10965 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
10966
10967 wxPyEndAllowThreads(__tstate);
10968 if (PyErr_Occurred()) SWIG_fail;
10969 }
4e760a36 10970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10971 return resultobj;
10972 fail:
10973 return NULL;
10974}
10975
10976
10977static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10978 PyObject *resultobj;
10979 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10980 bool result;
10981 PyObject * obj0 = 0 ;
10982 char *kwnames[] = {
10983 (char *) "self", NULL
10984 };
10985
10986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
10987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10988 {
10989 PyThreadState* __tstate = wxPyBeginAllowThreads();
10990 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
10991
10992 wxPyEndAllowThreads(__tstate);
10993 if (PyErr_Occurred()) SWIG_fail;
10994 }
4e760a36 10995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10996 return resultobj;
10997 fail:
10998 return NULL;
10999}
11000
11001
11002static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11003 PyObject *resultobj;
11004 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11005 int arg2 = (int) wxJOY_BUTTON_ANY ;
11006 bool result;
11007 PyObject * obj0 = 0 ;
8edf1c75 11008 PyObject * obj1 = 0 ;
d14a1e28
RD
11009 char *kwnames[] = {
11010 (char *) "self",(char *) "but", NULL
11011 };
11012
8edf1c75 11013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 11014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
11015 if (obj1) {
11016 {
11017 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11018 if (PyErr_Occurred()) SWIG_fail;
11019 }
11020 }
d14a1e28
RD
11021 {
11022 PyThreadState* __tstate = wxPyBeginAllowThreads();
11023 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
11024
11025 wxPyEndAllowThreads(__tstate);
11026 if (PyErr_Occurred()) SWIG_fail;
11027 }
4e760a36 11028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11029 return resultobj;
11030 fail:
11031 return NULL;
11032}
11033
11034
11035static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11036 PyObject *resultobj;
11037 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11038 int arg2 = (int) wxJOY_BUTTON_ANY ;
11039 bool result;
11040 PyObject * obj0 = 0 ;
8edf1c75 11041 PyObject * obj1 = 0 ;
d14a1e28
RD
11042 char *kwnames[] = {
11043 (char *) "self",(char *) "but", NULL
11044 };
11045
8edf1c75 11046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 11047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
11048 if (obj1) {
11049 {
11050 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11051 if (PyErr_Occurred()) SWIG_fail;
11052 }
11053 }
d14a1e28
RD
11054 {
11055 PyThreadState* __tstate = wxPyBeginAllowThreads();
11056 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
11057
11058 wxPyEndAllowThreads(__tstate);
11059 if (PyErr_Occurred()) SWIG_fail;
11060 }
4e760a36 11061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11062 return resultobj;
11063 fail:
11064 return NULL;
11065}
11066
11067
11068static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11069 PyObject *resultobj;
11070 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11071 int arg2 = (int) wxJOY_BUTTON_ANY ;
11072 bool result;
11073 PyObject * obj0 = 0 ;
8edf1c75 11074 PyObject * obj1 = 0 ;
d14a1e28
RD
11075 char *kwnames[] = {
11076 (char *) "self",(char *) "but", NULL
11077 };
11078
8edf1c75 11079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 11080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
11081 if (obj1) {
11082 {
11083 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11084 if (PyErr_Occurred()) SWIG_fail;
11085 }
11086 }
d14a1e28
RD
11087 {
11088 PyThreadState* __tstate = wxPyBeginAllowThreads();
11089 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11090
11091 wxPyEndAllowThreads(__tstate);
11092 if (PyErr_Occurred()) SWIG_fail;
11093 }
4e760a36 11094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11095 return resultobj;
11096 fail:
11097 return NULL;
11098}
11099
11100
11101static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
11102 PyObject *obj;
11103 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11104 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
11105 Py_INCREF(obj);
11106 return Py_BuildValue((char *)"");
11107}
4e760a36
RD
11108static PyObject *_wrap_new_Sound__SWIG_0(PyObject *self, PyObject *args) {
11109 PyObject *resultobj;
11110 wxSound *result;
11111
11112 if(!PyArg_ParseTuple(args,(char *)":new_Sound")) goto fail;
11113 {
11114 PyThreadState* __tstate = wxPyBeginAllowThreads();
11115 result = (wxSound *)new wxSound();
11116
11117 wxPyEndAllowThreads(__tstate);
11118 if (PyErr_Occurred()) SWIG_fail;
11119 }
11120 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSound, 1);
11121 return resultobj;
11122 fail:
11123 return NULL;
11124}
11125
11126
11127static PyObject *_wrap_new_Sound__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
11128 PyObject *resultobj;
11129 wxString *arg1 = 0 ;
4e760a36
RD
11130 bool arg2 = (bool) false ;
11131 wxSound *result;
423f194a 11132 bool temp1 = False ;
d14a1e28
RD
11133 PyObject * obj0 = 0 ;
11134 PyObject * obj1 = 0 ;
d14a1e28 11135
4e760a36 11136 if(!PyArg_ParseTuple(args,(char *)"O|O:new_Sound",&obj0,&obj1)) goto fail;
d14a1e28
RD
11137 {
11138 arg1 = wxString_in_helper(obj0);
11139 if (arg1 == NULL) SWIG_fail;
423f194a 11140 temp1 = True;
d14a1e28
RD
11141 }
11142 if (obj1) {
83448d71 11143 {
8edf1c75 11144 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
11145 if (PyErr_Occurred()) SWIG_fail;
11146 }
d14a1e28
RD
11147 }
11148 {
11149 PyThreadState* __tstate = wxPyBeginAllowThreads();
4e760a36 11150 result = (wxSound *)new wxSound((wxString const &)*arg1,arg2);
d14a1e28
RD
11151
11152 wxPyEndAllowThreads(__tstate);
11153 if (PyErr_Occurred()) SWIG_fail;
11154 }
4e760a36 11155 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSound, 1);
d14a1e28
RD
11156 {
11157 if (temp1)
11158 delete arg1;
11159 }
11160 return resultobj;
11161 fail:
11162 {
11163 if (temp1)
11164 delete arg1;
11165 }
11166 return NULL;
11167}
11168
11169
4e760a36 11170static PyObject *_wrap_new_Sound__SWIG_2(PyObject *self, PyObject *args) {
d14a1e28 11171 PyObject *resultobj;
4e760a36
RD
11172 int arg1 ;
11173 wxByte *arg2 = (wxByte *) 0 ;
11174 wxSound *result;
d14a1e28 11175 PyObject * obj0 = 0 ;
4e760a36 11176 PyObject * obj1 = 0 ;
d14a1e28 11177
4e760a36 11178 if(!PyArg_ParseTuple(args,(char *)"OO:new_Sound",&obj0,&obj1)) goto fail;
d14a1e28 11179 {
4e760a36
RD
11180 arg1 = (int) SWIG_PyObj_AsInt(obj0);
11181 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11182 }
4e760a36 11183 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxByte,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
11184 {
11185 PyThreadState* __tstate = wxPyBeginAllowThreads();
4e760a36 11186 result = (wxSound *)new wxSound(arg1,(wxByte const *)arg2);
d14a1e28
RD
11187
11188 wxPyEndAllowThreads(__tstate);
11189 if (PyErr_Occurred()) SWIG_fail;
11190 }
4e760a36 11191 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSound, 1);
d14a1e28
RD
11192 return resultobj;
11193 fail:
4e760a36
RD
11194 return NULL;
11195}
11196
11197
11198static PyObject *_wrap_new_Sound(PyObject *self, PyObject *args) {
11199 int argc;
11200 PyObject *argv[3];
11201 int ii;
11202
11203 argc = PyObject_Length(args);
11204 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
11205 argv[ii] = PyTuple_GetItem(args,ii);
d14a1e28 11206 }
4e760a36
RD
11207 if (argc == 0) {
11208 return _wrap_new_Sound__SWIG_0(self,args);
11209 }
11210 if ((argc >= 1) && (argc <= 2)) {
11211 int _v;
11212 {
11213 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
11214 }
11215 if (_v) {
11216 if (argc <= 1) {
11217 return _wrap_new_Sound__SWIG_1(self,args);
11218 }
11219 {
11220 SWIG_PyObj_AsBool(argv[1]);
11221 if (PyErr_Occurred()) {
11222 _v = 0;
11223 PyErr_Clear();
11224 } else {
11225 _v = 1;
11226 }
11227 }
11228 if (_v) {
11229 return _wrap_new_Sound__SWIG_1(self,args);
11230 }
11231 }
11232 }
11233 if (argc == 2) {
11234 int _v;
11235 {
11236 SWIG_PyObj_AsInt(argv[0]);
11237 if (PyErr_Occurred()) {
11238 _v = 0;
11239 PyErr_Clear();
11240 } else {
11241 _v = 1;
11242 }
11243 }
11244 if (_v) {
11245 {
11246 void *ptr;
11247 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
11248 _v = 0;
11249 PyErr_Clear();
11250 } else {
11251 _v = 1;
11252 }
11253 }
11254 if (_v) {
11255 return _wrap_new_Sound__SWIG_2(self,args);
11256 }
11257 }
11258 }
11259
11260 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Sound'");
d14a1e28
RD
11261 return NULL;
11262}
11263
11264
4e760a36 11265static PyObject *_wrap_delete_Sound(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 11266 PyObject *resultobj;
4e760a36 11267 wxSound *arg1 = (wxSound *) 0 ;
d14a1e28
RD
11268 PyObject * obj0 = 0 ;
11269 char *kwnames[] = {
11270 (char *) "self", NULL
11271 };
11272
4e760a36
RD
11273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
11274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSound,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
11275 {
11276 PyThreadState* __tstate = wxPyBeginAllowThreads();
11277 delete arg1;
11278
11279 wxPyEndAllowThreads(__tstate);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 }
11282 Py_INCREF(Py_None); resultobj = Py_None;
11283 return resultobj;
11284 fail:
11285 return NULL;
11286}
11287
11288
4e760a36 11289static PyObject *_wrap_Sound_Create__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28 11290 PyObject *resultobj;
4e760a36
RD
11291 wxSound *arg1 = (wxSound *) 0 ;
11292 wxString *arg2 = 0 ;
11293 bool arg3 = (bool) false ;
d14a1e28 11294 bool result;
4e760a36 11295 bool temp2 = False ;
d14a1e28 11296 PyObject * obj0 = 0 ;
4e760a36
RD
11297 PyObject * obj1 = 0 ;
11298 PyObject * obj2 = 0 ;
d14a1e28 11299
4e760a36
RD
11300 if(!PyArg_ParseTuple(args,(char *)"OO|O:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
11301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSound,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11302 {
11303 arg2 = wxString_in_helper(obj1);
11304 if (arg2 == NULL) SWIG_fail;
11305 temp2 = True;
11306 }
11307 if (obj2) {
11308 {
11309 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11310 if (PyErr_Occurred()) SWIG_fail;
11311 }
11312 }
d14a1e28
RD
11313 {
11314 PyThreadState* __tstate = wxPyBeginAllowThreads();
4e760a36 11315 result = (bool)(arg1)->Create((wxString const &)*arg2,arg3);
d14a1e28
RD
11316
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
4e760a36
RD
11320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11321 {
11322 if (temp2)
11323 delete arg2;
11324 }
d14a1e28
RD
11325 return resultobj;
11326 fail:
4e760a36
RD
11327 {
11328 if (temp2)
11329 delete arg2;
11330 }
d14a1e28
RD
11331 return NULL;
11332}
11333
11334
4e760a36 11335static PyObject *_wrap_Sound_Create__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28 11336 PyObject *resultobj;
4e760a36
RD
11337 wxSound *arg1 = (wxSound *) 0 ;
11338 int arg2 ;
11339 wxByte *arg3 = (wxByte *) 0 ;
d14a1e28
RD
11340 bool result;
11341 PyObject * obj0 = 0 ;
11342 PyObject * obj1 = 0 ;
11343 PyObject * obj2 = 0 ;
4e760a36
RD
11344
11345 if(!PyArg_ParseTuple(args,(char *)"OOO:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
11346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSound,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11347 {
11348 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11349 if (PyErr_Occurred()) SWIG_fail;
11350 }
11351 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxByte,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11352 {
11353 PyThreadState* __tstate = wxPyBeginAllowThreads();
11354 result = (bool)(arg1)->Create(arg2,(wxByte const *)arg3);
11355
11356 wxPyEndAllowThreads(__tstate);
11357 if (PyErr_Occurred()) SWIG_fail;
11358 }
11359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11360 return resultobj;
11361 fail:
11362 return NULL;
11363}
11364
11365
11366static PyObject *_wrap_Sound_Create(PyObject *self, PyObject *args) {
11367 int argc;
11368 PyObject *argv[4];
11369 int ii;
11370
11371 argc = PyObject_Length(args);
11372 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11373 argv[ii] = PyTuple_GetItem(args,ii);
11374 }
11375 if ((argc >= 2) && (argc <= 3)) {
11376 int _v;
11377 {
11378 void *ptr;
11379 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
11380 _v = 0;
11381 PyErr_Clear();
11382 } else {
11383 _v = 1;
11384 }
11385 }
11386 if (_v) {
11387 {
11388 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
11389 }
11390 if (_v) {
11391 if (argc <= 2) {
11392 return _wrap_Sound_Create__SWIG_0(self,args);
11393 }
11394 {
11395 SWIG_PyObj_AsBool(argv[2]);
11396 if (PyErr_Occurred()) {
11397 _v = 0;
11398 PyErr_Clear();
11399 } else {
11400 _v = 1;
11401 }
11402 }
11403 if (_v) {
11404 return _wrap_Sound_Create__SWIG_0(self,args);
11405 }
11406 }
11407 }
11408 }
11409 if (argc == 3) {
11410 int _v;
11411 {
11412 void *ptr;
11413 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
11414 _v = 0;
11415 PyErr_Clear();
11416 } else {
11417 _v = 1;
11418 }
11419 }
11420 if (_v) {
11421 {
11422 SWIG_PyObj_AsInt(argv[1]);
11423 if (PyErr_Occurred()) {
11424 _v = 0;
11425 PyErr_Clear();
11426 } else {
11427 _v = 1;
11428 }
11429 }
11430 if (_v) {
11431 {
11432 void *ptr;
11433 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
11434 _v = 0;
11435 PyErr_Clear();
11436 } else {
11437 _v = 1;
11438 }
11439 }
11440 if (_v) {
11441 return _wrap_Sound_Create__SWIG_1(self,args);
11442 }
11443 }
11444 }
11445 }
11446
11447 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Sound_Create'");
11448 return NULL;
11449}
11450
11451
11452static PyObject *_wrap_Sound_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
11453 PyObject *resultobj;
11454 wxSound *arg1 = (wxSound *) 0 ;
11455 bool result;
11456 PyObject * obj0 = 0 ;
d14a1e28 11457 char *kwnames[] = {
4e760a36 11458 (char *) "self", NULL
d14a1e28
RD
11459 };
11460
4e760a36
RD
11461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
11462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSound,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11463 {
11464 PyThreadState* __tstate = wxPyBeginAllowThreads();
11465 result = (bool)(arg1)->IsOk();
11466
11467 wxPyEndAllowThreads(__tstate);
11468 if (PyErr_Occurred()) SWIG_fail;
11469 }
11470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11471 return resultobj;
11472 fail:
11473 return NULL;
11474}
11475
11476
11477static PyObject *_wrap_Sound_Play(PyObject *self, PyObject *args) {
11478 PyObject *resultobj;
11479 wxSound *arg1 = (wxSound *) 0 ;
11480 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11481 bool result;
11482 PyObject * obj0 = 0 ;
11483 PyObject * obj1 = 0 ;
11484
11485 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_Play",&obj0,&obj1)) goto fail;
11486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSound,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28 11487 if (obj1) {
83448d71 11488 {
4e760a36 11489 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
83448d71
RD
11490 if (PyErr_Occurred()) SWIG_fail;
11491 }
d14a1e28 11492 }
4e760a36
RD
11493 {
11494 PyThreadState* __tstate = wxPyBeginAllowThreads();
11495 result = (bool)((wxSound const *)arg1)->Play(arg2);
11496
11497 wxPyEndAllowThreads(__tstate);
11498 if (PyErr_Occurred()) SWIG_fail;
11499 }
11500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11501 return resultobj;
11502 fail:
11503 return NULL;
11504}
11505
11506
11507static PyObject *_wrap_Sound_PlaySound(PyObject *self, PyObject *args) {
11508 PyObject *resultobj;
11509 wxString *arg1 = 0 ;
11510 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11511 bool result;
11512 bool temp1 = False ;
11513 PyObject * obj0 = 0 ;
11514 PyObject * obj1 = 0 ;
11515
11516 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_PlaySound",&obj0,&obj1)) goto fail;
11517 {
11518 arg1 = wxString_in_helper(obj0);
11519 if (arg1 == NULL) SWIG_fail;
11520 temp1 = True;
11521 }
11522 if (obj1) {
83448d71 11523 {
4e760a36 11524 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
83448d71
RD
11525 if (PyErr_Occurred()) SWIG_fail;
11526 }
d14a1e28
RD
11527 }
11528 {
11529 PyThreadState* __tstate = wxPyBeginAllowThreads();
4e760a36 11530 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
d14a1e28
RD
11531
11532 wxPyEndAllowThreads(__tstate);
11533 if (PyErr_Occurred()) SWIG_fail;
11534 }
4e760a36
RD
11535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11536 {
11537 if (temp1)
11538 delete arg1;
11539 }
d14a1e28
RD
11540 return resultobj;
11541 fail:
4e760a36
RD
11542 {
11543 if (temp1)
11544 delete arg1;
11545 }
d14a1e28
RD
11546 return NULL;
11547}
11548
11549
4e760a36
RD
11550static PyObject *_wrap_Sound_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
11551 PyObject *resultobj;
11552 char *kwnames[] = {
11553 NULL
11554 };
11555
11556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
11557 {
11558 PyThreadState* __tstate = wxPyBeginAllowThreads();
11559 wxSound::Stop();
11560
11561 wxPyEndAllowThreads(__tstate);
11562 if (PyErr_Occurred()) SWIG_fail;
11563 }
11564 Py_INCREF(Py_None); resultobj = Py_None;
11565 return resultobj;
11566 fail:
11567 return NULL;
11568}
11569
11570
11571static PyObject * Sound_swigregister(PyObject *self, PyObject *args) {
d14a1e28
RD
11572 PyObject *obj;
11573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4e760a36 11574 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
d14a1e28
RD
11575 Py_INCREF(obj);
11576 return Py_BuildValue((char *)"");
11577}
11578static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11579 PyObject *resultobj;
11580 wxString *arg1 = 0 ;
11581 wxString *arg2 = 0 ;
11582 wxString *arg3 = 0 ;
11583 wxString *arg4 = 0 ;
11584 wxFileTypeInfo *result;
423f194a
RD
11585 bool temp1 = False ;
11586 bool temp2 = False ;
11587 bool temp3 = False ;
11588 bool temp4 = False ;
d14a1e28
RD
11589 PyObject * obj0 = 0 ;
11590 PyObject * obj1 = 0 ;
11591 PyObject * obj2 = 0 ;
11592 PyObject * obj3 = 0 ;
11593 char *kwnames[] = {
11594 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11595 };
11596
11597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11598 {
11599 arg1 = wxString_in_helper(obj0);
11600 if (arg1 == NULL) SWIG_fail;
423f194a 11601 temp1 = True;
d14a1e28
RD
11602 }
11603 {
11604 arg2 = wxString_in_helper(obj1);
11605 if (arg2 == NULL) SWIG_fail;
423f194a 11606 temp2 = True;
d14a1e28
RD
11607 }
11608 {
11609 arg3 = wxString_in_helper(obj2);
11610 if (arg3 == NULL) SWIG_fail;
423f194a 11611 temp3 = True;
d14a1e28
RD
11612 }
11613 {
11614 arg4 = wxString_in_helper(obj3);
11615 if (arg4 == NULL) SWIG_fail;
423f194a 11616 temp4 = True;
d14a1e28
RD
11617 }
11618 {
11619 PyThreadState* __tstate = wxPyBeginAllowThreads();
11620 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11621
11622 wxPyEndAllowThreads(__tstate);
11623 if (PyErr_Occurred()) SWIG_fail;
11624 }
11625 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
11626 {
11627 if (temp1)
11628 delete arg1;
11629 }
11630 {
11631 if (temp2)
11632 delete arg2;
11633 }
11634 {
11635 if (temp3)
11636 delete arg3;
11637 }
11638 {
11639 if (temp4)
11640 delete arg4;
11641 }
11642 return resultobj;
11643 fail:
11644 {
11645 if (temp1)
11646 delete arg1;
11647 }
11648 {
11649 if (temp2)
11650 delete arg2;
11651 }
11652 {
11653 if (temp3)
11654 delete arg3;
11655 }
11656 {
11657 if (temp4)
11658 delete arg4;
11659 }
11660 return NULL;
11661}
11662
11663
11664static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
11665 PyObject *resultobj;
11666 wxArrayString *arg1 = 0 ;
11667 wxFileTypeInfo *result;
db914595 11668 bool temp1 = False ;
d14a1e28
RD
11669 PyObject * obj0 = 0 ;
11670 char *kwnames[] = {
11671 (char *) "sArray", NULL
11672 };
11673
11674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
11675 {
11676 if (! PySequence_Check(obj0)) {
11677 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11678 SWIG_fail;
11679 }
11680 arg1 = new wxArrayString;
db914595 11681 temp1 = True;
d14a1e28
RD
11682 int i, len=PySequence_Length(obj0);
11683 for (i=0; i<len; i++) {
11684 PyObject* item = PySequence_GetItem(obj0, i);
11685#if wxUSE_UNICODE
11686 PyObject* str = PyObject_Unicode(item);
11687#else
11688 PyObject* str = PyObject_Str(item);
11689#endif
11690 arg1->Add(Py2wxString(str));
11691 Py_DECREF(item);
11692 Py_DECREF(str);
11693 }
11694 }
11695 {
11696 PyThreadState* __tstate = wxPyBeginAllowThreads();
11697 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
11698
11699 wxPyEndAllowThreads(__tstate);
11700 if (PyErr_Occurred()) SWIG_fail;
11701 }
11702 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
11703 {
db914595 11704 if (temp1) delete arg1;
d14a1e28
RD
11705 }
11706 return resultobj;
11707 fail:
11708 {
db914595 11709 if (temp1) delete arg1;
d14a1e28
RD
11710 }
11711 return NULL;
11712}
11713
11714
11715static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11716 PyObject *resultobj;
11717 wxFileTypeInfo *result;
11718 char *kwnames[] = {
11719 NULL
11720 };
11721
11722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
11723 {
11724 PyThreadState* __tstate = wxPyBeginAllowThreads();
11725 result = (wxFileTypeInfo *)new wxFileTypeInfo();
11726
11727 wxPyEndAllowThreads(__tstate);
11728 if (PyErr_Occurred()) SWIG_fail;
11729 }
11730 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
11731 return resultobj;
11732 fail:
11733 return NULL;
11734}
11735
11736
11737static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
11738 PyObject *resultobj;
11739 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11740 bool result;
11741 PyObject * obj0 = 0 ;
11742 char *kwnames[] = {
11743 (char *) "self", NULL
11744 };
11745
11746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
11747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11748 {
11749 PyThreadState* __tstate = wxPyBeginAllowThreads();
11750 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
11751
11752 wxPyEndAllowThreads(__tstate);
11753 if (PyErr_Occurred()) SWIG_fail;
11754 }
4e760a36 11755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11756 return resultobj;
11757 fail:
11758 return NULL;
11759}
11760
11761
11762static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11763 PyObject *resultobj;
11764 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11765 wxString *arg2 = 0 ;
11766 int arg3 = (int) 0 ;
423f194a 11767 bool temp2 = False ;
d14a1e28
RD
11768 PyObject * obj0 = 0 ;
11769 PyObject * obj1 = 0 ;
8edf1c75 11770 PyObject * obj2 = 0 ;
d14a1e28
RD
11771 char *kwnames[] = {
11772 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11773 };
11774
8edf1c75 11775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
11776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11777 {
11778 arg2 = wxString_in_helper(obj1);
11779 if (arg2 == NULL) SWIG_fail;
423f194a 11780 temp2 = True;
d14a1e28 11781 }
8edf1c75
RD
11782 if (obj2) {
11783 {
11784 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11785 if (PyErr_Occurred()) SWIG_fail;
11786 }
11787 }
d14a1e28
RD
11788 {
11789 PyThreadState* __tstate = wxPyBeginAllowThreads();
11790 (arg1)->SetIcon((wxString const &)*arg2,arg3);
11791
11792 wxPyEndAllowThreads(__tstate);
11793 if (PyErr_Occurred()) SWIG_fail;
11794 }
11795 Py_INCREF(Py_None); resultobj = Py_None;
11796 {
11797 if (temp2)
11798 delete arg2;
11799 }
11800 return resultobj;
11801 fail:
11802 {
11803 if (temp2)
11804 delete arg2;
11805 }
11806 return NULL;
11807}
11808
11809
11810static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
11811 PyObject *resultobj;
11812 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11813 wxString *arg2 = 0 ;
423f194a 11814 bool temp2 = False ;
d14a1e28
RD
11815 PyObject * obj0 = 0 ;
11816 PyObject * obj1 = 0 ;
11817 char *kwnames[] = {
11818 (char *) "self",(char *) "shortDesc", NULL
11819 };
11820
11821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
11822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11823 {
11824 arg2 = wxString_in_helper(obj1);
11825 if (arg2 == NULL) SWIG_fail;
423f194a 11826 temp2 = True;
d14a1e28
RD
11827 }
11828 {
11829 PyThreadState* __tstate = wxPyBeginAllowThreads();
11830 (arg1)->SetShortDesc((wxString const &)*arg2);
11831
11832 wxPyEndAllowThreads(__tstate);
11833 if (PyErr_Occurred()) SWIG_fail;
11834 }
11835 Py_INCREF(Py_None); resultobj = Py_None;
11836 {
11837 if (temp2)
11838 delete arg2;
11839 }
11840 return resultobj;
11841 fail:
11842 {
11843 if (temp2)
11844 delete arg2;
11845 }
11846 return NULL;
11847}
11848
11849
11850static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11851 PyObject *resultobj;
11852 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11853 wxString *result;
11854 PyObject * obj0 = 0 ;
11855 char *kwnames[] = {
11856 (char *) "self", NULL
11857 };
11858
11859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
11860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11861 {
11862 PyThreadState* __tstate = wxPyBeginAllowThreads();
11863 {
11864 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
11865 result = (wxString *) &_result_ref;
11866 }
11867
11868 wxPyEndAllowThreads(__tstate);
11869 if (PyErr_Occurred()) SWIG_fail;
11870 }
f0983263
RD
11871 {
11872#if wxUSE_UNICODE
11873 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11874#else
11875 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11876#endif
11877 }
d14a1e28
RD
11878 return resultobj;
11879 fail:
11880 return NULL;
11881}
11882
11883
11884static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11885 PyObject *resultobj;
11886 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11887 wxString *result;
11888 PyObject * obj0 = 0 ;
11889 char *kwnames[] = {
11890 (char *) "self", NULL
11891 };
11892
11893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
11894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11895 {
11896 PyThreadState* __tstate = wxPyBeginAllowThreads();
11897 {
11898 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
11899 result = (wxString *) &_result_ref;
11900 }
11901
11902 wxPyEndAllowThreads(__tstate);
11903 if (PyErr_Occurred()) SWIG_fail;
11904 }
f0983263
RD
11905 {
11906#if wxUSE_UNICODE
11907 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11908#else
11909 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11910#endif
11911 }
d14a1e28
RD
11912 return resultobj;
11913 fail:
11914 return NULL;
11915}
11916
11917
11918static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11919 PyObject *resultobj;
11920 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11921 wxString *result;
11922 PyObject * obj0 = 0 ;
11923 char *kwnames[] = {
11924 (char *) "self", NULL
11925 };
11926
11927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
11928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11929 {
11930 PyThreadState* __tstate = wxPyBeginAllowThreads();
11931 {
11932 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
11933 result = (wxString *) &_result_ref;
11934 }
11935
11936 wxPyEndAllowThreads(__tstate);
11937 if (PyErr_Occurred()) SWIG_fail;
11938 }
f0983263
RD
11939 {
11940#if wxUSE_UNICODE
11941 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11942#else
11943 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11944#endif
11945 }
d14a1e28
RD
11946 return resultobj;
11947 fail:
11948 return NULL;
11949}
11950
11951
11952static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
11953 PyObject *resultobj;
11954 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11955 wxString *result;
11956 PyObject * obj0 = 0 ;
11957 char *kwnames[] = {
11958 (char *) "self", NULL
11959 };
11960
11961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
11962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11963 {
11964 PyThreadState* __tstate = wxPyBeginAllowThreads();
11965 {
11966 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
11967 result = (wxString *) &_result_ref;
11968 }
11969
11970 wxPyEndAllowThreads(__tstate);
11971 if (PyErr_Occurred()) SWIG_fail;
11972 }
f0983263
RD
11973 {
11974#if wxUSE_UNICODE
11975 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11976#else
11977 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11978#endif
11979 }
d14a1e28
RD
11980 return resultobj;
11981 fail:
11982 return NULL;
11983}
11984
11985
11986static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11987 PyObject *resultobj;
11988 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11989 wxString *result;
11990 PyObject * obj0 = 0 ;
11991 char *kwnames[] = {
11992 (char *) "self", NULL
11993 };
11994
11995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
11996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11997 {
11998 PyThreadState* __tstate = wxPyBeginAllowThreads();
11999 {
12000 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
12001 result = (wxString *) &_result_ref;
12002 }
12003
12004 wxPyEndAllowThreads(__tstate);
12005 if (PyErr_Occurred()) SWIG_fail;
12006 }
f0983263
RD
12007 {
12008#if wxUSE_UNICODE
12009 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12010#else
12011 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12012#endif
12013 }
d14a1e28
RD
12014 return resultobj;
12015 fail:
12016 return NULL;
12017}
12018
12019
12020static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12021 PyObject *resultobj;
12022 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12023 wxArrayString *result;
12024 PyObject * obj0 = 0 ;
12025 char *kwnames[] = {
12026 (char *) "self", NULL
12027 };
12028
12029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
12030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12031 {
12032 PyThreadState* __tstate = wxPyBeginAllowThreads();
12033 {
12034 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12035 result = (wxArrayString *) &_result_ref;
12036 }
12037
12038 wxPyEndAllowThreads(__tstate);
12039 if (PyErr_Occurred()) SWIG_fail;
12040 }
12041 {
12042 resultobj = wxArrayString2PyList_helper(*result);
12043 }
12044 return resultobj;
12045 fail:
12046 return NULL;
12047}
12048
12049
12050static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12051 PyObject *resultobj;
12052 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12053 int result;
12054 PyObject * obj0 = 0 ;
12055 char *kwnames[] = {
12056 (char *) "self", NULL
12057 };
12058
12059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
12060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12061 {
12062 PyThreadState* __tstate = wxPyBeginAllowThreads();
12063 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12064
12065 wxPyEndAllowThreads(__tstate);
12066 if (PyErr_Occurred()) SWIG_fail;
12067 }
8edf1c75 12068 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
12069 return resultobj;
12070 fail:
12071 return NULL;
12072}
12073
12074
12075static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12076 PyObject *resultobj;
12077 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12078 wxString *result;
12079 PyObject * obj0 = 0 ;
12080 char *kwnames[] = {
12081 (char *) "self", NULL
12082 };
12083
12084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
12085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12086 {
12087 PyThreadState* __tstate = wxPyBeginAllowThreads();
12088 {
12089 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12090 result = (wxString *) &_result_ref;
12091 }
12092
12093 wxPyEndAllowThreads(__tstate);
12094 if (PyErr_Occurred()) SWIG_fail;
12095 }
f0983263
RD
12096 {
12097#if wxUSE_UNICODE
12098 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12099#else
12100 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12101#endif
12102 }
d14a1e28
RD
12103 return resultobj;
12104 fail:
12105 return NULL;
12106}
12107
12108
12109static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12110 PyObject *resultobj;
12111 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12112 int result;
12113 PyObject * obj0 = 0 ;
12114 char *kwnames[] = {
12115 (char *) "self", NULL
12116 };
12117
12118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
12119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12120 {
12121 PyThreadState* __tstate = wxPyBeginAllowThreads();
12122 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12123
12124 wxPyEndAllowThreads(__tstate);
12125 if (PyErr_Occurred()) SWIG_fail;
12126 }
8edf1c75 12127 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
12128 return resultobj;
12129 fail:
12130 return NULL;
12131}
12132
12133
12134static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
12135 PyObject *obj;
12136 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12137 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12138 Py_INCREF(obj);
12139 return Py_BuildValue((char *)"");
12140}
12141static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12142 PyObject *resultobj;
12143 wxFileTypeInfo *arg1 = 0 ;
12144 wxFileType *result;
12145 PyObject * obj0 = 0 ;
12146 char *kwnames[] = {
12147 (char *) "ftInfo", NULL
12148 };
12149
12150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
12151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12152 if (arg1 == NULL) {
12153 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12154 }
12155 {
12156 PyThreadState* __tstate = wxPyBeginAllowThreads();
12157 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12158
12159 wxPyEndAllowThreads(__tstate);
12160 if (PyErr_Occurred()) SWIG_fail;
12161 }
12162 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12163 return resultobj;
12164 fail:
12165 return NULL;
12166}
12167
12168
12169static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12170 PyObject *resultobj;
12171 wxFileType *arg1 = (wxFileType *) 0 ;
12172 PyObject * obj0 = 0 ;
12173 char *kwnames[] = {
12174 (char *) "self", NULL
12175 };
12176
12177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
12178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12179 {
12180 PyThreadState* __tstate = wxPyBeginAllowThreads();
12181 delete arg1;
12182
12183 wxPyEndAllowThreads(__tstate);
12184 if (PyErr_Occurred()) SWIG_fail;
12185 }
12186 Py_INCREF(Py_None); resultobj = Py_None;
12187 return resultobj;
12188 fail:
12189 return NULL;
12190}
12191
12192
12193static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12194 PyObject *resultobj;
12195 wxFileType *arg1 = (wxFileType *) 0 ;
12196 PyObject *result;
12197 PyObject * obj0 = 0 ;
12198 char *kwnames[] = {
12199 (char *) "self", NULL
12200 };
12201
12202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
12203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12204 {
12205 PyThreadState* __tstate = wxPyBeginAllowThreads();
12206 result = (PyObject *)wxFileType_GetMimeType(arg1);
12207
12208 wxPyEndAllowThreads(__tstate);
12209 if (PyErr_Occurred()) SWIG_fail;
12210 }
12211 resultobj = result;
12212 return resultobj;
12213 fail:
12214 return NULL;
12215}
12216
12217
12218static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12219 PyObject *resultobj;
12220 wxFileType *arg1 = (wxFileType *) 0 ;
12221 PyObject *result;
12222 PyObject * obj0 = 0 ;
12223 char *kwnames[] = {
12224 (char *) "self", NULL
12225 };
12226
12227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
12228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12229 {
12230 PyThreadState* __tstate = wxPyBeginAllowThreads();
12231 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
12232
12233 wxPyEndAllowThreads(__tstate);
12234 if (PyErr_Occurred()) SWIG_fail;
12235 }
12236 resultobj = result;
12237 return resultobj;
12238 fail:
12239 return NULL;
12240}
12241
12242
12243static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12244 PyObject *resultobj;
12245 wxFileType *arg1 = (wxFileType *) 0 ;
12246 PyObject *result;
12247 PyObject * obj0 = 0 ;
12248 char *kwnames[] = {
12249 (char *) "self", NULL
12250 };
12251
12252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
12253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12254 {
12255 PyThreadState* __tstate = wxPyBeginAllowThreads();
12256 result = (PyObject *)wxFileType_GetExtensions(arg1);
12257
12258 wxPyEndAllowThreads(__tstate);
12259 if (PyErr_Occurred()) SWIG_fail;
12260 }
12261 resultobj = result;
12262 return resultobj;
12263 fail:
12264 return NULL;
12265}
12266
12267
12268static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12269 PyObject *resultobj;
12270 wxFileType *arg1 = (wxFileType *) 0 ;
12271 wxIcon *result;
12272 PyObject * obj0 = 0 ;
12273 char *kwnames[] = {
12274 (char *) "self", NULL
12275 };
12276
12277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
12278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12279 {
12280 PyThreadState* __tstate = wxPyBeginAllowThreads();
12281 result = (wxIcon *)wxFileType_GetIcon(arg1);
12282
12283 wxPyEndAllowThreads(__tstate);
12284 if (PyErr_Occurred()) SWIG_fail;
12285 }
12286 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIcon, 1);
12287 return resultobj;
12288 fail:
12289 return NULL;
12290}
12291
12292
12293static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12294 PyObject *resultobj;
12295 wxFileType *arg1 = (wxFileType *) 0 ;
12296 PyObject *result;
12297 PyObject * obj0 = 0 ;
12298 char *kwnames[] = {
12299 (char *) "self", NULL
12300 };
12301
12302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
12303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12304 {
12305 PyThreadState* __tstate = wxPyBeginAllowThreads();
12306 result = (PyObject *)wxFileType_GetIconInfo(arg1);
12307
12308 wxPyEndAllowThreads(__tstate);
12309 if (PyErr_Occurred()) SWIG_fail;
12310 }
12311 resultobj = result;
12312 return resultobj;
12313 fail:
12314 return NULL;
12315}
12316
12317
12318static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12319 PyObject *resultobj;
12320 wxFileType *arg1 = (wxFileType *) 0 ;
12321 PyObject *result;
12322 PyObject * obj0 = 0 ;
12323 char *kwnames[] = {
12324 (char *) "self", NULL
12325 };
12326
12327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
12328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12329 {
12330 PyThreadState* __tstate = wxPyBeginAllowThreads();
12331 result = (PyObject *)wxFileType_GetDescription(arg1);
12332
12333 wxPyEndAllowThreads(__tstate);
12334 if (PyErr_Occurred()) SWIG_fail;
12335 }
12336 resultobj = result;
12337 return resultobj;
12338 fail:
12339 return NULL;
12340}
12341
12342
12343static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12344 PyObject *resultobj;
12345 wxFileType *arg1 = (wxFileType *) 0 ;
12346 wxString *arg2 = 0 ;
12347 wxString const &arg3_defvalue = wxPyEmptyString ;
12348 wxString *arg3 = (wxString *) &arg3_defvalue ;
12349 PyObject *result;
423f194a
RD
12350 bool temp2 = False ;
12351 bool temp3 = False ;
d14a1e28
RD
12352 PyObject * obj0 = 0 ;
12353 PyObject * obj1 = 0 ;
12354 PyObject * obj2 = 0 ;
12355 char *kwnames[] = {
12356 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12357 };
12358
12359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12361 {
12362 arg2 = wxString_in_helper(obj1);
12363 if (arg2 == NULL) SWIG_fail;
423f194a 12364 temp2 = True;
d14a1e28
RD
12365 }
12366 if (obj2) {
12367 {
12368 arg3 = wxString_in_helper(obj2);
12369 if (arg3 == NULL) SWIG_fail;
423f194a 12370 temp3 = True;
d14a1e28
RD
12371 }
12372 }
12373 {
12374 PyThreadState* __tstate = wxPyBeginAllowThreads();
12375 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12376
12377 wxPyEndAllowThreads(__tstate);
12378 if (PyErr_Occurred()) SWIG_fail;
12379 }
12380 resultobj = result;
12381 {
12382 if (temp2)
12383 delete arg2;
12384 }
12385 {
12386 if (temp3)
12387 delete arg3;
12388 }
12389 return resultobj;
12390 fail:
12391 {
12392 if (temp2)
12393 delete arg2;
12394 }
12395 {
12396 if (temp3)
12397 delete arg3;
12398 }
12399 return NULL;
12400}
12401
12402
12403static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12404 PyObject *resultobj;
12405 wxFileType *arg1 = (wxFileType *) 0 ;
12406 wxString *arg2 = 0 ;
12407 wxString const &arg3_defvalue = wxPyEmptyString ;
12408 wxString *arg3 = (wxString *) &arg3_defvalue ;
12409 PyObject *result;
423f194a
RD
12410 bool temp2 = False ;
12411 bool temp3 = False ;
d14a1e28
RD
12412 PyObject * obj0 = 0 ;
12413 PyObject * obj1 = 0 ;
12414 PyObject * obj2 = 0 ;
12415 char *kwnames[] = {
12416 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12417 };
12418
12419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12421 {
12422 arg2 = wxString_in_helper(obj1);
12423 if (arg2 == NULL) SWIG_fail;
423f194a 12424 temp2 = True;
d14a1e28
RD
12425 }
12426 if (obj2) {
12427 {
12428 arg3 = wxString_in_helper(obj2);
12429 if (arg3 == NULL) SWIG_fail;
423f194a 12430 temp3 = True;
d14a1e28
RD
12431 }
12432 }
12433 {
12434 PyThreadState* __tstate = wxPyBeginAllowThreads();
12435 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12436
12437 wxPyEndAllowThreads(__tstate);
12438 if (PyErr_Occurred()) SWIG_fail;
12439 }
12440 resultobj = result;
12441 {
12442 if (temp2)
12443 delete arg2;
12444 }
12445 {
12446 if (temp3)
12447 delete arg3;
12448 }
12449 return resultobj;
12450 fail:
12451 {
12452 if (temp2)
12453 delete arg2;
12454 }
12455 {
12456 if (temp3)
12457 delete arg3;
12458 }
12459 return NULL;
12460}
12461
12462
12463static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
12464 PyObject *resultobj;
12465 wxFileType *arg1 = (wxFileType *) 0 ;
12466 wxString *arg2 = 0 ;
12467 wxString const &arg3_defvalue = wxPyEmptyString ;
12468 wxString *arg3 = (wxString *) &arg3_defvalue ;
12469 PyObject *result;
423f194a
RD
12470 bool temp2 = False ;
12471 bool temp3 = False ;
d14a1e28
RD
12472 PyObject * obj0 = 0 ;
12473 PyObject * obj1 = 0 ;
12474 PyObject * obj2 = 0 ;
12475 char *kwnames[] = {
12476 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12477 };
12478
12479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
12480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12481 {
12482 arg2 = wxString_in_helper(obj1);
12483 if (arg2 == NULL) SWIG_fail;
423f194a 12484 temp2 = True;
d14a1e28
RD
12485 }
12486 if (obj2) {
12487 {
12488 arg3 = wxString_in_helper(obj2);
12489 if (arg3 == NULL) SWIG_fail;
423f194a 12490 temp3 = True;
d14a1e28
RD
12491 }
12492 }
12493 {
12494 PyThreadState* __tstate = wxPyBeginAllowThreads();
12495 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12496
12497 wxPyEndAllowThreads(__tstate);
12498 if (PyErr_Occurred()) SWIG_fail;
12499 }
12500 resultobj = result;
12501 {
12502 if (temp2)
12503 delete arg2;
12504 }
12505 {
12506 if (temp3)
12507 delete arg3;
12508 }
12509 return resultobj;
12510 fail:
12511 {
12512 if (temp2)
12513 delete arg2;
12514 }
12515 {
12516 if (temp3)
12517 delete arg3;
12518 }
12519 return NULL;
12520}
12521
12522
12523static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12524 PyObject *resultobj;
12525 wxFileType *arg1 = (wxFileType *) 0 ;
12526 wxString *arg2 = 0 ;
12527 wxString *arg3 = 0 ;
423f194a 12528 bool arg4 = (bool) True ;
d14a1e28 12529 bool result;
423f194a
RD
12530 bool temp2 = False ;
12531 bool temp3 = False ;
d14a1e28
RD
12532 PyObject * obj0 = 0 ;
12533 PyObject * obj1 = 0 ;
12534 PyObject * obj2 = 0 ;
12535 PyObject * obj3 = 0 ;
12536 char *kwnames[] = {
12537 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12538 };
12539
12540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12542 {
12543 arg2 = wxString_in_helper(obj1);
12544 if (arg2 == NULL) SWIG_fail;
423f194a 12545 temp2 = True;
d14a1e28
RD
12546 }
12547 {
12548 arg3 = wxString_in_helper(obj2);
12549 if (arg3 == NULL) SWIG_fail;
423f194a 12550 temp3 = True;
d14a1e28
RD
12551 }
12552 if (obj3) {
83448d71 12553 {
8edf1c75 12554 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
83448d71
RD
12555 if (PyErr_Occurred()) SWIG_fail;
12556 }
d14a1e28
RD
12557 }
12558 {
12559 PyThreadState* __tstate = wxPyBeginAllowThreads();
12560 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12561
12562 wxPyEndAllowThreads(__tstate);
12563 if (PyErr_Occurred()) SWIG_fail;
12564 }
4e760a36 12565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12566 {
12567 if (temp2)
12568 delete arg2;
12569 }
12570 {
12571 if (temp3)
12572 delete arg3;
12573 }
12574 return resultobj;
12575 fail:
12576 {
12577 if (temp2)
12578 delete arg2;
12579 }
12580 {
12581 if (temp3)
12582 delete arg3;
12583 }
12584 return NULL;
12585}
12586
12587
12588static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12589 PyObject *resultobj;
12590 wxFileType *arg1 = (wxFileType *) 0 ;
12591 wxString const &arg2_defvalue = wxPyEmptyString ;
12592 wxString *arg2 = (wxString *) &arg2_defvalue ;
12593 int arg3 = (int) 0 ;
12594 bool result;
423f194a 12595 bool temp2 = False ;
d14a1e28
RD
12596 PyObject * obj0 = 0 ;
12597 PyObject * obj1 = 0 ;
8edf1c75 12598 PyObject * obj2 = 0 ;
d14a1e28
RD
12599 char *kwnames[] = {
12600 (char *) "self",(char *) "cmd",(char *) "index", NULL
12601 };
12602
8edf1c75 12603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
12604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12605 if (obj1) {
12606 {
12607 arg2 = wxString_in_helper(obj1);
12608 if (arg2 == NULL) SWIG_fail;
423f194a 12609 temp2 = True;
d14a1e28
RD
12610 }
12611 }
8edf1c75
RD
12612 if (obj2) {
12613 {
12614 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12615 if (PyErr_Occurred()) SWIG_fail;
12616 }
12617 }
d14a1e28
RD
12618 {
12619 PyThreadState* __tstate = wxPyBeginAllowThreads();
12620 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
12621
12622 wxPyEndAllowThreads(__tstate);
12623 if (PyErr_Occurred()) SWIG_fail;
12624 }
4e760a36 12625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12626 {
12627 if (temp2)
12628 delete arg2;
12629 }
12630 return resultobj;
12631 fail:
12632 {
12633 if (temp2)
12634 delete arg2;
12635 }
12636 return NULL;
12637}
12638
12639
12640static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12641 PyObject *resultobj;
12642 wxFileType *arg1 = (wxFileType *) 0 ;
12643 bool result;
12644 PyObject * obj0 = 0 ;
12645 char *kwnames[] = {
12646 (char *) "self", NULL
12647 };
12648
12649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
12650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12651 {
12652 PyThreadState* __tstate = wxPyBeginAllowThreads();
12653 result = (bool)(arg1)->Unassociate();
12654
12655 wxPyEndAllowThreads(__tstate);
12656 if (PyErr_Occurred()) SWIG_fail;
12657 }
4e760a36 12658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12659 return resultobj;
12660 fail:
12661 return NULL;
12662}
12663
12664
12665static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12666 PyObject *resultobj;
12667 wxString *arg1 = 0 ;
12668 wxString *arg2 = 0 ;
12669 wxString const &arg3_defvalue = wxPyEmptyString ;
12670 wxString *arg3 = (wxString *) &arg3_defvalue ;
12671 wxString result;
423f194a
RD
12672 bool temp1 = False ;
12673 bool temp2 = False ;
12674 bool temp3 = False ;
d14a1e28
RD
12675 PyObject * obj0 = 0 ;
12676 PyObject * obj1 = 0 ;
12677 PyObject * obj2 = 0 ;
12678 char *kwnames[] = {
12679 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12680 };
12681
12682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12683 {
12684 arg1 = wxString_in_helper(obj0);
12685 if (arg1 == NULL) SWIG_fail;
423f194a 12686 temp1 = True;
d14a1e28
RD
12687 }
12688 {
12689 arg2 = wxString_in_helper(obj1);
12690 if (arg2 == NULL) SWIG_fail;
423f194a 12691 temp2 = True;
d14a1e28
RD
12692 }
12693 if (obj2) {
12694 {
12695 arg3 = wxString_in_helper(obj2);
12696 if (arg3 == NULL) SWIG_fail;
423f194a 12697 temp3 = True;
d14a1e28
RD
12698 }
12699 }
12700 {
12701 PyThreadState* __tstate = wxPyBeginAllowThreads();
12702 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12703
12704 wxPyEndAllowThreads(__tstate);
12705 if (PyErr_Occurred()) SWIG_fail;
12706 }
12707 {
12708#if wxUSE_UNICODE
12709 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12710#else
12711 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12712#endif
12713 }
12714 {
12715 if (temp1)
12716 delete arg1;
12717 }
12718 {
12719 if (temp2)
12720 delete arg2;
12721 }
12722 {
12723 if (temp3)
12724 delete arg3;
12725 }
12726 return resultobj;
12727 fail:
12728 {
12729 if (temp1)
12730 delete arg1;
12731 }
12732 {
12733 if (temp2)
12734 delete arg2;
12735 }
12736 {
12737 if (temp3)
12738 delete arg3;
12739 }
12740 return NULL;
12741}
12742
12743
12744static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
12745 PyObject *obj;
12746 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12747 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
12748 Py_INCREF(obj);
12749 return Py_BuildValue((char *)"");
12750}
8edf1c75 12751static int _wrap_TheMimeTypesManager_set(PyObject *) {
d14a1e28
RD
12752 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
12753 return 1;
12754}
12755
12756
12757static PyObject *_wrap_TheMimeTypesManager_get() {
12758 PyObject *pyobj;
12759
12760 pyobj = SWIG_NewPointerObj((void *) wxTheMimeTypesManager, SWIGTYPE_p_wxMimeTypesManager, 0);
12761 return pyobj;
12762}
12763
12764
12765static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
12766 PyObject *resultobj;
12767 wxString *arg1 = 0 ;
12768 wxString *arg2 = 0 ;
12769 bool result;
423f194a
RD
12770 bool temp1 = False ;
12771 bool temp2 = False ;
d14a1e28
RD
12772 PyObject * obj0 = 0 ;
12773 PyObject * obj1 = 0 ;
12774 char *kwnames[] = {
12775 (char *) "mimeType",(char *) "wildcard", NULL
12776 };
12777
12778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
12779 {
12780 arg1 = wxString_in_helper(obj0);
12781 if (arg1 == NULL) SWIG_fail;
423f194a 12782 temp1 = True;
d14a1e28
RD
12783 }
12784 {
12785 arg2 = wxString_in_helper(obj1);
12786 if (arg2 == NULL) SWIG_fail;
423f194a 12787 temp2 = True;
d14a1e28
RD
12788 }
12789 {
12790 PyThreadState* __tstate = wxPyBeginAllowThreads();
12791 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
12792
12793 wxPyEndAllowThreads(__tstate);
12794 if (PyErr_Occurred()) SWIG_fail;
12795 }
4e760a36 12796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12797 {
12798 if (temp1)
12799 delete arg1;
12800 }
12801 {
12802 if (temp2)
12803 delete arg2;
12804 }
12805 return resultobj;
12806 fail:
12807 {
12808 if (temp1)
12809 delete arg1;
12810 }
12811 {
12812 if (temp2)
12813 delete arg2;
12814 }
12815 return NULL;
12816}
12817
12818
12819static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
12820 PyObject *resultobj;
12821 wxMimeTypesManager *result;
12822 char *kwnames[] = {
12823 NULL
12824 };
12825
12826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
12827 {
12828 PyThreadState* __tstate = wxPyBeginAllowThreads();
12829 result = (wxMimeTypesManager *)new wxMimeTypesManager();
12830
12831 wxPyEndAllowThreads(__tstate);
12832 if (PyErr_Occurred()) SWIG_fail;
12833 }
12834 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMimeTypesManager, 1);
12835 return resultobj;
12836 fail:
12837 return NULL;
12838}
12839
12840
12841static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
12842 PyObject *resultobj;
12843 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12844 int arg2 = (int) wxMAILCAP_ALL ;
12845 wxString const &arg3_defvalue = wxPyEmptyString ;
12846 wxString *arg3 = (wxString *) &arg3_defvalue ;
423f194a 12847 bool temp3 = False ;
d14a1e28 12848 PyObject * obj0 = 0 ;
8edf1c75 12849 PyObject * obj1 = 0 ;
d14a1e28
RD
12850 PyObject * obj2 = 0 ;
12851 char *kwnames[] = {
12852 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
12853 };
12854
8edf1c75 12855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 12856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
12857 if (obj1) {
12858 {
12859 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12860 if (PyErr_Occurred()) SWIG_fail;
12861 }
12862 }
d14a1e28
RD
12863 if (obj2) {
12864 {
12865 arg3 = wxString_in_helper(obj2);
12866 if (arg3 == NULL) SWIG_fail;
423f194a 12867 temp3 = True;
d14a1e28
RD
12868 }
12869 }
12870 {
12871 PyThreadState* __tstate = wxPyBeginAllowThreads();
12872 (arg1)->Initialize(arg2,(wxString const &)*arg3);
12873
12874 wxPyEndAllowThreads(__tstate);
12875 if (PyErr_Occurred()) SWIG_fail;
12876 }
12877 Py_INCREF(Py_None); resultobj = Py_None;
12878 {
12879 if (temp3)
12880 delete arg3;
12881 }
12882 return resultobj;
12883 fail:
12884 {
12885 if (temp3)
12886 delete arg3;
12887 }
12888 return NULL;
12889}
12890
12891
12892static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
12893 PyObject *resultobj;
12894 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12895 PyObject * obj0 = 0 ;
12896 char *kwnames[] = {
12897 (char *) "self", NULL
12898 };
12899
12900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
12901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12902 {
12903 PyThreadState* __tstate = wxPyBeginAllowThreads();
12904 (arg1)->ClearData();
12905
12906 wxPyEndAllowThreads(__tstate);
12907 if (PyErr_Occurred()) SWIG_fail;
12908 }
12909 Py_INCREF(Py_None); resultobj = Py_None;
12910 return resultobj;
12911 fail:
12912 return NULL;
12913}
12914
12915
12916static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
12917 PyObject *resultobj;
12918 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12919 wxString *arg2 = 0 ;
12920 wxFileType *result;
423f194a 12921 bool temp2 = False ;
d14a1e28
RD
12922 PyObject * obj0 = 0 ;
12923 PyObject * obj1 = 0 ;
12924 char *kwnames[] = {
12925 (char *) "self",(char *) "ext", NULL
12926 };
12927
12928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
12929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12930 {
12931 arg2 = wxString_in_helper(obj1);
12932 if (arg2 == NULL) SWIG_fail;
423f194a 12933 temp2 = True;
d14a1e28
RD
12934 }
12935 {
12936 PyThreadState* __tstate = wxPyBeginAllowThreads();
12937 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
12938
12939 wxPyEndAllowThreads(__tstate);
12940 if (PyErr_Occurred()) SWIG_fail;
12941 }
12942 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12943 {
12944 if (temp2)
12945 delete arg2;
12946 }
12947 return resultobj;
12948 fail:
12949 {
12950 if (temp2)
12951 delete arg2;
12952 }
12953 return NULL;
12954}
12955
12956
12957static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12958 PyObject *resultobj;
12959 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12960 wxString *arg2 = 0 ;
12961 wxFileType *result;
423f194a 12962 bool temp2 = False ;
d14a1e28
RD
12963 PyObject * obj0 = 0 ;
12964 PyObject * obj1 = 0 ;
12965 char *kwnames[] = {
12966 (char *) "self",(char *) "mimeType", NULL
12967 };
12968
12969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
12970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12971 {
12972 arg2 = wxString_in_helper(obj1);
12973 if (arg2 == NULL) SWIG_fail;
423f194a 12974 temp2 = True;
d14a1e28
RD
12975 }
12976 {
12977 PyThreadState* __tstate = wxPyBeginAllowThreads();
12978 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
12979
12980 wxPyEndAllowThreads(__tstate);
12981 if (PyErr_Occurred()) SWIG_fail;
12982 }
12983 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12984 {
12985 if (temp2)
12986 delete arg2;
12987 }
12988 return resultobj;
12989 fail:
12990 {
12991 if (temp2)
12992 delete arg2;
12993 }
12994 return NULL;
12995}
12996
12997
12998static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
12999 PyObject *resultobj;
13000 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13001 wxString *arg2 = 0 ;
423f194a 13002 bool arg3 = (bool) False ;
d14a1e28 13003 bool result;
423f194a 13004 bool temp2 = False ;
d14a1e28
RD
13005 PyObject * obj0 = 0 ;
13006 PyObject * obj1 = 0 ;
13007 PyObject * obj2 = 0 ;
13008 char *kwnames[] = {
13009 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13010 };
13011
13012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13014 {
13015 arg2 = wxString_in_helper(obj1);
13016 if (arg2 == NULL) SWIG_fail;
423f194a 13017 temp2 = True;
d14a1e28
RD
13018 }
13019 if (obj2) {
83448d71 13020 {
8edf1c75 13021 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
13022 if (PyErr_Occurred()) SWIG_fail;
13023 }
d14a1e28
RD
13024 }
13025 {
13026 PyThreadState* __tstate = wxPyBeginAllowThreads();
13027 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13028
13029 wxPyEndAllowThreads(__tstate);
13030 if (PyErr_Occurred()) SWIG_fail;
13031 }
4e760a36 13032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13033 {
13034 if (temp2)
13035 delete arg2;
13036 }
13037 return resultobj;
13038 fail:
13039 {
13040 if (temp2)
13041 delete arg2;
13042 }
13043 return NULL;
13044}
13045
13046
13047static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13048 PyObject *resultobj;
13049 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13050 wxString *arg2 = 0 ;
13051 bool result;
423f194a 13052 bool temp2 = False ;
d14a1e28
RD
13053 PyObject * obj0 = 0 ;
13054 PyObject * obj1 = 0 ;
13055 char *kwnames[] = {
13056 (char *) "self",(char *) "filename", NULL
13057 };
13058
13059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
13060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13061 {
13062 arg2 = wxString_in_helper(obj1);
13063 if (arg2 == NULL) SWIG_fail;
423f194a 13064 temp2 = True;
d14a1e28
RD
13065 }
13066 {
13067 PyThreadState* __tstate = wxPyBeginAllowThreads();
13068 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13069
13070 wxPyEndAllowThreads(__tstate);
13071 if (PyErr_Occurred()) SWIG_fail;
13072 }
4e760a36 13073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13074 {
13075 if (temp2)
13076 delete arg2;
13077 }
13078 return resultobj;
13079 fail:
13080 {
13081 if (temp2)
13082 delete arg2;
13083 }
13084 return NULL;
13085}
13086
13087
13088static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13089 PyObject *resultobj;
13090 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13091 PyObject *result;
13092 PyObject * obj0 = 0 ;
13093 char *kwnames[] = {
13094 (char *) "self", NULL
13095 };
13096
13097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
13098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13099 {
13100 PyThreadState* __tstate = wxPyBeginAllowThreads();
13101 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13102
13103 wxPyEndAllowThreads(__tstate);
13104 if (PyErr_Occurred()) SWIG_fail;
13105 }
13106 resultobj = result;
13107 return resultobj;
13108 fail:
13109 return NULL;
13110}
13111
13112
13113static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
13114 PyObject *resultobj;
13115 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13116 wxFileTypeInfo *arg2 = 0 ;
13117 PyObject * obj0 = 0 ;
13118 PyObject * obj1 = 0 ;
13119 char *kwnames[] = {
13120 (char *) "self",(char *) "ft", NULL
13121 };
13122
13123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
13124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13125 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13126 if (arg2 == NULL) {
13127 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13128 }
13129 {
13130 PyThreadState* __tstate = wxPyBeginAllowThreads();
13131 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13132
13133 wxPyEndAllowThreads(__tstate);
13134 if (PyErr_Occurred()) SWIG_fail;
13135 }
13136 Py_INCREF(Py_None); resultobj = Py_None;
13137 return resultobj;
13138 fail:
13139 return NULL;
13140}
13141
13142
13143static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
13144 PyObject *resultobj;
13145 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13146 wxFileTypeInfo *arg2 = 0 ;
13147 wxFileType *result;
13148 PyObject * obj0 = 0 ;
13149 PyObject * obj1 = 0 ;
13150 char *kwnames[] = {
13151 (char *) "self",(char *) "ftInfo", NULL
13152 };
13153
13154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
13155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13156 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13157 if (arg2 == NULL) {
13158 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13159 }
13160 {
13161 PyThreadState* __tstate = wxPyBeginAllowThreads();
13162 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
13163
13164 wxPyEndAllowThreads(__tstate);
13165 if (PyErr_Occurred()) SWIG_fail;
13166 }
13167 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
13168 return resultobj;
13169 fail:
13170 return NULL;
13171}
13172
13173
13174static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
13175 PyObject *resultobj;
13176 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13177 wxFileType *arg2 = (wxFileType *) 0 ;
13178 bool result;
13179 PyObject * obj0 = 0 ;
13180 PyObject * obj1 = 0 ;
13181 char *kwnames[] = {
13182 (char *) "self",(char *) "ft", NULL
13183 };
13184
13185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
13186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13187 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13188 {
13189 PyThreadState* __tstate = wxPyBeginAllowThreads();
13190 result = (bool)(arg1)->Unassociate(arg2);
13191
13192 wxPyEndAllowThreads(__tstate);
13193 if (PyErr_Occurred()) SWIG_fail;
13194 }
4e760a36 13195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13196 return resultobj;
13197 fail:
13198 return NULL;
13199}
13200
13201
13202static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13203 PyObject *resultobj;
13204 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13205 PyObject * obj0 = 0 ;
13206 char *kwnames[] = {
13207 (char *) "self", NULL
13208 };
13209
13210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
13211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13212 {
13213 PyThreadState* __tstate = wxPyBeginAllowThreads();
13214 delete arg1;
13215
13216 wxPyEndAllowThreads(__tstate);
13217 if (PyErr_Occurred()) SWIG_fail;
13218 }
13219 Py_INCREF(Py_None); resultobj = Py_None;
13220 return resultobj;
13221 fail:
13222 return NULL;
13223}
13224
13225
13226static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
13227 PyObject *obj;
13228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13229 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
13230 Py_INCREF(obj);
13231 return Py_BuildValue((char *)"");
13232}
8edf1c75 13233static int _wrap_ART_TOOLBAR_set(PyObject *) {
d14a1e28
RD
13234 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
13235 return 1;
13236}
13237
13238
13239static PyObject *_wrap_ART_TOOLBAR_get() {
13240 PyObject *pyobj;
13241
13242 {
13243#if wxUSE_UNICODE
13244 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13245#else
13246 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13247#endif
13248 }
13249 return pyobj;
13250}
13251
13252
8edf1c75 13253static int _wrap_ART_MENU_set(PyObject *) {
d14a1e28
RD
13254 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
13255 return 1;
13256}
13257
13258
13259static PyObject *_wrap_ART_MENU_get() {
13260 PyObject *pyobj;
13261
13262 {
13263#if wxUSE_UNICODE
13264 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13265#else
13266 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13267#endif
13268 }
13269 return pyobj;
13270}
13271
13272
8edf1c75 13273static int _wrap_ART_FRAME_ICON_set(PyObject *) {
d14a1e28
RD
13274 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
13275 return 1;
13276}
13277
13278
13279static PyObject *_wrap_ART_FRAME_ICON_get() {
13280 PyObject *pyobj;
13281
13282 {
13283#if wxUSE_UNICODE
13284 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13285#else
13286 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13287#endif
13288 }
13289 return pyobj;
13290}
13291
13292
8edf1c75 13293static int _wrap_ART_CMN_DIALOG_set(PyObject *) {
d14a1e28
RD
13294 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
13295 return 1;
13296}
13297
13298
13299static PyObject *_wrap_ART_CMN_DIALOG_get() {
13300 PyObject *pyobj;
13301
13302 {
13303#if wxUSE_UNICODE
13304 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13305#else
13306 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13307#endif
13308 }
13309 return pyobj;
13310}
13311
13312
8edf1c75 13313static int _wrap_ART_HELP_BROWSER_set(PyObject *) {
d14a1e28
RD
13314 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
13315 return 1;
13316}
13317
13318
13319static PyObject *_wrap_ART_HELP_BROWSER_get() {
13320 PyObject *pyobj;
13321
13322 {
13323#if wxUSE_UNICODE
13324 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13325#else
13326 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13327#endif
13328 }
13329 return pyobj;
13330}
13331
13332
8edf1c75 13333static int _wrap_ART_MESSAGE_BOX_set(PyObject *) {
d14a1e28
RD
13334 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
13335 return 1;
13336}
13337
13338
13339static PyObject *_wrap_ART_MESSAGE_BOX_get() {
13340 PyObject *pyobj;
13341
13342 {
13343#if wxUSE_UNICODE
13344 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13345#else
13346 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13347#endif
13348 }
13349 return pyobj;
13350}
13351
13352
8edf1c75 13353static int _wrap_ART_OTHER_set(PyObject *) {
d14a1e28
RD
13354 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
13355 return 1;
13356}
13357
13358
13359static PyObject *_wrap_ART_OTHER_get() {
13360 PyObject *pyobj;
13361
13362 {
13363#if wxUSE_UNICODE
13364 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13365#else
13366 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13367#endif
13368 }
13369 return pyobj;
13370}
13371
13372
8edf1c75 13373static int _wrap_ART_ADD_BOOKMARK_set(PyObject *) {
d14a1e28
RD
13374 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
13375 return 1;
13376}
13377
13378
13379static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
13380 PyObject *pyobj;
13381
13382 {
13383#if wxUSE_UNICODE
13384 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13385#else
13386 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13387#endif
13388 }
13389 return pyobj;
13390}
13391
13392
8edf1c75 13393static int _wrap_ART_DEL_BOOKMARK_set(PyObject *) {
d14a1e28
RD
13394 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
13395 return 1;
13396}
13397
13398
13399static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
13400 PyObject *pyobj;
13401
13402 {
13403#if wxUSE_UNICODE
13404 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13405#else
13406 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13407#endif
13408 }
13409 return pyobj;
13410}
13411
13412
8edf1c75 13413static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *) {
d14a1e28
RD
13414 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
13415 return 1;
13416}
13417
13418
13419static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
13420 PyObject *pyobj;
13421
13422 {
13423#if wxUSE_UNICODE
13424 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13425#else
13426 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13427#endif
13428 }
13429 return pyobj;
13430}
13431
13432
8edf1c75 13433static int _wrap_ART_HELP_SETTINGS_set(PyObject *) {
d14a1e28
RD
13434 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
13435 return 1;
13436}
13437
13438
13439static PyObject *_wrap_ART_HELP_SETTINGS_get() {
13440 PyObject *pyobj;
13441
13442 {
13443#if wxUSE_UNICODE
13444 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13445#else
13446 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13447#endif
13448 }
13449 return pyobj;
13450}
13451
13452
8edf1c75 13453static int _wrap_ART_HELP_BOOK_set(PyObject *) {
d14a1e28
RD
13454 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
13455 return 1;
13456}
13457
13458
13459static PyObject *_wrap_ART_HELP_BOOK_get() {
13460 PyObject *pyobj;
13461
13462 {
13463#if wxUSE_UNICODE
13464 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13465#else
13466 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13467#endif
13468 }
13469 return pyobj;
13470}
13471
13472
8edf1c75 13473static int _wrap_ART_HELP_FOLDER_set(PyObject *) {
d14a1e28
RD
13474 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
13475 return 1;
13476}
13477
13478
13479static PyObject *_wrap_ART_HELP_FOLDER_get() {
13480 PyObject *pyobj;
13481
13482 {
13483#if wxUSE_UNICODE
13484 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13485#else
13486 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13487#endif
13488 }
13489 return pyobj;
13490}
13491
13492
8edf1c75 13493static int _wrap_ART_HELP_PAGE_set(PyObject *) {
d14a1e28
RD
13494 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
13495 return 1;
13496}
13497
13498
13499static PyObject *_wrap_ART_HELP_PAGE_get() {
13500 PyObject *pyobj;
13501
13502 {
13503#if wxUSE_UNICODE
13504 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13505#else
13506 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13507#endif
13508 }
13509 return pyobj;
13510}
13511
13512
8edf1c75 13513static int _wrap_ART_GO_BACK_set(PyObject *) {
d14a1e28
RD
13514 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
13515 return 1;
13516}
13517
13518
13519static PyObject *_wrap_ART_GO_BACK_get() {
13520 PyObject *pyobj;
13521
13522 {
13523#if wxUSE_UNICODE
13524 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13525#else
13526 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13527#endif
13528 }
13529 return pyobj;
13530}
13531
13532
8edf1c75 13533static int _wrap_ART_GO_FORWARD_set(PyObject *) {
d14a1e28
RD
13534 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
13535 return 1;
13536}
13537
13538
13539static PyObject *_wrap_ART_GO_FORWARD_get() {
13540 PyObject *pyobj;
13541
13542 {
13543#if wxUSE_UNICODE
13544 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13545#else
13546 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13547#endif
13548 }
13549 return pyobj;
13550}
13551
13552
8edf1c75 13553static int _wrap_ART_GO_UP_set(PyObject *) {
d14a1e28
RD
13554 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
13555 return 1;
13556}
13557
13558
13559static PyObject *_wrap_ART_GO_UP_get() {
13560 PyObject *pyobj;
13561
13562 {
13563#if wxUSE_UNICODE
13564 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13565#else
13566 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13567#endif
13568 }
13569 return pyobj;
13570}
13571
13572
8edf1c75 13573static int _wrap_ART_GO_DOWN_set(PyObject *) {
d14a1e28
RD
13574 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
13575 return 1;
13576}
13577
13578
13579static PyObject *_wrap_ART_GO_DOWN_get() {
13580 PyObject *pyobj;
13581
13582 {
13583#if wxUSE_UNICODE
13584 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13585#else
13586 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13587#endif
13588 }
13589 return pyobj;
13590}
13591
13592
8edf1c75 13593static int _wrap_ART_GO_TO_PARENT_set(PyObject *) {
d14a1e28
RD
13594 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
13595 return 1;
13596}
13597
13598
13599static PyObject *_wrap_ART_GO_TO_PARENT_get() {
13600 PyObject *pyobj;
13601
13602 {
13603#if wxUSE_UNICODE
13604 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13605#else
13606 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13607#endif
13608 }
13609 return pyobj;
13610}
13611
13612
8edf1c75 13613static int _wrap_ART_GO_HOME_set(PyObject *) {
d14a1e28
RD
13614 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
13615 return 1;
13616}
13617
13618
13619static PyObject *_wrap_ART_GO_HOME_get() {
13620 PyObject *pyobj;
13621
13622 {
13623#if wxUSE_UNICODE
13624 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13625#else
13626 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13627#endif
13628 }
13629 return pyobj;
13630}
13631
13632
8edf1c75 13633static int _wrap_ART_FILE_OPEN_set(PyObject *) {
d14a1e28
RD
13634 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
13635 return 1;
13636}
13637
13638
13639static PyObject *_wrap_ART_FILE_OPEN_get() {
13640 PyObject *pyobj;
13641
13642 {
13643#if wxUSE_UNICODE
13644 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13645#else
13646 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13647#endif
13648 }
13649 return pyobj;
13650}
13651
13652
8edf1c75 13653static int _wrap_ART_PRINT_set(PyObject *) {
d14a1e28
RD
13654 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
13655 return 1;
13656}
13657
13658
13659static PyObject *_wrap_ART_PRINT_get() {
13660 PyObject *pyobj;
13661
13662 {
13663#if wxUSE_UNICODE
13664 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13665#else
13666 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13667#endif
13668 }
13669 return pyobj;
13670}
13671
13672
8edf1c75 13673static int _wrap_ART_HELP_set(PyObject *) {
d14a1e28
RD
13674 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
13675 return 1;
13676}
13677
13678
13679static PyObject *_wrap_ART_HELP_get() {
13680 PyObject *pyobj;
13681
13682 {
13683#if wxUSE_UNICODE
13684 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13685#else
13686 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13687#endif
13688 }
13689 return pyobj;
13690}
13691
13692
8edf1c75 13693static int _wrap_ART_TIP_set(PyObject *) {
d14a1e28
RD
13694 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
13695 return 1;
13696}
13697
13698
13699static PyObject *_wrap_ART_TIP_get() {
13700 PyObject *pyobj;
13701
13702 {
13703#if wxUSE_UNICODE
13704 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13705#else
13706 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13707#endif
13708 }
13709 return pyobj;
13710}
13711
13712
8edf1c75 13713static int _wrap_ART_REPORT_VIEW_set(PyObject *) {
d14a1e28
RD
13714 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
13715 return 1;
13716}
13717
13718
13719static PyObject *_wrap_ART_REPORT_VIEW_get() {
13720 PyObject *pyobj;
13721
13722 {
13723#if wxUSE_UNICODE
13724 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
13725#else
13726 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
13727#endif
13728 }
13729 return pyobj;
13730}
13731
13732
8edf1c75 13733static int _wrap_ART_LIST_VIEW_set(PyObject *) {
d14a1e28
RD
13734 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
13735 return 1;
13736}
13737
13738
13739static PyObject *_wrap_ART_LIST_VIEW_get() {
13740 PyObject *pyobj;
13741
13742 {
13743#if wxUSE_UNICODE
13744 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
13745#else
13746 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
13747#endif
13748 }
13749 return pyobj;
13750}
13751
13752
8edf1c75 13753static int _wrap_ART_NEW_DIR_set(PyObject *) {
d14a1e28
RD
13754 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
13755 return 1;
13756}
13757
13758
13759static PyObject *_wrap_ART_NEW_DIR_get() {
13760 PyObject *pyobj;
13761
13762 {
13763#if wxUSE_UNICODE
13764 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
13765#else
13766 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
13767#endif
13768 }
13769 return pyobj;
13770}
13771
13772
8edf1c75 13773static int _wrap_ART_FOLDER_set(PyObject *) {
d14a1e28
RD
13774 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
13775 return 1;
13776}
13777
13778
13779static PyObject *_wrap_ART_FOLDER_get() {
13780 PyObject *pyobj;
13781
13782 {
13783#if wxUSE_UNICODE
13784 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
13785#else
13786 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
13787#endif
13788 }
13789 return pyobj;
13790}
13791
13792
8edf1c75 13793static int _wrap_ART_GO_DIR_UP_set(PyObject *) {
d14a1e28
RD
13794 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
13795 return 1;
13796}
13797
13798
13799static PyObject *_wrap_ART_GO_DIR_UP_get() {
13800 PyObject *pyobj;
13801
13802 {
13803#if wxUSE_UNICODE
13804 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
13805#else
13806 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
13807#endif
13808 }
13809 return pyobj;
13810}
13811
13812
8edf1c75 13813static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *) {
d14a1e28
RD
13814 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
13815 return 1;
13816}
13817
13818
13819static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
13820 PyObject *pyobj;
13821
13822 {
13823#if wxUSE_UNICODE
13824 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
13825#else
13826 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
13827#endif
13828 }
13829 return pyobj;
13830}
13831
13832
8edf1c75 13833static int _wrap_ART_NORMAL_FILE_set(PyObject *) {
d14a1e28
RD
13834 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
13835 return 1;
13836}
13837
13838
13839static PyObject *_wrap_ART_NORMAL_FILE_get() {
13840 PyObject *pyobj;
13841
13842 {
13843#if wxUSE_UNICODE
13844 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
13845#else
13846 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
13847#endif
13848 }
13849 return pyobj;
13850}
13851
13852
8edf1c75 13853static int _wrap_ART_TICK_MARK_set(PyObject *) {
d14a1e28
RD
13854 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
13855 return 1;
13856}
13857
13858
13859static PyObject *_wrap_ART_TICK_MARK_get() {
13860 PyObject *pyobj;
13861
13862 {
13863#if wxUSE_UNICODE
13864 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
13865#else
13866 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
13867#endif
13868 }
13869 return pyobj;
13870}
13871
13872
8edf1c75 13873static int _wrap_ART_CROSS_MARK_set(PyObject *) {
d14a1e28
RD
13874 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
13875 return 1;
13876}
13877
13878
13879static PyObject *_wrap_ART_CROSS_MARK_get() {
13880 PyObject *pyobj;
13881
13882 {
13883#if wxUSE_UNICODE
13884 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
13885#else
13886 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
13887#endif
13888 }
13889 return pyobj;
13890}
13891
13892
8edf1c75 13893static int _wrap_ART_ERROR_set(PyObject *) {
d14a1e28
RD
13894 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
13895 return 1;
13896}
13897
13898
13899static PyObject *_wrap_ART_ERROR_get() {
13900 PyObject *pyobj;
13901
13902 {
13903#if wxUSE_UNICODE
13904 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
13905#else
13906 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
13907#endif
13908 }
13909 return pyobj;
13910}
13911
13912
8edf1c75 13913static int _wrap_ART_QUESTION_set(PyObject *) {
d14a1e28
RD
13914 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
13915 return 1;
13916}
13917
13918
13919static PyObject *_wrap_ART_QUESTION_get() {
13920 PyObject *pyobj;
13921
13922 {
13923#if wxUSE_UNICODE
13924 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
13925#else
13926 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
13927#endif
13928 }
13929 return pyobj;
13930}
13931
13932
8edf1c75 13933static int _wrap_ART_WARNING_set(PyObject *) {
d14a1e28
RD
13934 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
13935 return 1;
13936}
13937
13938
13939static PyObject *_wrap_ART_WARNING_get() {
13940 PyObject *pyobj;
13941
13942 {
13943#if wxUSE_UNICODE
13944 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
13945#else
13946 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
13947#endif
13948 }
13949 return pyobj;
13950}
13951
13952
8edf1c75 13953static int _wrap_ART_INFORMATION_set(PyObject *) {
d14a1e28
RD
13954 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
13955 return 1;
13956}
13957
13958
13959static PyObject *_wrap_ART_INFORMATION_get() {
13960 PyObject *pyobj;
13961
13962 {
13963#if wxUSE_UNICODE
13964 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
13965#else
13966 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
13967#endif
13968 }
13969 return pyobj;
13970}
13971
13972
8edf1c75 13973static int _wrap_ART_MISSING_IMAGE_set(PyObject *) {
d14a1e28
RD
13974 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
13975 return 1;
13976}
13977
13978
13979static PyObject *_wrap_ART_MISSING_IMAGE_get() {
13980 PyObject *pyobj;
13981
13982 {
13983#if wxUSE_UNICODE
13984 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
13985#else
13986 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
13987#endif
13988 }
13989 return pyobj;
13990}
13991
13992
13993static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13994 PyObject *resultobj;
13995 wxPyArtProvider *result;
13996 char *kwnames[] = {
13997 NULL
13998 };
13999
14000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
14001 {
14002 PyThreadState* __tstate = wxPyBeginAllowThreads();
14003 result = (wxPyArtProvider *)new wxPyArtProvider();
14004
14005 wxPyEndAllowThreads(__tstate);
14006 if (PyErr_Occurred()) SWIG_fail;
14007 }
14008 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyArtProvider, 1);
14009 return resultobj;
14010 fail:
14011 return NULL;
14012}
14013
14014
d14a1e28
RD
14015static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14016 PyObject *resultobj;
14017 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14018 PyObject *arg2 = (PyObject *) 0 ;
14019 PyObject *arg3 = (PyObject *) 0 ;
14020 PyObject * obj0 = 0 ;
14021 PyObject * obj1 = 0 ;
14022 PyObject * obj2 = 0 ;
14023 char *kwnames[] = {
14024 (char *) "self",(char *) "self",(char *) "_class", NULL
14025 };
14026
14027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14029 arg2 = obj1;
14030 arg3 = obj2;
14031 {
14032 PyThreadState* __tstate = wxPyBeginAllowThreads();
14033 (arg1)->_setCallbackInfo(arg2,arg3);
14034
14035 wxPyEndAllowThreads(__tstate);
14036 if (PyErr_Occurred()) SWIG_fail;
14037 }
14038 Py_INCREF(Py_None); resultobj = Py_None;
14039 return resultobj;
14040 fail:
14041 return NULL;
14042}
14043
14044
14045static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14046 PyObject *resultobj;
14047 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14048 PyObject * obj0 = 0 ;
14049 char *kwnames[] = {
14050 (char *) "provider", NULL
14051 };
14052
14053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
14054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14055 {
14056 PyThreadState* __tstate = wxPyBeginAllowThreads();
14057 wxPyArtProvider::PushProvider(arg1);
14058
14059 wxPyEndAllowThreads(__tstate);
14060 if (PyErr_Occurred()) SWIG_fail;
14061 }
14062 Py_INCREF(Py_None); resultobj = Py_None;
14063 return resultobj;
14064 fail:
14065 return NULL;
14066}
14067
14068
14069static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14070 PyObject *resultobj;
14071 bool result;
14072 char *kwnames[] = {
14073 NULL
14074 };
14075
14076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
14077 {
14078 PyThreadState* __tstate = wxPyBeginAllowThreads();
14079 result = (bool)wxPyArtProvider::PopProvider();
14080
14081 wxPyEndAllowThreads(__tstate);
14082 if (PyErr_Occurred()) SWIG_fail;
14083 }
4e760a36 14084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14085 return resultobj;
14086 fail:
14087 return NULL;
14088}
14089
14090
14091static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14092 PyObject *resultobj;
14093 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14094 bool result;
14095 PyObject * obj0 = 0 ;
14096 char *kwnames[] = {
14097 (char *) "provider", NULL
14098 };
14099
14100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
14101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14102 {
14103 PyThreadState* __tstate = wxPyBeginAllowThreads();
14104 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
14105
14106 wxPyEndAllowThreads(__tstate);
14107 if (PyErr_Occurred()) SWIG_fail;
14108 }
4e760a36 14109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14110 return resultobj;
14111 fail:
14112 return NULL;
14113}
14114
14115
14116static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14117 PyObject *resultobj;
14118 wxString *arg1 = 0 ;
14119 wxString const &arg2_defvalue = wxPyART_OTHER ;
14120 wxString *arg2 = (wxString *) &arg2_defvalue ;
14121 wxSize const &arg3_defvalue = wxDefaultSize ;
14122 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14123 wxBitmap result;
423f194a
RD
14124 bool temp1 = False ;
14125 bool temp2 = False ;
d14a1e28
RD
14126 wxSize temp3 ;
14127 PyObject * obj0 = 0 ;
14128 PyObject * obj1 = 0 ;
14129 PyObject * obj2 = 0 ;
14130 char *kwnames[] = {
14131 (char *) "id",(char *) "client",(char *) "size", NULL
14132 };
14133
14134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
14135 {
14136 arg1 = wxString_in_helper(obj0);
14137 if (arg1 == NULL) SWIG_fail;
423f194a 14138 temp1 = True;
d14a1e28
RD
14139 }
14140 if (obj1) {
14141 {
14142 arg2 = wxString_in_helper(obj1);
14143 if (arg2 == NULL) SWIG_fail;
423f194a 14144 temp2 = True;
d14a1e28
RD
14145 }
14146 }
14147 if (obj2) {
14148 {
14149 arg3 = &temp3;
14150 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14151 }
14152 }
14153 {
14154 PyThreadState* __tstate = wxPyBeginAllowThreads();
14155 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14156
14157 wxPyEndAllowThreads(__tstate);
14158 if (PyErr_Occurred()) SWIG_fail;
14159 }
14160 {
14161 wxBitmap * resultptr;
14162 resultptr = new wxBitmap((wxBitmap &) result);
14163 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
14164 }
14165 {
14166 if (temp1)
14167 delete arg1;
14168 }
14169 {
14170 if (temp2)
14171 delete arg2;
14172 }
14173 return resultobj;
14174 fail:
14175 {
14176 if (temp1)
14177 delete arg1;
14178 }
14179 {
14180 if (temp2)
14181 delete arg2;
14182 }
14183 return NULL;
14184}
14185
14186
14187static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
14188 PyObject *resultobj;
14189 wxString *arg1 = 0 ;
14190 wxString const &arg2_defvalue = wxPyART_OTHER ;
14191 wxString *arg2 = (wxString *) &arg2_defvalue ;
14192 wxSize const &arg3_defvalue = wxDefaultSize ;
14193 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14194 wxIcon result;
423f194a
RD
14195 bool temp1 = False ;
14196 bool temp2 = False ;
d14a1e28
RD
14197 wxSize temp3 ;
14198 PyObject * obj0 = 0 ;
14199 PyObject * obj1 = 0 ;
14200 PyObject * obj2 = 0 ;
14201 char *kwnames[] = {
14202 (char *) "id",(char *) "client",(char *) "size", NULL
14203 };
14204
14205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
14206 {
14207 arg1 = wxString_in_helper(obj0);
14208 if (arg1 == NULL) SWIG_fail;
423f194a 14209 temp1 = True;
d14a1e28
RD
14210 }
14211 if (obj1) {
14212 {
14213 arg2 = wxString_in_helper(obj1);
14214 if (arg2 == NULL) SWIG_fail;
423f194a 14215 temp2 = True;
d14a1e28
RD
14216 }
14217 }
14218 if (obj2) {
14219 {
14220 arg3 = &temp3;
14221 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14222 }
14223 }
14224 {
14225 PyThreadState* __tstate = wxPyBeginAllowThreads();
14226 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14227
14228 wxPyEndAllowThreads(__tstate);
14229 if (PyErr_Occurred()) SWIG_fail;
14230 }
14231 {
14232 wxIcon * resultptr;
14233 resultptr = new wxIcon((wxIcon &) result);
14234 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
14235 }
14236 {
14237 if (temp1)
14238 delete arg1;
14239 }
14240 {
14241 if (temp2)
14242 delete arg2;
14243 }
14244 return resultobj;
14245 fail:
14246 {
14247 if (temp1)
14248 delete arg1;
14249 }
14250 {
14251 if (temp2)
14252 delete arg2;
14253 }
14254 return NULL;
14255}
14256
14257
41f1cec7
RD
14258static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
14259 PyObject *resultobj;
14260 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14261 PyObject * obj0 = 0 ;
14262 char *kwnames[] = {
14263 (char *) "self", NULL
14264 };
14265
14266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
14267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14268 {
14269 PyThreadState* __tstate = wxPyBeginAllowThreads();
14270 wxPyArtProvider_Destroy(arg1);
14271
14272 wxPyEndAllowThreads(__tstate);
14273 if (PyErr_Occurred()) SWIG_fail;
14274 }
14275 Py_INCREF(Py_None); resultobj = Py_None;
14276 return resultobj;
14277 fail:
14278 return NULL;
14279}
14280
14281
d14a1e28
RD
14282static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
14283 PyObject *obj;
14284 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14285 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
14286 Py_INCREF(obj);
14287 return Py_BuildValue((char *)"");
14288}
14289static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
14290 PyObject *resultobj;
14291 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14292 PyObject * obj0 = 0 ;
14293 char *kwnames[] = {
14294 (char *) "self", NULL
14295 };
14296
14297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
14298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14299 {
14300 PyThreadState* __tstate = wxPyBeginAllowThreads();
14301 delete arg1;
14302
14303 wxPyEndAllowThreads(__tstate);
14304 if (PyErr_Occurred()) SWIG_fail;
14305 }
14306 Py_INCREF(Py_None); resultobj = Py_None;
14307 return resultobj;
14308 fail:
14309 return NULL;
14310}
14311
14312
14313static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
14314 PyObject *resultobj;
14315 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14316 wxConfigBase *result;
14317 PyObject * obj0 = 0 ;
14318 char *kwnames[] = {
14319 (char *) "pConfig", NULL
14320 };
14321
14322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
14323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14324 {
14325 PyThreadState* __tstate = wxPyBeginAllowThreads();
14326 result = (wxConfigBase *)wxConfigBase::Set(arg1);
14327
14328 wxPyEndAllowThreads(__tstate);
14329 if (PyErr_Occurred()) SWIG_fail;
14330 }
14331 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
14332 return resultobj;
14333 fail:
14334 return NULL;
14335}
14336
14337
14338static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
14339 PyObject *resultobj;
423f194a 14340 bool arg1 = (bool) True ;
d14a1e28
RD
14341 wxConfigBase *result;
14342 PyObject * obj0 = 0 ;
14343 char *kwnames[] = {
14344 (char *) "createOnDemand", NULL
14345 };
14346
14347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
14348 if (obj0) {
83448d71 14349 {
8edf1c75 14350 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
83448d71
RD
14351 if (PyErr_Occurred()) SWIG_fail;
14352 }
d14a1e28
RD
14353 }
14354 {
14355 PyThreadState* __tstate = wxPyBeginAllowThreads();
14356 result = (wxConfigBase *)wxConfigBase::Get(arg1);
14357
14358 wxPyEndAllowThreads(__tstate);
14359 if (PyErr_Occurred()) SWIG_fail;
14360 }
14361 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
14362 return resultobj;
14363 fail:
14364 return NULL;
14365}
14366
14367
14368static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14369 PyObject *resultobj;
14370 wxConfigBase *result;
14371 char *kwnames[] = {
14372 NULL
14373 };
14374
14375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
14376 {
14377 PyThreadState* __tstate = wxPyBeginAllowThreads();
14378 result = (wxConfigBase *)wxConfigBase::Create();
14379
14380 wxPyEndAllowThreads(__tstate);
14381 if (PyErr_Occurred()) SWIG_fail;
14382 }
14383 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
14384 return resultobj;
14385 fail:
14386 return NULL;
14387}
14388
14389
14390static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
14391 PyObject *resultobj;
14392 char *kwnames[] = {
14393 NULL
14394 };
14395
14396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
14397 {
14398 PyThreadState* __tstate = wxPyBeginAllowThreads();
14399 wxConfigBase::DontCreateOnDemand();
14400
14401 wxPyEndAllowThreads(__tstate);
14402 if (PyErr_Occurred()) SWIG_fail;
14403 }
14404 Py_INCREF(Py_None); resultobj = Py_None;
14405 return resultobj;
14406 fail:
14407 return NULL;
14408}
14409
14410
14411static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14412 PyObject *resultobj;
14413 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14414 wxString *arg2 = 0 ;
423f194a 14415 bool temp2 = False ;
d14a1e28
RD
14416 PyObject * obj0 = 0 ;
14417 PyObject * obj1 = 0 ;
14418 char *kwnames[] = {
14419 (char *) "self",(char *) "strPath", NULL
14420 };
14421
14422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
14423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14424 {
14425 arg2 = wxString_in_helper(obj1);
14426 if (arg2 == NULL) SWIG_fail;
423f194a 14427 temp2 = True;
d14a1e28
RD
14428 }
14429 {
14430 PyThreadState* __tstate = wxPyBeginAllowThreads();
14431 (arg1)->SetPath((wxString const &)*arg2);
14432
14433 wxPyEndAllowThreads(__tstate);
14434 if (PyErr_Occurred()) SWIG_fail;
14435 }
14436 Py_INCREF(Py_None); resultobj = Py_None;
14437 {
14438 if (temp2)
14439 delete arg2;
14440 }
14441 return resultobj;
14442 fail:
14443 {
14444 if (temp2)
14445 delete arg2;
14446 }
14447 return NULL;
14448}
14449
14450
14451static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14452 PyObject *resultobj;
14453 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14454 wxString *result;
14455 PyObject * obj0 = 0 ;
14456 char *kwnames[] = {
14457 (char *) "self", NULL
14458 };
14459
14460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
14461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14462 {
14463 PyThreadState* __tstate = wxPyBeginAllowThreads();
14464 {
14465 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
14466 result = (wxString *) &_result_ref;
14467 }
14468
14469 wxPyEndAllowThreads(__tstate);
14470 if (PyErr_Occurred()) SWIG_fail;
14471 }
f0983263
RD
14472 {
14473#if wxUSE_UNICODE
14474 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14475#else
14476 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14477#endif
14478 }
d14a1e28
RD
14479 return resultobj;
14480 fail:
14481 return NULL;
14482}
14483
14484
14485static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14486 PyObject *resultobj;
14487 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14488 PyObject *result;
14489 PyObject * obj0 = 0 ;
14490 char *kwnames[] = {
14491 (char *) "self", NULL
14492 };
14493
14494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
14495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14496 {
14497 PyThreadState* __tstate = wxPyBeginAllowThreads();
14498 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
14499
14500 wxPyEndAllowThreads(__tstate);
14501 if (PyErr_Occurred()) SWIG_fail;
14502 }
14503 resultobj = result;
14504 return resultobj;
14505 fail:
14506 return NULL;
14507}
14508
14509
14510static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14511 PyObject *resultobj;
14512 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14513 long arg2 ;
14514 PyObject *result;
14515 PyObject * obj0 = 0 ;
8edf1c75 14516 PyObject * obj1 = 0 ;
d14a1e28
RD
14517 char *kwnames[] = {
14518 (char *) "self",(char *) "index", NULL
14519 };
14520
8edf1c75 14521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 14522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
14523 {
14524 arg2 = (long) SWIG_PyObj_AsLong(obj1);
14525 if (PyErr_Occurred()) SWIG_fail;
14526 }
d14a1e28
RD
14527 {
14528 PyThreadState* __tstate = wxPyBeginAllowThreads();
14529 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
14530
14531 wxPyEndAllowThreads(__tstate);
14532 if (PyErr_Occurred()) SWIG_fail;
14533 }
14534 resultobj = result;
14535 return resultobj;
14536 fail:
14537 return NULL;
14538}
14539
14540
14541static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14542 PyObject *resultobj;
14543 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14544 PyObject *result;
14545 PyObject * obj0 = 0 ;
14546 char *kwnames[] = {
14547 (char *) "self", NULL
14548 };
14549
14550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
14551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14552 {
14553 PyThreadState* __tstate = wxPyBeginAllowThreads();
14554 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
14555
14556 wxPyEndAllowThreads(__tstate);
14557 if (PyErr_Occurred()) SWIG_fail;
14558 }
14559 resultobj = result;
14560 return resultobj;
14561 fail:
14562 return NULL;
14563}
14564
14565
14566static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14567 PyObject *resultobj;
14568 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14569 long arg2 ;
14570 PyObject *result;
14571 PyObject * obj0 = 0 ;
8edf1c75 14572 PyObject * obj1 = 0 ;
d14a1e28
RD
14573 char *kwnames[] = {
14574 (char *) "self",(char *) "index", NULL
14575 };
14576
8edf1c75 14577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 14578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
14579 {
14580 arg2 = (long) SWIG_PyObj_AsLong(obj1);
14581 if (PyErr_Occurred()) SWIG_fail;
14582 }
d14a1e28
RD
14583 {
14584 PyThreadState* __tstate = wxPyBeginAllowThreads();
14585 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
14586
14587 wxPyEndAllowThreads(__tstate);
14588 if (PyErr_Occurred()) SWIG_fail;
14589 }
14590 resultobj = result;
14591 return resultobj;
14592 fail:
14593 return NULL;
14594}
14595
14596
14597static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
14598 PyObject *resultobj;
14599 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 14600 bool arg2 = (bool) False ;
d14a1e28
RD
14601 size_t result;
14602 PyObject * obj0 = 0 ;
14603 PyObject * obj1 = 0 ;
14604 char *kwnames[] = {
14605 (char *) "self",(char *) "bRecursive", NULL
14606 };
14607
14608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
14609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14610 if (obj1) {
83448d71 14611 {
8edf1c75 14612 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
14613 if (PyErr_Occurred()) SWIG_fail;
14614 }
d14a1e28
RD
14615 }
14616 {
14617 PyThreadState* __tstate = wxPyBeginAllowThreads();
14618 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
14619
14620 wxPyEndAllowThreads(__tstate);
14621 if (PyErr_Occurred()) SWIG_fail;
14622 }
8edf1c75 14623 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
14624 return resultobj;
14625 fail:
14626 return NULL;
14627}
14628
14629
14630static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
14631 PyObject *resultobj;
14632 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 14633 bool arg2 = (bool) False ;
d14a1e28
RD
14634 size_t result;
14635 PyObject * obj0 = 0 ;
14636 PyObject * obj1 = 0 ;
14637 char *kwnames[] = {
14638 (char *) "self",(char *) "bRecursive", NULL
14639 };
14640
14641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
14642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14643 if (obj1) {
83448d71 14644 {
8edf1c75 14645 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
14646 if (PyErr_Occurred()) SWIG_fail;
14647 }
d14a1e28
RD
14648 }
14649 {
14650 PyThreadState* __tstate = wxPyBeginAllowThreads();
14651 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
14652
14653 wxPyEndAllowThreads(__tstate);
14654 if (PyErr_Occurred()) SWIG_fail;
14655 }
8edf1c75 14656 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
14657 return resultobj;
14658 fail:
14659 return NULL;
14660}
14661
14662
14663static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14664 PyObject *resultobj;
14665 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14666 wxString *arg2 = 0 ;
14667 bool result;
423f194a 14668 bool temp2 = False ;
d14a1e28
RD
14669 PyObject * obj0 = 0 ;
14670 PyObject * obj1 = 0 ;
14671 char *kwnames[] = {
14672 (char *) "self",(char *) "strName", NULL
14673 };
14674
14675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
14676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14677 {
14678 arg2 = wxString_in_helper(obj1);
14679 if (arg2 == NULL) SWIG_fail;
423f194a 14680 temp2 = True;
d14a1e28
RD
14681 }
14682 {
14683 PyThreadState* __tstate = wxPyBeginAllowThreads();
14684 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
14685
14686 wxPyEndAllowThreads(__tstate);
14687 if (PyErr_Occurred()) SWIG_fail;
14688 }
4e760a36 14689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14690 {
14691 if (temp2)
14692 delete arg2;
14693 }
14694 return resultobj;
14695 fail:
14696 {
14697 if (temp2)
14698 delete arg2;
14699 }
14700 return NULL;
14701}
14702
14703
14704static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14705 PyObject *resultobj;
14706 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14707 wxString *arg2 = 0 ;
14708 bool result;
423f194a 14709 bool temp2 = False ;
d14a1e28
RD
14710 PyObject * obj0 = 0 ;
14711 PyObject * obj1 = 0 ;
14712 char *kwnames[] = {
14713 (char *) "self",(char *) "strName", NULL
14714 };
14715
14716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
14717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14718 {
14719 arg2 = wxString_in_helper(obj1);
14720 if (arg2 == NULL) SWIG_fail;
423f194a 14721 temp2 = True;
d14a1e28
RD
14722 }
14723 {
14724 PyThreadState* __tstate = wxPyBeginAllowThreads();
14725 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
14726
14727 wxPyEndAllowThreads(__tstate);
14728 if (PyErr_Occurred()) SWIG_fail;
14729 }
4e760a36 14730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14731 {
14732 if (temp2)
14733 delete arg2;
14734 }
14735 return resultobj;
14736 fail:
14737 {
14738 if (temp2)
14739 delete arg2;
14740 }
14741 return NULL;
14742}
14743
14744
14745static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
14746 PyObject *resultobj;
14747 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14748 wxString *arg2 = 0 ;
14749 bool result;
423f194a 14750 bool temp2 = False ;
d14a1e28
RD
14751 PyObject * obj0 = 0 ;
14752 PyObject * obj1 = 0 ;
14753 char *kwnames[] = {
14754 (char *) "self",(char *) "strName", NULL
14755 };
14756
14757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
14758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14759 {
14760 arg2 = wxString_in_helper(obj1);
14761 if (arg2 == NULL) SWIG_fail;
423f194a 14762 temp2 = True;
d14a1e28
RD
14763 }
14764 {
14765 PyThreadState* __tstate = wxPyBeginAllowThreads();
14766 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
14767
14768 wxPyEndAllowThreads(__tstate);
14769 if (PyErr_Occurred()) SWIG_fail;
14770 }
4e760a36 14771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14772 {
14773 if (temp2)
14774 delete arg2;
14775 }
14776 return resultobj;
14777 fail:
14778 {
14779 if (temp2)
14780 delete arg2;
14781 }
14782 return NULL;
14783}
14784
14785
14786static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
14787 PyObject *resultobj;
14788 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14789 wxString *arg2 = 0 ;
14790 int result;
423f194a 14791 bool temp2 = False ;
d14a1e28
RD
14792 PyObject * obj0 = 0 ;
14793 PyObject * obj1 = 0 ;
14794 char *kwnames[] = {
14795 (char *) "self",(char *) "name", NULL
14796 };
14797
14798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
14799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14800 {
14801 arg2 = wxString_in_helper(obj1);
14802 if (arg2 == NULL) SWIG_fail;
423f194a 14803 temp2 = True;
d14a1e28
RD
14804 }
14805 {
14806 PyThreadState* __tstate = wxPyBeginAllowThreads();
14807 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
14808
14809 wxPyEndAllowThreads(__tstate);
14810 if (PyErr_Occurred()) SWIG_fail;
14811 }
8edf1c75 14812 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
14813 {
14814 if (temp2)
14815 delete arg2;
14816 }
14817 return resultobj;
14818 fail:
14819 {
14820 if (temp2)
14821 delete arg2;
14822 }
14823 return NULL;
14824}
14825
14826
14827static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
14828 PyObject *resultobj;
14829 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14830 wxString *arg2 = 0 ;
14831 wxString const &arg3_defvalue = wxPyEmptyString ;
14832 wxString *arg3 = (wxString *) &arg3_defvalue ;
14833 wxString result;
423f194a
RD
14834 bool temp2 = False ;
14835 bool temp3 = False ;
d14a1e28
RD
14836 PyObject * obj0 = 0 ;
14837 PyObject * obj1 = 0 ;
14838 PyObject * obj2 = 0 ;
14839 char *kwnames[] = {
14840 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14841 };
14842
14843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
14844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14845 {
14846 arg2 = wxString_in_helper(obj1);
14847 if (arg2 == NULL) SWIG_fail;
423f194a 14848 temp2 = True;
d14a1e28
RD
14849 }
14850 if (obj2) {
14851 {
14852 arg3 = wxString_in_helper(obj2);
14853 if (arg3 == NULL) SWIG_fail;
423f194a 14854 temp3 = True;
d14a1e28
RD
14855 }
14856 }
14857 {
14858 PyThreadState* __tstate = wxPyBeginAllowThreads();
14859 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
14860
14861 wxPyEndAllowThreads(__tstate);
14862 if (PyErr_Occurred()) SWIG_fail;
14863 }
14864 {
14865#if wxUSE_UNICODE
14866 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14867#else
14868 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14869#endif
14870 }
14871 {
14872 if (temp2)
14873 delete arg2;
14874 }
14875 {
14876 if (temp3)
14877 delete arg3;
14878 }
14879 return resultobj;
14880 fail:
14881 {
14882 if (temp2)
14883 delete arg2;
14884 }
14885 {
14886 if (temp3)
14887 delete arg3;
14888 }
14889 return NULL;
14890}
14891
14892
14893static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
14894 PyObject *resultobj;
14895 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14896 wxString *arg2 = 0 ;
14897 long arg3 = (long) 0 ;
14898 long result;
423f194a 14899 bool temp2 = False ;
d14a1e28
RD
14900 PyObject * obj0 = 0 ;
14901 PyObject * obj1 = 0 ;
8edf1c75 14902 PyObject * obj2 = 0 ;
d14a1e28
RD
14903 char *kwnames[] = {
14904 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14905 };
14906
8edf1c75 14907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
14908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14909 {
14910 arg2 = wxString_in_helper(obj1);
14911 if (arg2 == NULL) SWIG_fail;
423f194a 14912 temp2 = True;
d14a1e28 14913 }
8edf1c75
RD
14914 if (obj2) {
14915 {
14916 arg3 = (long) SWIG_PyObj_AsLong(obj2);
14917 if (PyErr_Occurred()) SWIG_fail;
14918 }
14919 }
d14a1e28
RD
14920 {
14921 PyThreadState* __tstate = wxPyBeginAllowThreads();
14922 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
14923
14924 wxPyEndAllowThreads(__tstate);
14925 if (PyErr_Occurred()) SWIG_fail;
14926 }
8edf1c75 14927 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
14928 {
14929 if (temp2)
14930 delete arg2;
14931 }
14932 return resultobj;
14933 fail:
14934 {
14935 if (temp2)
14936 delete arg2;
14937 }
14938 return NULL;
14939}
14940
14941
14942static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
14943 PyObject *resultobj;
14944 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14945 wxString *arg2 = 0 ;
14946 double arg3 = (double) 0.0 ;
14947 double result;
423f194a 14948 bool temp2 = False ;
d14a1e28
RD
14949 PyObject * obj0 = 0 ;
14950 PyObject * obj1 = 0 ;
8edf1c75 14951 PyObject * obj2 = 0 ;
d14a1e28
RD
14952 char *kwnames[] = {
14953 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14954 };
14955
8edf1c75 14956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
14957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14958 {
14959 arg2 = wxString_in_helper(obj1);
14960 if (arg2 == NULL) SWIG_fail;
423f194a 14961 temp2 = True;
d14a1e28 14962 }
8edf1c75
RD
14963 if (obj2) {
14964 {
14965 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14966 if (PyErr_Occurred()) SWIG_fail;
14967 }
14968 }
d14a1e28
RD
14969 {
14970 PyThreadState* __tstate = wxPyBeginAllowThreads();
14971 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
14972
14973 wxPyEndAllowThreads(__tstate);
14974 if (PyErr_Occurred()) SWIG_fail;
14975 }
8edf1c75 14976 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
14977 {
14978 if (temp2)
14979 delete arg2;
14980 }
14981 return resultobj;
14982 fail:
14983 {
14984 if (temp2)
14985 delete arg2;
14986 }
14987 return NULL;
14988}
14989
14990
14991static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
14992 PyObject *resultobj;
14993 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14994 wxString *arg2 = 0 ;
423f194a 14995 bool arg3 = (bool) False ;
d14a1e28 14996 bool result;
423f194a 14997 bool temp2 = False ;
d14a1e28
RD
14998 PyObject * obj0 = 0 ;
14999 PyObject * obj1 = 0 ;
15000 PyObject * obj2 = 0 ;
15001 char *kwnames[] = {
15002 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15003 };
15004
15005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15007 {
15008 arg2 = wxString_in_helper(obj1);
15009 if (arg2 == NULL) SWIG_fail;
423f194a 15010 temp2 = True;
d14a1e28
RD
15011 }
15012 if (obj2) {
83448d71 15013 {
8edf1c75 15014 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
15015 if (PyErr_Occurred()) SWIG_fail;
15016 }
d14a1e28
RD
15017 }
15018 {
15019 PyThreadState* __tstate = wxPyBeginAllowThreads();
15020 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
15021
15022 wxPyEndAllowThreads(__tstate);
15023 if (PyErr_Occurred()) SWIG_fail;
15024 }
4e760a36 15025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15026 {
15027 if (temp2)
15028 delete arg2;
15029 }
15030 return resultobj;
15031 fail:
15032 {
15033 if (temp2)
15034 delete arg2;
15035 }
15036 return NULL;
15037}
15038
15039
15040static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
15041 PyObject *resultobj;
15042 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15043 wxString *arg2 = 0 ;
15044 wxString *arg3 = 0 ;
15045 bool result;
423f194a
RD
15046 bool temp2 = False ;
15047 bool temp3 = False ;
d14a1e28
RD
15048 PyObject * obj0 = 0 ;
15049 PyObject * obj1 = 0 ;
15050 PyObject * obj2 = 0 ;
15051 char *kwnames[] = {
15052 (char *) "self",(char *) "key",(char *) "value", NULL
15053 };
15054
15055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
15056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15057 {
15058 arg2 = wxString_in_helper(obj1);
15059 if (arg2 == NULL) SWIG_fail;
423f194a 15060 temp2 = True;
d14a1e28
RD
15061 }
15062 {
15063 arg3 = wxString_in_helper(obj2);
15064 if (arg3 == NULL) SWIG_fail;
423f194a 15065 temp3 = True;
d14a1e28
RD
15066 }
15067 {
15068 PyThreadState* __tstate = wxPyBeginAllowThreads();
15069 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
15070
15071 wxPyEndAllowThreads(__tstate);
15072 if (PyErr_Occurred()) SWIG_fail;
15073 }
4e760a36 15074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15075 {
15076 if (temp2)
15077 delete arg2;
15078 }
15079 {
15080 if (temp3)
15081 delete arg3;
15082 }
15083 return resultobj;
15084 fail:
15085 {
15086 if (temp2)
15087 delete arg2;
15088 }
15089 {
15090 if (temp3)
15091 delete arg3;
15092 }
15093 return NULL;
15094}
15095
15096
15097static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15098 PyObject *resultobj;
15099 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15100 wxString *arg2 = 0 ;
15101 long arg3 ;
15102 bool result;
423f194a 15103 bool temp2 = False ;
d14a1e28
RD
15104 PyObject * obj0 = 0 ;
15105 PyObject * obj1 = 0 ;
8edf1c75 15106 PyObject * obj2 = 0 ;
d14a1e28
RD
15107 char *kwnames[] = {
15108 (char *) "self",(char *) "key",(char *) "value", NULL
15109 };
15110
8edf1c75 15111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
15112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15113 {
15114 arg2 = wxString_in_helper(obj1);
15115 if (arg2 == NULL) SWIG_fail;
423f194a 15116 temp2 = True;
d14a1e28 15117 }
8edf1c75
RD
15118 {
15119 arg3 = (long) SWIG_PyObj_AsLong(obj2);
15120 if (PyErr_Occurred()) SWIG_fail;
15121 }
d14a1e28
RD
15122 {
15123 PyThreadState* __tstate = wxPyBeginAllowThreads();
15124 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15125
15126 wxPyEndAllowThreads(__tstate);
15127 if (PyErr_Occurred()) SWIG_fail;
15128 }
4e760a36 15129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15130 {
15131 if (temp2)
15132 delete arg2;
15133 }
15134 return resultobj;
15135 fail:
15136 {
15137 if (temp2)
15138 delete arg2;
15139 }
15140 return NULL;
15141}
15142
15143
15144static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15145 PyObject *resultobj;
15146 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15147 wxString *arg2 = 0 ;
15148 double arg3 ;
15149 bool result;
423f194a 15150 bool temp2 = False ;
d14a1e28
RD
15151 PyObject * obj0 = 0 ;
15152 PyObject * obj1 = 0 ;
8edf1c75 15153 PyObject * obj2 = 0 ;
d14a1e28
RD
15154 char *kwnames[] = {
15155 (char *) "self",(char *) "key",(char *) "value", NULL
15156 };
15157
8edf1c75 15158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
15159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15160 {
15161 arg2 = wxString_in_helper(obj1);
15162 if (arg2 == NULL) SWIG_fail;
423f194a 15163 temp2 = True;
d14a1e28 15164 }
8edf1c75
RD
15165 {
15166 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
15167 if (PyErr_Occurred()) SWIG_fail;
15168 }
d14a1e28
RD
15169 {
15170 PyThreadState* __tstate = wxPyBeginAllowThreads();
15171 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15172
15173 wxPyEndAllowThreads(__tstate);
15174 if (PyErr_Occurred()) SWIG_fail;
15175 }
4e760a36 15176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15177 {
15178 if (temp2)
15179 delete arg2;
15180 }
15181 return resultobj;
15182 fail:
15183 {
15184 if (temp2)
15185 delete arg2;
15186 }
15187 return NULL;
15188}
15189
15190
15191static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15192 PyObject *resultobj;
15193 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15194 wxString *arg2 = 0 ;
15195 bool arg3 ;
15196 bool result;
423f194a 15197 bool temp2 = False ;
d14a1e28
RD
15198 PyObject * obj0 = 0 ;
15199 PyObject * obj1 = 0 ;
15200 PyObject * obj2 = 0 ;
15201 char *kwnames[] = {
15202 (char *) "self",(char *) "key",(char *) "value", NULL
15203 };
15204
15205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15207 {
15208 arg2 = wxString_in_helper(obj1);
15209 if (arg2 == NULL) SWIG_fail;
423f194a 15210 temp2 = True;
d14a1e28 15211 }
83448d71 15212 {
8edf1c75 15213 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
15214 if (PyErr_Occurred()) SWIG_fail;
15215 }
d14a1e28
RD
15216 {
15217 PyThreadState* __tstate = wxPyBeginAllowThreads();
15218 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15219
15220 wxPyEndAllowThreads(__tstate);
15221 if (PyErr_Occurred()) SWIG_fail;
15222 }
4e760a36 15223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15224 {
15225 if (temp2)
15226 delete arg2;
15227 }
15228 return resultobj;
15229 fail:
15230 {
15231 if (temp2)
15232 delete arg2;
15233 }
15234 return NULL;
15235}
15236
15237
15238static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
15239 PyObject *resultobj;
15240 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 15241 bool arg2 = (bool) False ;
d14a1e28
RD
15242 bool result;
15243 PyObject * obj0 = 0 ;
15244 PyObject * obj1 = 0 ;
15245 char *kwnames[] = {
15246 (char *) "self",(char *) "bCurrentOnly", NULL
15247 };
15248
15249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
15250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15251 if (obj1) {
83448d71 15252 {
8edf1c75 15253 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
15254 if (PyErr_Occurred()) SWIG_fail;
15255 }
d14a1e28
RD
15256 }
15257 {
15258 PyThreadState* __tstate = wxPyBeginAllowThreads();
15259 result = (bool)(arg1)->Flush(arg2);
15260
15261 wxPyEndAllowThreads(__tstate);
15262 if (PyErr_Occurred()) SWIG_fail;
15263 }
4e760a36 15264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15265 return resultobj;
15266 fail:
15267 return NULL;
15268}
15269
15270
15271static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15272 PyObject *resultobj;
15273 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15274 wxString *arg2 = 0 ;
15275 wxString *arg3 = 0 ;
15276 bool result;
423f194a
RD
15277 bool temp2 = False ;
15278 bool temp3 = False ;
d14a1e28
RD
15279 PyObject * obj0 = 0 ;
15280 PyObject * obj1 = 0 ;
15281 PyObject * obj2 = 0 ;
15282 char *kwnames[] = {
15283 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15284 };
15285
15286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15288 {
15289 arg2 = wxString_in_helper(obj1);
15290 if (arg2 == NULL) SWIG_fail;
423f194a 15291 temp2 = True;
d14a1e28
RD
15292 }
15293 {
15294 arg3 = wxString_in_helper(obj2);
15295 if (arg3 == NULL) SWIG_fail;
423f194a 15296 temp3 = True;
d14a1e28
RD
15297 }
15298 {
15299 PyThreadState* __tstate = wxPyBeginAllowThreads();
15300 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
15301
15302 wxPyEndAllowThreads(__tstate);
15303 if (PyErr_Occurred()) SWIG_fail;
15304 }
4e760a36 15305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15306 {
15307 if (temp2)
15308 delete arg2;
15309 }
15310 {
15311 if (temp3)
15312 delete arg3;
15313 }
15314 return resultobj;
15315 fail:
15316 {
15317 if (temp2)
15318 delete arg2;
15319 }
15320 {
15321 if (temp3)
15322 delete arg3;
15323 }
15324 return NULL;
15325}
15326
15327
15328static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15329 PyObject *resultobj;
15330 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15331 wxString *arg2 = 0 ;
15332 wxString *arg3 = 0 ;
15333 bool result;
423f194a
RD
15334 bool temp2 = False ;
15335 bool temp3 = False ;
d14a1e28
RD
15336 PyObject * obj0 = 0 ;
15337 PyObject * obj1 = 0 ;
15338 PyObject * obj2 = 0 ;
15339 char *kwnames[] = {
15340 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15341 };
15342
15343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
15344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15345 {
15346 arg2 = wxString_in_helper(obj1);
15347 if (arg2 == NULL) SWIG_fail;
423f194a 15348 temp2 = True;
d14a1e28
RD
15349 }
15350 {
15351 arg3 = wxString_in_helper(obj2);
15352 if (arg3 == NULL) SWIG_fail;
423f194a 15353 temp3 = True;
d14a1e28
RD
15354 }
15355 {
15356 PyThreadState* __tstate = wxPyBeginAllowThreads();
15357 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
15358
15359 wxPyEndAllowThreads(__tstate);
15360 if (PyErr_Occurred()) SWIG_fail;
15361 }
4e760a36 15362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15363 {
15364 if (temp2)
15365 delete arg2;
15366 }
15367 {
15368 if (temp3)
15369 delete arg3;
15370 }
15371 return resultobj;
15372 fail:
15373 {
15374 if (temp2)
15375 delete arg2;
15376 }
15377 {
15378 if (temp3)
15379 delete arg3;
15380 }
15381 return NULL;
15382}
15383
15384
15385static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15386 PyObject *resultobj;
15387 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15388 wxString *arg2 = 0 ;
423f194a 15389 bool arg3 = (bool) True ;
d14a1e28 15390 bool result;
423f194a 15391 bool temp2 = False ;
d14a1e28
RD
15392 PyObject * obj0 = 0 ;
15393 PyObject * obj1 = 0 ;
15394 PyObject * obj2 = 0 ;
15395 char *kwnames[] = {
15396 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
15397 };
15398
15399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15401 {
15402 arg2 = wxString_in_helper(obj1);
15403 if (arg2 == NULL) SWIG_fail;
423f194a 15404 temp2 = True;
d14a1e28
RD
15405 }
15406 if (obj2) {
83448d71 15407 {
8edf1c75 15408 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
15409 if (PyErr_Occurred()) SWIG_fail;
15410 }
d14a1e28
RD
15411 }
15412 {
15413 PyThreadState* __tstate = wxPyBeginAllowThreads();
15414 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
15415
15416 wxPyEndAllowThreads(__tstate);
15417 if (PyErr_Occurred()) SWIG_fail;
15418 }
4e760a36 15419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15420 {
15421 if (temp2)
15422 delete arg2;
15423 }
15424 return resultobj;
15425 fail:
15426 {
15427 if (temp2)
15428 delete arg2;
15429 }
15430 return NULL;
15431}
15432
15433
15434static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15435 PyObject *resultobj;
15436 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15437 wxString *arg2 = 0 ;
15438 bool result;
423f194a 15439 bool temp2 = False ;
d14a1e28
RD
15440 PyObject * obj0 = 0 ;
15441 PyObject * obj1 = 0 ;
15442 char *kwnames[] = {
15443 (char *) "self",(char *) "key", NULL
15444 };
15445
15446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
15447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15448 {
15449 arg2 = wxString_in_helper(obj1);
15450 if (arg2 == NULL) SWIG_fail;
423f194a 15451 temp2 = True;
d14a1e28
RD
15452 }
15453 {
15454 PyThreadState* __tstate = wxPyBeginAllowThreads();
15455 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
15456
15457 wxPyEndAllowThreads(__tstate);
15458 if (PyErr_Occurred()) SWIG_fail;
15459 }
4e760a36 15460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15461 {
15462 if (temp2)
15463 delete arg2;
15464 }
15465 return resultobj;
15466 fail:
15467 {
15468 if (temp2)
15469 delete arg2;
15470 }
15471 return NULL;
15472}
15473
15474
15475static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
15476 PyObject *resultobj;
15477 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15478 bool result;
15479 PyObject * obj0 = 0 ;
15480 char *kwnames[] = {
15481 (char *) "self", NULL
15482 };
15483
15484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
15485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15486 {
15487 PyThreadState* __tstate = wxPyBeginAllowThreads();
15488 result = (bool)(arg1)->DeleteAll();
15489
15490 wxPyEndAllowThreads(__tstate);
15491 if (PyErr_Occurred()) SWIG_fail;
15492 }
4e760a36 15493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15494 return resultobj;
15495 fail:
15496 return NULL;
15497}
15498
15499
15500static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15501 PyObject *resultobj;
15502 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15503 bool result;
15504 PyObject * obj0 = 0 ;
15505 char *kwnames[] = {
15506 (char *) "self", NULL
15507 };
15508
15509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
15510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15511 {
15512 PyThreadState* __tstate = wxPyBeginAllowThreads();
15513 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
15514
15515 wxPyEndAllowThreads(__tstate);
15516 if (PyErr_Occurred()) SWIG_fail;
15517 }
4e760a36 15518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15519 return resultobj;
15520 fail:
15521 return NULL;
15522}
15523
15524
15525static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15526 PyObject *resultobj;
15527 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 15528 bool arg2 = (bool) True ;
d14a1e28
RD
15529 PyObject * obj0 = 0 ;
15530 PyObject * obj1 = 0 ;
15531 char *kwnames[] = {
15532 (char *) "self",(char *) "bDoIt", NULL
15533 };
15534
15535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15537 if (obj1) {
83448d71 15538 {
8edf1c75 15539 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
15540 if (PyErr_Occurred()) SWIG_fail;
15541 }
d14a1e28
RD
15542 }
15543 {
15544 PyThreadState* __tstate = wxPyBeginAllowThreads();
15545 (arg1)->SetExpandEnvVars(arg2);
15546
15547 wxPyEndAllowThreads(__tstate);
15548 if (PyErr_Occurred()) SWIG_fail;
15549 }
15550 Py_INCREF(Py_None); resultobj = Py_None;
15551 return resultobj;
15552 fail:
15553 return NULL;
15554}
15555
15556
15557static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
15558 PyObject *resultobj;
15559 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 15560 bool arg2 = (bool) True ;
d14a1e28
RD
15561 PyObject * obj0 = 0 ;
15562 PyObject * obj1 = 0 ;
15563 char *kwnames[] = {
15564 (char *) "self",(char *) "bDoIt", NULL
15565 };
15566
15567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
15568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15569 if (obj1) {
83448d71 15570 {
8edf1c75 15571 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
15572 if (PyErr_Occurred()) SWIG_fail;
15573 }
d14a1e28
RD
15574 }
15575 {
15576 PyThreadState* __tstate = wxPyBeginAllowThreads();
15577 (arg1)->SetRecordDefaults(arg2);
15578
15579 wxPyEndAllowThreads(__tstate);
15580 if (PyErr_Occurred()) SWIG_fail;
15581 }
15582 Py_INCREF(Py_None); resultobj = Py_None;
15583 return resultobj;
15584 fail:
15585 return NULL;
15586}
15587
15588
15589static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
15590 PyObject *resultobj;
15591 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15592 bool result;
15593 PyObject * obj0 = 0 ;
15594 char *kwnames[] = {
15595 (char *) "self", NULL
15596 };
15597
15598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
15599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15600 {
15601 PyThreadState* __tstate = wxPyBeginAllowThreads();
15602 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
15603
15604 wxPyEndAllowThreads(__tstate);
15605 if (PyErr_Occurred()) SWIG_fail;
15606 }
4e760a36 15607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15608 return resultobj;
15609 fail:
15610 return NULL;
15611}
15612
15613
15614static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15615 PyObject *resultobj;
15616 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15617 wxString *arg2 = 0 ;
15618 wxString result;
423f194a 15619 bool temp2 = False ;
d14a1e28
RD
15620 PyObject * obj0 = 0 ;
15621 PyObject * obj1 = 0 ;
15622 char *kwnames[] = {
15623 (char *) "self",(char *) "str", NULL
15624 };
15625
15626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15628 {
15629 arg2 = wxString_in_helper(obj1);
15630 if (arg2 == NULL) SWIG_fail;
423f194a 15631 temp2 = True;
d14a1e28
RD
15632 }
15633 {
15634 PyThreadState* __tstate = wxPyBeginAllowThreads();
15635 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
15636
15637 wxPyEndAllowThreads(__tstate);
15638 if (PyErr_Occurred()) SWIG_fail;
15639 }
15640 {
15641#if wxUSE_UNICODE
15642 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15643#else
15644 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15645#endif
15646 }
15647 {
15648 if (temp2)
15649 delete arg2;
15650 }
15651 return resultobj;
15652 fail:
15653 {
15654 if (temp2)
15655 delete arg2;
15656 }
15657 return NULL;
15658}
15659
15660
15661static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
15662 PyObject *resultobj;
15663 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15664 wxString result;
15665 PyObject * obj0 = 0 ;
15666 char *kwnames[] = {
15667 (char *) "self", NULL
15668 };
15669
15670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
15671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15672 {
15673 PyThreadState* __tstate = wxPyBeginAllowThreads();
15674 result = ((wxConfigBase const *)arg1)->GetAppName();
15675
15676 wxPyEndAllowThreads(__tstate);
15677 if (PyErr_Occurred()) SWIG_fail;
15678 }
15679 {
15680#if wxUSE_UNICODE
15681 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15682#else
15683 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15684#endif
15685 }
15686 return resultobj;
15687 fail:
15688 return NULL;
15689}
15690
15691
15692static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
15693 PyObject *resultobj;
15694 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15695 wxString result;
15696 PyObject * obj0 = 0 ;
15697 char *kwnames[] = {
15698 (char *) "self", NULL
15699 };
15700
15701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
15702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15703 {
15704 PyThreadState* __tstate = wxPyBeginAllowThreads();
15705 result = ((wxConfigBase const *)arg1)->GetVendorName();
15706
15707 wxPyEndAllowThreads(__tstate);
15708 if (PyErr_Occurred()) SWIG_fail;
15709 }
15710 {
15711#if wxUSE_UNICODE
15712 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15713#else
15714 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15715#endif
15716 }
15717 return resultobj;
15718 fail:
15719 return NULL;
15720}
15721
15722
15723static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
15724 PyObject *resultobj;
15725 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15726 wxString *arg2 = 0 ;
423f194a 15727 bool temp2 = False ;
d14a1e28
RD
15728 PyObject * obj0 = 0 ;
15729 PyObject * obj1 = 0 ;
15730 char *kwnames[] = {
15731 (char *) "self",(char *) "appName", NULL
15732 };
15733
15734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
15735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15736 {
15737 arg2 = wxString_in_helper(obj1);
15738 if (arg2 == NULL) SWIG_fail;
423f194a 15739 temp2 = True;
d14a1e28
RD
15740 }
15741 {
15742 PyThreadState* __tstate = wxPyBeginAllowThreads();
15743 (arg1)->SetAppName((wxString const &)*arg2);
15744
15745 wxPyEndAllowThreads(__tstate);
15746 if (PyErr_Occurred()) SWIG_fail;
15747 }
15748 Py_INCREF(Py_None); resultobj = Py_None;
15749 {
15750 if (temp2)
15751 delete arg2;
15752 }
15753 return resultobj;
15754 fail:
15755 {
15756 if (temp2)
15757 delete arg2;
15758 }
15759 return NULL;
15760}
15761
15762
15763static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
15764 PyObject *resultobj;
15765 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15766 wxString *arg2 = 0 ;
423f194a 15767 bool temp2 = False ;
d14a1e28
RD
15768 PyObject * obj0 = 0 ;
15769 PyObject * obj1 = 0 ;
15770 char *kwnames[] = {
15771 (char *) "self",(char *) "vendorName", NULL
15772 };
15773
15774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
15775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15776 {
15777 arg2 = wxString_in_helper(obj1);
15778 if (arg2 == NULL) SWIG_fail;
423f194a 15779 temp2 = True;
d14a1e28
RD
15780 }
15781 {
15782 PyThreadState* __tstate = wxPyBeginAllowThreads();
15783 (arg1)->SetVendorName((wxString const &)*arg2);
15784
15785 wxPyEndAllowThreads(__tstate);
15786 if (PyErr_Occurred()) SWIG_fail;
15787 }
15788 Py_INCREF(Py_None); resultobj = Py_None;
15789 {
15790 if (temp2)
15791 delete arg2;
15792 }
15793 return resultobj;
15794 fail:
15795 {
15796 if (temp2)
15797 delete arg2;
15798 }
15799 return NULL;
15800}
15801
15802
15803static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15804 PyObject *resultobj;
15805 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15806 long arg2 ;
15807 PyObject * obj0 = 0 ;
8edf1c75 15808 PyObject * obj1 = 0 ;
d14a1e28
RD
15809 char *kwnames[] = {
15810 (char *) "self",(char *) "style", NULL
15811 };
15812
8edf1c75 15813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 15814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
15815 {
15816 arg2 = (long) SWIG_PyObj_AsLong(obj1);
15817 if (PyErr_Occurred()) SWIG_fail;
15818 }
d14a1e28
RD
15819 {
15820 PyThreadState* __tstate = wxPyBeginAllowThreads();
15821 (arg1)->SetStyle(arg2);
15822
15823 wxPyEndAllowThreads(__tstate);
15824 if (PyErr_Occurred()) SWIG_fail;
15825 }
15826 Py_INCREF(Py_None); resultobj = Py_None;
15827 return resultobj;
15828 fail:
15829 return NULL;
15830}
15831
15832
15833static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15834 PyObject *resultobj;
15835 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15836 long result;
15837 PyObject * obj0 = 0 ;
15838 char *kwnames[] = {
15839 (char *) "self", NULL
15840 };
15841
15842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
15843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15844 {
15845 PyThreadState* __tstate = wxPyBeginAllowThreads();
15846 result = (long)((wxConfigBase const *)arg1)->GetStyle();
15847
15848 wxPyEndAllowThreads(__tstate);
15849 if (PyErr_Occurred()) SWIG_fail;
15850 }
8edf1c75 15851 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
15852 return resultobj;
15853 fail:
15854 return NULL;
15855}
15856
15857
15858static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
15859 PyObject *obj;
15860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15861 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
15862 Py_INCREF(obj);
15863 return Py_BuildValue((char *)"");
15864}
15865static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
15866 PyObject *resultobj;
15867 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15868 wxString *arg2 = 0 ;
15869 wxConfigPathChanger *result;
423f194a 15870 bool temp2 = False ;
d14a1e28
RD
15871 PyObject * obj0 = 0 ;
15872 PyObject * obj1 = 0 ;
15873 char *kwnames[] = {
15874 (char *) "pContainer",(char *) "strEntry", NULL
15875 };
15876
15877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
15878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15879 {
15880 arg2 = wxString_in_helper(obj1);
15881 if (arg2 == NULL) SWIG_fail;
423f194a 15882 temp2 = True;
d14a1e28
RD
15883 }
15884 {
15885 PyThreadState* __tstate = wxPyBeginAllowThreads();
15886 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
15887
15888 wxPyEndAllowThreads(__tstate);
15889 if (PyErr_Occurred()) SWIG_fail;
15890 }
15891 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigPathChanger, 1);
15892 {
15893 if (temp2)
15894 delete arg2;
15895 }
15896 return resultobj;
15897 fail:
15898 {
15899 if (temp2)
15900 delete arg2;
15901 }
15902 return NULL;
15903}
15904
15905
15906static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
15907 PyObject *resultobj;
15908 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
15909 PyObject * obj0 = 0 ;
15910 char *kwnames[] = {
15911 (char *) "self", NULL
15912 };
15913
15914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
15915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15916 {
15917 PyThreadState* __tstate = wxPyBeginAllowThreads();
15918 delete arg1;
15919
15920 wxPyEndAllowThreads(__tstate);
15921 if (PyErr_Occurred()) SWIG_fail;
15922 }
15923 Py_INCREF(Py_None); resultobj = Py_None;
15924 return resultobj;
15925 fail:
15926 return NULL;
15927}
15928
15929
15930static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
15931 PyObject *resultobj;
15932 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
15933 wxString *result;
15934 PyObject * obj0 = 0 ;
15935 char *kwnames[] = {
15936 (char *) "self", NULL
15937 };
15938
15939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
15940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15941 {
15942 PyThreadState* __tstate = wxPyBeginAllowThreads();
15943 {
15944 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
15945 result = (wxString *) &_result_ref;
15946 }
15947
15948 wxPyEndAllowThreads(__tstate);
15949 if (PyErr_Occurred()) SWIG_fail;
15950 }
f0983263
RD
15951 {
15952#if wxUSE_UNICODE
15953 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15954#else
15955 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15956#endif
15957 }
d14a1e28
RD
15958 return resultobj;
15959 fail:
15960 return NULL;
15961}
15962
15963
15964static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
15965 PyObject *obj;
15966 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15967 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
15968 Py_INCREF(obj);
15969 return Py_BuildValue((char *)"");
15970}
15971static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
15972 PyObject *resultobj;
15973 wxString const &arg1_defvalue = wxPyEmptyString ;
15974 wxString *arg1 = (wxString *) &arg1_defvalue ;
15975 wxString const &arg2_defvalue = wxPyEmptyString ;
15976 wxString *arg2 = (wxString *) &arg2_defvalue ;
15977 wxString const &arg3_defvalue = wxPyEmptyString ;
15978 wxString *arg3 = (wxString *) &arg3_defvalue ;
15979 wxString const &arg4_defvalue = wxPyEmptyString ;
15980 wxString *arg4 = (wxString *) &arg4_defvalue ;
15981 long arg5 = (long) 0 ;
15982 wxConfig *result;
423f194a
RD
15983 bool temp1 = False ;
15984 bool temp2 = False ;
15985 bool temp3 = False ;
15986 bool temp4 = False ;
d14a1e28
RD
15987 PyObject * obj0 = 0 ;
15988 PyObject * obj1 = 0 ;
15989 PyObject * obj2 = 0 ;
15990 PyObject * obj3 = 0 ;
8edf1c75 15991 PyObject * obj4 = 0 ;
d14a1e28
RD
15992 char *kwnames[] = {
15993 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15994 };
15995
8edf1c75 15996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
15997 if (obj0) {
15998 {
15999 arg1 = wxString_in_helper(obj0);
16000 if (arg1 == NULL) SWIG_fail;
423f194a 16001 temp1 = True;
d14a1e28
RD
16002 }
16003 }
16004 if (obj1) {
16005 {
16006 arg2 = wxString_in_helper(obj1);
16007 if (arg2 == NULL) SWIG_fail;
423f194a 16008 temp2 = True;
d14a1e28
RD
16009 }
16010 }
16011 if (obj2) {
16012 {
16013 arg3 = wxString_in_helper(obj2);
16014 if (arg3 == NULL) SWIG_fail;
423f194a 16015 temp3 = True;
d14a1e28
RD
16016 }
16017 }
16018 if (obj3) {
16019 {
16020 arg4 = wxString_in_helper(obj3);
16021 if (arg4 == NULL) SWIG_fail;
423f194a 16022 temp4 = True;
d14a1e28
RD
16023 }
16024 }
8edf1c75
RD
16025 if (obj4) {
16026 {
16027 arg5 = (long) SWIG_PyObj_AsLong(obj4);
16028 if (PyErr_Occurred()) SWIG_fail;
16029 }
16030 }
d14a1e28
RD
16031 {
16032 PyThreadState* __tstate = wxPyBeginAllowThreads();
16033 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16034
16035 wxPyEndAllowThreads(__tstate);
16036 if (PyErr_Occurred()) SWIG_fail;
16037 }
16038 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfig, 1);
16039 {
16040 if (temp1)
16041 delete arg1;
16042 }
16043 {
16044 if (temp2)
16045 delete arg2;
16046 }
16047 {
16048 if (temp3)
16049 delete arg3;
16050 }
16051 {
16052 if (temp4)
16053 delete arg4;
16054 }
16055 return resultobj;
16056 fail:
16057 {
16058 if (temp1)
16059 delete arg1;
16060 }
16061 {
16062 if (temp2)
16063 delete arg2;
16064 }
16065 {
16066 if (temp3)
16067 delete arg3;
16068 }
16069 {
16070 if (temp4)
16071 delete arg4;
16072 }
16073 return NULL;
16074}
16075
16076
16077static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16078 PyObject *resultobj;
16079 wxConfig *arg1 = (wxConfig *) 0 ;
16080 PyObject * obj0 = 0 ;
16081 char *kwnames[] = {
16082 (char *) "self", NULL
16083 };
16084
16085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
16086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16087 {
16088 PyThreadState* __tstate = wxPyBeginAllowThreads();
16089 delete arg1;
16090
16091 wxPyEndAllowThreads(__tstate);
16092 if (PyErr_Occurred()) SWIG_fail;
16093 }
16094 Py_INCREF(Py_None); resultobj = Py_None;
16095 return resultobj;
16096 fail:
16097 return NULL;
16098}
16099
16100
16101static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
16102 PyObject *obj;
16103 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16104 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
16105 Py_INCREF(obj);
16106 return Py_BuildValue((char *)"");
16107}
16108static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16109 PyObject *resultobj;
16110 wxString const &arg1_defvalue = wxPyEmptyString ;
16111 wxString *arg1 = (wxString *) &arg1_defvalue ;
16112 wxString const &arg2_defvalue = wxPyEmptyString ;
16113 wxString *arg2 = (wxString *) &arg2_defvalue ;
16114 wxString const &arg3_defvalue = wxPyEmptyString ;
16115 wxString *arg3 = (wxString *) &arg3_defvalue ;
16116 wxString const &arg4_defvalue = wxPyEmptyString ;
16117 wxString *arg4 = (wxString *) &arg4_defvalue ;
16118 long arg5 = (long) 0 ;
16119 wxFileConfig *result;
423f194a
RD
16120 bool temp1 = False ;
16121 bool temp2 = False ;
16122 bool temp3 = False ;
16123 bool temp4 = False ;
d14a1e28
RD
16124 PyObject * obj0 = 0 ;
16125 PyObject * obj1 = 0 ;
16126 PyObject * obj2 = 0 ;
16127 PyObject * obj3 = 0 ;
8edf1c75 16128 PyObject * obj4 = 0 ;
d14a1e28
RD
16129 char *kwnames[] = {
16130 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16131 };
16132
8edf1c75 16133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
16134 if (obj0) {
16135 {
16136 arg1 = wxString_in_helper(obj0);
16137 if (arg1 == NULL) SWIG_fail;
423f194a 16138 temp1 = True;
d14a1e28
RD
16139 }
16140 }
16141 if (obj1) {
16142 {
16143 arg2 = wxString_in_helper(obj1);
16144 if (arg2 == NULL) SWIG_fail;
423f194a 16145 temp2 = True;
d14a1e28
RD
16146 }
16147 }
16148 if (obj2) {
16149 {
16150 arg3 = wxString_in_helper(obj2);
16151 if (arg3 == NULL) SWIG_fail;
423f194a 16152 temp3 = True;
d14a1e28
RD
16153 }
16154 }
16155 if (obj3) {
16156 {
16157 arg4 = wxString_in_helper(obj3);
16158 if (arg4 == NULL) SWIG_fail;
423f194a 16159 temp4 = True;
d14a1e28
RD
16160 }
16161 }
8edf1c75
RD
16162 if (obj4) {
16163 {
16164 arg5 = (long) SWIG_PyObj_AsLong(obj4);
16165 if (PyErr_Occurred()) SWIG_fail;
16166 }
16167 }
d14a1e28
RD
16168 {
16169 PyThreadState* __tstate = wxPyBeginAllowThreads();
16170 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16171
16172 wxPyEndAllowThreads(__tstate);
16173 if (PyErr_Occurred()) SWIG_fail;
16174 }
16175 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileConfig, 1);
16176 {
16177 if (temp1)
16178 delete arg1;
16179 }
16180 {
16181 if (temp2)
16182 delete arg2;
16183 }
16184 {
16185 if (temp3)
16186 delete arg3;
16187 }
16188 {
16189 if (temp4)
16190 delete arg4;
16191 }
16192 return resultobj;
16193 fail:
16194 {
16195 if (temp1)
16196 delete arg1;
16197 }
16198 {
16199 if (temp2)
16200 delete arg2;
16201 }
16202 {
16203 if (temp3)
16204 delete arg3;
16205 }
16206 {
16207 if (temp4)
16208 delete arg4;
16209 }
16210 return NULL;
16211}
16212
16213
16214static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16215 PyObject *resultobj;
16216 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
16217 PyObject * obj0 = 0 ;
16218 char *kwnames[] = {
16219 (char *) "self", NULL
16220 };
16221
16222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
16223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16224 {
16225 PyThreadState* __tstate = wxPyBeginAllowThreads();
16226 delete arg1;
16227
16228 wxPyEndAllowThreads(__tstate);
16229 if (PyErr_Occurred()) SWIG_fail;
16230 }
16231 Py_INCREF(Py_None); resultobj = Py_None;
16232 return resultobj;
16233 fail:
16234 return NULL;
16235}
16236
16237
16238static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
16239 PyObject *obj;
16240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16241 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
16242 Py_INCREF(obj);
16243 return Py_BuildValue((char *)"");
16244}
16245static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16246 PyObject *resultobj;
16247 wxString *arg1 = 0 ;
16248 wxString result;
423f194a 16249 bool temp1 = False ;
d14a1e28
RD
16250 PyObject * obj0 = 0 ;
16251 char *kwnames[] = {
16252 (char *) "sz", NULL
16253 };
16254
16255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
16256 {
16257 arg1 = wxString_in_helper(obj0);
16258 if (arg1 == NULL) SWIG_fail;
423f194a 16259 temp1 = True;
d14a1e28
RD
16260 }
16261 {
16262 PyThreadState* __tstate = wxPyBeginAllowThreads();
16263 result = wxExpandEnvVars((wxString const &)*arg1);
16264
16265 wxPyEndAllowThreads(__tstate);
16266 if (PyErr_Occurred()) SWIG_fail;
16267 }
16268 {
16269#if wxUSE_UNICODE
16270 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16271#else
16272 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16273#endif
16274 }
16275 {
16276 if (temp1)
16277 delete arg1;
16278 }
16279 return resultobj;
16280 fail:
16281 {
16282 if (temp1)
16283 delete arg1;
16284 }
16285 return NULL;
16286}
16287
16288
8edf1c75 16289static int _wrap_DateFormatStr_set(PyObject *) {
d03fd34d
RD
16290 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
16291 return 1;
16292}
16293
16294
16295static PyObject *_wrap_DateFormatStr_get() {
16296 PyObject *pyobj;
16297
16298 {
16299#if wxUSE_UNICODE
16300 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16301#else
16302 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16303#endif
16304 }
16305 return pyobj;
16306}
16307
16308
8edf1c75 16309static int _wrap_TimeSpanFormatStr_set(PyObject *) {
d03fd34d
RD
16310 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
16311 return 1;
16312}
16313
16314
16315static PyObject *_wrap_TimeSpanFormatStr_get() {
16316 PyObject *pyobj;
16317
16318 {
16319#if wxUSE_UNICODE
16320 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16321#else
16322 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16323#endif
16324 }
16325 return pyobj;
16326}
16327
16328
d14a1e28
RD
16329static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16330 PyObject *resultobj;
16331 int arg1 ;
8edf1c75 16332 PyObject * obj0 = 0 ;
d14a1e28
RD
16333 char *kwnames[] = {
16334 (char *) "country", NULL
16335 };
16336
8edf1c75
RD
16337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
16338 {
16339 arg1 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj0);
16340 if (PyErr_Occurred()) SWIG_fail;
16341 }
d14a1e28
RD
16342 {
16343 PyThreadState* __tstate = wxPyBeginAllowThreads();
16344 wxDateTime::SetCountry((wxDateTime::Country )arg1);
16345
16346 wxPyEndAllowThreads(__tstate);
16347 if (PyErr_Occurred()) SWIG_fail;
16348 }
16349 Py_INCREF(Py_None); resultobj = Py_None;
16350 return resultobj;
16351 fail:
16352 return NULL;
16353}
16354
16355
16356static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16357 PyObject *resultobj;
16358 int result;
16359 char *kwnames[] = {
16360 NULL
16361 };
16362
16363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
16364 {
16365 PyThreadState* __tstate = wxPyBeginAllowThreads();
16366 result = (int)wxDateTime::GetCountry();
16367
16368 wxPyEndAllowThreads(__tstate);
16369 if (PyErr_Occurred()) SWIG_fail;
16370 }
8edf1c75 16371 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
16372 return resultobj;
16373 fail:
16374 return NULL;
16375}
16376
16377
16378static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16379 PyObject *resultobj;
16380 int arg1 = (int) wxDateTime::Country_Default ;
16381 bool result;
8edf1c75 16382 PyObject * obj0 = 0 ;
d14a1e28
RD
16383 char *kwnames[] = {
16384 (char *) "country", NULL
16385 };
16386
8edf1c75
RD
16387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
16388 if (obj0) {
16389 {
16390 arg1 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj0);
16391 if (PyErr_Occurred()) SWIG_fail;
16392 }
16393 }
d14a1e28
RD
16394 {
16395 PyThreadState* __tstate = wxPyBeginAllowThreads();
16396 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
16397
16398 wxPyEndAllowThreads(__tstate);
16399 if (PyErr_Occurred()) SWIG_fail;
16400 }
4e760a36 16401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16402 return resultobj;
16403 fail:
16404 return NULL;
16405}
16406
16407
16408static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16409 PyObject *resultobj;
16410 int arg1 = (int) wxDateTime::Gregorian ;
16411 int result;
8edf1c75 16412 PyObject * obj0 = 0 ;
d14a1e28
RD
16413 char *kwnames[] = {
16414 (char *) "cal", NULL
16415 };
16416
8edf1c75
RD
16417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
16418 if (obj0) {
16419 {
16420 arg1 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj0);
16421 if (PyErr_Occurred()) SWIG_fail;
16422 }
16423 }
d14a1e28
RD
16424 {
16425 PyThreadState* __tstate = wxPyBeginAllowThreads();
16426 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
16427
16428 wxPyEndAllowThreads(__tstate);
16429 if (PyErr_Occurred()) SWIG_fail;
16430 }
8edf1c75 16431 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
16432 return resultobj;
16433 fail:
16434 return NULL;
16435}
16436
16437
16438static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
16439 PyObject *resultobj;
16440 int arg1 ;
16441 int result;
8edf1c75 16442 PyObject * obj0 = 0 ;
d14a1e28
RD
16443 char *kwnames[] = {
16444 (char *) "year", NULL
16445 };
16446
8edf1c75
RD
16447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
16448 {
16449 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16450 if (PyErr_Occurred()) SWIG_fail;
16451 }
d14a1e28
RD
16452 {
16453 PyThreadState* __tstate = wxPyBeginAllowThreads();
16454 result = (int)wxDateTime::ConvertYearToBC(arg1);
16455
16456 wxPyEndAllowThreads(__tstate);
16457 if (PyErr_Occurred()) SWIG_fail;
16458 }
8edf1c75 16459 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
16460 return resultobj;
16461 fail:
16462 return NULL;
16463}
16464
16465
16466static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16467 PyObject *resultobj;
16468 int arg1 = (int) wxDateTime::Gregorian ;
16469 int result;
8edf1c75 16470 PyObject * obj0 = 0 ;
d14a1e28
RD
16471 char *kwnames[] = {
16472 (char *) "cal", NULL
16473 };
16474
8edf1c75
RD
16475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
16476 if (obj0) {
16477 {
16478 arg1 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj0);
16479 if (PyErr_Occurred()) SWIG_fail;
16480 }
16481 }
d14a1e28
RD
16482 {
16483 PyThreadState* __tstate = wxPyBeginAllowThreads();
16484 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
16485
16486 wxPyEndAllowThreads(__tstate);
16487 if (PyErr_Occurred()) SWIG_fail;
16488 }
8edf1c75 16489 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
16490 return resultobj;
16491 fail:
16492 return NULL;
16493}
16494
16495
16496static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16497 PyObject *resultobj;
16498 int arg1 = (int) wxDateTime::Inv_Year ;
16499 int arg2 = (int) wxDateTime::Gregorian ;
16500 bool result;
8edf1c75
RD
16501 PyObject * obj0 = 0 ;
16502 PyObject * obj1 = 0 ;
d14a1e28
RD
16503 char *kwnames[] = {
16504 (char *) "year",(char *) "cal", NULL
16505 };
16506
8edf1c75
RD
16507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
16508 if (obj0) {
16509 {
16510 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16511 if (PyErr_Occurred()) SWIG_fail;
16512 }
16513 }
16514 if (obj1) {
16515 {
16516 arg2 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj1);
16517 if (PyErr_Occurred()) SWIG_fail;
16518 }
16519 }
d14a1e28
RD
16520 {
16521 PyThreadState* __tstate = wxPyBeginAllowThreads();
16522 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
16523
16524 wxPyEndAllowThreads(__tstate);
16525 if (PyErr_Occurred()) SWIG_fail;
16526 }
4e760a36 16527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16528 return resultobj;
16529 fail:
16530 return NULL;
16531}
16532
16533
16534static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
16535 PyObject *resultobj;
16536 int arg1 = (int) wxDateTime::Inv_Year ;
16537 int result;
8edf1c75 16538 PyObject * obj0 = 0 ;
d14a1e28
RD
16539 char *kwnames[] = {
16540 (char *) "year", NULL
16541 };
16542
8edf1c75
RD
16543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
16544 if (obj0) {
16545 {
16546 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16547 if (PyErr_Occurred()) SWIG_fail;
16548 }
16549 }
d14a1e28
RD
16550 {
16551 PyThreadState* __tstate = wxPyBeginAllowThreads();
16552 result = (int)wxDateTime::GetCentury(arg1);
16553
16554 wxPyEndAllowThreads(__tstate);
16555 if (PyErr_Occurred()) SWIG_fail;
16556 }
8edf1c75 16557 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
16558 return resultobj;
16559 fail:
16560 return NULL;
16561}
16562
16563
16564static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16565 PyObject *resultobj;
16566 int arg1 ;
16567 int arg2 = (int) wxDateTime::Gregorian ;
44127b65 16568 int result;
8edf1c75
RD
16569 PyObject * obj0 = 0 ;
16570 PyObject * obj1 = 0 ;
d14a1e28
RD
16571 char *kwnames[] = {
16572 (char *) "year",(char *) "cal", NULL
16573 };
16574
8edf1c75
RD
16575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
16576 {
16577 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16578 if (PyErr_Occurred()) SWIG_fail;
16579 }
16580 if (obj1) {
16581 {
16582 arg2 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj1);
16583 if (PyErr_Occurred()) SWIG_fail;
16584 }
16585 }
d14a1e28
RD
16586 {
16587 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 16588 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
d14a1e28
RD
16589
16590 wxPyEndAllowThreads(__tstate);
16591 if (PyErr_Occurred()) SWIG_fail;
16592 }
8edf1c75 16593 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
16594 return resultobj;
16595 fail:
16596 return NULL;
16597}
16598
16599
16600static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16601 PyObject *resultobj;
16602 int arg1 ;
16603 int arg2 = (int) wxDateTime::Inv_Year ;
16604 int arg3 = (int) wxDateTime::Gregorian ;
44127b65 16605 int result;
8edf1c75
RD
16606 PyObject * obj0 = 0 ;
16607 PyObject * obj1 = 0 ;
16608 PyObject * obj2 = 0 ;
d14a1e28
RD
16609 char *kwnames[] = {
16610 (char *) "month",(char *) "year",(char *) "cal", NULL
16611 };
16612
8edf1c75
RD
16613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
16614 {
16615 arg1 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj0);
16616 if (PyErr_Occurred()) SWIG_fail;
16617 }
16618 if (obj1) {
16619 {
16620 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16621 if (PyErr_Occurred()) SWIG_fail;
16622 }
16623 }
16624 if (obj2) {
16625 {
16626 arg3 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj2);
16627 if (PyErr_Occurred()) SWIG_fail;
16628 }
16629 }
d14a1e28
RD
16630 {
16631 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 16632 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
d14a1e28
RD
16633
16634 wxPyEndAllowThreads(__tstate);
16635 if (PyErr_Occurred()) SWIG_fail;
16636 }
8edf1c75 16637 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
16638 return resultobj;
16639 fail:
16640 return NULL;
16641}
16642
16643
16644static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
16645 PyObject *resultobj;
16646 int arg1 ;
16647 int arg2 = (int) wxDateTime::Name_Full ;
16648 wxString result;
8edf1c75
RD
16649 PyObject * obj0 = 0 ;
16650 PyObject * obj1 = 0 ;
d14a1e28
RD
16651 char *kwnames[] = {
16652 (char *) "month",(char *) "flags", NULL
16653 };
16654
8edf1c75
RD
16655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
16656 {
16657 arg1 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj0);
16658 if (PyErr_Occurred()) SWIG_fail;
16659 }
16660 if (obj1) {
16661 {
16662 arg2 = (wxDateTime::NameFlags) SWIG_PyObj_AsInt(obj1);
16663 if (PyErr_Occurred()) SWIG_fail;
16664 }
16665 }
d14a1e28
RD
16666 {
16667 PyThreadState* __tstate = wxPyBeginAllowThreads();
16668 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
16669
16670 wxPyEndAllowThreads(__tstate);
16671 if (PyErr_Occurred()) SWIG_fail;
16672 }
16673 {
16674#if wxUSE_UNICODE
16675 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16676#else
16677 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16678#endif
16679 }
16680 return resultobj;
16681 fail:
16682 return NULL;
16683}
16684
16685
16686static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
16687 PyObject *resultobj;
16688 int arg1 ;
16689 int arg2 = (int) wxDateTime::Name_Full ;
16690 wxString result;
8edf1c75
RD
16691 PyObject * obj0 = 0 ;
16692 PyObject * obj1 = 0 ;
d14a1e28
RD
16693 char *kwnames[] = {
16694 (char *) "weekday",(char *) "flags", NULL
16695 };
16696
8edf1c75
RD
16697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
16698 {
16699 arg1 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj0);
16700 if (PyErr_Occurred()) SWIG_fail;
16701 }
16702 if (obj1) {
16703 {
16704 arg2 = (wxDateTime::NameFlags) SWIG_PyObj_AsInt(obj1);
16705 if (PyErr_Occurred()) SWIG_fail;
16706 }
16707 }
d14a1e28
RD
16708 {
16709 PyThreadState* __tstate = wxPyBeginAllowThreads();
16710 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
16711
16712 wxPyEndAllowThreads(__tstate);
16713 if (PyErr_Occurred()) SWIG_fail;
16714 }
16715 {
16716#if wxUSE_UNICODE
16717 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16718#else
16719 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16720#endif
16721 }
16722 return resultobj;
16723 fail:
16724 return NULL;
16725}
16726
16727
16728static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
16729 PyObject *resultobj;
16730 wxString *arg1 = (wxString *) 0 ;
16731 wxString *arg2 = (wxString *) 0 ;
f775c30d
RD
16732 bool temp1 = False ;
16733 bool temp2 = False ;
d14a1e28
RD
16734 PyObject * obj0 = 0 ;
16735 PyObject * obj1 = 0 ;
16736 char *kwnames[] = {
16737 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16738 };
16739
16740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
f775c30d
RD
16741 {
16742 arg1 = wxString_in_helper(obj0);
16743 if (arg1 == NULL) SWIG_fail;
16744 temp1 = True;
16745 }
16746 {
16747 arg2 = wxString_in_helper(obj1);
16748 if (arg2 == NULL) SWIG_fail;
16749 temp2 = True;
16750 }
d14a1e28
RD
16751 {
16752 PyThreadState* __tstate = wxPyBeginAllowThreads();
16753 wxDateTime::GetAmPmStrings(arg1,arg2);
16754
16755 wxPyEndAllowThreads(__tstate);
16756 if (PyErr_Occurred()) SWIG_fail;
16757 }
16758 Py_INCREF(Py_None); resultobj = Py_None;
f775c30d
RD
16759 {
16760 if (temp1)
16761 delete arg1;
16762 }
16763 {
16764 if (temp2)
16765 delete arg2;
16766 }
d14a1e28
RD
16767 return resultobj;
16768 fail:
f775c30d
RD
16769 {
16770 if (temp1)
16771 delete arg1;
16772 }
16773 {
16774 if (temp2)
16775 delete arg2;
16776 }
d14a1e28
RD
16777 return NULL;
16778}
16779
16780
16781static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
16782 PyObject *resultobj;
16783 int arg1 = (int) wxDateTime::Inv_Year ;
16784 int arg2 = (int) wxDateTime::Country_Default ;
16785 bool result;
8edf1c75
RD
16786 PyObject * obj0 = 0 ;
16787 PyObject * obj1 = 0 ;
d14a1e28
RD
16788 char *kwnames[] = {
16789 (char *) "year",(char *) "country", NULL
16790 };
16791
8edf1c75
RD
16792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
16793 if (obj0) {
16794 {
16795 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16796 if (PyErr_Occurred()) SWIG_fail;
16797 }
16798 }
16799 if (obj1) {
16800 {
16801 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
16802 if (PyErr_Occurred()) SWIG_fail;
16803 }
16804 }
d14a1e28
RD
16805 {
16806 PyThreadState* __tstate = wxPyBeginAllowThreads();
16807 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
16808
16809 wxPyEndAllowThreads(__tstate);
16810 if (PyErr_Occurred()) SWIG_fail;
16811 }
4e760a36 16812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16813 return resultobj;
16814 fail:
16815 return NULL;
16816}
16817
16818
16819static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
16820 PyObject *resultobj;
16821 int arg1 = (int) wxDateTime::Inv_Year ;
16822 int arg2 = (int) wxDateTime::Country_Default ;
16823 wxDateTime result;
8edf1c75
RD
16824 PyObject * obj0 = 0 ;
16825 PyObject * obj1 = 0 ;
d14a1e28
RD
16826 char *kwnames[] = {
16827 (char *) "year",(char *) "country", NULL
16828 };
16829
8edf1c75
RD
16830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
16831 if (obj0) {
16832 {
16833 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16834 if (PyErr_Occurred()) SWIG_fail;
16835 }
16836 }
16837 if (obj1) {
16838 {
16839 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
16840 if (PyErr_Occurred()) SWIG_fail;
16841 }
16842 }
d14a1e28
RD
16843 {
16844 PyThreadState* __tstate = wxPyBeginAllowThreads();
16845 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
16846
16847 wxPyEndAllowThreads(__tstate);
16848 if (PyErr_Occurred()) SWIG_fail;
16849 }
16850 {
16851 wxDateTime * resultptr;
16852 resultptr = new wxDateTime((wxDateTime &) result);
16853 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16854 }
16855 return resultobj;
16856 fail:
16857 return NULL;
16858}
16859
16860
16861static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
16862 PyObject *resultobj;
16863 int arg1 = (int) wxDateTime::Inv_Year ;
16864 int arg2 = (int) wxDateTime::Country_Default ;
16865 wxDateTime result;
8edf1c75
RD
16866 PyObject * obj0 = 0 ;
16867 PyObject * obj1 = 0 ;
d14a1e28
RD
16868 char *kwnames[] = {
16869 (char *) "year",(char *) "country", NULL
16870 };
16871
8edf1c75
RD
16872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
16873 if (obj0) {
16874 {
16875 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16876 if (PyErr_Occurred()) SWIG_fail;
16877 }
16878 }
16879 if (obj1) {
16880 {
16881 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
16882 if (PyErr_Occurred()) SWIG_fail;
16883 }
16884 }
d14a1e28
RD
16885 {
16886 PyThreadState* __tstate = wxPyBeginAllowThreads();
16887 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
16888
16889 wxPyEndAllowThreads(__tstate);
16890 if (PyErr_Occurred()) SWIG_fail;
16891 }
16892 {
16893 wxDateTime * resultptr;
16894 resultptr = new wxDateTime((wxDateTime &) result);
16895 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16896 }
16897 return resultobj;
16898 fail:
16899 return NULL;
16900}
16901
16902
16903static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
16904 PyObject *resultobj;
16905 wxDateTime result;
16906 char *kwnames[] = {
16907 NULL
16908 };
16909
16910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
16911 {
16912 PyThreadState* __tstate = wxPyBeginAllowThreads();
16913 result = wxDateTime::Now();
16914
16915 wxPyEndAllowThreads(__tstate);
16916 if (PyErr_Occurred()) SWIG_fail;
16917 }
16918 {
16919 wxDateTime * resultptr;
16920 resultptr = new wxDateTime((wxDateTime &) result);
16921 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16922 }
16923 return resultobj;
16924 fail:
16925 return NULL;
16926}
16927
16928
16929static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
16930 PyObject *resultobj;
16931 wxDateTime result;
16932 char *kwnames[] = {
16933 NULL
16934 };
16935
16936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
16937 {
16938 PyThreadState* __tstate = wxPyBeginAllowThreads();
16939 result = wxDateTime::UNow();
16940
16941 wxPyEndAllowThreads(__tstate);
16942 if (PyErr_Occurred()) SWIG_fail;
16943 }
16944 {
16945 wxDateTime * resultptr;
16946 resultptr = new wxDateTime((wxDateTime &) result);
16947 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16948 }
16949 return resultobj;
16950 fail:
16951 return NULL;
16952}
16953
16954
16955static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
16956 PyObject *resultobj;
16957 wxDateTime result;
16958 char *kwnames[] = {
16959 NULL
16960 };
16961
16962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
16963 {
16964 PyThreadState* __tstate = wxPyBeginAllowThreads();
16965 result = wxDateTime::Today();
16966
16967 wxPyEndAllowThreads(__tstate);
16968 if (PyErr_Occurred()) SWIG_fail;
16969 }
16970 {
16971 wxDateTime * resultptr;
16972 resultptr = new wxDateTime((wxDateTime &) result);
16973 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16974 }
16975 return resultobj;
16976 fail:
16977 return NULL;
16978}
16979
16980
16981static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16982 PyObject *resultobj;
16983 wxDateTime *result;
16984 char *kwnames[] = {
16985 NULL
16986 };
16987
16988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
16989 {
16990 PyThreadState* __tstate = wxPyBeginAllowThreads();
16991 result = (wxDateTime *)new wxDateTime();
16992
16993 wxPyEndAllowThreads(__tstate);
16994 if (PyErr_Occurred()) SWIG_fail;
16995 }
16996 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
16997 return resultobj;
16998 fail:
16999 return NULL;
17000}
17001
17002
17003static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17004 PyObject *resultobj;
17005 time_t arg1 ;
17006 wxDateTime *result;
17007 PyObject * obj0 = 0 ;
17008 char *kwnames[] = {
17009 (char *) "timet", NULL
17010 };
17011
17012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
83448d71 17013 {
8edf1c75 17014 arg1 = (time_t) SWIG_PyObj_AsUnsignedInt(obj0);
83448d71
RD
17015 if (PyErr_Occurred()) SWIG_fail;
17016 }
d14a1e28
RD
17017 {
17018 PyThreadState* __tstate = wxPyBeginAllowThreads();
17019 result = (wxDateTime *)new wxDateTime(arg1);
17020
17021 wxPyEndAllowThreads(__tstate);
17022 if (PyErr_Occurred()) SWIG_fail;
17023 }
17024 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
17025 return resultobj;
17026 fail:
17027 return NULL;
17028}
17029
17030
17031static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17032 PyObject *resultobj;
17033 double arg1 ;
17034 wxDateTime *result;
8edf1c75 17035 PyObject * obj0 = 0 ;
d14a1e28
RD
17036 char *kwnames[] = {
17037 (char *) "jdn", NULL
17038 };
17039
8edf1c75
RD
17040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
17041 {
17042 arg1 = (double) SWIG_PyObj_AsDouble(obj0);
17043 if (PyErr_Occurred()) SWIG_fail;
17044 }
d14a1e28
RD
17045 {
17046 PyThreadState* __tstate = wxPyBeginAllowThreads();
17047 result = (wxDateTime *)new wxDateTime(arg1);
17048
17049 wxPyEndAllowThreads(__tstate);
17050 if (PyErr_Occurred()) SWIG_fail;
17051 }
17052 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
17053 return resultobj;
17054 fail:
17055 return NULL;
17056}
17057
17058
17059static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17060 PyObject *resultobj;
44127b65
RD
17061 int arg1 ;
17062 int arg2 = (int) 0 ;
17063 int arg3 = (int) 0 ;
17064 int arg4 = (int) 0 ;
d14a1e28 17065 wxDateTime *result;
8edf1c75
RD
17066 PyObject * obj0 = 0 ;
17067 PyObject * obj1 = 0 ;
17068 PyObject * obj2 = 0 ;
17069 PyObject * obj3 = 0 ;
d14a1e28
RD
17070 char *kwnames[] = {
17071 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17072 };
17073
8edf1c75
RD
17074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17075 {
17076 arg1 = (int) SWIG_PyObj_AsInt(obj0);
17077 if (PyErr_Occurred()) SWIG_fail;
17078 }
17079 if (obj1) {
17080 {
17081 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17082 if (PyErr_Occurred()) SWIG_fail;
17083 }
17084 }
17085 if (obj2) {
17086 {
17087 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17088 if (PyErr_Occurred()) SWIG_fail;
17089 }
17090 }
17091 if (obj3) {
17092 {
17093 arg4 = (int) SWIG_PyObj_AsInt(obj3);
17094 if (PyErr_Occurred()) SWIG_fail;
17095 }
17096 }
d14a1e28
RD
17097 {
17098 PyThreadState* __tstate = wxPyBeginAllowThreads();
17099 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
17100
17101 wxPyEndAllowThreads(__tstate);
17102 if (PyErr_Occurred()) SWIG_fail;
17103 }
17104 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
17105 return resultobj;
17106 fail:
17107 return NULL;
17108}
17109
17110
17111static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
17112 PyObject *resultobj;
44127b65 17113 int arg1 ;
d14a1e28
RD
17114 int arg2 = (int) wxDateTime::Inv_Month ;
17115 int arg3 = (int) wxDateTime::Inv_Year ;
44127b65
RD
17116 int arg4 = (int) 0 ;
17117 int arg5 = (int) 0 ;
17118 int arg6 = (int) 0 ;
17119 int arg7 = (int) 0 ;
d14a1e28 17120 wxDateTime *result;
8edf1c75
RD
17121 PyObject * obj0 = 0 ;
17122 PyObject * obj1 = 0 ;
17123 PyObject * obj2 = 0 ;
17124 PyObject * obj3 = 0 ;
17125 PyObject * obj4 = 0 ;
17126 PyObject * obj5 = 0 ;
17127 PyObject * obj6 = 0 ;
d14a1e28
RD
17128 char *kwnames[] = {
17129 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17130 };
17131
8edf1c75
RD
17132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17133 {
17134 arg1 = (int) SWIG_PyObj_AsInt(obj0);
17135 if (PyErr_Occurred()) SWIG_fail;
17136 }
17137 if (obj1) {
17138 {
17139 arg2 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj1);
17140 if (PyErr_Occurred()) SWIG_fail;
17141 }
17142 }
17143 if (obj2) {
17144 {
17145 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17146 if (PyErr_Occurred()) SWIG_fail;
17147 }
17148 }
17149 if (obj3) {
17150 {
17151 arg4 = (int) SWIG_PyObj_AsInt(obj3);
17152 if (PyErr_Occurred()) SWIG_fail;
17153 }
17154 }
17155 if (obj4) {
17156 {
17157 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17158 if (PyErr_Occurred()) SWIG_fail;
17159 }
17160 }
17161 if (obj5) {
17162 {
17163 arg6 = (int) SWIG_PyObj_AsInt(obj5);
17164 if (PyErr_Occurred()) SWIG_fail;
17165 }
17166 }
17167 if (obj6) {
17168 {
17169 arg7 = (int) SWIG_PyObj_AsInt(obj6);
17170 if (PyErr_Occurred()) SWIG_fail;
17171 }
17172 }
d14a1e28
RD
17173 {
17174 PyThreadState* __tstate = wxPyBeginAllowThreads();
17175 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
17176
17177 wxPyEndAllowThreads(__tstate);
17178 if (PyErr_Occurred()) SWIG_fail;
17179 }
17180 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
17181 return resultobj;
17182 fail:
17183 return NULL;
17184}
17185
17186
17187static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17188 PyObject *resultobj;
17189 wxDateTime *arg1 = (wxDateTime *) 0 ;
17190 PyObject * obj0 = 0 ;
17191 char *kwnames[] = {
17192 (char *) "self", NULL
17193 };
17194
17195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
17196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17197 {
17198 PyThreadState* __tstate = wxPyBeginAllowThreads();
17199 delete arg1;
17200
17201 wxPyEndAllowThreads(__tstate);
17202 if (PyErr_Occurred()) SWIG_fail;
17203 }
17204 Py_INCREF(Py_None); resultobj = Py_None;
17205 return resultobj;
17206 fail:
17207 return NULL;
17208}
17209
17210
17211static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
17212 PyObject *resultobj;
17213 wxDateTime *arg1 = (wxDateTime *) 0 ;
17214 wxDateTime *result;
17215 PyObject * obj0 = 0 ;
17216 char *kwnames[] = {
17217 (char *) "self", NULL
17218 };
17219
17220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
17221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17222 {
17223 PyThreadState* __tstate = wxPyBeginAllowThreads();
17224 {
17225 wxDateTime &_result_ref = (arg1)->SetToCurrent();
17226 result = (wxDateTime *) &_result_ref;
17227 }
17228
17229 wxPyEndAllowThreads(__tstate);
17230 if (PyErr_Occurred()) SWIG_fail;
17231 }
17232 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17233 return resultobj;
17234 fail:
17235 return NULL;
17236}
17237
17238
17239static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17240 PyObject *resultobj;
17241 wxDateTime *arg1 = (wxDateTime *) 0 ;
17242 time_t arg2 ;
17243 wxDateTime *result;
17244 PyObject * obj0 = 0 ;
17245 PyObject * obj1 = 0 ;
17246 char *kwnames[] = {
17247 (char *) "self",(char *) "timet", NULL
17248 };
17249
17250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
17251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 17252 {
8edf1c75 17253 arg2 = (time_t) SWIG_PyObj_AsUnsignedInt(obj1);
83448d71
RD
17254 if (PyErr_Occurred()) SWIG_fail;
17255 }
d14a1e28
RD
17256 {
17257 PyThreadState* __tstate = wxPyBeginAllowThreads();
17258 {
17259 wxDateTime &_result_ref = (arg1)->Set(arg2);
17260 result = (wxDateTime *) &_result_ref;
17261 }
17262
17263 wxPyEndAllowThreads(__tstate);
17264 if (PyErr_Occurred()) SWIG_fail;
17265 }
17266 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17267 return resultobj;
17268 fail:
17269 return NULL;
17270}
17271
17272
17273static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17274 PyObject *resultobj;
17275 wxDateTime *arg1 = (wxDateTime *) 0 ;
17276 double arg2 ;
17277 wxDateTime *result;
17278 PyObject * obj0 = 0 ;
8edf1c75 17279 PyObject * obj1 = 0 ;
d14a1e28
RD
17280 char *kwnames[] = {
17281 (char *) "self",(char *) "jdn", NULL
17282 };
17283
8edf1c75 17284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17286 {
17287 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17288 if (PyErr_Occurred()) SWIG_fail;
17289 }
d14a1e28
RD
17290 {
17291 PyThreadState* __tstate = wxPyBeginAllowThreads();
17292 {
17293 wxDateTime &_result_ref = (arg1)->Set(arg2);
17294 result = (wxDateTime *) &_result_ref;
17295 }
17296
17297 wxPyEndAllowThreads(__tstate);
17298 if (PyErr_Occurred()) SWIG_fail;
17299 }
17300 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17301 return resultobj;
17302 fail:
17303 return NULL;
17304}
17305
17306
17307static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17308 PyObject *resultobj;
17309 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65
RD
17310 int arg2 ;
17311 int arg3 = (int) 0 ;
17312 int arg4 = (int) 0 ;
17313 int arg5 = (int) 0 ;
d14a1e28
RD
17314 wxDateTime *result;
17315 PyObject * obj0 = 0 ;
8edf1c75
RD
17316 PyObject * obj1 = 0 ;
17317 PyObject * obj2 = 0 ;
17318 PyObject * obj3 = 0 ;
17319 PyObject * obj4 = 0 ;
d14a1e28
RD
17320 char *kwnames[] = {
17321 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17322 };
17323
8edf1c75 17324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 17325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17326 {
17327 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17328 if (PyErr_Occurred()) SWIG_fail;
17329 }
17330 if (obj2) {
17331 {
17332 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17333 if (PyErr_Occurred()) SWIG_fail;
17334 }
17335 }
17336 if (obj3) {
17337 {
17338 arg4 = (int) SWIG_PyObj_AsInt(obj3);
17339 if (PyErr_Occurred()) SWIG_fail;
17340 }
17341 }
17342 if (obj4) {
17343 {
17344 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17345 if (PyErr_Occurred()) SWIG_fail;
17346 }
17347 }
d14a1e28
RD
17348 {
17349 PyThreadState* __tstate = wxPyBeginAllowThreads();
17350 {
17351 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
17352 result = (wxDateTime *) &_result_ref;
17353 }
17354
17355 wxPyEndAllowThreads(__tstate);
17356 if (PyErr_Occurred()) SWIG_fail;
17357 }
17358 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17359 return resultobj;
17360 fail:
17361 return NULL;
17362}
17363
17364
17365static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
17366 PyObject *resultobj;
17367 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17368 int arg2 ;
d14a1e28
RD
17369 int arg3 = (int) wxDateTime::Inv_Month ;
17370 int arg4 = (int) wxDateTime::Inv_Year ;
44127b65
RD
17371 int arg5 = (int) 0 ;
17372 int arg6 = (int) 0 ;
17373 int arg7 = (int) 0 ;
17374 int arg8 = (int) 0 ;
d14a1e28
RD
17375 wxDateTime *result;
17376 PyObject * obj0 = 0 ;
8edf1c75
RD
17377 PyObject * obj1 = 0 ;
17378 PyObject * obj2 = 0 ;
17379 PyObject * obj3 = 0 ;
17380 PyObject * obj4 = 0 ;
17381 PyObject * obj5 = 0 ;
17382 PyObject * obj6 = 0 ;
17383 PyObject * obj7 = 0 ;
d14a1e28
RD
17384 char *kwnames[] = {
17385 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17386 };
17387
8edf1c75 17388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d14a1e28 17389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17390 {
17391 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17392 if (PyErr_Occurred()) SWIG_fail;
17393 }
17394 if (obj2) {
17395 {
17396 arg3 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj2);
17397 if (PyErr_Occurred()) SWIG_fail;
17398 }
17399 }
17400 if (obj3) {
17401 {
17402 arg4 = (int) SWIG_PyObj_AsInt(obj3);
17403 if (PyErr_Occurred()) SWIG_fail;
17404 }
17405 }
17406 if (obj4) {
17407 {
17408 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17409 if (PyErr_Occurred()) SWIG_fail;
17410 }
17411 }
17412 if (obj5) {
17413 {
17414 arg6 = (int) SWIG_PyObj_AsInt(obj5);
17415 if (PyErr_Occurred()) SWIG_fail;
17416 }
17417 }
17418 if (obj6) {
17419 {
17420 arg7 = (int) SWIG_PyObj_AsInt(obj6);
17421 if (PyErr_Occurred()) SWIG_fail;
17422 }
17423 }
17424 if (obj7) {
17425 {
17426 arg8 = (int) SWIG_PyObj_AsInt(obj7);
17427 if (PyErr_Occurred()) SWIG_fail;
17428 }
17429 }
d14a1e28
RD
17430 {
17431 PyThreadState* __tstate = wxPyBeginAllowThreads();
17432 {
17433 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
17434 result = (wxDateTime *) &_result_ref;
17435 }
17436
17437 wxPyEndAllowThreads(__tstate);
17438 if (PyErr_Occurred()) SWIG_fail;
17439 }
17440 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17441 return resultobj;
17442 fail:
17443 return NULL;
17444}
17445
17446
17447static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17448 PyObject *resultobj;
17449 wxDateTime *arg1 = (wxDateTime *) 0 ;
17450 wxDateTime *result;
17451 PyObject * obj0 = 0 ;
17452 char *kwnames[] = {
17453 (char *) "self", NULL
17454 };
17455
17456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
17457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17458 {
17459 PyThreadState* __tstate = wxPyBeginAllowThreads();
17460 {
17461 wxDateTime &_result_ref = (arg1)->ResetTime();
17462 result = (wxDateTime *) &_result_ref;
17463 }
17464
17465 wxPyEndAllowThreads(__tstate);
17466 if (PyErr_Occurred()) SWIG_fail;
17467 }
17468 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17469 return resultobj;
17470 fail:
17471 return NULL;
17472}
17473
17474
17475static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17476 PyObject *resultobj;
17477 wxDateTime *arg1 = (wxDateTime *) 0 ;
17478 int arg2 ;
17479 wxDateTime *result;
17480 PyObject * obj0 = 0 ;
8edf1c75 17481 PyObject * obj1 = 0 ;
d14a1e28
RD
17482 char *kwnames[] = {
17483 (char *) "self",(char *) "year", NULL
17484 };
17485
8edf1c75 17486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17488 {
17489 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17490 if (PyErr_Occurred()) SWIG_fail;
17491 }
d14a1e28
RD
17492 {
17493 PyThreadState* __tstate = wxPyBeginAllowThreads();
17494 {
17495 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
17496 result = (wxDateTime *) &_result_ref;
17497 }
17498
17499 wxPyEndAllowThreads(__tstate);
17500 if (PyErr_Occurred()) SWIG_fail;
17501 }
17502 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17503 return resultobj;
17504 fail:
17505 return NULL;
17506}
17507
17508
17509static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17510 PyObject *resultobj;
17511 wxDateTime *arg1 = (wxDateTime *) 0 ;
17512 int arg2 ;
17513 wxDateTime *result;
17514 PyObject * obj0 = 0 ;
8edf1c75 17515 PyObject * obj1 = 0 ;
d14a1e28
RD
17516 char *kwnames[] = {
17517 (char *) "self",(char *) "month", NULL
17518 };
17519
8edf1c75 17520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17522 {
17523 arg2 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj1);
17524 if (PyErr_Occurred()) SWIG_fail;
17525 }
d14a1e28
RD
17526 {
17527 PyThreadState* __tstate = wxPyBeginAllowThreads();
17528 {
17529 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
17530 result = (wxDateTime *) &_result_ref;
17531 }
17532
17533 wxPyEndAllowThreads(__tstate);
17534 if (PyErr_Occurred()) SWIG_fail;
17535 }
17536 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17537 return resultobj;
17538 fail:
17539 return NULL;
17540}
17541
17542
17543static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17544 PyObject *resultobj;
17545 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17546 int arg2 ;
d14a1e28
RD
17547 wxDateTime *result;
17548 PyObject * obj0 = 0 ;
8edf1c75 17549 PyObject * obj1 = 0 ;
d14a1e28
RD
17550 char *kwnames[] = {
17551 (char *) "self",(char *) "day", NULL
17552 };
17553
8edf1c75 17554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17556 {
17557 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17558 if (PyErr_Occurred()) SWIG_fail;
17559 }
d14a1e28
RD
17560 {
17561 PyThreadState* __tstate = wxPyBeginAllowThreads();
17562 {
17563 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
17564 result = (wxDateTime *) &_result_ref;
17565 }
17566
17567 wxPyEndAllowThreads(__tstate);
17568 if (PyErr_Occurred()) SWIG_fail;
17569 }
17570 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17571 return resultobj;
17572 fail:
17573 return NULL;
17574}
17575
17576
17577static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17578 PyObject *resultobj;
17579 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17580 int arg2 ;
d14a1e28
RD
17581 wxDateTime *result;
17582 PyObject * obj0 = 0 ;
8edf1c75 17583 PyObject * obj1 = 0 ;
d14a1e28
RD
17584 char *kwnames[] = {
17585 (char *) "self",(char *) "hour", NULL
17586 };
17587
8edf1c75 17588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17590 {
17591 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17592 if (PyErr_Occurred()) SWIG_fail;
17593 }
d14a1e28
RD
17594 {
17595 PyThreadState* __tstate = wxPyBeginAllowThreads();
17596 {
17597 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
17598 result = (wxDateTime *) &_result_ref;
17599 }
17600
17601 wxPyEndAllowThreads(__tstate);
17602 if (PyErr_Occurred()) SWIG_fail;
17603 }
17604 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17605 return resultobj;
17606 fail:
17607 return NULL;
17608}
17609
17610
17611static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17612 PyObject *resultobj;
17613 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17614 int arg2 ;
d14a1e28
RD
17615 wxDateTime *result;
17616 PyObject * obj0 = 0 ;
8edf1c75 17617 PyObject * obj1 = 0 ;
d14a1e28
RD
17618 char *kwnames[] = {
17619 (char *) "self",(char *) "minute", NULL
17620 };
17621
8edf1c75 17622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17624 {
17625 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17626 if (PyErr_Occurred()) SWIG_fail;
17627 }
d14a1e28
RD
17628 {
17629 PyThreadState* __tstate = wxPyBeginAllowThreads();
17630 {
17631 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
17632 result = (wxDateTime *) &_result_ref;
17633 }
17634
17635 wxPyEndAllowThreads(__tstate);
17636 if (PyErr_Occurred()) SWIG_fail;
17637 }
17638 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17639 return resultobj;
17640 fail:
17641 return NULL;
17642}
17643
17644
17645static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17646 PyObject *resultobj;
17647 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17648 int arg2 ;
d14a1e28
RD
17649 wxDateTime *result;
17650 PyObject * obj0 = 0 ;
8edf1c75 17651 PyObject * obj1 = 0 ;
d14a1e28
RD
17652 char *kwnames[] = {
17653 (char *) "self",(char *) "second", NULL
17654 };
17655
8edf1c75 17656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17658 {
17659 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17660 if (PyErr_Occurred()) SWIG_fail;
17661 }
d14a1e28
RD
17662 {
17663 PyThreadState* __tstate = wxPyBeginAllowThreads();
17664 {
17665 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
17666 result = (wxDateTime *) &_result_ref;
17667 }
17668
17669 wxPyEndAllowThreads(__tstate);
17670 if (PyErr_Occurred()) SWIG_fail;
17671 }
17672 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17673 return resultobj;
17674 fail:
17675 return NULL;
17676}
17677
17678
17679static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17680 PyObject *resultobj;
17681 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17682 int arg2 ;
d14a1e28
RD
17683 wxDateTime *result;
17684 PyObject * obj0 = 0 ;
8edf1c75 17685 PyObject * obj1 = 0 ;
d14a1e28
RD
17686 char *kwnames[] = {
17687 (char *) "self",(char *) "millisecond", NULL
17688 };
17689
8edf1c75 17690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17692 {
17693 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17694 if (PyErr_Occurred()) SWIG_fail;
17695 }
d14a1e28
RD
17696 {
17697 PyThreadState* __tstate = wxPyBeginAllowThreads();
17698 {
17699 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
17700 result = (wxDateTime *) &_result_ref;
17701 }
17702
17703 wxPyEndAllowThreads(__tstate);
17704 if (PyErr_Occurred()) SWIG_fail;
17705 }
17706 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17707 return resultobj;
17708 fail:
17709 return NULL;
17710}
17711
17712
17713static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
17714 PyObject *resultobj;
17715 wxDateTime *arg1 = (wxDateTime *) 0 ;
17716 int arg2 ;
17717 int arg3 = (int) wxDateTime::Monday_First ;
17718 wxDateTime *result;
17719 PyObject * obj0 = 0 ;
8edf1c75
RD
17720 PyObject * obj1 = 0 ;
17721 PyObject * obj2 = 0 ;
d14a1e28
RD
17722 char *kwnames[] = {
17723 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17724 };
17725
8edf1c75 17726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 17727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17728 {
17729 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17730 if (PyErr_Occurred()) SWIG_fail;
17731 }
17732 if (obj2) {
17733 {
17734 arg3 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj2);
17735 if (PyErr_Occurred()) SWIG_fail;
17736 }
17737 }
d14a1e28
RD
17738 {
17739 PyThreadState* __tstate = wxPyBeginAllowThreads();
17740 {
17741 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
17742 result = (wxDateTime *) &_result_ref;
17743 }
17744
17745 wxPyEndAllowThreads(__tstate);
17746 if (PyErr_Occurred()) SWIG_fail;
17747 }
17748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17749 return resultobj;
17750 fail:
17751 return NULL;
17752}
17753
17754
17755static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
17756 PyObject *resultobj;
17757 wxDateTime *arg1 = (wxDateTime *) 0 ;
17758 int arg2 ;
17759 int arg3 = (int) wxDateTime::Monday_First ;
17760 wxDateTime result;
17761 PyObject * obj0 = 0 ;
8edf1c75
RD
17762 PyObject * obj1 = 0 ;
17763 PyObject * obj2 = 0 ;
d14a1e28
RD
17764 char *kwnames[] = {
17765 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17766 };
17767
8edf1c75 17768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 17769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17770 {
17771 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17772 if (PyErr_Occurred()) SWIG_fail;
17773 }
17774 if (obj2) {
17775 {
17776 arg3 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj2);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
17779 }
d14a1e28
RD
17780 {
17781 PyThreadState* __tstate = wxPyBeginAllowThreads();
17782 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
17783
17784 wxPyEndAllowThreads(__tstate);
17785 if (PyErr_Occurred()) SWIG_fail;
17786 }
17787 {
17788 wxDateTime * resultptr;
17789 resultptr = new wxDateTime((wxDateTime &) result);
17790 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17791 }
17792 return resultobj;
17793 fail:
17794 return NULL;
17795}
17796
17797
17798static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17799 PyObject *resultobj;
17800 wxDateTime *arg1 = (wxDateTime *) 0 ;
17801 int arg2 ;
17802 wxDateTime *result;
17803 PyObject * obj0 = 0 ;
8edf1c75 17804 PyObject * obj1 = 0 ;
d14a1e28
RD
17805 char *kwnames[] = {
17806 (char *) "self",(char *) "weekday", NULL
17807 };
17808
8edf1c75 17809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17811 {
17812 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17813 if (PyErr_Occurred()) SWIG_fail;
17814 }
d14a1e28
RD
17815 {
17816 PyThreadState* __tstate = wxPyBeginAllowThreads();
17817 {
17818 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
17819 result = (wxDateTime *) &_result_ref;
17820 }
17821
17822 wxPyEndAllowThreads(__tstate);
17823 if (PyErr_Occurred()) SWIG_fail;
17824 }
17825 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17826 return resultobj;
17827 fail:
17828 return NULL;
17829}
17830
17831
17832static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17833 PyObject *resultobj;
17834 wxDateTime *arg1 = (wxDateTime *) 0 ;
17835 int arg2 ;
17836 wxDateTime result;
17837 PyObject * obj0 = 0 ;
8edf1c75 17838 PyObject * obj1 = 0 ;
d14a1e28
RD
17839 char *kwnames[] = {
17840 (char *) "self",(char *) "weekday", NULL
17841 };
17842
8edf1c75 17843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17845 {
17846 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17847 if (PyErr_Occurred()) SWIG_fail;
17848 }
d14a1e28
RD
17849 {
17850 PyThreadState* __tstate = wxPyBeginAllowThreads();
17851 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
17852
17853 wxPyEndAllowThreads(__tstate);
17854 if (PyErr_Occurred()) SWIG_fail;
17855 }
17856 {
17857 wxDateTime * resultptr;
17858 resultptr = new wxDateTime((wxDateTime &) result);
17859 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17860 }
17861 return resultobj;
17862 fail:
17863 return NULL;
17864}
17865
17866
17867static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17868 PyObject *resultobj;
17869 wxDateTime *arg1 = (wxDateTime *) 0 ;
17870 int arg2 ;
17871 wxDateTime *result;
17872 PyObject * obj0 = 0 ;
8edf1c75 17873 PyObject * obj1 = 0 ;
d14a1e28
RD
17874 char *kwnames[] = {
17875 (char *) "self",(char *) "weekday", NULL
17876 };
17877
8edf1c75 17878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17880 {
17881 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17882 if (PyErr_Occurred()) SWIG_fail;
17883 }
d14a1e28
RD
17884 {
17885 PyThreadState* __tstate = wxPyBeginAllowThreads();
17886 {
17887 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
17888 result = (wxDateTime *) &_result_ref;
17889 }
17890
17891 wxPyEndAllowThreads(__tstate);
17892 if (PyErr_Occurred()) SWIG_fail;
17893 }
17894 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17895 return resultobj;
17896 fail:
17897 return NULL;
17898}
17899
17900
17901static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17902 PyObject *resultobj;
17903 wxDateTime *arg1 = (wxDateTime *) 0 ;
17904 int arg2 ;
17905 wxDateTime result;
17906 PyObject * obj0 = 0 ;
8edf1c75 17907 PyObject * obj1 = 0 ;
d14a1e28
RD
17908 char *kwnames[] = {
17909 (char *) "self",(char *) "weekday", NULL
17910 };
17911
8edf1c75 17912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17914 {
17915 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17916 if (PyErr_Occurred()) SWIG_fail;
17917 }
d14a1e28
RD
17918 {
17919 PyThreadState* __tstate = wxPyBeginAllowThreads();
17920 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
17921
17922 wxPyEndAllowThreads(__tstate);
17923 if (PyErr_Occurred()) SWIG_fail;
17924 }
17925 {
17926 wxDateTime * resultptr;
17927 resultptr = new wxDateTime((wxDateTime &) result);
17928 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17929 }
17930 return resultobj;
17931 fail:
17932 return NULL;
17933}
17934
17935
17936static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17937 PyObject *resultobj;
17938 wxDateTime *arg1 = (wxDateTime *) 0 ;
17939 int arg2 ;
17940 int arg3 = (int) 1 ;
17941 int arg4 = (int) wxDateTime::Inv_Month ;
17942 int arg5 = (int) wxDateTime::Inv_Year ;
17943 bool result;
17944 PyObject * obj0 = 0 ;
8edf1c75
RD
17945 PyObject * obj1 = 0 ;
17946 PyObject * obj2 = 0 ;
17947 PyObject * obj3 = 0 ;
17948 PyObject * obj4 = 0 ;
d14a1e28
RD
17949 char *kwnames[] = {
17950 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
17951 };
17952
8edf1c75 17953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 17954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17955 {
17956 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17957 if (PyErr_Occurred()) SWIG_fail;
17958 }
17959 if (obj2) {
17960 {
17961 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17962 if (PyErr_Occurred()) SWIG_fail;
17963 }
17964 }
17965 if (obj3) {
17966 {
17967 arg4 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj3);
17968 if (PyErr_Occurred()) SWIG_fail;
17969 }
17970 }
17971 if (obj4) {
17972 {
17973 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17974 if (PyErr_Occurred()) SWIG_fail;
17975 }
17976 }
d14a1e28
RD
17977 {
17978 PyThreadState* __tstate = wxPyBeginAllowThreads();
17979 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
17980
17981 wxPyEndAllowThreads(__tstate);
17982 if (PyErr_Occurred()) SWIG_fail;
17983 }
4e760a36 17984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17985 return resultobj;
17986 fail:
17987 return NULL;
17988}
17989
17990
17991static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17992 PyObject *resultobj;
17993 wxDateTime *arg1 = (wxDateTime *) 0 ;
17994 int arg2 ;
17995 int arg3 = (int) wxDateTime::Inv_Month ;
17996 int arg4 = (int) wxDateTime::Inv_Year ;
17997 bool result;
17998 PyObject * obj0 = 0 ;
8edf1c75
RD
17999 PyObject * obj1 = 0 ;
18000 PyObject * obj2 = 0 ;
18001 PyObject * obj3 = 0 ;
d14a1e28
RD
18002 char *kwnames[] = {
18003 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18004 };
18005
8edf1c75 18006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 18007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
18008 {
18009 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
18010 if (PyErr_Occurred()) SWIG_fail;
18011 }
18012 if (obj2) {
18013 {
18014 arg3 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj2);
18015 if (PyErr_Occurred()) SWIG_fail;
18016 }
18017 }
18018 if (obj3) {
18019 {
18020 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18021 if (PyErr_Occurred()) SWIG_fail;
18022 }
18023 }
d14a1e28
RD
18024 {
18025 PyThreadState* __tstate = wxPyBeginAllowThreads();
18026 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18027
18028 wxPyEndAllowThreads(__tstate);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 }
4e760a36 18031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18032 return resultobj;
18033 fail:
18034 return NULL;
18035}
18036
18037
18038static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18039 PyObject *resultobj;
18040 wxDateTime *arg1 = (wxDateTime *) 0 ;
18041 int arg2 ;
18042 int arg3 = (int) wxDateTime::Inv_Month ;
18043 int arg4 = (int) wxDateTime::Inv_Year ;
18044 wxDateTime result;
18045 PyObject * obj0 = 0 ;
8edf1c75
RD
18046 PyObject * obj1 = 0 ;
18047 PyObject * obj2 = 0 ;
18048 PyObject * obj3 = 0 ;
d14a1e28
RD
18049 char *kwnames[] = {
18050 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18051 };
18052
8edf1c75 18053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 18054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
18055 {
18056 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
18057 if (PyErr_Occurred()) SWIG_fail;
18058 }
18059 if (obj2) {
18060 {
18061 arg3 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj2);
18062 if (PyErr_Occurred()) SWIG_fail;
18063 }
18064 }
18065 if (obj3) {
18066 {
18067 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18068 if (PyErr_Occurred()) SWIG_fail;
18069 }
18070 }
d14a1e28
RD
18071 {
18072 PyThreadState* __tstate = wxPyBeginAllowThreads();
18073 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18074
18075 wxPyEndAllowThreads(__tstate);
18076 if (PyErr_Occurred()) SWIG_fail;
18077 }
18078 {
18079 wxDateTime * resultptr;
18080 resultptr = new wxDateTime((wxDateTime &) result);
18081 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18082 }
18083 return resultobj;
18084 fail:
18085 return NULL;
18086}
18087
18088
18089static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18090 PyObject *resultobj;
18091 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 18092 int arg2 ;
d14a1e28
RD
18093 int arg3 = (int) wxDateTime::Mon ;
18094 int arg4 = (int) wxDateTime::Monday_First ;
18095 bool result;
18096 PyObject * obj0 = 0 ;
8edf1c75
RD
18097 PyObject * obj1 = 0 ;
18098 PyObject * obj2 = 0 ;
18099 PyObject * obj3 = 0 ;
d14a1e28
RD
18100 char *kwnames[] = {
18101 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18102 };
18103
8edf1c75 18104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 18105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
18106 {
18107 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18108 if (PyErr_Occurred()) SWIG_fail;
18109 }
18110 if (obj2) {
18111 {
18112 arg3 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj2);
18113 if (PyErr_Occurred()) SWIG_fail;
18114 }
18115 }
18116 if (obj3) {
18117 {
18118 arg4 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj3);
18119 if (PyErr_Occurred()) SWIG_fail;
18120 }
18121 }
d14a1e28
RD
18122 {
18123 PyThreadState* __tstate = wxPyBeginAllowThreads();
18124 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18125
18126 wxPyEndAllowThreads(__tstate);
18127 if (PyErr_Occurred()) SWIG_fail;
18128 }
4e760a36 18129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18130 return resultobj;
18131 fail:
18132 return NULL;
18133}
18134
18135
18136static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18137 PyObject *resultobj;
18138 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 18139 int arg2 ;
d14a1e28
RD
18140 int arg3 = (int) wxDateTime::Mon ;
18141 int arg4 = (int) wxDateTime::Monday_First ;
18142 wxDateTime result;
18143 PyObject * obj0 = 0 ;
8edf1c75
RD
18144 PyObject * obj1 = 0 ;
18145 PyObject * obj2 = 0 ;
18146 PyObject * obj3 = 0 ;
d14a1e28
RD
18147 char *kwnames[] = {
18148 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18149 };
18150
8edf1c75 18151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 18152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
18153 {
18154 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18155 if (PyErr_Occurred()) SWIG_fail;
18156 }
18157 if (obj2) {
18158 {
18159 arg3 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj2);
18160 if (PyErr_Occurred()) SWIG_fail;
18161 }
18162 }
18163 if (obj3) {
18164 {
18165 arg4 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj3);
18166 if (PyErr_Occurred()) SWIG_fail;
18167 }
18168 }
d14a1e28
RD
18169 {
18170 PyThreadState* __tstate = wxPyBeginAllowThreads();
18171 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18172
18173 wxPyEndAllowThreads(__tstate);
18174 if (PyErr_Occurred()) SWIG_fail;
18175 }
18176 {
18177 wxDateTime * resultptr;
18178 resultptr = new wxDateTime((wxDateTime &) result);
18179 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18180 }
18181 return resultobj;
18182 fail:
18183 return NULL;
18184}
18185
18186
18187static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18188 PyObject *resultobj;
18189 wxDateTime *arg1 = (wxDateTime *) 0 ;
18190 int arg2 = (int) wxDateTime::Inv_Month ;
18191 int arg3 = (int) wxDateTime::Inv_Year ;
18192 wxDateTime *result;
18193 PyObject * obj0 = 0 ;
8edf1c75
RD
18194 PyObject * obj1 = 0 ;
18195 PyObject * obj2 = 0 ;
d14a1e28
RD
18196 char *kwnames[] = {
18197 (char *) "self",(char *) "month",(char *) "year", NULL
18198 };
18199
8edf1c75 18200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 18201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
18202 if (obj1) {
18203 {
18204 arg2 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj1);
18205 if (PyErr_Occurred()) SWIG_fail;
18206 }
18207 }
18208 if (obj2) {
18209 {
18210 arg3 = (int) SWIG_PyObj_AsInt(obj2);
18211 if (PyErr_Occurred()) SWIG_fail;
18212 }
18213 }
d14a1e28
RD
18214 {
18215 PyThreadState* __tstate = wxPyBeginAllowThreads();
18216 {
18217 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
18218 result = (wxDateTime *) &_result_ref;
18219 }
18220
18221 wxPyEndAllowThreads(__tstate);
18222 if (PyErr_Occurred()) SWIG_fail;
18223 }
18224 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18225 return resultobj;
18226 fail:
18227 return NULL;
18228}
18229
18230
18231static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18232 PyObject *resultobj;
18233 wxDateTime *arg1 = (wxDateTime *) 0 ;
18234 int arg2 = (int) wxDateTime::Inv_Month ;
18235 int arg3 = (int) wxDateTime::Inv_Year ;
18236 wxDateTime result;
18237 PyObject * obj0 = 0 ;
8edf1c75
RD
18238 PyObject * obj1 = 0 ;
18239 PyObject * obj2 = 0 ;
d14a1e28
RD
18240 char *kwnames[] = {
18241 (char *) "self",(char *) "month",(char *) "year", NULL
18242 };
18243
8edf1c75 18244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 18245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
18246 if (obj1) {
18247 {
18248 arg2 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj1);
18249 if (PyErr_Occurred()) SWIG_fail;
18250 }
18251 }
18252 if (obj2) {
18253 {
18254 arg3 = (int) SWIG_PyObj_AsInt(obj2);
18255 if (PyErr_Occurred()) SWIG_fail;
18256 }
18257 }
d14a1e28
RD
18258 {
18259 PyThreadState* __tstate = wxPyBeginAllowThreads();
18260 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
18261
18262 wxPyEndAllowThreads(__tstate);
18263 if (PyErr_Occurred()) SWIG_fail;
18264 }
18265 {
18266 wxDateTime * resultptr;
18267 resultptr = new wxDateTime((wxDateTime &) result);
18268 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18269 }
18270 return resultobj;
18271 fail:
18272 return NULL;
18273}
18274
18275
18276static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18277 PyObject *resultobj;
18278 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 18279 int arg2 ;
d14a1e28
RD
18280 wxDateTime *result;
18281 PyObject * obj0 = 0 ;
8edf1c75 18282 PyObject * obj1 = 0 ;
d14a1e28
RD
18283 char *kwnames[] = {
18284 (char *) "self",(char *) "yday", NULL
18285 };
18286
8edf1c75 18287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 18288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
18289 {
18290 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18291 if (PyErr_Occurred()) SWIG_fail;
18292 }
d14a1e28
RD
18293 {
18294 PyThreadState* __tstate = wxPyBeginAllowThreads();
18295 {
18296 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
18297 result = (wxDateTime *) &_result_ref;
18298 }
18299
18300 wxPyEndAllowThreads(__tstate);
18301 if (PyErr_Occurred()) SWIG_fail;
18302 }
18303 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18304 return resultobj;
18305 fail:
18306 return NULL;
18307}
18308
18309
18310static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18311 PyObject *resultobj;
18312 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 18313 int arg2 ;
d14a1e28
RD
18314 wxDateTime result;
18315 PyObject * obj0 = 0 ;
8edf1c75 18316 PyObject * obj1 = 0 ;
d14a1e28
RD
18317 char *kwnames[] = {
18318 (char *) "self",(char *) "yday", NULL
18319 };
18320
8edf1c75 18321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 18322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
18323 {
18324 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18325 if (PyErr_Occurred()) SWIG_fail;
18326 }
d14a1e28
RD
18327 {
18328 PyThreadState* __tstate = wxPyBeginAllowThreads();
18329 result = (arg1)->GetYearDay(arg2);
18330
18331 wxPyEndAllowThreads(__tstate);
18332 if (PyErr_Occurred()) SWIG_fail;
18333 }
18334 {
18335 wxDateTime * resultptr;
18336 resultptr = new wxDateTime((wxDateTime &) result);
18337 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18338 }
18339 return resultobj;
18340 fail:
18341 return NULL;
18342}
18343
18344
18345static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18346 PyObject *resultobj;
18347 wxDateTime *arg1 = (wxDateTime *) 0 ;
18348 double result;
18349 PyObject * obj0 = 0 ;
18350 char *kwnames[] = {
18351 (char *) "self", NULL
18352 };
18353
18354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
18355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18356 {
18357 PyThreadState* __tstate = wxPyBeginAllowThreads();
18358 result = (double)(arg1)->GetJulianDayNumber();
18359
18360 wxPyEndAllowThreads(__tstate);
18361 if (PyErr_Occurred()) SWIG_fail;
18362 }
8edf1c75 18363 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
18364 return resultobj;
18365 fail:
18366 return NULL;
18367}
18368
18369
18370static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
18371 PyObject *resultobj;
18372 wxDateTime *arg1 = (wxDateTime *) 0 ;
18373 double result;
18374 PyObject * obj0 = 0 ;
18375 char *kwnames[] = {
18376 (char *) "self", NULL
18377 };
18378
18379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
18380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18381 {
18382 PyThreadState* __tstate = wxPyBeginAllowThreads();
18383 result = (double)(arg1)->GetJDN();
18384
18385 wxPyEndAllowThreads(__tstate);
18386 if (PyErr_Occurred()) SWIG_fail;
18387 }
8edf1c75 18388 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
18389 return resultobj;
18390 fail:
18391 return NULL;
18392}
18393
18394
18395static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18396 PyObject *resultobj;
18397 wxDateTime *arg1 = (wxDateTime *) 0 ;
18398 double result;
18399 PyObject * obj0 = 0 ;
18400 char *kwnames[] = {
18401 (char *) "self", NULL
18402 };
18403
18404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
18405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18406 {
18407 PyThreadState* __tstate = wxPyBeginAllowThreads();
18408 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
18409
18410 wxPyEndAllowThreads(__tstate);
18411 if (PyErr_Occurred()) SWIG_fail;
18412 }
8edf1c75 18413 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
18414 return resultobj;
18415 fail:
18416 return NULL;
18417}
18418
18419
18420static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
18421 PyObject *resultobj;
18422 wxDateTime *arg1 = (wxDateTime *) 0 ;
18423 double result;
18424 PyObject * obj0 = 0 ;
18425 char *kwnames[] = {
18426 (char *) "self", NULL
18427 };
18428
18429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
18430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18431 {
18432 PyThreadState* __tstate = wxPyBeginAllowThreads();
18433 result = (double)(arg1)->GetMJD();
18434
18435 wxPyEndAllowThreads(__tstate);
18436 if (PyErr_Occurred()) SWIG_fail;
18437 }
8edf1c75 18438 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
18439 return resultobj;
18440 fail:
18441 return NULL;
18442}
18443
18444
18445static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
18446 PyObject *resultobj;
18447 wxDateTime *arg1 = (wxDateTime *) 0 ;
18448 double result;
18449 PyObject * obj0 = 0 ;
18450 char *kwnames[] = {
18451 (char *) "self", NULL
18452 };
18453
18454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
18455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18456 {
18457 PyThreadState* __tstate = wxPyBeginAllowThreads();
18458 result = (double)(arg1)->GetRataDie();
18459
18460 wxPyEndAllowThreads(__tstate);
18461 if (PyErr_Occurred()) SWIG_fail;
18462 }
8edf1c75 18463 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
18464 return resultobj;
18465 fail:
18466 return NULL;
18467}
18468
18469
18470static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18471 PyObject *resultobj;
18472 wxDateTime *arg1 = (wxDateTime *) 0 ;
18473 wxDateTime::TimeZone *arg2 = 0 ;
423f194a 18474 bool arg3 = (bool) False ;
d14a1e28 18475 wxDateTime result;
44127b65 18476 bool temp2 = False ;
d14a1e28
RD
18477 PyObject * obj0 = 0 ;
18478 PyObject * obj1 = 0 ;
18479 PyObject * obj2 = 0 ;
18480 char *kwnames[] = {
18481 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18482 };
18483
18484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18486 {
18487 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18488 temp2 = True;
d14a1e28
RD
18489 }
18490 if (obj2) {
83448d71 18491 {
8edf1c75 18492 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
18493 if (PyErr_Occurred()) SWIG_fail;
18494 }
d14a1e28
RD
18495 }
18496 {
18497 PyThreadState* __tstate = wxPyBeginAllowThreads();
18498 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18499
18500 wxPyEndAllowThreads(__tstate);
18501 if (PyErr_Occurred()) SWIG_fail;
18502 }
18503 {
18504 wxDateTime * resultptr;
18505 resultptr = new wxDateTime((wxDateTime &) result);
18506 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18507 }
18508 {
44127b65 18509 if (temp2) delete arg2;
d14a1e28
RD
18510 }
18511 return resultobj;
18512 fail:
18513 {
44127b65 18514 if (temp2) delete arg2;
d14a1e28
RD
18515 }
18516 return NULL;
18517}
18518
18519
18520static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18521 PyObject *resultobj;
18522 wxDateTime *arg1 = (wxDateTime *) 0 ;
18523 wxDateTime::TimeZone *arg2 = 0 ;
423f194a 18524 bool arg3 = (bool) False ;
d14a1e28 18525 wxDateTime *result;
44127b65 18526 bool temp2 = False ;
d14a1e28
RD
18527 PyObject * obj0 = 0 ;
18528 PyObject * obj1 = 0 ;
18529 PyObject * obj2 = 0 ;
18530 char *kwnames[] = {
18531 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18532 };
18533
18534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18536 {
18537 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18538 temp2 = True;
d14a1e28
RD
18539 }
18540 if (obj2) {
83448d71 18541 {
8edf1c75 18542 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
18543 if (PyErr_Occurred()) SWIG_fail;
18544 }
d14a1e28
RD
18545 }
18546 {
18547 PyThreadState* __tstate = wxPyBeginAllowThreads();
18548 {
18549 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18550 result = (wxDateTime *) &_result_ref;
18551 }
18552
18553 wxPyEndAllowThreads(__tstate);
18554 if (PyErr_Occurred()) SWIG_fail;
18555 }
18556 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18557 {
44127b65 18558 if (temp2) delete arg2;
d14a1e28
RD
18559 }
18560 return resultobj;
18561 fail:
18562 {
44127b65 18563 if (temp2) delete arg2;
d14a1e28
RD
18564 }
18565 return NULL;
18566}
18567
18568
18569static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18570 PyObject *resultobj;
18571 wxDateTime *arg1 = (wxDateTime *) 0 ;
423f194a 18572 bool arg2 = (bool) False ;
d14a1e28
RD
18573 wxDateTime result;
18574 PyObject * obj0 = 0 ;
18575 PyObject * obj1 = 0 ;
18576 char *kwnames[] = {
18577 (char *) "self",(char *) "noDST", NULL
18578 };
18579
18580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
18581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18582 if (obj1) {
83448d71 18583 {
8edf1c75 18584 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
18585 if (PyErr_Occurred()) SWIG_fail;
18586 }
d14a1e28
RD
18587 }
18588 {
18589 PyThreadState* __tstate = wxPyBeginAllowThreads();
18590 result = (arg1)->ToGMT(arg2);
18591
18592 wxPyEndAllowThreads(__tstate);
18593 if (PyErr_Occurred()) SWIG_fail;
18594 }
18595 {
18596 wxDateTime * resultptr;
18597 resultptr = new wxDateTime((wxDateTime &) result);
18598 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18599 }
18600 return resultobj;
18601 fail:
18602 return NULL;
18603}
18604
18605
18606static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18607 PyObject *resultobj;
18608 wxDateTime *arg1 = (wxDateTime *) 0 ;
423f194a 18609 bool arg2 = (bool) False ;
d14a1e28
RD
18610 wxDateTime *result;
18611 PyObject * obj0 = 0 ;
18612 PyObject * obj1 = 0 ;
18613 char *kwnames[] = {
18614 (char *) "self",(char *) "noDST", NULL
18615 };
18616
18617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
18618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18619 if (obj1) {
83448d71 18620 {
8edf1c75 18621 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
18622 if (PyErr_Occurred()) SWIG_fail;
18623 }
d14a1e28
RD
18624 }
18625 {
18626 PyThreadState* __tstate = wxPyBeginAllowThreads();
18627 {
18628 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
18629 result = (wxDateTime *) &_result_ref;
18630 }
18631
18632 wxPyEndAllowThreads(__tstate);
18633 if (PyErr_Occurred()) SWIG_fail;
18634 }
18635 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18636 return resultobj;
18637 fail:
18638 return NULL;
18639}
18640
18641
18642static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
18643 PyObject *resultobj;
18644 wxDateTime *arg1 = (wxDateTime *) 0 ;
18645 int arg2 = (int) wxDateTime::Country_Default ;
18646 int result;
18647 PyObject * obj0 = 0 ;
8edf1c75 18648 PyObject * obj1 = 0 ;
d14a1e28
RD
18649 char *kwnames[] = {
18650 (char *) "self",(char *) "country", NULL
18651 };
18652
8edf1c75 18653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 18654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
18655 if (obj1) {
18656 {
18657 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
18658 if (PyErr_Occurred()) SWIG_fail;
18659 }
18660 }
d14a1e28
RD
18661 {
18662 PyThreadState* __tstate = wxPyBeginAllowThreads();
18663 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
18664
18665 wxPyEndAllowThreads(__tstate);
18666 if (PyErr_Occurred()) SWIG_fail;
18667 }
8edf1c75 18668 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
18669 return resultobj;
18670 fail:
18671 return NULL;
18672}
18673
18674
18675static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
18676 PyObject *resultobj;
18677 wxDateTime *arg1 = (wxDateTime *) 0 ;
18678 bool result;
18679 PyObject * obj0 = 0 ;
18680 char *kwnames[] = {
18681 (char *) "self", NULL
18682 };
18683
18684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
18685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18686 {
18687 PyThreadState* __tstate = wxPyBeginAllowThreads();
18688 result = (bool)((wxDateTime const *)arg1)->IsValid();
18689
18690 wxPyEndAllowThreads(__tstate);
18691 if (PyErr_Occurred()) SWIG_fail;
18692 }
4e760a36 18693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18694 return resultobj;
18695 fail:
18696 return NULL;
18697}
18698
18699
18700static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
18701 PyObject *resultobj;
18702 wxDateTime *arg1 = (wxDateTime *) 0 ;
18703 time_t result;
18704 PyObject * obj0 = 0 ;
18705 char *kwnames[] = {
18706 (char *) "self", NULL
18707 };
18708
18709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
18710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18711 {
18712 PyThreadState* __tstate = wxPyBeginAllowThreads();
18713 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
18714
18715 wxPyEndAllowThreads(__tstate);
18716 if (PyErr_Occurred()) SWIG_fail;
18717 }
8edf1c75 18718 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
18719 return resultobj;
18720 fail:
18721 return NULL;
18722}
18723
18724
18725static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
18726 PyObject *resultobj;
18727 wxDateTime *arg1 = (wxDateTime *) 0 ;
18728 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18729 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18730 int result;
44127b65 18731 bool temp2 = False ;
d14a1e28
RD
18732 PyObject * obj0 = 0 ;
18733 PyObject * obj1 = 0 ;
18734 char *kwnames[] = {
18735 (char *) "self",(char *) "tz", NULL
18736 };
18737
18738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
18739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18740 if (obj1) {
18741 {
18742 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18743 temp2 = True;
d14a1e28
RD
18744 }
18745 }
18746 {
18747 PyThreadState* __tstate = wxPyBeginAllowThreads();
18748 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
18749
18750 wxPyEndAllowThreads(__tstate);
18751 if (PyErr_Occurred()) SWIG_fail;
18752 }
8edf1c75 18753 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28 18754 {
44127b65 18755 if (temp2) delete arg2;
d14a1e28
RD
18756 }
18757 return resultobj;
18758 fail:
18759 {
44127b65 18760 if (temp2) delete arg2;
d14a1e28
RD
18761 }
18762 return NULL;
18763}
18764
18765
18766static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
18767 PyObject *resultobj;
18768 wxDateTime *arg1 = (wxDateTime *) 0 ;
18769 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18770 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18771 int result;
44127b65 18772 bool temp2 = False ;
d14a1e28
RD
18773 PyObject * obj0 = 0 ;
18774 PyObject * obj1 = 0 ;
18775 char *kwnames[] = {
18776 (char *) "self",(char *) "tz", NULL
18777 };
18778
18779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
18780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18781 if (obj1) {
18782 {
18783 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18784 temp2 = True;
d14a1e28
RD
18785 }
18786 }
18787 {
18788 PyThreadState* __tstate = wxPyBeginAllowThreads();
18789 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
18790
18791 wxPyEndAllowThreads(__tstate);
18792 if (PyErr_Occurred()) SWIG_fail;
18793 }
8edf1c75 18794 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28 18795 {
44127b65 18796 if (temp2) delete arg2;
d14a1e28
RD
18797 }
18798 return resultobj;
18799 fail:
18800 {
44127b65 18801 if (temp2) delete arg2;
d14a1e28
RD
18802 }
18803 return NULL;
18804}
18805
18806
18807static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18808 PyObject *resultobj;
18809 wxDateTime *arg1 = (wxDateTime *) 0 ;
18810 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18811 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
18812 int result;
18813 bool temp2 = False ;
d14a1e28
RD
18814 PyObject * obj0 = 0 ;
18815 PyObject * obj1 = 0 ;
18816 char *kwnames[] = {
18817 (char *) "self",(char *) "tz", NULL
18818 };
18819
18820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
18821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18822 if (obj1) {
18823 {
18824 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18825 temp2 = True;
d14a1e28
RD
18826 }
18827 }
18828 {
18829 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 18830 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
18831
18832 wxPyEndAllowThreads(__tstate);
18833 if (PyErr_Occurred()) SWIG_fail;
18834 }
8edf1c75 18835 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28 18836 {
44127b65 18837 if (temp2) delete arg2;
d14a1e28
RD
18838 }
18839 return resultobj;
18840 fail:
18841 {
44127b65 18842 if (temp2) delete arg2;
d14a1e28
RD
18843 }
18844 return NULL;
18845}
18846
18847
18848static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18849 PyObject *resultobj;
18850 wxDateTime *arg1 = (wxDateTime *) 0 ;
18851 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18852 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18853 int result;
44127b65 18854 bool temp2 = False ;
d14a1e28
RD
18855 PyObject * obj0 = 0 ;
18856 PyObject * obj1 = 0 ;
18857 char *kwnames[] = {
18858 (char *) "self",(char *) "tz", NULL
18859 };
18860
18861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
18862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18863 if (obj1) {
18864 {
18865 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18866 temp2 = True;
d14a1e28
RD
18867 }
18868 }
18869 {
18870 PyThreadState* __tstate = wxPyBeginAllowThreads();
18871 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
18872
18873 wxPyEndAllowThreads(__tstate);
18874 if (PyErr_Occurred()) SWIG_fail;
18875 }
8edf1c75 18876 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28 18877 {
44127b65 18878 if (temp2) delete arg2;
d14a1e28
RD
18879 }
18880 return resultobj;
18881 fail:
18882 {
44127b65 18883 if (temp2) delete arg2;
d14a1e28
RD
18884 }
18885 return NULL;
18886}
18887
18888
18889static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
18890 PyObject *resultobj;
18891 wxDateTime *arg1 = (wxDateTime *) 0 ;
18892 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18893 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
18894 int result;
18895 bool temp2 = False ;
d14a1e28
RD
18896 PyObject * obj0 = 0 ;
18897 PyObject * obj1 = 0 ;
18898 char *kwnames[] = {
18899 (char *) "self",(char *) "tz", NULL
18900 };
18901
18902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
18903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18904 if (obj1) {
18905 {
18906 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18907 temp2 = True;
d14a1e28
RD
18908 }
18909 }
18910 {
18911 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 18912 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
18913
18914 wxPyEndAllowThreads(__tstate);
18915 if (PyErr_Occurred()) SWIG_fail;
18916 }
8edf1c75 18917 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28 18918 {
44127b65 18919 if (temp2) delete arg2;
d14a1e28
RD
18920 }
18921 return resultobj;
18922 fail:
18923 {
44127b65 18924 if (temp2) delete arg2;
d14a1e28
RD
18925 }
18926 return NULL;
18927}
18928
18929
18930static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
18931 PyObject *resultobj;
18932 wxDateTime *arg1 = (wxDateTime *) 0 ;
18933 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18934 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
18935 int result;
18936 bool temp2 = False ;
d14a1e28
RD
18937 PyObject * obj0 = 0 ;
18938 PyObject * obj1 = 0 ;
18939 char *kwnames[] = {
18940 (char *) "self",(char *) "tz", NULL
18941 };
18942
18943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
18944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18945 if (obj1) {
18946 {
18947 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18948 temp2 = True;
d14a1e28
RD
18949 }
18950 }
18951 {
18952 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 18953 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
18954
18955 wxPyEndAllowThreads(__tstate);
18956 if (PyErr_Occurred()) SWIG_fail;
18957 }
8edf1c75 18958 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28 18959 {
44127b65 18960 if (temp2) delete arg2;
d14a1e28
RD
18961 }
18962 return resultobj;
18963 fail:
18964 {
44127b65 18965 if (temp2) delete arg2;
d14a1e28
RD
18966 }
18967 return NULL;
18968}
18969
18970
18971static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
18972 PyObject *resultobj;
18973 wxDateTime *arg1 = (wxDateTime *) 0 ;
18974 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18975 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
18976 int result;
18977 bool temp2 = False ;
d14a1e28
RD
18978 PyObject * obj0 = 0 ;
18979 PyObject * obj1 = 0 ;
18980 char *kwnames[] = {
18981 (char *) "self",(char *) "tz", NULL
18982 };
18983
18984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
18985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18986 if (obj1) {
18987 {
18988 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18989 temp2 = True;
d14a1e28
RD
18990 }
18991 }
18992 {
18993 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 18994 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
18995
18996 wxPyEndAllowThreads(__tstate);
18997 if (PyErr_Occurred()) SWIG_fail;
18998 }
8edf1c75 18999 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28 19000 {
44127b65 19001 if (temp2) delete arg2;
d14a1e28
RD
19002 }
19003 return resultobj;
19004 fail:
19005 {
44127b65 19006 if (temp2) delete arg2;
d14a1e28
RD
19007 }
19008 return NULL;
19009}
19010
19011
19012static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19013 PyObject *resultobj;
19014 wxDateTime *arg1 = (wxDateTime *) 0 ;
19015 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19016 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
19017 int result;
19018 bool temp2 = False ;
d14a1e28
RD
19019 PyObject * obj0 = 0 ;
19020 PyObject * obj1 = 0 ;
19021 char *kwnames[] = {
19022 (char *) "self",(char *) "tz", NULL
19023 };
19024
19025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
19026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19027 if (obj1) {
19028 {
19029 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 19030 temp2 = True;
d14a1e28
RD
19031 }
19032 }
19033 {
19034 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19035 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19036
19037 wxPyEndAllowThreads(__tstate);
19038 if (PyErr_Occurred()) SWIG_fail;
19039 }
8edf1c75 19040 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28 19041 {
44127b65 19042 if (temp2) delete arg2;
d14a1e28
RD
19043 }
19044 return resultobj;
19045 fail:
19046 {
44127b65 19047 if (temp2) delete arg2;
d14a1e28
RD
19048 }
19049 return NULL;
19050}
19051
19052
19053static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19054 PyObject *resultobj;
19055 wxDateTime *arg1 = (wxDateTime *) 0 ;
19056 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19057 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
19058 int result;
19059 bool temp2 = False ;
d14a1e28
RD
19060 PyObject * obj0 = 0 ;
19061 PyObject * obj1 = 0 ;
19062 char *kwnames[] = {
19063 (char *) "self",(char *) "tz", NULL
19064 };
19065
19066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
19067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19068 if (obj1) {
19069 {
19070 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 19071 temp2 = True;
d14a1e28
RD
19072 }
19073 }
19074 {
19075 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19076 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19077
19078 wxPyEndAllowThreads(__tstate);
19079 if (PyErr_Occurred()) SWIG_fail;
19080 }
8edf1c75 19081 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28 19082 {
44127b65 19083 if (temp2) delete arg2;
d14a1e28
RD
19084 }
19085 return resultobj;
19086 fail:
19087 {
44127b65 19088 if (temp2) delete arg2;
d14a1e28
RD
19089 }
19090 return NULL;
19091}
19092
19093
19094static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19095 PyObject *resultobj;
19096 wxDateTime *arg1 = (wxDateTime *) 0 ;
19097 int arg2 = (int) wxDateTime::Monday_First ;
19098 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19099 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
44127b65
RD
19100 int result;
19101 bool temp3 = False ;
d14a1e28 19102 PyObject * obj0 = 0 ;
8edf1c75 19103 PyObject * obj1 = 0 ;
d14a1e28
RD
19104 PyObject * obj2 = 0 ;
19105 char *kwnames[] = {
19106 (char *) "self",(char *) "flags",(char *) "tz", NULL
19107 };
19108
8edf1c75 19109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 19110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
19111 if (obj1) {
19112 {
19113 arg2 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj1);
19114 if (PyErr_Occurred()) SWIG_fail;
19115 }
19116 }
d14a1e28
RD
19117 if (obj2) {
19118 {
19119 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
44127b65 19120 temp3 = True;
d14a1e28
RD
19121 }
19122 }
19123 {
19124 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19125 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
19126
19127 wxPyEndAllowThreads(__tstate);
19128 if (PyErr_Occurred()) SWIG_fail;
19129 }
8edf1c75 19130 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28 19131 {
44127b65 19132 if (temp3) delete arg3;
d14a1e28
RD
19133 }
19134 return resultobj;
19135 fail:
19136 {
44127b65 19137 if (temp3) delete arg3;
d14a1e28
RD
19138 }
19139 return NULL;
19140}
19141
19142
19143static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
19144 PyObject *resultobj;
19145 wxDateTime *arg1 = (wxDateTime *) 0 ;
19146 int arg2 = (int) wxDateTime::Monday_First ;
19147 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19148 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
44127b65
RD
19149 int result;
19150 bool temp3 = False ;
d14a1e28 19151 PyObject * obj0 = 0 ;
8edf1c75 19152 PyObject * obj1 = 0 ;
d14a1e28
RD
19153 PyObject * obj2 = 0 ;
19154 char *kwnames[] = {
19155 (char *) "self",(char *) "flags",(char *) "tz", NULL
19156 };
19157
8edf1c75 19158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 19159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
19160 if (obj1) {
19161 {
19162 arg2 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj1);
19163 if (PyErr_Occurred()) SWIG_fail;
19164 }
19165 }
d14a1e28
RD
19166 if (obj2) {
19167 {
19168 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
44127b65 19169 temp3 = True;
d14a1e28
RD
19170 }
19171 }
19172 {
19173 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19174 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
19175
19176 wxPyEndAllowThreads(__tstate);
19177 if (PyErr_Occurred()) SWIG_fail;
19178 }
8edf1c75 19179 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28 19180 {
44127b65 19181 if (temp3) delete arg3;
d14a1e28
RD
19182 }
19183 return resultobj;
19184 fail:
19185 {
44127b65 19186 if (temp3) delete arg3;
d14a1e28
RD
19187 }
19188 return NULL;
19189}
19190
19191
19192static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19193 PyObject *resultobj;
19194 wxDateTime *arg1 = (wxDateTime *) 0 ;
19195 int arg2 = (int) wxDateTime::Country_Default ;
19196 bool result;
19197 PyObject * obj0 = 0 ;
8edf1c75 19198 PyObject * obj1 = 0 ;
d14a1e28
RD
19199 char *kwnames[] = {
19200 (char *) "self",(char *) "country", NULL
19201 };
19202
8edf1c75 19203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 19204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
19205 if (obj1) {
19206 {
19207 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
19208 if (PyErr_Occurred()) SWIG_fail;
19209 }
19210 }
d14a1e28
RD
19211 {
19212 PyThreadState* __tstate = wxPyBeginAllowThreads();
19213 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
19214
19215 wxPyEndAllowThreads(__tstate);
19216 if (PyErr_Occurred()) SWIG_fail;
19217 }
4e760a36 19218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19219 return resultobj;
19220 fail:
19221 return NULL;
19222}
19223
19224
19225static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19226 PyObject *resultobj;
19227 wxDateTime *arg1 = (wxDateTime *) 0 ;
19228 wxDateTime *arg2 = 0 ;
19229 bool result;
19230 PyObject * obj0 = 0 ;
19231 PyObject * obj1 = 0 ;
19232 char *kwnames[] = {
19233 (char *) "self",(char *) "datetime", NULL
19234 };
19235
19236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
19237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19238 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19239 if (arg2 == NULL) {
19240 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19241 }
19242 {
19243 PyThreadState* __tstate = wxPyBeginAllowThreads();
19244 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
19245
19246 wxPyEndAllowThreads(__tstate);
19247 if (PyErr_Occurred()) SWIG_fail;
19248 }
4e760a36 19249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19250 return resultobj;
19251 fail:
19252 return NULL;
19253}
19254
19255
19256static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19257 PyObject *resultobj;
19258 wxDateTime *arg1 = (wxDateTime *) 0 ;
19259 wxDateTime *arg2 = 0 ;
19260 bool result;
19261 PyObject * obj0 = 0 ;
19262 PyObject * obj1 = 0 ;
19263 char *kwnames[] = {
19264 (char *) "self",(char *) "datetime", NULL
19265 };
19266
19267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
19268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19269 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19270 if (arg2 == NULL) {
19271 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19272 }
19273 {
19274 PyThreadState* __tstate = wxPyBeginAllowThreads();
19275 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
19276
19277 wxPyEndAllowThreads(__tstate);
19278 if (PyErr_Occurred()) SWIG_fail;
19279 }
4e760a36 19280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19281 return resultobj;
19282 fail:
19283 return NULL;
19284}
19285
19286
19287static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19288 PyObject *resultobj;
19289 wxDateTime *arg1 = (wxDateTime *) 0 ;
19290 wxDateTime *arg2 = 0 ;
19291 bool result;
19292 PyObject * obj0 = 0 ;
19293 PyObject * obj1 = 0 ;
19294 char *kwnames[] = {
19295 (char *) "self",(char *) "datetime", NULL
19296 };
19297
19298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
19299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19300 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19301 if (arg2 == NULL) {
19302 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19303 }
19304 {
19305 PyThreadState* __tstate = wxPyBeginAllowThreads();
19306 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
19307
19308 wxPyEndAllowThreads(__tstate);
19309 if (PyErr_Occurred()) SWIG_fail;
19310 }
4e760a36 19311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19312 return resultobj;
19313 fail:
19314 return NULL;
19315}
19316
19317
19318static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19319 PyObject *resultobj;
19320 wxDateTime *arg1 = (wxDateTime *) 0 ;
19321 wxDateTime *arg2 = 0 ;
19322 wxDateTime *arg3 = 0 ;
19323 bool result;
19324 PyObject * obj0 = 0 ;
19325 PyObject * obj1 = 0 ;
19326 PyObject * obj2 = 0 ;
19327 char *kwnames[] = {
19328 (char *) "self",(char *) "t1",(char *) "t2", NULL
19329 };
19330
19331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19333 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19334 if (arg2 == NULL) {
19335 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19336 }
19337 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19338 if (arg3 == NULL) {
19339 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19340 }
19341 {
19342 PyThreadState* __tstate = wxPyBeginAllowThreads();
19343 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19344
19345 wxPyEndAllowThreads(__tstate);
19346 if (PyErr_Occurred()) SWIG_fail;
19347 }
4e760a36 19348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19349 return resultobj;
19350 fail:
19351 return NULL;
19352}
19353
19354
19355static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19356 PyObject *resultobj;
19357 wxDateTime *arg1 = (wxDateTime *) 0 ;
19358 wxDateTime *arg2 = 0 ;
19359 wxDateTime *arg3 = 0 ;
19360 bool result;
19361 PyObject * obj0 = 0 ;
19362 PyObject * obj1 = 0 ;
19363 PyObject * obj2 = 0 ;
19364 char *kwnames[] = {
19365 (char *) "self",(char *) "t1",(char *) "t2", NULL
19366 };
19367
19368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19370 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19371 if (arg2 == NULL) {
19372 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19373 }
19374 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19375 if (arg3 == NULL) {
19376 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19377 }
19378 {
19379 PyThreadState* __tstate = wxPyBeginAllowThreads();
19380 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19381
19382 wxPyEndAllowThreads(__tstate);
19383 if (PyErr_Occurred()) SWIG_fail;
19384 }
4e760a36 19385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19386 return resultobj;
19387 fail:
19388 return NULL;
19389}
19390
19391
19392static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19393 PyObject *resultobj;
19394 wxDateTime *arg1 = (wxDateTime *) 0 ;
19395 wxDateTime *arg2 = 0 ;
19396 bool result;
19397 PyObject * obj0 = 0 ;
19398 PyObject * obj1 = 0 ;
19399 char *kwnames[] = {
19400 (char *) "self",(char *) "dt", NULL
19401 };
19402
19403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
19404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19405 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19406 if (arg2 == NULL) {
19407 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19408 }
19409 {
19410 PyThreadState* __tstate = wxPyBeginAllowThreads();
19411 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
19412
19413 wxPyEndAllowThreads(__tstate);
19414 if (PyErr_Occurred()) SWIG_fail;
19415 }
4e760a36 19416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19417 return resultobj;
19418 fail:
19419 return NULL;
19420}
19421
19422
19423static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19424 PyObject *resultobj;
19425 wxDateTime *arg1 = (wxDateTime *) 0 ;
19426 wxDateTime *arg2 = 0 ;
19427 bool result;
19428 PyObject * obj0 = 0 ;
19429 PyObject * obj1 = 0 ;
19430 char *kwnames[] = {
19431 (char *) "self",(char *) "dt", NULL
19432 };
19433
19434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
19435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19436 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19437 if (arg2 == NULL) {
19438 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19439 }
19440 {
19441 PyThreadState* __tstate = wxPyBeginAllowThreads();
19442 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
19443
19444 wxPyEndAllowThreads(__tstate);
19445 if (PyErr_Occurred()) SWIG_fail;
19446 }
4e760a36 19447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19448 return resultobj;
19449 fail:
19450 return NULL;
19451}
19452
19453
19454static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19455 PyObject *resultobj;
19456 wxDateTime *arg1 = (wxDateTime *) 0 ;
19457 wxDateTime *arg2 = 0 ;
19458 wxTimeSpan *arg3 = 0 ;
19459 bool result;
19460 PyObject * obj0 = 0 ;
19461 PyObject * obj1 = 0 ;
19462 PyObject * obj2 = 0 ;
19463 char *kwnames[] = {
19464 (char *) "self",(char *) "dt",(char *) "ts", NULL
19465 };
19466
19467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19469 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19470 if (arg2 == NULL) {
19471 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19472 }
19473 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19474 if (arg3 == NULL) {
19475 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19476 }
19477 {
19478 PyThreadState* __tstate = wxPyBeginAllowThreads();
19479 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
19480
19481 wxPyEndAllowThreads(__tstate);
19482 if (PyErr_Occurred()) SWIG_fail;
19483 }
4e760a36 19484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19485 return resultobj;
19486 fail:
19487 return NULL;
19488}
19489
19490
19491static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19492 PyObject *resultobj;
19493 wxDateTime *arg1 = (wxDateTime *) 0 ;
19494 wxTimeSpan *arg2 = 0 ;
19495 wxDateTime *result;
19496 PyObject * obj0 = 0 ;
19497 PyObject * obj1 = 0 ;
19498 char *kwnames[] = {
19499 (char *) "self",(char *) "diff", NULL
19500 };
19501
19502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
19503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19504 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19505 if (arg2 == NULL) {
19506 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19507 }
19508 {
19509 PyThreadState* __tstate = wxPyBeginAllowThreads();
19510 {
19511 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19512 result = (wxDateTime *) &_result_ref;
19513 }
19514
19515 wxPyEndAllowThreads(__tstate);
19516 if (PyErr_Occurred()) SWIG_fail;
19517 }
19518 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19519 return resultobj;
19520 fail:
19521 return NULL;
19522}
19523
19524
19525static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19526 PyObject *resultobj;
19527 wxDateTime *arg1 = (wxDateTime *) 0 ;
19528 wxDateSpan *arg2 = 0 ;
19529 wxDateTime *result;
19530 PyObject * obj0 = 0 ;
19531 PyObject * obj1 = 0 ;
19532 char *kwnames[] = {
19533 (char *) "self",(char *) "diff", NULL
19534 };
19535
19536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
19537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19538 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19539 if (arg2 == NULL) {
19540 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19541 }
19542 {
19543 PyThreadState* __tstate = wxPyBeginAllowThreads();
19544 {
19545 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
19546 result = (wxDateTime *) &_result_ref;
19547 }
19548
19549 wxPyEndAllowThreads(__tstate);
19550 if (PyErr_Occurred()) SWIG_fail;
19551 }
19552 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19553 return resultobj;
19554 fail:
19555 return NULL;
19556}
19557
19558
19559static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19560 PyObject *resultobj;
19561 wxDateTime *arg1 = (wxDateTime *) 0 ;
19562 wxTimeSpan *arg2 = 0 ;
19563 wxDateTime *result;
19564 PyObject * obj0 = 0 ;
19565 PyObject * obj1 = 0 ;
19566 char *kwnames[] = {
19567 (char *) "self",(char *) "diff", NULL
19568 };
19569
19570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
19571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19572 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19573 if (arg2 == NULL) {
19574 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19575 }
19576 {
19577 PyThreadState* __tstate = wxPyBeginAllowThreads();
19578 {
19579 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19580 result = (wxDateTime *) &_result_ref;
19581 }
19582
19583 wxPyEndAllowThreads(__tstate);
19584 if (PyErr_Occurred()) SWIG_fail;
19585 }
19586 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19587 return resultobj;
19588 fail:
19589 return NULL;
19590}
19591
19592
19593static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19594 PyObject *resultobj;
19595 wxDateTime *arg1 = (wxDateTime *) 0 ;
19596 wxDateSpan *arg2 = 0 ;
19597 wxDateTime *result;
19598 PyObject * obj0 = 0 ;
19599 PyObject * obj1 = 0 ;
19600 char *kwnames[] = {
19601 (char *) "self",(char *) "diff", NULL
19602 };
19603
19604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
19605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19606 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19607 if (arg2 == NULL) {
19608 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19609 }
19610 {
19611 PyThreadState* __tstate = wxPyBeginAllowThreads();
19612 {
19613 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
19614 result = (wxDateTime *) &_result_ref;
19615 }
19616
19617 wxPyEndAllowThreads(__tstate);
19618 if (PyErr_Occurred()) SWIG_fail;
19619 }
19620 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19621 return resultobj;
19622 fail:
19623 return NULL;
19624}
19625
19626
19627static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19628 PyObject *resultobj;
19629 wxDateTime *arg1 = (wxDateTime *) 0 ;
19630 wxDateTime *arg2 = 0 ;
19631 wxTimeSpan result;
19632 PyObject * obj0 = 0 ;
19633 PyObject * obj1 = 0 ;
19634 char *kwnames[] = {
19635 (char *) "self",(char *) "dt", NULL
19636 };
19637
19638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
19639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19640 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19641 if (arg2 == NULL) {
19642 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19643 }
19644 {
19645 PyThreadState* __tstate = wxPyBeginAllowThreads();
19646 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
19647
19648 wxPyEndAllowThreads(__tstate);
19649 if (PyErr_Occurred()) SWIG_fail;
19650 }
19651 {
19652 wxTimeSpan * resultptr;
19653 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19654 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19655 }
19656 return resultobj;
19657 fail:
19658 return NULL;
19659}
19660
19661
19662static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
19663 PyObject *resultobj;
19664 wxDateTime *arg1 = (wxDateTime *) 0 ;
19665 wxTimeSpan *arg2 = 0 ;
19666 wxDateTime *result;
19667 PyObject * obj0 = 0 ;
19668 PyObject * obj1 = 0 ;
19669
19670 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
19671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19672 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19673 if (arg2 == NULL) {
19674 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19675 }
19676 {
19677 PyThreadState* __tstate = wxPyBeginAllowThreads();
19678 {
19679 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19680 result = (wxDateTime *) &_result_ref;
19681 }
19682
19683 wxPyEndAllowThreads(__tstate);
19684 if (PyErr_Occurred()) SWIG_fail;
19685 }
19686 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19687 return resultobj;
19688 fail:
19689 return NULL;
19690}
19691
19692
19693static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
19694 PyObject *resultobj;
19695 wxDateTime *arg1 = (wxDateTime *) 0 ;
19696 wxDateSpan *arg2 = 0 ;
19697 wxDateTime *result;
19698 PyObject * obj0 = 0 ;
19699 PyObject * obj1 = 0 ;
19700
19701 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
19702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19703 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19704 if (arg2 == NULL) {
19705 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19706 }
19707 {
19708 PyThreadState* __tstate = wxPyBeginAllowThreads();
19709 {
19710 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
19711 result = (wxDateTime *) &_result_ref;
19712 }
19713
19714 wxPyEndAllowThreads(__tstate);
19715 if (PyErr_Occurred()) SWIG_fail;
19716 }
19717 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19718 return resultobj;
19719 fail:
19720 return NULL;
19721}
19722
19723
19724static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
19725 int argc;
19726 PyObject *argv[3];
19727 int ii;
19728
19729 argc = PyObject_Length(args);
19730 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
19731 argv[ii] = PyTuple_GetItem(args,ii);
19732 }
19733 if (argc == 2) {
19734 int _v;
19735 {
19736 void *ptr;
19737 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19738 _v = 0;
19739 PyErr_Clear();
19740 } else {
19741 _v = 1;
19742 }
19743 }
19744 if (_v) {
19745 {
19746 void *ptr;
19747 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
19748 _v = 0;
19749 PyErr_Clear();
19750 } else {
19751 _v = 1;
19752 }
19753 }
19754 if (_v) {
19755 return _wrap_DateTime___iadd____SWIG_0(self,args);
19756 }
19757 }
19758 }
19759 if (argc == 2) {
19760 int _v;
19761 {
19762 void *ptr;
19763 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19764 _v = 0;
19765 PyErr_Clear();
19766 } else {
19767 _v = 1;
19768 }
19769 }
19770 if (_v) {
19771 {
19772 void *ptr;
19773 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
19774 _v = 0;
19775 PyErr_Clear();
19776 } else {
19777 _v = 1;
19778 }
19779 }
19780 if (_v) {
19781 return _wrap_DateTime___iadd____SWIG_1(self,args);
19782 }
19783 }
19784 }
19785
19786 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
19787 return NULL;
19788}
19789
19790
19791static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
19792 PyObject *resultobj;
19793 wxDateTime *arg1 = (wxDateTime *) 0 ;
19794 wxTimeSpan *arg2 = 0 ;
19795 wxDateTime *result;
19796 PyObject * obj0 = 0 ;
19797 PyObject * obj1 = 0 ;
19798
19799 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
19800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19801 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19802 if (arg2 == NULL) {
19803 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19804 }
19805 {
19806 PyThreadState* __tstate = wxPyBeginAllowThreads();
19807 {
19808 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
19809 result = (wxDateTime *) &_result_ref;
19810 }
19811
19812 wxPyEndAllowThreads(__tstate);
19813 if (PyErr_Occurred()) SWIG_fail;
19814 }
19815 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19816 return resultobj;
19817 fail:
19818 return NULL;
19819}
19820
19821
19822static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
19823 PyObject *resultobj;
19824 wxDateTime *arg1 = (wxDateTime *) 0 ;
19825 wxDateSpan *arg2 = 0 ;
19826 wxDateTime *result;
19827 PyObject * obj0 = 0 ;
19828 PyObject * obj1 = 0 ;
19829
19830 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
19831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19832 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19833 if (arg2 == NULL) {
19834 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19835 }
19836 {
19837 PyThreadState* __tstate = wxPyBeginAllowThreads();
19838 {
19839 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
19840 result = (wxDateTime *) &_result_ref;
19841 }
19842
19843 wxPyEndAllowThreads(__tstate);
19844 if (PyErr_Occurred()) SWIG_fail;
19845 }
19846 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19847 return resultobj;
19848 fail:
19849 return NULL;
19850}
19851
19852
19853static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
19854 int argc;
19855 PyObject *argv[3];
19856 int ii;
19857
19858 argc = PyObject_Length(args);
19859 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
19860 argv[ii] = PyTuple_GetItem(args,ii);
19861 }
19862 if (argc == 2) {
19863 int _v;
19864 {
19865 void *ptr;
19866 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19867 _v = 0;
19868 PyErr_Clear();
19869 } else {
19870 _v = 1;
19871 }
19872 }
19873 if (_v) {
19874 {
19875 void *ptr;
19876 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
19877 _v = 0;
19878 PyErr_Clear();
19879 } else {
19880 _v = 1;
19881 }
19882 }
19883 if (_v) {
19884 return _wrap_DateTime___isub____SWIG_0(self,args);
19885 }
19886 }
19887 }
19888 if (argc == 2) {
19889 int _v;
19890 {
19891 void *ptr;
19892 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19893 _v = 0;
19894 PyErr_Clear();
19895 } else {
19896 _v = 1;
19897 }
19898 }
19899 if (_v) {
19900 {
19901 void *ptr;
19902 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
19903 _v = 0;
19904 PyErr_Clear();
19905 } else {
19906 _v = 1;
19907 }
19908 }
19909 if (_v) {
19910 return _wrap_DateTime___isub____SWIG_1(self,args);
19911 }
19912 }
19913 }
19914
19915 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
19916 return NULL;
19917}
19918
19919
19920static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
19921 PyObject *resultobj;
19922 wxDateTime *arg1 = (wxDateTime *) 0 ;
19923 wxTimeSpan *arg2 = 0 ;
19924 wxDateTime result;
19925 PyObject * obj0 = 0 ;
19926 PyObject * obj1 = 0 ;
19927
19928 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
19929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19930 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19931 if (arg2 == NULL) {
19932 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19933 }
19934 {
19935 PyThreadState* __tstate = wxPyBeginAllowThreads();
19936 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
19937
19938 wxPyEndAllowThreads(__tstate);
19939 if (PyErr_Occurred()) SWIG_fail;
19940 }
19941 {
19942 wxDateTime * resultptr;
19943 resultptr = new wxDateTime((wxDateTime &) result);
19944 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
19945 }
19946 return resultobj;
19947 fail:
19948 return NULL;
19949}
19950
19951
19952static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
19953 PyObject *resultobj;
19954 wxDateTime *arg1 = (wxDateTime *) 0 ;
19955 wxDateSpan *arg2 = 0 ;
19956 wxDateTime result;
19957 PyObject * obj0 = 0 ;
19958 PyObject * obj1 = 0 ;
19959
19960 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
19961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19962 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19963 if (arg2 == NULL) {
19964 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19965 }
19966 {
19967 PyThreadState* __tstate = wxPyBeginAllowThreads();
19968 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
19969
19970 wxPyEndAllowThreads(__tstate);
19971 if (PyErr_Occurred()) SWIG_fail;
19972 }
19973 {
19974 wxDateTime * resultptr;
19975 resultptr = new wxDateTime((wxDateTime &) result);
19976 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
19977 }
19978 return resultobj;
19979 fail:
19980 return NULL;
19981}
19982
19983
19984static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
19985 int argc;
19986 PyObject *argv[3];
19987 int ii;
19988
19989 argc = PyObject_Length(args);
19990 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
19991 argv[ii] = PyTuple_GetItem(args,ii);
19992 }
19993 if (argc == 2) {
19994 int _v;
19995 {
19996 void *ptr;
19997 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19998 _v = 0;
19999 PyErr_Clear();
20000 } else {
20001 _v = 1;
20002 }
20003 }
20004 if (_v) {
20005 {
20006 void *ptr;
20007 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20008 _v = 0;
20009 PyErr_Clear();
20010 } else {
20011 _v = 1;
20012 }
20013 }
20014 if (_v) {
20015 return _wrap_DateTime___add____SWIG_0(self,args);
20016 }
20017 }
20018 }
20019 if (argc == 2) {
20020 int _v;
20021 {
20022 void *ptr;
20023 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20024 _v = 0;
20025 PyErr_Clear();
20026 } else {
20027 _v = 1;
20028 }
20029 }
20030 if (_v) {
20031 {
20032 void *ptr;
20033 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20034 _v = 0;
20035 PyErr_Clear();
20036 } else {
20037 _v = 1;
20038 }
20039 }
20040 if (_v) {
20041 return _wrap_DateTime___add____SWIG_1(self,args);
20042 }
20043 }
20044 }
20045
20046 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
20047 return NULL;
20048}
20049
20050
20051static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
20052 PyObject *resultobj;
20053 wxDateTime *arg1 = (wxDateTime *) 0 ;
20054 wxDateTime *arg2 = 0 ;
20055 wxTimeSpan result;
20056 PyObject * obj0 = 0 ;
20057 PyObject * obj1 = 0 ;
20058
20059 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20062 if (arg2 == NULL) {
20063 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20064 }
20065 {
20066 PyThreadState* __tstate = wxPyBeginAllowThreads();
20067 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
20068
20069 wxPyEndAllowThreads(__tstate);
20070 if (PyErr_Occurred()) SWIG_fail;
20071 }
20072 {
20073 wxTimeSpan * resultptr;
20074 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20075 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20076 }
20077 return resultobj;
20078 fail:
20079 return NULL;
20080}
20081
20082
20083static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
20084 PyObject *resultobj;
20085 wxDateTime *arg1 = (wxDateTime *) 0 ;
20086 wxTimeSpan *arg2 = 0 ;
20087 wxDateTime result;
20088 PyObject * obj0 = 0 ;
20089 PyObject * obj1 = 0 ;
20090
20091 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,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 = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
20100
20101 wxPyEndAllowThreads(__tstate);
20102 if (PyErr_Occurred()) SWIG_fail;
20103 }
20104 {
20105 wxDateTime * resultptr;
20106 resultptr = new wxDateTime((wxDateTime &) result);
20107 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
20108 }
20109 return resultobj;
20110 fail:
20111 return NULL;
20112}
20113
20114
20115static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
20116 PyObject *resultobj;
20117 wxDateTime *arg1 = (wxDateTime *) 0 ;
20118 wxDateSpan *arg2 = 0 ;
20119 wxDateTime result;
20120 PyObject * obj0 = 0 ;
20121 PyObject * obj1 = 0 ;
20122
20123 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20125 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20126 if (arg2 == NULL) {
20127 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20128 }
20129 {
20130 PyThreadState* __tstate = wxPyBeginAllowThreads();
20131 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
20132
20133 wxPyEndAllowThreads(__tstate);
20134 if (PyErr_Occurred()) SWIG_fail;
20135 }
20136 {
20137 wxDateTime * resultptr;
20138 resultptr = new wxDateTime((wxDateTime &) result);
20139 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
20140 }
20141 return resultobj;
20142 fail:
20143 return NULL;
20144}
20145
20146
20147static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
20148 int argc;
20149 PyObject *argv[3];
20150 int ii;
20151
20152 argc = PyObject_Length(args);
20153 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20154 argv[ii] = PyTuple_GetItem(args,ii);
20155 }
20156 if (argc == 2) {
20157 int _v;
20158 {
20159 void *ptr;
20160 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20161 _v = 0;
20162 PyErr_Clear();
20163 } else {
20164 _v = 1;
20165 }
20166 }
20167 if (_v) {
20168 {
20169 void *ptr;
20170 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20171 _v = 0;
20172 PyErr_Clear();
20173 } else {
20174 _v = 1;
20175 }
20176 }
20177 if (_v) {
20178 return _wrap_DateTime___sub____SWIG_0(self,args);
20179 }
20180 }
20181 }
20182 if (argc == 2) {
20183 int _v;
20184 {
20185 void *ptr;
20186 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20187 _v = 0;
20188 PyErr_Clear();
20189 } else {
20190 _v = 1;
20191 }
20192 }
20193 if (_v) {
20194 {
20195 void *ptr;
20196 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20197 _v = 0;
20198 PyErr_Clear();
20199 } else {
20200 _v = 1;
20201 }
20202 }
20203 if (_v) {
20204 return _wrap_DateTime___sub____SWIG_1(self,args);
20205 }
20206 }
20207 }
20208 if (argc == 2) {
20209 int _v;
20210 {
20211 void *ptr;
20212 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20213 _v = 0;
20214 PyErr_Clear();
20215 } else {
20216 _v = 1;
20217 }
20218 }
20219 if (_v) {
20220 {
20221 void *ptr;
20222 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20223 _v = 0;
20224 PyErr_Clear();
20225 } else {
20226 _v = 1;
20227 }
20228 }
20229 if (_v) {
20230 return _wrap_DateTime___sub____SWIG_2(self,args);
20231 }
20232 }
20233 }
20234
20235 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
20236 return NULL;
20237}
20238
20239
20240static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
20241 PyObject *resultobj;
20242 wxDateTime *arg1 = (wxDateTime *) 0 ;
20243 wxDateTime *arg2 = 0 ;
20244 bool result;
20245 PyObject * obj0 = 0 ;
20246 PyObject * obj1 = 0 ;
20247
20248 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
20249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20250 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20251 if (arg2 == NULL) {
20252 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20253 }
20254 {
20255 PyThreadState* __tstate = wxPyBeginAllowThreads();
20256 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const &)*arg2);
20257
20258 wxPyEndAllowThreads(__tstate);
20259 if (PyErr_Occurred()) SWIG_fail;
20260 }
4e760a36 20261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20262 return resultobj;
20263 fail:
20264 return NULL;
20265}
20266
20267
20268static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
20269 PyObject *resultobj;
20270 wxDateTime *arg1 = (wxDateTime *) 0 ;
20271 wxDateTime *arg2 = 0 ;
20272 bool result;
20273 PyObject * obj0 = 0 ;
20274 PyObject * obj1 = 0 ;
20275
20276 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
20277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20278 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20279 if (arg2 == NULL) {
20280 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20281 }
20282 {
20283 PyThreadState* __tstate = wxPyBeginAllowThreads();
20284 result = (bool)wxDateTime___le__(arg1,(wxDateTime const &)*arg2);
20285
20286 wxPyEndAllowThreads(__tstate);
20287 if (PyErr_Occurred()) SWIG_fail;
20288 }
4e760a36 20289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20290 return resultobj;
20291 fail:
20292 return NULL;
20293}
20294
20295
20296static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
20297 PyObject *resultobj;
20298 wxDateTime *arg1 = (wxDateTime *) 0 ;
20299 wxDateTime *arg2 = 0 ;
20300 bool result;
20301 PyObject * obj0 = 0 ;
20302 PyObject * obj1 = 0 ;
20303
20304 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
20305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20306 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20307 if (arg2 == NULL) {
20308 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20309 }
20310 {
20311 PyThreadState* __tstate = wxPyBeginAllowThreads();
20312 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const &)*arg2);
20313
20314 wxPyEndAllowThreads(__tstate);
20315 if (PyErr_Occurred()) SWIG_fail;
20316 }
4e760a36 20317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20318 return resultobj;
20319 fail:
20320 return NULL;
20321}
20322
20323
20324static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
20325 PyObject *resultobj;
20326 wxDateTime *arg1 = (wxDateTime *) 0 ;
20327 wxDateTime *arg2 = 0 ;
20328 bool result;
20329 PyObject * obj0 = 0 ;
20330 PyObject * obj1 = 0 ;
20331
20332 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
20333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20335 if (arg2 == NULL) {
20336 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20337 }
20338 {
20339 PyThreadState* __tstate = wxPyBeginAllowThreads();
20340 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const &)*arg2);
20341
20342 wxPyEndAllowThreads(__tstate);
20343 if (PyErr_Occurred()) SWIG_fail;
20344 }
4e760a36 20345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20346 return resultobj;
20347 fail:
20348 return NULL;
20349}
20350
20351
20352static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
20353 PyObject *resultobj;
20354 wxDateTime *arg1 = (wxDateTime *) 0 ;
20355 wxDateTime *arg2 = 0 ;
20356 bool result;
20357 PyObject * obj0 = 0 ;
20358 PyObject * obj1 = 0 ;
20359
20360 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
20361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20362 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20363 if (arg2 == NULL) {
20364 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20365 }
20366 {
20367 PyThreadState* __tstate = wxPyBeginAllowThreads();
20368 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const &)*arg2);
20369
20370 wxPyEndAllowThreads(__tstate);
20371 if (PyErr_Occurred()) SWIG_fail;
20372 }
4e760a36 20373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20374 return resultobj;
20375 fail:
20376 return NULL;
20377}
20378
20379
20380static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
20381 PyObject *resultobj;
20382 wxDateTime *arg1 = (wxDateTime *) 0 ;
20383 wxDateTime *arg2 = 0 ;
20384 bool result;
20385 PyObject * obj0 = 0 ;
20386 PyObject * obj1 = 0 ;
20387
20388 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
20389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20390 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20391 if (arg2 == NULL) {
20392 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20393 }
20394 {
20395 PyThreadState* __tstate = wxPyBeginAllowThreads();
20396 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const &)*arg2);
20397
20398 wxPyEndAllowThreads(__tstate);
20399 if (PyErr_Occurred()) SWIG_fail;
20400 }
4e760a36 20401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20402 return resultobj;
20403 fail:
20404 return NULL;
20405}
20406
20407
20408static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
20409 PyObject *resultobj;
20410 wxDateTime *arg1 = (wxDateTime *) 0 ;
20411 wxString *arg2 = 0 ;
20412 int result;
423f194a 20413 bool temp2 = False ;
d14a1e28
RD
20414 PyObject * obj0 = 0 ;
20415 PyObject * obj1 = 0 ;
20416 char *kwnames[] = {
20417 (char *) "self",(char *) "date", NULL
20418 };
20419
20420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
20421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20422 {
20423 arg2 = wxString_in_helper(obj1);
20424 if (arg2 == NULL) SWIG_fail;
423f194a 20425 temp2 = True;
d14a1e28
RD
20426 }
20427 {
20428 PyThreadState* __tstate = wxPyBeginAllowThreads();
20429 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
20430
20431 wxPyEndAllowThreads(__tstate);
20432 if (PyErr_Occurred()) SWIG_fail;
20433 }
8edf1c75 20434 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
20435 {
20436 if (temp2)
20437 delete arg2;
20438 }
20439 return resultobj;
20440 fail:
20441 {
20442 if (temp2)
20443 delete arg2;
20444 }
20445 return NULL;
20446}
20447
20448
20449static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
20450 PyObject *resultobj;
20451 wxDateTime *arg1 = (wxDateTime *) 0 ;
20452 wxString *arg2 = 0 ;
20453 wxString const &arg3_defvalue = wxPyDateFormatStr ;
20454 wxString *arg3 = (wxString *) &arg3_defvalue ;
20455 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
20456 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
20457 int result;
423f194a
RD
20458 bool temp2 = False ;
20459 bool temp3 = False ;
d14a1e28
RD
20460 PyObject * obj0 = 0 ;
20461 PyObject * obj1 = 0 ;
20462 PyObject * obj2 = 0 ;
20463 PyObject * obj3 = 0 ;
20464 char *kwnames[] = {
20465 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20466 };
20467
20468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20470 {
20471 arg2 = wxString_in_helper(obj1);
20472 if (arg2 == NULL) SWIG_fail;
423f194a 20473 temp2 = True;
d14a1e28
RD
20474 }
20475 if (obj2) {
20476 {
20477 arg3 = wxString_in_helper(obj2);
20478 if (arg3 == NULL) SWIG_fail;
423f194a 20479 temp3 = True;
d14a1e28
RD
20480 }
20481 }
20482 if (obj3) {
20483 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20484 if (arg4 == NULL) {
20485 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20486 }
20487 }
20488 {
20489 PyThreadState* __tstate = wxPyBeginAllowThreads();
20490 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
20491
20492 wxPyEndAllowThreads(__tstate);
20493 if (PyErr_Occurred()) SWIG_fail;
20494 }
8edf1c75 20495 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
20496 {
20497 if (temp2)
20498 delete arg2;
20499 }
20500 {
20501 if (temp3)
20502 delete arg3;
20503 }
20504 return resultobj;
20505 fail:
20506 {
20507 if (temp2)
20508 delete arg2;
20509 }
20510 {
20511 if (temp3)
20512 delete arg3;
20513 }
20514 return NULL;
20515}
20516
20517
20518static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20519 PyObject *resultobj;
20520 wxDateTime *arg1 = (wxDateTime *) 0 ;
20521 wxString *arg2 = 0 ;
20522 int result;
423f194a 20523 bool temp2 = False ;
d14a1e28
RD
20524 PyObject * obj0 = 0 ;
20525 PyObject * obj1 = 0 ;
20526 char *kwnames[] = {
20527 (char *) "self",(char *) "datetime", NULL
20528 };
20529
20530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
20531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20532 {
20533 arg2 = wxString_in_helper(obj1);
20534 if (arg2 == NULL) SWIG_fail;
423f194a 20535 temp2 = True;
d14a1e28
RD
20536 }
20537 {
20538 PyThreadState* __tstate = wxPyBeginAllowThreads();
20539 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
20540
20541 wxPyEndAllowThreads(__tstate);
20542 if (PyErr_Occurred()) SWIG_fail;
20543 }
8edf1c75 20544 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
20545 {
20546 if (temp2)
20547 delete arg2;
20548 }
20549 return resultobj;
20550 fail:
20551 {
20552 if (temp2)
20553 delete arg2;
20554 }
20555 return NULL;
20556}
20557
20558
20559static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
20560 PyObject *resultobj;
20561 wxDateTime *arg1 = (wxDateTime *) 0 ;
20562 wxString *arg2 = 0 ;
20563 int result;
423f194a 20564 bool temp2 = False ;
d14a1e28
RD
20565 PyObject * obj0 = 0 ;
20566 PyObject * obj1 = 0 ;
20567 char *kwnames[] = {
20568 (char *) "self",(char *) "date", NULL
20569 };
20570
20571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
20572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20573 {
20574 arg2 = wxString_in_helper(obj1);
20575 if (arg2 == NULL) SWIG_fail;
423f194a 20576 temp2 = True;
d14a1e28
RD
20577 }
20578 {
20579 PyThreadState* __tstate = wxPyBeginAllowThreads();
20580 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
20581
20582 wxPyEndAllowThreads(__tstate);
20583 if (PyErr_Occurred()) SWIG_fail;
20584 }
8edf1c75 20585 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
20586 {
20587 if (temp2)
20588 delete arg2;
20589 }
20590 return resultobj;
20591 fail:
20592 {
20593 if (temp2)
20594 delete arg2;
20595 }
20596 return NULL;
20597}
20598
20599
20600static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20601 PyObject *resultobj;
20602 wxDateTime *arg1 = (wxDateTime *) 0 ;
20603 wxString *arg2 = 0 ;
20604 int result;
423f194a 20605 bool temp2 = False ;
d14a1e28
RD
20606 PyObject * obj0 = 0 ;
20607 PyObject * obj1 = 0 ;
20608 char *kwnames[] = {
20609 (char *) "self",(char *) "time", NULL
20610 };
20611
20612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
20613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20614 {
20615 arg2 = wxString_in_helper(obj1);
20616 if (arg2 == NULL) SWIG_fail;
423f194a 20617 temp2 = True;
d14a1e28
RD
20618 }
20619 {
20620 PyThreadState* __tstate = wxPyBeginAllowThreads();
20621 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
20622
20623 wxPyEndAllowThreads(__tstate);
20624 if (PyErr_Occurred()) SWIG_fail;
20625 }
8edf1c75 20626 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
20627 {
20628 if (temp2)
20629 delete arg2;
20630 }
20631 return resultobj;
20632 fail:
20633 {
20634 if (temp2)
20635 delete arg2;
20636 }
20637 return NULL;
20638}
20639
20640
20641static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20642 PyObject *resultobj;
20643 wxDateTime *arg1 = (wxDateTime *) 0 ;
20644 wxString const &arg2_defvalue = wxPyDateFormatStr ;
20645 wxString *arg2 = (wxString *) &arg2_defvalue ;
20646 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
20647 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
20648 wxString result;
423f194a 20649 bool temp2 = False ;
44127b65 20650 bool temp3 = False ;
d14a1e28
RD
20651 PyObject * obj0 = 0 ;
20652 PyObject * obj1 = 0 ;
20653 PyObject * obj2 = 0 ;
20654 char *kwnames[] = {
20655 (char *) "self",(char *) "format",(char *) "tz", NULL
20656 };
20657
20658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
20659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20660 if (obj1) {
20661 {
20662 arg2 = wxString_in_helper(obj1);
20663 if (arg2 == NULL) SWIG_fail;
423f194a 20664 temp2 = True;
d14a1e28
RD
20665 }
20666 }
20667 if (obj2) {
20668 {
20669 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
44127b65 20670 temp3 = True;
d14a1e28
RD
20671 }
20672 }
20673 {
20674 PyThreadState* __tstate = wxPyBeginAllowThreads();
20675 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
20676
20677 wxPyEndAllowThreads(__tstate);
20678 if (PyErr_Occurred()) SWIG_fail;
20679 }
20680 {
20681#if wxUSE_UNICODE
20682 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20683#else
20684 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20685#endif
20686 }
20687 {
20688 if (temp2)
20689 delete arg2;
20690 }
20691 {
44127b65 20692 if (temp3) delete arg3;
d14a1e28
RD
20693 }
20694 return resultobj;
20695 fail:
20696 {
20697 if (temp2)
20698 delete arg2;
20699 }
20700 {
44127b65 20701 if (temp3) delete arg3;
d14a1e28
RD
20702 }
20703 return NULL;
20704}
20705
20706
20707static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
20708 PyObject *resultobj;
20709 wxDateTime *arg1 = (wxDateTime *) 0 ;
20710 wxString result;
20711 PyObject * obj0 = 0 ;
20712 char *kwnames[] = {
20713 (char *) "self", NULL
20714 };
20715
20716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
20717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20718 {
20719 PyThreadState* __tstate = wxPyBeginAllowThreads();
20720 result = ((wxDateTime const *)arg1)->FormatDate();
20721
20722 wxPyEndAllowThreads(__tstate);
20723 if (PyErr_Occurred()) SWIG_fail;
20724 }
20725 {
20726#if wxUSE_UNICODE
20727 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20728#else
20729 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20730#endif
20731 }
20732 return resultobj;
20733 fail:
20734 return NULL;
20735}
20736
20737
20738static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20739 PyObject *resultobj;
20740 wxDateTime *arg1 = (wxDateTime *) 0 ;
20741 wxString result;
20742 PyObject * obj0 = 0 ;
20743 char *kwnames[] = {
20744 (char *) "self", NULL
20745 };
20746
20747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
20748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20749 {
20750 PyThreadState* __tstate = wxPyBeginAllowThreads();
20751 result = ((wxDateTime const *)arg1)->FormatTime();
20752
20753 wxPyEndAllowThreads(__tstate);
20754 if (PyErr_Occurred()) SWIG_fail;
20755 }
20756 {
20757#if wxUSE_UNICODE
20758 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20759#else
20760 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20761#endif
20762 }
20763 return resultobj;
20764 fail:
20765 return NULL;
20766}
20767
20768
20769static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
20770 PyObject *resultobj;
20771 wxDateTime *arg1 = (wxDateTime *) 0 ;
20772 wxString result;
20773 PyObject * obj0 = 0 ;
20774 char *kwnames[] = {
20775 (char *) "self", NULL
20776 };
20777
20778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
20779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20780 {
20781 PyThreadState* __tstate = wxPyBeginAllowThreads();
20782 result = ((wxDateTime const *)arg1)->FormatISODate();
20783
20784 wxPyEndAllowThreads(__tstate);
20785 if (PyErr_Occurred()) SWIG_fail;
20786 }
20787 {
20788#if wxUSE_UNICODE
20789 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20790#else
20791 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20792#endif
20793 }
20794 return resultobj;
20795 fail:
20796 return NULL;
20797}
20798
20799
20800static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20801 PyObject *resultobj;
20802 wxDateTime *arg1 = (wxDateTime *) 0 ;
20803 wxString result;
20804 PyObject * obj0 = 0 ;
20805 char *kwnames[] = {
20806 (char *) "self", NULL
20807 };
20808
20809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
20810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20811 {
20812 PyThreadState* __tstate = wxPyBeginAllowThreads();
20813 result = ((wxDateTime const *)arg1)->FormatISOTime();
20814
20815 wxPyEndAllowThreads(__tstate);
20816 if (PyErr_Occurred()) SWIG_fail;
20817 }
20818 {
20819#if wxUSE_UNICODE
20820 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20821#else
20822 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20823#endif
20824 }
20825 return resultobj;
20826 fail:
20827 return NULL;
20828}
20829
20830
20831static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
20832 PyObject *obj;
20833 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20834 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
20835 Py_INCREF(obj);
20836 return Py_BuildValue((char *)"");
20837}
20838static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20839 PyObject *resultobj;
20840 long arg1 ;
20841 wxTimeSpan result;
8edf1c75 20842 PyObject * obj0 = 0 ;
d14a1e28
RD
20843 char *kwnames[] = {
20844 (char *) "sec", NULL
20845 };
20846
8edf1c75
RD
20847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
20848 {
20849 arg1 = (long) SWIG_PyObj_AsLong(obj0);
20850 if (PyErr_Occurred()) SWIG_fail;
20851 }
d14a1e28
RD
20852 {
20853 PyThreadState* __tstate = wxPyBeginAllowThreads();
20854 result = wxTimeSpan::Seconds(arg1);
20855
20856 wxPyEndAllowThreads(__tstate);
20857 if (PyErr_Occurred()) SWIG_fail;
20858 }
20859 {
20860 wxTimeSpan * resultptr;
20861 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20862 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20863 }
20864 return resultobj;
20865 fail:
20866 return NULL;
20867}
20868
20869
20870static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
20871 PyObject *resultobj;
20872 wxTimeSpan result;
20873 char *kwnames[] = {
20874 NULL
20875 };
20876
20877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
20878 {
20879 PyThreadState* __tstate = wxPyBeginAllowThreads();
20880 result = wxTimeSpan::Second();
20881
20882 wxPyEndAllowThreads(__tstate);
20883 if (PyErr_Occurred()) SWIG_fail;
20884 }
20885 {
20886 wxTimeSpan * resultptr;
20887 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20888 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20889 }
20890 return resultobj;
20891 fail:
20892 return NULL;
20893}
20894
20895
20896static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
20897 PyObject *resultobj;
20898 long arg1 ;
20899 wxTimeSpan result;
8edf1c75 20900 PyObject * obj0 = 0 ;
d14a1e28
RD
20901 char *kwnames[] = {
20902 (char *) "min", NULL
20903 };
20904
8edf1c75
RD
20905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
20906 {
20907 arg1 = (long) SWIG_PyObj_AsLong(obj0);
20908 if (PyErr_Occurred()) SWIG_fail;
20909 }
d14a1e28
RD
20910 {
20911 PyThreadState* __tstate = wxPyBeginAllowThreads();
20912 result = wxTimeSpan::Minutes(arg1);
20913
20914 wxPyEndAllowThreads(__tstate);
20915 if (PyErr_Occurred()) SWIG_fail;
20916 }
20917 {
20918 wxTimeSpan * resultptr;
20919 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20920 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20921 }
20922 return resultobj;
20923 fail:
20924 return NULL;
20925}
20926
20927
20928static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
20929 PyObject *resultobj;
20930 wxTimeSpan result;
20931 char *kwnames[] = {
20932 NULL
20933 };
20934
20935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
20936 {
20937 PyThreadState* __tstate = wxPyBeginAllowThreads();
20938 result = wxTimeSpan::Minute();
20939
20940 wxPyEndAllowThreads(__tstate);
20941 if (PyErr_Occurred()) SWIG_fail;
20942 }
20943 {
20944 wxTimeSpan * resultptr;
20945 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20946 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20947 }
20948 return resultobj;
20949 fail:
20950 return NULL;
20951}
20952
20953
20954static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
20955 PyObject *resultobj;
20956 long arg1 ;
20957 wxTimeSpan result;
8edf1c75 20958 PyObject * obj0 = 0 ;
d14a1e28
RD
20959 char *kwnames[] = {
20960 (char *) "hours", NULL
20961 };
20962
8edf1c75
RD
20963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
20964 {
20965 arg1 = (long) SWIG_PyObj_AsLong(obj0);
20966 if (PyErr_Occurred()) SWIG_fail;
20967 }
d14a1e28
RD
20968 {
20969 PyThreadState* __tstate = wxPyBeginAllowThreads();
20970 result = wxTimeSpan::Hours(arg1);
20971
20972 wxPyEndAllowThreads(__tstate);
20973 if (PyErr_Occurred()) SWIG_fail;
20974 }
20975 {
20976 wxTimeSpan * resultptr;
20977 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20978 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20979 }
20980 return resultobj;
20981 fail:
20982 return NULL;
20983}
20984
20985
20986static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
20987 PyObject *resultobj;
20988 wxTimeSpan result;
20989 char *kwnames[] = {
20990 NULL
20991 };
20992
20993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
20994 {
20995 PyThreadState* __tstate = wxPyBeginAllowThreads();
20996 result = wxTimeSpan::Hour();
20997
20998 wxPyEndAllowThreads(__tstate);
20999 if (PyErr_Occurred()) SWIG_fail;
21000 }
21001 {
21002 wxTimeSpan * resultptr;
21003 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21004 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21005 }
21006 return resultobj;
21007 fail:
21008 return NULL;
21009}
21010
21011
21012static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
21013 PyObject *resultobj;
21014 long arg1 ;
21015 wxTimeSpan result;
8edf1c75 21016 PyObject * obj0 = 0 ;
d14a1e28
RD
21017 char *kwnames[] = {
21018 (char *) "days", NULL
21019 };
21020
8edf1c75
RD
21021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
21022 {
21023 arg1 = (long) SWIG_PyObj_AsLong(obj0);
21024 if (PyErr_Occurred()) SWIG_fail;
21025 }
d14a1e28
RD
21026 {
21027 PyThreadState* __tstate = wxPyBeginAllowThreads();
21028 result = wxTimeSpan::Days(arg1);
21029
21030 wxPyEndAllowThreads(__tstate);
21031 if (PyErr_Occurred()) SWIG_fail;
21032 }
21033 {
21034 wxTimeSpan * resultptr;
21035 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21036 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21037 }
21038 return resultobj;
21039 fail:
21040 return NULL;
21041}
21042
21043
21044static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
21045 PyObject *resultobj;
21046 wxTimeSpan result;
21047 char *kwnames[] = {
21048 NULL
21049 };
21050
21051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
21052 {
21053 PyThreadState* __tstate = wxPyBeginAllowThreads();
21054 result = wxTimeSpan::Day();
21055
21056 wxPyEndAllowThreads(__tstate);
21057 if (PyErr_Occurred()) SWIG_fail;
21058 }
21059 {
21060 wxTimeSpan * resultptr;
21061 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21062 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21063 }
21064 return resultobj;
21065 fail:
21066 return NULL;
21067}
21068
21069
21070static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
21071 PyObject *resultobj;
21072 long arg1 ;
21073 wxTimeSpan result;
8edf1c75 21074 PyObject * obj0 = 0 ;
d14a1e28
RD
21075 char *kwnames[] = {
21076 (char *) "days", NULL
21077 };
21078
8edf1c75
RD
21079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
21080 {
21081 arg1 = (long) SWIG_PyObj_AsLong(obj0);
21082 if (PyErr_Occurred()) SWIG_fail;
21083 }
d14a1e28
RD
21084 {
21085 PyThreadState* __tstate = wxPyBeginAllowThreads();
21086 result = wxTimeSpan::Weeks(arg1);
21087
21088 wxPyEndAllowThreads(__tstate);
21089 if (PyErr_Occurred()) SWIG_fail;
21090 }
21091 {
21092 wxTimeSpan * resultptr;
21093 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21094 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21095 }
21096 return resultobj;
21097 fail:
21098 return NULL;
21099}
21100
21101
21102static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
21103 PyObject *resultobj;
21104 wxTimeSpan result;
21105 char *kwnames[] = {
21106 NULL
21107 };
21108
21109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
21110 {
21111 PyThreadState* __tstate = wxPyBeginAllowThreads();
21112 result = wxTimeSpan::Week();
21113
21114 wxPyEndAllowThreads(__tstate);
21115 if (PyErr_Occurred()) SWIG_fail;
21116 }
21117 {
21118 wxTimeSpan * resultptr;
21119 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21120 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21121 }
21122 return resultobj;
21123 fail:
21124 return NULL;
21125}
21126
21127
21128static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21129 PyObject *resultobj;
21130 long arg1 = (long) 0 ;
21131 long arg2 = (long) 0 ;
21132 long arg3 = (long) 0 ;
21133 long arg4 = (long) 0 ;
21134 wxTimeSpan *result;
8edf1c75
RD
21135 PyObject * obj0 = 0 ;
21136 PyObject * obj1 = 0 ;
21137 PyObject * obj2 = 0 ;
21138 PyObject * obj3 = 0 ;
d14a1e28
RD
21139 char *kwnames[] = {
21140 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21141 };
21142
8edf1c75
RD
21143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21144 if (obj0) {
21145 {
21146 arg1 = (long) SWIG_PyObj_AsLong(obj0);
21147 if (PyErr_Occurred()) SWIG_fail;
21148 }
21149 }
21150 if (obj1) {
21151 {
21152 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21153 if (PyErr_Occurred()) SWIG_fail;
21154 }
21155 }
21156 if (obj2) {
21157 {
21158 arg3 = (long) SWIG_PyObj_AsLong(obj2);
21159 if (PyErr_Occurred()) SWIG_fail;
21160 }
21161 }
21162 if (obj3) {
21163 {
21164 arg4 = (long) SWIG_PyObj_AsLong(obj3);
21165 if (PyErr_Occurred()) SWIG_fail;
21166 }
21167 }
d14a1e28
RD
21168 {
21169 PyThreadState* __tstate = wxPyBeginAllowThreads();
21170 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
21171
21172 wxPyEndAllowThreads(__tstate);
21173 if (PyErr_Occurred()) SWIG_fail;
21174 }
21175 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 1);
21176 return resultobj;
21177 fail:
21178 return NULL;
21179}
21180
21181
21182static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21183 PyObject *resultobj;
21184 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21185 PyObject * obj0 = 0 ;
21186 char *kwnames[] = {
21187 (char *) "self", NULL
21188 };
21189
21190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
21191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21192 {
21193 PyThreadState* __tstate = wxPyBeginAllowThreads();
21194 delete arg1;
21195
21196 wxPyEndAllowThreads(__tstate);
21197 if (PyErr_Occurred()) SWIG_fail;
21198 }
21199 Py_INCREF(Py_None); resultobj = Py_None;
21200 return resultobj;
21201 fail:
21202 return NULL;
21203}
21204
21205
21206static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
21207 PyObject *resultobj;
21208 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21209 wxTimeSpan *arg2 = 0 ;
21210 wxTimeSpan *result;
21211 PyObject * obj0 = 0 ;
21212 PyObject * obj1 = 0 ;
21213 char *kwnames[] = {
21214 (char *) "self",(char *) "diff", NULL
21215 };
21216
21217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
21218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21219 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21220 if (arg2 == NULL) {
21221 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21222 }
21223 {
21224 PyThreadState* __tstate = wxPyBeginAllowThreads();
21225 {
21226 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
21227 result = (wxTimeSpan *) &_result_ref;
21228 }
21229
21230 wxPyEndAllowThreads(__tstate);
21231 if (PyErr_Occurred()) SWIG_fail;
21232 }
21233 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21234 return resultobj;
21235 fail:
21236 return NULL;
21237}
21238
21239
21240static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
21241 PyObject *resultobj;
21242 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21243 wxTimeSpan *arg2 = 0 ;
21244 wxTimeSpan *result;
21245 PyObject * obj0 = 0 ;
21246 PyObject * obj1 = 0 ;
21247 char *kwnames[] = {
21248 (char *) "self",(char *) "diff", NULL
21249 };
21250
21251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
21252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21253 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21254 if (arg2 == NULL) {
21255 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21256 }
21257 {
21258 PyThreadState* __tstate = wxPyBeginAllowThreads();
21259 {
21260 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
21261 result = (wxTimeSpan *) &_result_ref;
21262 }
21263
21264 wxPyEndAllowThreads(__tstate);
21265 if (PyErr_Occurred()) SWIG_fail;
21266 }
21267 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21268 return resultobj;
21269 fail:
21270 return NULL;
21271}
21272
21273
21274static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
21275 PyObject *resultobj;
21276 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21277 int arg2 ;
21278 wxTimeSpan *result;
21279 PyObject * obj0 = 0 ;
8edf1c75 21280 PyObject * obj1 = 0 ;
d14a1e28
RD
21281 char *kwnames[] = {
21282 (char *) "self",(char *) "n", NULL
21283 };
21284
8edf1c75 21285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 21286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
21287 {
21288 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21289 if (PyErr_Occurred()) SWIG_fail;
21290 }
d14a1e28
RD
21291 {
21292 PyThreadState* __tstate = wxPyBeginAllowThreads();
21293 {
21294 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
21295 result = (wxTimeSpan *) &_result_ref;
21296 }
21297
21298 wxPyEndAllowThreads(__tstate);
21299 if (PyErr_Occurred()) SWIG_fail;
21300 }
21301 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21302 return resultobj;
21303 fail:
21304 return NULL;
21305}
21306
21307
21308static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
21309 PyObject *resultobj;
21310 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21311 wxTimeSpan *result;
21312 PyObject * obj0 = 0 ;
21313 char *kwnames[] = {
21314 (char *) "self", NULL
21315 };
21316
21317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
21318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21319 {
21320 PyThreadState* __tstate = wxPyBeginAllowThreads();
21321 {
21322 wxTimeSpan &_result_ref = (arg1)->Neg();
21323 result = (wxTimeSpan *) &_result_ref;
21324 }
21325
21326 wxPyEndAllowThreads(__tstate);
21327 if (PyErr_Occurred()) SWIG_fail;
21328 }
21329 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21330 return resultobj;
21331 fail:
21332 return NULL;
21333}
21334
21335
21336static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
21337 PyObject *resultobj;
21338 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21339 wxTimeSpan result;
21340 PyObject * obj0 = 0 ;
21341 char *kwnames[] = {
21342 (char *) "self", NULL
21343 };
21344
21345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
21346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21347 {
21348 PyThreadState* __tstate = wxPyBeginAllowThreads();
21349 result = ((wxTimeSpan const *)arg1)->Abs();
21350
21351 wxPyEndAllowThreads(__tstate);
21352 if (PyErr_Occurred()) SWIG_fail;
21353 }
21354 {
21355 wxTimeSpan * resultptr;
21356 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21357 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21358 }
21359 return resultobj;
21360 fail:
21361 return NULL;
21362}
21363
21364
21365static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21366 PyObject *resultobj;
21367 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21368 wxTimeSpan *arg2 = 0 ;
21369 wxTimeSpan *result;
21370 PyObject * obj0 = 0 ;
21371 PyObject * obj1 = 0 ;
21372 char *kwnames[] = {
21373 (char *) "self",(char *) "diff", NULL
21374 };
21375
21376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21378 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21379 if (arg2 == NULL) {
21380 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21381 }
21382 {
21383 PyThreadState* __tstate = wxPyBeginAllowThreads();
21384 {
21385 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
21386 result = (wxTimeSpan *) &_result_ref;
21387 }
21388
21389 wxPyEndAllowThreads(__tstate);
21390 if (PyErr_Occurred()) SWIG_fail;
21391 }
21392 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21393 return resultobj;
21394 fail:
21395 return NULL;
21396}
21397
21398
21399static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21400 PyObject *resultobj;
21401 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21402 wxTimeSpan *arg2 = 0 ;
21403 wxTimeSpan *result;
21404 PyObject * obj0 = 0 ;
21405 PyObject * obj1 = 0 ;
21406 char *kwnames[] = {
21407 (char *) "self",(char *) "diff", NULL
21408 };
21409
21410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21412 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21413 if (arg2 == NULL) {
21414 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21415 }
21416 {
21417 PyThreadState* __tstate = wxPyBeginAllowThreads();
21418 {
21419 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
21420 result = (wxTimeSpan *) &_result_ref;
21421 }
21422
21423 wxPyEndAllowThreads(__tstate);
21424 if (PyErr_Occurred()) SWIG_fail;
21425 }
21426 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21427 return resultobj;
21428 fail:
21429 return NULL;
21430}
21431
21432
21433static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21434 PyObject *resultobj;
21435 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21436 int arg2 ;
21437 wxTimeSpan *result;
21438 PyObject * obj0 = 0 ;
8edf1c75 21439 PyObject * obj1 = 0 ;
d14a1e28
RD
21440 char *kwnames[] = {
21441 (char *) "self",(char *) "n", NULL
21442 };
21443
8edf1c75 21444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 21445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
21446 {
21447 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21448 if (PyErr_Occurred()) SWIG_fail;
21449 }
d14a1e28
RD
21450 {
21451 PyThreadState* __tstate = wxPyBeginAllowThreads();
21452 {
21453 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
21454 result = (wxTimeSpan *) &_result_ref;
21455 }
21456
21457 wxPyEndAllowThreads(__tstate);
21458 if (PyErr_Occurred()) SWIG_fail;
21459 }
21460 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21461 return resultobj;
21462 fail:
21463 return NULL;
21464}
21465
21466
21467static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21468 PyObject *resultobj;
21469 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21470 wxTimeSpan *result;
21471 PyObject * obj0 = 0 ;
21472 char *kwnames[] = {
21473 (char *) "self", NULL
21474 };
21475
21476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
21477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21478 {
21479 PyThreadState* __tstate = wxPyBeginAllowThreads();
21480 {
21481 wxTimeSpan &_result_ref = (arg1)->operator -();
21482 result = (wxTimeSpan *) &_result_ref;
21483 }
21484
21485 wxPyEndAllowThreads(__tstate);
21486 if (PyErr_Occurred()) SWIG_fail;
21487 }
21488 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21489 return resultobj;
21490 fail:
21491 return NULL;
21492}
21493
21494
21495static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21496 PyObject *resultobj;
21497 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21498 wxTimeSpan *arg2 = 0 ;
21499 wxTimeSpan result;
21500 PyObject * obj0 = 0 ;
21501 PyObject * obj1 = 0 ;
21502 char *kwnames[] = {
21503 (char *) "self",(char *) "other", NULL
21504 };
21505
21506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21508 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21509 if (arg2 == NULL) {
21510 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21511 }
21512 {
21513 PyThreadState* __tstate = wxPyBeginAllowThreads();
21514 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
21515
21516 wxPyEndAllowThreads(__tstate);
21517 if (PyErr_Occurred()) SWIG_fail;
21518 }
21519 {
21520 wxTimeSpan * resultptr;
21521 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21522 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21523 }
21524 return resultobj;
21525 fail:
21526 return NULL;
21527}
21528
21529
21530static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21531 PyObject *resultobj;
21532 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21533 wxTimeSpan *arg2 = 0 ;
21534 wxTimeSpan result;
21535 PyObject * obj0 = 0 ;
21536 PyObject * obj1 = 0 ;
21537 char *kwnames[] = {
21538 (char *) "self",(char *) "other", NULL
21539 };
21540
21541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21543 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21544 if (arg2 == NULL) {
21545 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21546 }
21547 {
21548 PyThreadState* __tstate = wxPyBeginAllowThreads();
21549 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
21550
21551 wxPyEndAllowThreads(__tstate);
21552 if (PyErr_Occurred()) SWIG_fail;
21553 }
21554 {
21555 wxTimeSpan * resultptr;
21556 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21557 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21558 }
21559 return resultobj;
21560 fail:
21561 return NULL;
21562}
21563
21564
21565static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21566 PyObject *resultobj;
21567 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21568 int arg2 ;
21569 wxTimeSpan result;
21570 PyObject * obj0 = 0 ;
8edf1c75 21571 PyObject * obj1 = 0 ;
d14a1e28
RD
21572 char *kwnames[] = {
21573 (char *) "self",(char *) "n", NULL
21574 };
21575
8edf1c75 21576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 21577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
21578 {
21579 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21580 if (PyErr_Occurred()) SWIG_fail;
21581 }
d14a1e28
RD
21582 {
21583 PyThreadState* __tstate = wxPyBeginAllowThreads();
21584 result = wxTimeSpan___mul__(arg1,arg2);
21585
21586 wxPyEndAllowThreads(__tstate);
21587 if (PyErr_Occurred()) SWIG_fail;
21588 }
21589 {
21590 wxTimeSpan * resultptr;
21591 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21592 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21593 }
21594 return resultobj;
21595 fail:
21596 return NULL;
21597}
21598
21599
21600static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21601 PyObject *resultobj;
21602 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21603 int arg2 ;
21604 wxTimeSpan result;
21605 PyObject * obj0 = 0 ;
8edf1c75 21606 PyObject * obj1 = 0 ;
d14a1e28
RD
21607 char *kwnames[] = {
21608 (char *) "self",(char *) "n", NULL
21609 };
21610
8edf1c75 21611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 21612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
21613 {
21614 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21615 if (PyErr_Occurred()) SWIG_fail;
21616 }
d14a1e28
RD
21617 {
21618 PyThreadState* __tstate = wxPyBeginAllowThreads();
21619 result = wxTimeSpan___rmul__(arg1,arg2);
21620
21621 wxPyEndAllowThreads(__tstate);
21622 if (PyErr_Occurred()) SWIG_fail;
21623 }
21624 {
21625 wxTimeSpan * resultptr;
21626 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21627 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21628 }
21629 return resultobj;
21630 fail:
21631 return NULL;
21632}
21633
21634
21635static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
21636 PyObject *resultobj;
21637 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21638 wxTimeSpan *arg2 = 0 ;
21639 bool result;
21640 PyObject * obj0 = 0 ;
21641 PyObject * obj1 = 0 ;
21642 char *kwnames[] = {
21643 (char *) "self",(char *) "other", NULL
21644 };
21645
21646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
21647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21648 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21649 if (arg2 == NULL) {
21650 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21651 }
21652 {
21653 PyThreadState* __tstate = wxPyBeginAllowThreads();
21654 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const &)*arg2);
21655
21656 wxPyEndAllowThreads(__tstate);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
4e760a36 21659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21660 return resultobj;
21661 fail:
21662 return NULL;
21663}
21664
21665
21666static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
21667 PyObject *resultobj;
21668 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21669 wxTimeSpan *arg2 = 0 ;
21670 bool result;
21671 PyObject * obj0 = 0 ;
21672 PyObject * obj1 = 0 ;
21673 char *kwnames[] = {
21674 (char *) "self",(char *) "other", NULL
21675 };
21676
21677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
21678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21679 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21680 if (arg2 == NULL) {
21681 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21682 }
21683 {
21684 PyThreadState* __tstate = wxPyBeginAllowThreads();
21685 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const &)*arg2);
21686
21687 wxPyEndAllowThreads(__tstate);
21688 if (PyErr_Occurred()) SWIG_fail;
21689 }
4e760a36 21690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21691 return resultobj;
21692 fail:
21693 return NULL;
21694}
21695
21696
21697static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
21698 PyObject *resultobj;
21699 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21700 wxTimeSpan *arg2 = 0 ;
21701 bool result;
21702 PyObject * obj0 = 0 ;
21703 PyObject * obj1 = 0 ;
21704 char *kwnames[] = {
21705 (char *) "self",(char *) "other", NULL
21706 };
21707
21708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
21709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21710 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21711 if (arg2 == NULL) {
21712 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21713 }
21714 {
21715 PyThreadState* __tstate = wxPyBeginAllowThreads();
21716 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const &)*arg2);
21717
21718 wxPyEndAllowThreads(__tstate);
21719 if (PyErr_Occurred()) SWIG_fail;
21720 }
4e760a36 21721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21722 return resultobj;
21723 fail:
21724 return NULL;
21725}
21726
21727
21728static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
21729 PyObject *resultobj;
21730 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21731 wxTimeSpan *arg2 = 0 ;
21732 bool result;
21733 PyObject * obj0 = 0 ;
21734 PyObject * obj1 = 0 ;
21735 char *kwnames[] = {
21736 (char *) "self",(char *) "other", NULL
21737 };
21738
21739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
21740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21741 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21742 if (arg2 == NULL) {
21743 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21744 }
21745 {
21746 PyThreadState* __tstate = wxPyBeginAllowThreads();
21747 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const &)*arg2);
21748
21749 wxPyEndAllowThreads(__tstate);
21750 if (PyErr_Occurred()) SWIG_fail;
21751 }
4e760a36 21752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21753 return resultobj;
21754 fail:
21755 return NULL;
21756}
21757
21758
21759static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
21760 PyObject *resultobj;
21761 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21762 wxTimeSpan *arg2 = 0 ;
21763 bool result;
21764 PyObject * obj0 = 0 ;
21765 PyObject * obj1 = 0 ;
21766 char *kwnames[] = {
21767 (char *) "self",(char *) "other", NULL
21768 };
21769
21770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
21771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21772 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21773 if (arg2 == NULL) {
21774 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21775 }
21776 {
21777 PyThreadState* __tstate = wxPyBeginAllowThreads();
21778 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const &)*arg2);
21779
21780 wxPyEndAllowThreads(__tstate);
21781 if (PyErr_Occurred()) SWIG_fail;
21782 }
4e760a36 21783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21784 return resultobj;
21785 fail:
21786 return NULL;
21787}
21788
21789
21790static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
21791 PyObject *resultobj;
21792 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21793 wxTimeSpan *arg2 = 0 ;
21794 bool result;
21795 PyObject * obj0 = 0 ;
21796 PyObject * obj1 = 0 ;
21797 char *kwnames[] = {
21798 (char *) "self",(char *) "other", NULL
21799 };
21800
21801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
21802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21803 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21804 if (arg2 == NULL) {
21805 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21806 }
21807 {
21808 PyThreadState* __tstate = wxPyBeginAllowThreads();
21809 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const &)*arg2);
21810
21811 wxPyEndAllowThreads(__tstate);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 }
4e760a36 21814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21815 return resultobj;
21816 fail:
21817 return NULL;
21818}
21819
21820
21821static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
21822 PyObject *resultobj;
21823 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21824 bool result;
21825 PyObject * obj0 = 0 ;
21826 char *kwnames[] = {
21827 (char *) "self", NULL
21828 };
21829
21830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
21831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21832 {
21833 PyThreadState* __tstate = wxPyBeginAllowThreads();
21834 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
21835
21836 wxPyEndAllowThreads(__tstate);
21837 if (PyErr_Occurred()) SWIG_fail;
21838 }
4e760a36 21839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21840 return resultobj;
21841 fail:
21842 return NULL;
21843}
21844
21845
21846static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
21847 PyObject *resultobj;
21848 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21849 bool result;
21850 PyObject * obj0 = 0 ;
21851 char *kwnames[] = {
21852 (char *) "self", NULL
21853 };
21854
21855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
21856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21857 {
21858 PyThreadState* __tstate = wxPyBeginAllowThreads();
21859 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
21860
21861 wxPyEndAllowThreads(__tstate);
21862 if (PyErr_Occurred()) SWIG_fail;
21863 }
4e760a36 21864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21865 return resultobj;
21866 fail:
21867 return NULL;
21868}
21869
21870
21871static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
21872 PyObject *resultobj;
21873 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21874 bool result;
21875 PyObject * obj0 = 0 ;
21876 char *kwnames[] = {
21877 (char *) "self", NULL
21878 };
21879
21880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
21881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21882 {
21883 PyThreadState* __tstate = wxPyBeginAllowThreads();
21884 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
21885
21886 wxPyEndAllowThreads(__tstate);
21887 if (PyErr_Occurred()) SWIG_fail;
21888 }
4e760a36 21889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21890 return resultobj;
21891 fail:
21892 return NULL;
21893}
21894
21895
21896static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21897 PyObject *resultobj;
21898 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21899 wxTimeSpan *arg2 = 0 ;
21900 bool result;
21901 PyObject * obj0 = 0 ;
21902 PyObject * obj1 = 0 ;
21903 char *kwnames[] = {
21904 (char *) "self",(char *) "ts", NULL
21905 };
21906
21907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
21908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21909 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21910 if (arg2 == NULL) {
21911 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21912 }
21913 {
21914 PyThreadState* __tstate = wxPyBeginAllowThreads();
21915 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
21916
21917 wxPyEndAllowThreads(__tstate);
21918 if (PyErr_Occurred()) SWIG_fail;
21919 }
4e760a36 21920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21921 return resultobj;
21922 fail:
21923 return NULL;
21924}
21925
21926
21927static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
21928 PyObject *resultobj;
21929 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21930 wxTimeSpan *arg2 = 0 ;
21931 bool result;
21932 PyObject * obj0 = 0 ;
21933 PyObject * obj1 = 0 ;
21934 char *kwnames[] = {
21935 (char *) "self",(char *) "ts", NULL
21936 };
21937
21938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
21939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21940 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21941 if (arg2 == NULL) {
21942 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21943 }
21944 {
21945 PyThreadState* __tstate = wxPyBeginAllowThreads();
21946 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
21947
21948 wxPyEndAllowThreads(__tstate);
21949 if (PyErr_Occurred()) SWIG_fail;
21950 }
4e760a36 21951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21952 return resultobj;
21953 fail:
21954 return NULL;
21955}
21956
21957
21958static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
21959 PyObject *resultobj;
21960 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21961 wxTimeSpan *arg2 = 0 ;
21962 bool result;
21963 PyObject * obj0 = 0 ;
21964 PyObject * obj1 = 0 ;
21965 char *kwnames[] = {
21966 (char *) "self",(char *) "t", NULL
21967 };
21968
21969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
21970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21971 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21972 if (arg2 == NULL) {
21973 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21974 }
21975 {
21976 PyThreadState* __tstate = wxPyBeginAllowThreads();
21977 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
21978
21979 wxPyEndAllowThreads(__tstate);
21980 if (PyErr_Occurred()) SWIG_fail;
21981 }
4e760a36 21982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21983 return resultobj;
21984 fail:
21985 return NULL;
21986}
21987
21988
21989static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
21990 PyObject *resultobj;
21991 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21992 int result;
21993 PyObject * obj0 = 0 ;
21994 char *kwnames[] = {
21995 (char *) "self", NULL
21996 };
21997
21998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
21999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22000 {
22001 PyThreadState* __tstate = wxPyBeginAllowThreads();
22002 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
22003
22004 wxPyEndAllowThreads(__tstate);
22005 if (PyErr_Occurred()) SWIG_fail;
22006 }
8edf1c75 22007 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22008 return resultobj;
22009 fail:
22010 return NULL;
22011}
22012
22013
22014static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22015 PyObject *resultobj;
22016 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22017 int result;
22018 PyObject * obj0 = 0 ;
22019 char *kwnames[] = {
22020 (char *) "self", NULL
22021 };
22022
22023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
22024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22025 {
22026 PyThreadState* __tstate = wxPyBeginAllowThreads();
22027 result = (int)((wxTimeSpan const *)arg1)->GetDays();
22028
22029 wxPyEndAllowThreads(__tstate);
22030 if (PyErr_Occurred()) SWIG_fail;
22031 }
8edf1c75 22032 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22033 return resultobj;
22034 fail:
22035 return NULL;
22036}
22037
22038
22039static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
22040 PyObject *resultobj;
22041 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22042 int result;
22043 PyObject * obj0 = 0 ;
22044 char *kwnames[] = {
22045 (char *) "self", NULL
22046 };
22047
22048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
22049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22050 {
22051 PyThreadState* __tstate = wxPyBeginAllowThreads();
22052 result = (int)((wxTimeSpan const *)arg1)->GetHours();
22053
22054 wxPyEndAllowThreads(__tstate);
22055 if (PyErr_Occurred()) SWIG_fail;
22056 }
8edf1c75 22057 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22058 return resultobj;
22059 fail:
22060 return NULL;
22061}
22062
22063
22064static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
22065 PyObject *resultobj;
22066 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22067 int result;
22068 PyObject * obj0 = 0 ;
22069 char *kwnames[] = {
22070 (char *) "self", NULL
22071 };
22072
22073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
22074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22075 {
22076 PyThreadState* __tstate = wxPyBeginAllowThreads();
22077 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
22078
22079 wxPyEndAllowThreads(__tstate);
22080 if (PyErr_Occurred()) SWIG_fail;
22081 }
8edf1c75 22082 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22083 return resultobj;
22084 fail:
22085 return NULL;
22086}
22087
22088
22089static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22090 PyObject *resultobj;
22091 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22092 wxLongLong result;
22093 PyObject * obj0 = 0 ;
22094 char *kwnames[] = {
22095 (char *) "self", NULL
22096 };
22097
22098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
22099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22100 {
22101 PyThreadState* __tstate = wxPyBeginAllowThreads();
22102 result = ((wxTimeSpan const *)arg1)->GetSeconds();
22103
22104 wxPyEndAllowThreads(__tstate);
22105 if (PyErr_Occurred()) SWIG_fail;
22106 }
22107 {
22108 PyObject *hi, *lo, *shifter, *shifted;
22109 hi = PyLong_FromLong( (&result)->GetHi() );
22110 lo = PyLong_FromLong( (&result)->GetLo() );
22111 shifter = PyLong_FromLong(32);
22112 shifted = PyNumber_Lshift(hi, shifter);
22113 resultobj = PyNumber_Or(shifted, lo);
22114 Py_DECREF(hi);
22115 Py_DECREF(lo);
22116 Py_DECREF(shifter);
22117 Py_DECREF(shifted);
22118 }
22119 return resultobj;
22120 fail:
22121 return NULL;
22122}
22123
22124
22125static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22126 PyObject *resultobj;
22127 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22128 wxLongLong result;
22129 PyObject * obj0 = 0 ;
22130 char *kwnames[] = {
22131 (char *) "self", NULL
22132 };
22133
22134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
22135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22136 {
22137 PyThreadState* __tstate = wxPyBeginAllowThreads();
22138 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
22139
22140 wxPyEndAllowThreads(__tstate);
22141 if (PyErr_Occurred()) SWIG_fail;
22142 }
22143 {
22144 PyObject *hi, *lo, *shifter, *shifted;
22145 hi = PyLong_FromLong( (&result)->GetHi() );
22146 lo = PyLong_FromLong( (&result)->GetLo() );
22147 shifter = PyLong_FromLong(32);
22148 shifted = PyNumber_Lshift(hi, shifter);
22149 resultobj = PyNumber_Or(shifted, lo);
22150 Py_DECREF(hi);
22151 Py_DECREF(lo);
22152 Py_DECREF(shifter);
22153 Py_DECREF(shifted);
22154 }
22155 return resultobj;
22156 fail:
22157 return NULL;
22158}
22159
22160
22161static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
22162 PyObject *resultobj;
22163 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22164 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
22165 wxString *arg2 = (wxString *) &arg2_defvalue ;
22166 wxString result;
423f194a 22167 bool temp2 = False ;
d14a1e28
RD
22168 PyObject * obj0 = 0 ;
22169 PyObject * obj1 = 0 ;
22170 char *kwnames[] = {
22171 (char *) "self",(char *) "format", NULL
22172 };
22173
22174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
22175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22176 if (obj1) {
22177 {
22178 arg2 = wxString_in_helper(obj1);
22179 if (arg2 == NULL) SWIG_fail;
423f194a 22180 temp2 = True;
d14a1e28
RD
22181 }
22182 }
22183 {
22184 PyThreadState* __tstate = wxPyBeginAllowThreads();
22185 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
22186
22187 wxPyEndAllowThreads(__tstate);
22188 if (PyErr_Occurred()) SWIG_fail;
22189 }
22190 {
22191#if wxUSE_UNICODE
22192 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22193#else
22194 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22195#endif
22196 }
22197 {
22198 if (temp2)
22199 delete arg2;
22200 }
22201 return resultobj;
22202 fail:
22203 {
22204 if (temp2)
22205 delete arg2;
22206 }
22207 return NULL;
22208}
22209
22210
22211static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
22212 PyObject *obj;
22213 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22214 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
22215 Py_INCREF(obj);
22216 return Py_BuildValue((char *)"");
22217}
22218static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22219 PyObject *resultobj;
22220 int arg1 = (int) 0 ;
22221 int arg2 = (int) 0 ;
22222 int arg3 = (int) 0 ;
22223 int arg4 = (int) 0 ;
22224 wxDateSpan *result;
8edf1c75
RD
22225 PyObject * obj0 = 0 ;
22226 PyObject * obj1 = 0 ;
22227 PyObject * obj2 = 0 ;
22228 PyObject * obj3 = 0 ;
d14a1e28
RD
22229 char *kwnames[] = {
22230 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22231 };
22232
8edf1c75
RD
22233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22234 if (obj0) {
22235 {
22236 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22237 if (PyErr_Occurred()) SWIG_fail;
22238 }
22239 }
22240 if (obj1) {
22241 {
22242 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22243 if (PyErr_Occurred()) SWIG_fail;
22244 }
22245 }
22246 if (obj2) {
22247 {
22248 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22249 if (PyErr_Occurred()) SWIG_fail;
22250 }
22251 }
22252 if (obj3) {
22253 {
22254 arg4 = (int) SWIG_PyObj_AsInt(obj3);
22255 if (PyErr_Occurred()) SWIG_fail;
22256 }
22257 }
d14a1e28
RD
22258 {
22259 PyThreadState* __tstate = wxPyBeginAllowThreads();
22260 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
22261
22262 wxPyEndAllowThreads(__tstate);
22263 if (PyErr_Occurred()) SWIG_fail;
22264 }
22265 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 1);
22266 return resultobj;
22267 fail:
22268 return NULL;
22269}
22270
22271
22272static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22273 PyObject *resultobj;
22274 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22275 PyObject * obj0 = 0 ;
22276 char *kwnames[] = {
22277 (char *) "self", NULL
22278 };
22279
22280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
22281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22282 {
22283 PyThreadState* __tstate = wxPyBeginAllowThreads();
22284 delete arg1;
22285
22286 wxPyEndAllowThreads(__tstate);
22287 if (PyErr_Occurred()) SWIG_fail;
22288 }
22289 Py_INCREF(Py_None); resultobj = Py_None;
22290 return resultobj;
22291 fail:
22292 return NULL;
22293}
22294
22295
22296static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
22297 PyObject *resultobj;
22298 int arg1 ;
22299 wxDateSpan result;
8edf1c75 22300 PyObject * obj0 = 0 ;
d14a1e28
RD
22301 char *kwnames[] = {
22302 (char *) "days", NULL
22303 };
22304
8edf1c75
RD
22305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
22306 {
22307 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22308 if (PyErr_Occurred()) SWIG_fail;
22309 }
d14a1e28
RD
22310 {
22311 PyThreadState* __tstate = wxPyBeginAllowThreads();
22312 result = wxDateSpan::Days(arg1);
22313
22314 wxPyEndAllowThreads(__tstate);
22315 if (PyErr_Occurred()) SWIG_fail;
22316 }
22317 {
22318 wxDateSpan * resultptr;
22319 resultptr = new wxDateSpan((wxDateSpan &) result);
22320 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22321 }
22322 return resultobj;
22323 fail:
22324 return NULL;
22325}
22326
22327
22328static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
22329 PyObject *resultobj;
22330 wxDateSpan result;
22331 char *kwnames[] = {
22332 NULL
22333 };
22334
22335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
22336 {
22337 PyThreadState* __tstate = wxPyBeginAllowThreads();
22338 result = wxDateSpan::Day();
22339
22340 wxPyEndAllowThreads(__tstate);
22341 if (PyErr_Occurred()) SWIG_fail;
22342 }
22343 {
22344 wxDateSpan * resultptr;
22345 resultptr = new wxDateSpan((wxDateSpan &) result);
22346 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22347 }
22348 return resultobj;
22349 fail:
22350 return NULL;
22351}
22352
22353
22354static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22355 PyObject *resultobj;
22356 int arg1 ;
22357 wxDateSpan result;
8edf1c75 22358 PyObject * obj0 = 0 ;
d14a1e28
RD
22359 char *kwnames[] = {
22360 (char *) "weeks", NULL
22361 };
22362
8edf1c75
RD
22363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
22364 {
22365 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22366 if (PyErr_Occurred()) SWIG_fail;
22367 }
d14a1e28
RD
22368 {
22369 PyThreadState* __tstate = wxPyBeginAllowThreads();
22370 result = wxDateSpan::Weeks(arg1);
22371
22372 wxPyEndAllowThreads(__tstate);
22373 if (PyErr_Occurred()) SWIG_fail;
22374 }
22375 {
22376 wxDateSpan * resultptr;
22377 resultptr = new wxDateSpan((wxDateSpan &) result);
22378 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22379 }
22380 return resultobj;
22381 fail:
22382 return NULL;
22383}
22384
22385
22386static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
22387 PyObject *resultobj;
22388 wxDateSpan result;
22389 char *kwnames[] = {
22390 NULL
22391 };
22392
22393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
22394 {
22395 PyThreadState* __tstate = wxPyBeginAllowThreads();
22396 result = wxDateSpan::Week();
22397
22398 wxPyEndAllowThreads(__tstate);
22399 if (PyErr_Occurred()) SWIG_fail;
22400 }
22401 {
22402 wxDateSpan * resultptr;
22403 resultptr = new wxDateSpan((wxDateSpan &) result);
22404 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22405 }
22406 return resultobj;
22407 fail:
22408 return NULL;
22409}
22410
22411
22412static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
22413 PyObject *resultobj;
22414 int arg1 ;
22415 wxDateSpan result;
8edf1c75 22416 PyObject * obj0 = 0 ;
d14a1e28
RD
22417 char *kwnames[] = {
22418 (char *) "mon", NULL
22419 };
22420
8edf1c75
RD
22421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
22422 {
22423 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22424 if (PyErr_Occurred()) SWIG_fail;
22425 }
d14a1e28
RD
22426 {
22427 PyThreadState* __tstate = wxPyBeginAllowThreads();
22428 result = wxDateSpan::Months(arg1);
22429
22430 wxPyEndAllowThreads(__tstate);
22431 if (PyErr_Occurred()) SWIG_fail;
22432 }
22433 {
22434 wxDateSpan * resultptr;
22435 resultptr = new wxDateSpan((wxDateSpan &) result);
22436 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22437 }
22438 return resultobj;
22439 fail:
22440 return NULL;
22441}
22442
22443
22444static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
22445 PyObject *resultobj;
22446 wxDateSpan result;
22447 char *kwnames[] = {
22448 NULL
22449 };
22450
22451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
22452 {
22453 PyThreadState* __tstate = wxPyBeginAllowThreads();
22454 result = wxDateSpan::Month();
22455
22456 wxPyEndAllowThreads(__tstate);
22457 if (PyErr_Occurred()) SWIG_fail;
22458 }
22459 {
22460 wxDateSpan * resultptr;
22461 resultptr = new wxDateSpan((wxDateSpan &) result);
22462 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22463 }
22464 return resultobj;
22465 fail:
22466 return NULL;
22467}
22468
22469
22470static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
22471 PyObject *resultobj;
22472 int arg1 ;
22473 wxDateSpan result;
8edf1c75 22474 PyObject * obj0 = 0 ;
d14a1e28
RD
22475 char *kwnames[] = {
22476 (char *) "years", NULL
22477 };
22478
8edf1c75
RD
22479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
22480 {
22481 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22482 if (PyErr_Occurred()) SWIG_fail;
22483 }
d14a1e28
RD
22484 {
22485 PyThreadState* __tstate = wxPyBeginAllowThreads();
22486 result = wxDateSpan::Years(arg1);
22487
22488 wxPyEndAllowThreads(__tstate);
22489 if (PyErr_Occurred()) SWIG_fail;
22490 }
22491 {
22492 wxDateSpan * resultptr;
22493 resultptr = new wxDateSpan((wxDateSpan &) result);
22494 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22495 }
22496 return resultobj;
22497 fail:
22498 return NULL;
22499}
22500
22501
22502static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
22503 PyObject *resultobj;
22504 wxDateSpan result;
22505 char *kwnames[] = {
22506 NULL
22507 };
22508
22509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
22510 {
22511 PyThreadState* __tstate = wxPyBeginAllowThreads();
22512 result = wxDateSpan::Year();
22513
22514 wxPyEndAllowThreads(__tstate);
22515 if (PyErr_Occurred()) SWIG_fail;
22516 }
22517 {
22518 wxDateSpan * resultptr;
22519 resultptr = new wxDateSpan((wxDateSpan &) result);
22520 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22521 }
22522 return resultobj;
22523 fail:
22524 return NULL;
22525}
22526
22527
22528static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
22529 PyObject *resultobj;
22530 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22531 int arg2 ;
22532 wxDateSpan *result;
22533 PyObject * obj0 = 0 ;
8edf1c75 22534 PyObject * obj1 = 0 ;
d14a1e28
RD
22535 char *kwnames[] = {
22536 (char *) "self",(char *) "n", NULL
22537 };
22538
8edf1c75 22539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 22540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
22541 {
22542 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22543 if (PyErr_Occurred()) SWIG_fail;
22544 }
d14a1e28
RD
22545 {
22546 PyThreadState* __tstate = wxPyBeginAllowThreads();
22547 {
22548 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
22549 result = (wxDateSpan *) &_result_ref;
22550 }
22551
22552 wxPyEndAllowThreads(__tstate);
22553 if (PyErr_Occurred()) SWIG_fail;
22554 }
22555 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22556 return resultobj;
22557 fail:
22558 return NULL;
22559}
22560
22561
22562static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
22563 PyObject *resultobj;
22564 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22565 int arg2 ;
22566 wxDateSpan *result;
22567 PyObject * obj0 = 0 ;
8edf1c75 22568 PyObject * obj1 = 0 ;
d14a1e28
RD
22569 char *kwnames[] = {
22570 (char *) "self",(char *) "n", NULL
22571 };
22572
8edf1c75 22573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 22574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
22575 {
22576 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22577 if (PyErr_Occurred()) SWIG_fail;
22578 }
d14a1e28
RD
22579 {
22580 PyThreadState* __tstate = wxPyBeginAllowThreads();
22581 {
22582 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
22583 result = (wxDateSpan *) &_result_ref;
22584 }
22585
22586 wxPyEndAllowThreads(__tstate);
22587 if (PyErr_Occurred()) SWIG_fail;
22588 }
22589 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22590 return resultobj;
22591 fail:
22592 return NULL;
22593}
22594
22595
22596static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22597 PyObject *resultobj;
22598 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22599 int arg2 ;
22600 wxDateSpan *result;
22601 PyObject * obj0 = 0 ;
8edf1c75 22602 PyObject * obj1 = 0 ;
d14a1e28
RD
22603 char *kwnames[] = {
22604 (char *) "self",(char *) "n", NULL
22605 };
22606
8edf1c75 22607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 22608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
22609 {
22610 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22611 if (PyErr_Occurred()) SWIG_fail;
22612 }
d14a1e28
RD
22613 {
22614 PyThreadState* __tstate = wxPyBeginAllowThreads();
22615 {
22616 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
22617 result = (wxDateSpan *) &_result_ref;
22618 }
22619
22620 wxPyEndAllowThreads(__tstate);
22621 if (PyErr_Occurred()) SWIG_fail;
22622 }
22623 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22624 return resultobj;
22625 fail:
22626 return NULL;
22627}
22628
22629
22630static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22631 PyObject *resultobj;
22632 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22633 int arg2 ;
22634 wxDateSpan *result;
22635 PyObject * obj0 = 0 ;
8edf1c75 22636 PyObject * obj1 = 0 ;
d14a1e28
RD
22637 char *kwnames[] = {
22638 (char *) "self",(char *) "n", NULL
22639 };
22640
8edf1c75 22641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 22642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
22643 {
22644 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22645 if (PyErr_Occurred()) SWIG_fail;
22646 }
d14a1e28
RD
22647 {
22648 PyThreadState* __tstate = wxPyBeginAllowThreads();
22649 {
22650 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
22651 result = (wxDateSpan *) &_result_ref;
22652 }
22653
22654 wxPyEndAllowThreads(__tstate);
22655 if (PyErr_Occurred()) SWIG_fail;
22656 }
22657 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22658 return resultobj;
22659 fail:
22660 return NULL;
22661}
22662
22663
22664static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
22665 PyObject *resultobj;
22666 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22667 int result;
22668 PyObject * obj0 = 0 ;
22669 char *kwnames[] = {
22670 (char *) "self", NULL
22671 };
22672
22673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
22674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22675 {
22676 PyThreadState* __tstate = wxPyBeginAllowThreads();
22677 result = (int)((wxDateSpan const *)arg1)->GetYears();
22678
22679 wxPyEndAllowThreads(__tstate);
22680 if (PyErr_Occurred()) SWIG_fail;
22681 }
8edf1c75 22682 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22683 return resultobj;
22684 fail:
22685 return NULL;
22686}
22687
22688
22689static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
22690 PyObject *resultobj;
22691 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22692 int result;
22693 PyObject * obj0 = 0 ;
22694 char *kwnames[] = {
22695 (char *) "self", NULL
22696 };
22697
22698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
22699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22700 {
22701 PyThreadState* __tstate = wxPyBeginAllowThreads();
22702 result = (int)((wxDateSpan const *)arg1)->GetMonths();
22703
22704 wxPyEndAllowThreads(__tstate);
22705 if (PyErr_Occurred()) SWIG_fail;
22706 }
8edf1c75 22707 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22708 return resultobj;
22709 fail:
22710 return NULL;
22711}
22712
22713
22714static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22715 PyObject *resultobj;
22716 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22717 int result;
22718 PyObject * obj0 = 0 ;
22719 char *kwnames[] = {
22720 (char *) "self", NULL
22721 };
22722
22723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
22724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22725 {
22726 PyThreadState* __tstate = wxPyBeginAllowThreads();
22727 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
22728
22729 wxPyEndAllowThreads(__tstate);
22730 if (PyErr_Occurred()) SWIG_fail;
22731 }
8edf1c75 22732 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22733 return resultobj;
22734 fail:
22735 return NULL;
22736}
22737
22738
22739static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22740 PyObject *resultobj;
22741 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22742 int result;
22743 PyObject * obj0 = 0 ;
22744 char *kwnames[] = {
22745 (char *) "self", NULL
22746 };
22747
22748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
22749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22750 {
22751 PyThreadState* __tstate = wxPyBeginAllowThreads();
22752 result = (int)((wxDateSpan const *)arg1)->GetDays();
22753
22754 wxPyEndAllowThreads(__tstate);
22755 if (PyErr_Occurred()) SWIG_fail;
22756 }
8edf1c75 22757 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22758 return resultobj;
22759 fail:
22760 return NULL;
22761}
22762
22763
22764static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22765 PyObject *resultobj;
22766 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22767 int result;
22768 PyObject * obj0 = 0 ;
22769 char *kwnames[] = {
22770 (char *) "self", NULL
22771 };
22772
22773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
22774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22775 {
22776 PyThreadState* __tstate = wxPyBeginAllowThreads();
22777 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
22778
22779 wxPyEndAllowThreads(__tstate);
22780 if (PyErr_Occurred()) SWIG_fail;
22781 }
8edf1c75 22782 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22783 return resultobj;
22784 fail:
22785 return NULL;
22786}
22787
22788
22789static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
22790 PyObject *resultobj;
22791 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22792 wxDateSpan *arg2 = 0 ;
22793 wxDateSpan *result;
22794 PyObject * obj0 = 0 ;
22795 PyObject * obj1 = 0 ;
22796 char *kwnames[] = {
22797 (char *) "self",(char *) "other", NULL
22798 };
22799
22800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
22801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22802 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22803 if (arg2 == NULL) {
22804 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22805 }
22806 {
22807 PyThreadState* __tstate = wxPyBeginAllowThreads();
22808 {
22809 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
22810 result = (wxDateSpan *) &_result_ref;
22811 }
22812
22813 wxPyEndAllowThreads(__tstate);
22814 if (PyErr_Occurred()) SWIG_fail;
22815 }
22816 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22817 return resultobj;
22818 fail:
22819 return NULL;
22820}
22821
22822
22823static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
22824 PyObject *resultobj;
22825 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22826 wxDateSpan *arg2 = 0 ;
22827 wxDateSpan *result;
22828 PyObject * obj0 = 0 ;
22829 PyObject * obj1 = 0 ;
22830 char *kwnames[] = {
22831 (char *) "self",(char *) "other", NULL
22832 };
22833
22834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
22835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22836 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22837 if (arg2 == NULL) {
22838 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22839 }
22840 {
22841 PyThreadState* __tstate = wxPyBeginAllowThreads();
22842 {
22843 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
22844 result = (wxDateSpan *) &_result_ref;
22845 }
22846
22847 wxPyEndAllowThreads(__tstate);
22848 if (PyErr_Occurred()) SWIG_fail;
22849 }
22850 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22851 return resultobj;
22852 fail:
22853 return NULL;
22854}
22855
22856
22857static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
22858 PyObject *resultobj;
22859 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22860 wxDateSpan *result;
22861 PyObject * obj0 = 0 ;
22862 char *kwnames[] = {
22863 (char *) "self", NULL
22864 };
22865
22866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
22867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22868 {
22869 PyThreadState* __tstate = wxPyBeginAllowThreads();
22870 {
22871 wxDateSpan &_result_ref = (arg1)->Neg();
22872 result = (wxDateSpan *) &_result_ref;
22873 }
22874
22875 wxPyEndAllowThreads(__tstate);
22876 if (PyErr_Occurred()) SWIG_fail;
22877 }
22878 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22879 return resultobj;
22880 fail:
22881 return NULL;
22882}
22883
22884
22885static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
22886 PyObject *resultobj;
22887 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22888 int arg2 ;
22889 wxDateSpan *result;
22890 PyObject * obj0 = 0 ;
8edf1c75 22891 PyObject * obj1 = 0 ;
d14a1e28
RD
22892 char *kwnames[] = {
22893 (char *) "self",(char *) "factor", NULL
22894 };
22895
8edf1c75 22896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 22897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
22898 {
22899 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22900 if (PyErr_Occurred()) SWIG_fail;
22901 }
d14a1e28
RD
22902 {
22903 PyThreadState* __tstate = wxPyBeginAllowThreads();
22904 {
22905 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
22906 result = (wxDateSpan *) &_result_ref;
22907 }
22908
22909 wxPyEndAllowThreads(__tstate);
22910 if (PyErr_Occurred()) SWIG_fail;
22911 }
22912 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22913 return resultobj;
22914 fail:
22915 return NULL;
22916}
22917
22918
22919static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
22920 PyObject *resultobj;
22921 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22922 wxDateSpan *arg2 = 0 ;
22923 wxDateSpan *result;
22924 PyObject * obj0 = 0 ;
22925 PyObject * obj1 = 0 ;
22926 char *kwnames[] = {
22927 (char *) "self",(char *) "other", NULL
22928 };
22929
22930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
22931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22933 if (arg2 == NULL) {
22934 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22935 }
22936 {
22937 PyThreadState* __tstate = wxPyBeginAllowThreads();
22938 {
22939 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
22940 result = (wxDateSpan *) &_result_ref;
22941 }
22942
22943 wxPyEndAllowThreads(__tstate);
22944 if (PyErr_Occurred()) SWIG_fail;
22945 }
22946 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22947 return resultobj;
22948 fail:
22949 return NULL;
22950}
22951
22952
22953static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
22954 PyObject *resultobj;
22955 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22956 wxDateSpan *arg2 = 0 ;
22957 wxDateSpan *result;
22958 PyObject * obj0 = 0 ;
22959 PyObject * obj1 = 0 ;
22960 char *kwnames[] = {
22961 (char *) "self",(char *) "other", NULL
22962 };
22963
22964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
22965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22966 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22967 if (arg2 == NULL) {
22968 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22969 }
22970 {
22971 PyThreadState* __tstate = wxPyBeginAllowThreads();
22972 {
22973 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
22974 result = (wxDateSpan *) &_result_ref;
22975 }
22976
22977 wxPyEndAllowThreads(__tstate);
22978 if (PyErr_Occurred()) SWIG_fail;
22979 }
22980 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22981 return resultobj;
22982 fail:
22983 return NULL;
22984}
22985
22986
22987static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
22988 PyObject *resultobj;
22989 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22990 wxDateSpan *result;
22991 PyObject * obj0 = 0 ;
22992 char *kwnames[] = {
22993 (char *) "self", NULL
22994 };
22995
22996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
22997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22998 {
22999 PyThreadState* __tstate = wxPyBeginAllowThreads();
23000 {
23001 wxDateSpan &_result_ref = (arg1)->operator -();
23002 result = (wxDateSpan *) &_result_ref;
23003 }
23004
23005 wxPyEndAllowThreads(__tstate);
23006 if (PyErr_Occurred()) SWIG_fail;
23007 }
23008 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
23009 return resultobj;
23010 fail:
23011 return NULL;
23012}
23013
23014
23015static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23016 PyObject *resultobj;
23017 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23018 int arg2 ;
23019 wxDateSpan *result;
23020 PyObject * obj0 = 0 ;
8edf1c75 23021 PyObject * obj1 = 0 ;
d14a1e28
RD
23022 char *kwnames[] = {
23023 (char *) "self",(char *) "factor", NULL
23024 };
23025
8edf1c75 23026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 23027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
23028 {
23029 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23030 if (PyErr_Occurred()) SWIG_fail;
23031 }
d14a1e28
RD
23032 {
23033 PyThreadState* __tstate = wxPyBeginAllowThreads();
23034 {
23035 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
23036 result = (wxDateSpan *) &_result_ref;
23037 }
23038
23039 wxPyEndAllowThreads(__tstate);
23040 if (PyErr_Occurred()) SWIG_fail;
23041 }
23042 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
23043 return resultobj;
23044 fail:
23045 return NULL;
23046}
23047
23048
23049static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
23050 PyObject *resultobj;
23051 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23052 wxDateSpan *arg2 = 0 ;
23053 wxDateSpan result;
23054 PyObject * obj0 = 0 ;
23055 PyObject * obj1 = 0 ;
23056 char *kwnames[] = {
23057 (char *) "self",(char *) "other", NULL
23058 };
23059
23060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
23061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23062 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23063 if (arg2 == NULL) {
23064 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23065 }
23066 {
23067 PyThreadState* __tstate = wxPyBeginAllowThreads();
23068 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
23069
23070 wxPyEndAllowThreads(__tstate);
23071 if (PyErr_Occurred()) SWIG_fail;
23072 }
23073 {
23074 wxDateSpan * resultptr;
23075 resultptr = new wxDateSpan((wxDateSpan &) result);
23076 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
23077 }
23078 return resultobj;
23079 fail:
23080 return NULL;
23081}
23082
23083
23084static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23085 PyObject *resultobj;
23086 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23087 wxDateSpan *arg2 = 0 ;
23088 wxDateSpan result;
23089 PyObject * obj0 = 0 ;
23090 PyObject * obj1 = 0 ;
23091 char *kwnames[] = {
23092 (char *) "self",(char *) "other", NULL
23093 };
23094
23095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
23096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23097 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23098 if (arg2 == NULL) {
23099 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23100 }
23101 {
23102 PyThreadState* __tstate = wxPyBeginAllowThreads();
23103 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
23104
23105 wxPyEndAllowThreads(__tstate);
23106 if (PyErr_Occurred()) SWIG_fail;
23107 }
23108 {
23109 wxDateSpan * resultptr;
23110 resultptr = new wxDateSpan((wxDateSpan &) result);
23111 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
23112 }
23113 return resultobj;
23114 fail:
23115 return NULL;
23116}
23117
23118
23119static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23120 PyObject *resultobj;
23121 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23122 int arg2 ;
23123 wxDateSpan result;
23124 PyObject * obj0 = 0 ;
8edf1c75 23125 PyObject * obj1 = 0 ;
d14a1e28
RD
23126 char *kwnames[] = {
23127 (char *) "self",(char *) "n", NULL
23128 };
23129
8edf1c75 23130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 23131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
23132 {
23133 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23134 if (PyErr_Occurred()) SWIG_fail;
23135 }
d14a1e28
RD
23136 {
23137 PyThreadState* __tstate = wxPyBeginAllowThreads();
23138 result = wxDateSpan___mul__(arg1,arg2);
23139
23140 wxPyEndAllowThreads(__tstate);
23141 if (PyErr_Occurred()) SWIG_fail;
23142 }
23143 {
23144 wxDateSpan * resultptr;
23145 resultptr = new wxDateSpan((wxDateSpan &) result);
23146 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
23147 }
23148 return resultobj;
23149 fail:
23150 return NULL;
23151}
23152
23153
23154static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23155 PyObject *resultobj;
23156 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23157 int arg2 ;
23158 wxDateSpan result;
23159 PyObject * obj0 = 0 ;
8edf1c75 23160 PyObject * obj1 = 0 ;
d14a1e28
RD
23161 char *kwnames[] = {
23162 (char *) "self",(char *) "n", NULL
23163 };
23164
8edf1c75 23165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 23166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
23167 {
23168 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23169 if (PyErr_Occurred()) SWIG_fail;
23170 }
d14a1e28
RD
23171 {
23172 PyThreadState* __tstate = wxPyBeginAllowThreads();
23173 result = wxDateSpan___rmul__(arg1,arg2);
23174
23175 wxPyEndAllowThreads(__tstate);
23176 if (PyErr_Occurred()) SWIG_fail;
23177 }
23178 {
23179 wxDateSpan * resultptr;
23180 resultptr = new wxDateSpan((wxDateSpan &) result);
23181 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
23182 }
23183 return resultobj;
23184 fail:
23185 return NULL;
23186}
23187
23188
23189static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23190 PyObject *resultobj;
23191 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23192 wxDateSpan *arg2 = 0 ;
23193 bool result;
23194 PyObject * obj0 = 0 ;
23195 PyObject * obj1 = 0 ;
23196 char *kwnames[] = {
23197 (char *) "self",(char *) "other", NULL
23198 };
23199
23200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
23201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23202 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23203 if (arg2 == NULL) {
23204 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23205 }
23206 {
23207 PyThreadState* __tstate = wxPyBeginAllowThreads();
23208 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const &)*arg2);
23209
23210 wxPyEndAllowThreads(__tstate);
23211 if (PyErr_Occurred()) SWIG_fail;
23212 }
4e760a36 23213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23214 return resultobj;
23215 fail:
23216 return NULL;
23217}
23218
23219
23220static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23221 PyObject *resultobj;
23222 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23223 wxDateSpan *arg2 = 0 ;
23224 bool result;
23225 PyObject * obj0 = 0 ;
23226 PyObject * obj1 = 0 ;
23227 char *kwnames[] = {
23228 (char *) "self",(char *) "other", NULL
23229 };
23230
23231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
23232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23233 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23234 if (arg2 == NULL) {
23235 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23236 }
23237 {
23238 PyThreadState* __tstate = wxPyBeginAllowThreads();
23239 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const &)*arg2);
23240
23241 wxPyEndAllowThreads(__tstate);
23242 if (PyErr_Occurred()) SWIG_fail;
23243 }
4e760a36 23244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23245 return resultobj;
23246 fail:
23247 return NULL;
23248}
23249
23250
23251static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
23252 PyObject *obj;
23253 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23254 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
23255 Py_INCREF(obj);
23256 return Py_BuildValue((char *)"");
23257}
23258static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23259 PyObject *resultobj;
23260 long result;
23261 char *kwnames[] = {
23262 NULL
23263 };
23264
23265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
23266 {
23267 PyThreadState* __tstate = wxPyBeginAllowThreads();
23268 result = (long)wxGetLocalTime();
23269
23270 wxPyEndAllowThreads(__tstate);
23271 if (PyErr_Occurred()) SWIG_fail;
23272 }
8edf1c75 23273 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
23274 return resultobj;
23275 fail:
23276 return NULL;
23277}
23278
23279
23280static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23281 PyObject *resultobj;
23282 long result;
23283 char *kwnames[] = {
23284 NULL
23285 };
23286
23287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
23288 {
23289 PyThreadState* __tstate = wxPyBeginAllowThreads();
23290 result = (long)wxGetUTCTime();
23291
23292 wxPyEndAllowThreads(__tstate);
23293 if (PyErr_Occurred()) SWIG_fail;
23294 }
8edf1c75 23295 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
23296 return resultobj;
23297 fail:
23298 return NULL;
23299}
23300
23301
23302static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23303 PyObject *resultobj;
23304 long result;
23305 char *kwnames[] = {
23306 NULL
23307 };
23308
23309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
23310 {
23311 PyThreadState* __tstate = wxPyBeginAllowThreads();
23312 result = (long)wxGetCurrentTime();
23313
23314 wxPyEndAllowThreads(__tstate);
23315 if (PyErr_Occurred()) SWIG_fail;
23316 }
8edf1c75 23317 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
23318 return resultobj;
23319 fail:
23320 return NULL;
23321}
23322
23323
23324static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
23325 PyObject *resultobj;
23326 wxLongLong result;
23327 char *kwnames[] = {
23328 NULL
23329 };
23330
23331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
23332 {
23333 PyThreadState* __tstate = wxPyBeginAllowThreads();
23334 result = wxGetLocalTimeMillis();
23335
23336 wxPyEndAllowThreads(__tstate);
23337 if (PyErr_Occurred()) SWIG_fail;
23338 }
23339 {
23340 PyObject *hi, *lo, *shifter, *shifted;
23341 hi = PyLong_FromLong( (&result)->GetHi() );
23342 lo = PyLong_FromLong( (&result)->GetLo() );
23343 shifter = PyLong_FromLong(32);
23344 shifted = PyNumber_Lshift(hi, shifter);
23345 resultobj = PyNumber_Or(shifted, lo);
23346 Py_DECREF(hi);
23347 Py_DECREF(lo);
23348 Py_DECREF(shifter);
23349 Py_DECREF(shifted);
23350 }
23351 return resultobj;
23352 fail:
23353 return NULL;
23354}
23355
23356
98e665d3
RD
23357static int _wrap_DefaultDateTime_set(PyObject *) {
23358 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
23359 return 1;
23360}
23361
23362
23363static PyObject *_wrap_DefaultDateTime_get() {
23364 PyObject *pyobj;
23365
23366 pyobj = SWIG_NewPointerObj((void *) &wxDefaultDateTime, SWIGTYPE_p_wxDateTime, 0);
23367 return pyobj;
23368}
23369
23370
d14a1e28
RD
23371static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23372 PyObject *resultobj;
23373 int arg1 ;
23374 wxDataFormat *result;
8edf1c75 23375 PyObject * obj0 = 0 ;
d14a1e28
RD
23376 char *kwnames[] = {
23377 (char *) "type", NULL
23378 };
23379
8edf1c75
RD
23380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
23381 {
23382 arg1 = (wxDataFormatId) SWIG_PyObj_AsInt(obj0);
23383 if (PyErr_Occurred()) SWIG_fail;
23384 }
d14a1e28
RD
23385 {
23386 PyThreadState* __tstate = wxPyBeginAllowThreads();
23387 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
23388
23389 wxPyEndAllowThreads(__tstate);
23390 if (PyErr_Occurred()) SWIG_fail;
23391 }
23392 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
23393 return resultobj;
23394 fail:
23395 return NULL;
23396}
23397
23398
23399static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23400 PyObject *resultobj;
23401 wxString *arg1 = 0 ;
23402 wxDataFormat *result;
423f194a 23403 bool temp1 = False ;
d14a1e28
RD
23404 PyObject * obj0 = 0 ;
23405 char *kwnames[] = {
23406 (char *) "format", NULL
23407 };
23408
23409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
23410 {
23411 arg1 = wxString_in_helper(obj0);
23412 if (arg1 == NULL) SWIG_fail;
423f194a 23413 temp1 = True;
d14a1e28
RD
23414 }
23415 {
23416 PyThreadState* __tstate = wxPyBeginAllowThreads();
23417 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
23418
23419 wxPyEndAllowThreads(__tstate);
23420 if (PyErr_Occurred()) SWIG_fail;
23421 }
23422 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
23423 {
23424 if (temp1)
23425 delete arg1;
23426 }
23427 return resultobj;
23428 fail:
23429 {
23430 if (temp1)
23431 delete arg1;
23432 }
23433 return NULL;
23434}
23435
23436
23437static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23438 PyObject *resultobj;
23439 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23440 PyObject * obj0 = 0 ;
23441 char *kwnames[] = {
23442 (char *) "self", NULL
23443 };
23444
23445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
23446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23447 {
23448 PyThreadState* __tstate = wxPyBeginAllowThreads();
23449 delete arg1;
23450
23451 wxPyEndAllowThreads(__tstate);
23452 if (PyErr_Occurred()) SWIG_fail;
23453 }
23454 Py_INCREF(Py_None); resultobj = Py_None;
23455 return resultobj;
23456 fail:
23457 return NULL;
23458}
23459
23460
23461static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
23462 PyObject *resultobj;
23463 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23464 int arg2 ;
23465 bool result;
23466 PyObject * obj0 = 0 ;
8edf1c75 23467 PyObject * obj1 = 0 ;
d14a1e28 23468
8edf1c75 23469 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
d14a1e28 23470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75 23471 {
db914595 23472 arg2 = (wxDataFormatId) SWIG_PyObj_AsInt(obj1);
8edf1c75
RD
23473 if (PyErr_Occurred()) SWIG_fail;
23474 }
d14a1e28
RD
23475 {
23476 PyThreadState* __tstate = wxPyBeginAllowThreads();
db914595 23477 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
d14a1e28
RD
23478
23479 wxPyEndAllowThreads(__tstate);
23480 if (PyErr_Occurred()) SWIG_fail;
23481 }
4e760a36 23482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23483 return resultobj;
23484 fail:
23485 return NULL;
23486}
23487
23488
23489static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
23490 PyObject *resultobj;
23491 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23492 int arg2 ;
23493 bool result;
23494 PyObject * obj0 = 0 ;
8edf1c75 23495 PyObject * obj1 = 0 ;
d14a1e28 23496
8edf1c75 23497 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
d14a1e28 23498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75 23499 {
db914595 23500 arg2 = (wxDataFormatId) SWIG_PyObj_AsInt(obj1);
8edf1c75
RD
23501 if (PyErr_Occurred()) SWIG_fail;
23502 }
d14a1e28
RD
23503 {
23504 PyThreadState* __tstate = wxPyBeginAllowThreads();
db914595 23505 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
d14a1e28
RD
23506
23507 wxPyEndAllowThreads(__tstate);
23508 if (PyErr_Occurred()) SWIG_fail;
23509 }
4e760a36 23510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23511 return resultobj;
23512 fail:
23513 return NULL;
23514}
23515
23516
23517static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
23518 PyObject *resultobj;
23519 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23520 wxDataFormat *arg2 = 0 ;
23521 bool result;
23522 PyObject * obj0 = 0 ;
23523 PyObject * obj1 = 0 ;
23524
23525 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
23526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23527 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23528 if (arg2 == NULL) {
23529 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23530 }
23531 {
23532 PyThreadState* __tstate = wxPyBeginAllowThreads();
23533 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
23534
23535 wxPyEndAllowThreads(__tstate);
23536 if (PyErr_Occurred()) SWIG_fail;
23537 }
4e760a36 23538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23539 return resultobj;
23540 fail:
23541 return NULL;
23542}
23543
23544
23545static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
23546 int argc;
23547 PyObject *argv[3];
23548 int ii;
23549
23550 argc = PyObject_Length(args);
23551 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23552 argv[ii] = PyTuple_GetItem(args,ii);
23553 }
23554 if (argc == 2) {
23555 int _v;
23556 {
23557 void *ptr;
23558 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23559 _v = 0;
23560 PyErr_Clear();
23561 } else {
23562 _v = 1;
23563 }
23564 }
23565 if (_v) {
23566 {
23567 void *ptr;
23568 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23569 _v = 0;
23570 PyErr_Clear();
23571 } else {
23572 _v = 1;
23573 }
23574 }
23575 if (_v) {
23576 return _wrap_DataFormat___eq____SWIG_1(self,args);
23577 }
23578 }
23579 }
23580 if (argc == 2) {
23581 int _v;
23582 {
23583 void *ptr;
23584 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23585 _v = 0;
23586 PyErr_Clear();
23587 } else {
23588 _v = 1;
23589 }
23590 }
23591 if (_v) {
23592 {
8edf1c75 23593 SWIG_PyObj_AsInt(argv[1]);
83448d71
RD
23594 if (PyErr_Occurred()) {
23595 _v = 0;
23596 PyErr_Clear();
23597 } else {
23598 _v = 1;
23599 }
d14a1e28
RD
23600 }
23601 if (_v) {
23602 return _wrap_DataFormat___eq____SWIG_0(self,args);
23603 }
23604 }
23605 }
23606
23607 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
23608 return NULL;
23609}
23610
23611
23612static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
23613 PyObject *resultobj;
23614 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23615 wxDataFormat *arg2 = 0 ;
23616 bool result;
23617 PyObject * obj0 = 0 ;
23618 PyObject * obj1 = 0 ;
23619
23620 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
23621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23622 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23623 if (arg2 == NULL) {
23624 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23625 }
23626 {
23627 PyThreadState* __tstate = wxPyBeginAllowThreads();
23628 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
23629
23630 wxPyEndAllowThreads(__tstate);
23631 if (PyErr_Occurred()) SWIG_fail;
23632 }
4e760a36 23633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23634 return resultobj;
23635 fail:
23636 return NULL;
23637}
23638
23639
23640static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
23641 int argc;
23642 PyObject *argv[3];
23643 int ii;
23644
23645 argc = PyObject_Length(args);
23646 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23647 argv[ii] = PyTuple_GetItem(args,ii);
23648 }
23649 if (argc == 2) {
23650 int _v;
23651 {
23652 void *ptr;
23653 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23654 _v = 0;
23655 PyErr_Clear();
23656 } else {
23657 _v = 1;
23658 }
23659 }
23660 if (_v) {
23661 {
23662 void *ptr;
23663 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23664 _v = 0;
23665 PyErr_Clear();
23666 } else {
23667 _v = 1;
23668 }
23669 }
23670 if (_v) {
23671 return _wrap_DataFormat___ne____SWIG_1(self,args);
23672 }
23673 }
23674 }
23675 if (argc == 2) {
23676 int _v;
23677 {
23678 void *ptr;
23679 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23680 _v = 0;
23681 PyErr_Clear();
23682 } else {
23683 _v = 1;
23684 }
23685 }
23686 if (_v) {
23687 {
8edf1c75 23688 SWIG_PyObj_AsInt(argv[1]);
83448d71
RD
23689 if (PyErr_Occurred()) {
23690 _v = 0;
23691 PyErr_Clear();
23692 } else {
23693 _v = 1;
23694 }
d14a1e28
RD
23695 }
23696 if (_v) {
23697 return _wrap_DataFormat___ne____SWIG_0(self,args);
23698 }
23699 }
23700 }
23701
23702 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
23703 return NULL;
23704}
23705
23706
23707static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
23708 PyObject *resultobj;
23709 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23710 int arg2 ;
23711 PyObject * obj0 = 0 ;
8edf1c75 23712 PyObject * obj1 = 0 ;
d14a1e28
RD
23713 char *kwnames[] = {
23714 (char *) "self",(char *) "format", NULL
23715 };
23716
8edf1c75 23717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 23718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
23719 {
23720 arg2 = (wxDataFormatId) SWIG_PyObj_AsInt(obj1);
23721 if (PyErr_Occurred()) SWIG_fail;
23722 }
d14a1e28
RD
23723 {
23724 PyThreadState* __tstate = wxPyBeginAllowThreads();
23725 (arg1)->SetType((wxDataFormatId )arg2);
23726
23727 wxPyEndAllowThreads(__tstate);
23728 if (PyErr_Occurred()) SWIG_fail;
23729 }
23730 Py_INCREF(Py_None); resultobj = Py_None;
23731 return resultobj;
23732 fail:
23733 return NULL;
23734}
23735
23736
23737static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
23738 PyObject *resultobj;
23739 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23740 int result;
23741 PyObject * obj0 = 0 ;
23742 char *kwnames[] = {
23743 (char *) "self", NULL
23744 };
23745
23746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
23747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23748 {
23749 PyThreadState* __tstate = wxPyBeginAllowThreads();
23750 result = (int)((wxDataFormat const *)arg1)->GetType();
23751
23752 wxPyEndAllowThreads(__tstate);
23753 if (PyErr_Occurred()) SWIG_fail;
23754 }
8edf1c75 23755 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
23756 return resultobj;
23757 fail:
23758 return NULL;
23759}
23760
23761
23762static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23763 PyObject *resultobj;
23764 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23765 wxString result;
23766 PyObject * obj0 = 0 ;
23767 char *kwnames[] = {
23768 (char *) "self", NULL
23769 };
23770
23771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
23772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23773 {
23774 PyThreadState* __tstate = wxPyBeginAllowThreads();
23775 result = ((wxDataFormat const *)arg1)->GetId();
23776
23777 wxPyEndAllowThreads(__tstate);
23778 if (PyErr_Occurred()) SWIG_fail;
23779 }
23780 {
23781#if wxUSE_UNICODE
23782 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23783#else
23784 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23785#endif
23786 }
23787 return resultobj;
23788 fail:
23789 return NULL;
23790}
23791
23792
23793static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23794 PyObject *resultobj;
23795 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23796 wxString *arg2 = 0 ;
423f194a 23797 bool temp2 = False ;
d14a1e28
RD
23798 PyObject * obj0 = 0 ;
23799 PyObject * obj1 = 0 ;
23800 char *kwnames[] = {
23801 (char *) "self",(char *) "format", NULL
23802 };
23803
23804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
23805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23806 {
23807 arg2 = wxString_in_helper(obj1);
23808 if (arg2 == NULL) SWIG_fail;
423f194a 23809 temp2 = True;
d14a1e28
RD
23810 }
23811 {
23812 PyThreadState* __tstate = wxPyBeginAllowThreads();
23813 (arg1)->SetId((wxString const &)*arg2);
23814
23815 wxPyEndAllowThreads(__tstate);
23816 if (PyErr_Occurred()) SWIG_fail;
23817 }
23818 Py_INCREF(Py_None); resultobj = Py_None;
23819 {
23820 if (temp2)
23821 delete arg2;
23822 }
23823 return resultobj;
23824 fail:
23825 {
23826 if (temp2)
23827 delete arg2;
23828 }
23829 return NULL;
23830}
23831
23832
23833static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
23834 PyObject *obj;
23835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23836 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
23837 Py_INCREF(obj);
23838 return Py_BuildValue((char *)"");
23839}
8edf1c75 23840static int _wrap_FormatInvalid_set(PyObject *) {
d14a1e28
RD
23841 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
23842 return 1;
23843}
23844
23845
23846static PyObject *_wrap_FormatInvalid_get() {
23847 PyObject *pyobj;
23848
23849 pyobj = SWIG_NewPointerObj((void *) &wxFormatInvalid, SWIGTYPE_p_wxDataFormat, 0);
23850 return pyobj;
23851}
23852
23853
23854static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23855 PyObject *resultobj;
23856 wxDataObject *arg1 = (wxDataObject *) 0 ;
23857 PyObject * obj0 = 0 ;
23858 char *kwnames[] = {
23859 (char *) "self", NULL
23860 };
23861
23862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
23863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23864 {
23865 PyThreadState* __tstate = wxPyBeginAllowThreads();
23866 delete arg1;
23867
23868 wxPyEndAllowThreads(__tstate);
23869 if (PyErr_Occurred()) SWIG_fail;
23870 }
23871 Py_INCREF(Py_None); resultobj = Py_None;
23872 return resultobj;
23873 fail:
23874 return NULL;
23875}
23876
23877
23878static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23879 PyObject *resultobj;
23880 wxDataObject *arg1 = (wxDataObject *) 0 ;
23881 int arg2 = (int) wxDataObject::Get ;
23882 SwigValueWrapper< wxDataFormat > result;
23883 PyObject * obj0 = 0 ;
8edf1c75 23884 PyObject * obj1 = 0 ;
d14a1e28
RD
23885 char *kwnames[] = {
23886 (char *) "self",(char *) "dir", NULL
23887 };
23888
8edf1c75 23889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 23890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
23891 if (obj1) {
23892 {
23893 arg2 = (wxDataObject::Direction) SWIG_PyObj_AsInt(obj1);
23894 if (PyErr_Occurred()) SWIG_fail;
23895 }
23896 }
d14a1e28
RD
23897 {
23898 PyThreadState* __tstate = wxPyBeginAllowThreads();
23899 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
23900
23901 wxPyEndAllowThreads(__tstate);
23902 if (PyErr_Occurred()) SWIG_fail;
23903 }
23904 {
23905 wxDataFormat * resultptr;
23906 resultptr = new wxDataFormat((wxDataFormat &) result);
23907 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDataFormat, 1);
23908 }
23909 return resultobj;
23910 fail:
23911 return NULL;
23912}
23913
23914
23915static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23916 PyObject *resultobj;
23917 wxDataObject *arg1 = (wxDataObject *) 0 ;
23918 int arg2 = (int) wxDataObject::Get ;
23919 size_t result;
23920 PyObject * obj0 = 0 ;
8edf1c75 23921 PyObject * obj1 = 0 ;
d14a1e28
RD
23922 char *kwnames[] = {
23923 (char *) "self",(char *) "dir", NULL
23924 };
23925
8edf1c75 23926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 23927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
23928 if (obj1) {
23929 {
23930 arg2 = (wxDataObject::Direction) SWIG_PyObj_AsInt(obj1);
23931 if (PyErr_Occurred()) SWIG_fail;
23932 }
23933 }
d14a1e28
RD
23934 {
23935 PyThreadState* __tstate = wxPyBeginAllowThreads();
23936 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
23937
23938 wxPyEndAllowThreads(__tstate);
23939 if (PyErr_Occurred()) SWIG_fail;
23940 }
8edf1c75 23941 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
23942 return resultobj;
23943 fail:
23944 return NULL;
23945}
23946
23947
23948static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
23949 PyObject *resultobj;
23950 wxDataObject *arg1 = (wxDataObject *) 0 ;
23951 wxDataFormat *arg2 = 0 ;
23952 int arg3 = (int) wxDataObject::Get ;
23953 bool result;
23954 PyObject * obj0 = 0 ;
23955 PyObject * obj1 = 0 ;
8edf1c75 23956 PyObject * obj2 = 0 ;
d14a1e28
RD
23957 char *kwnames[] = {
23958 (char *) "self",(char *) "format",(char *) "dir", NULL
23959 };
23960
8edf1c75 23961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
23962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23963 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23964 if (arg2 == NULL) {
23965 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23966 }
8edf1c75
RD
23967 if (obj2) {
23968 {
23969 arg3 = (wxDataObject::Direction) SWIG_PyObj_AsInt(obj2);
23970 if (PyErr_Occurred()) SWIG_fail;
23971 }
23972 }
d14a1e28
RD
23973 {
23974 PyThreadState* __tstate = wxPyBeginAllowThreads();
23975 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
23976
23977 wxPyEndAllowThreads(__tstate);
23978 if (PyErr_Occurred()) SWIG_fail;
23979 }
4e760a36 23980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23981 return resultobj;
23982 fail:
23983 return NULL;
23984}
23985
23986
23987static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23988 PyObject *resultobj;
23989 wxDataObject *arg1 = (wxDataObject *) 0 ;
23990 wxDataFormat *arg2 = 0 ;
23991 size_t result;
23992 PyObject * obj0 = 0 ;
23993 PyObject * obj1 = 0 ;
23994 char *kwnames[] = {
23995 (char *) "self",(char *) "format", NULL
23996 };
23997
23998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
23999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24000 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24001 if (arg2 == NULL) {
24002 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24003 }
24004 {
24005 PyThreadState* __tstate = wxPyBeginAllowThreads();
24006 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
24007
24008 wxPyEndAllowThreads(__tstate);
24009 if (PyErr_Occurred()) SWIG_fail;
24010 }
8edf1c75 24011 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
24012 return resultobj;
24013 fail:
24014 return NULL;
24015}
24016
24017
24018static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
24019 PyObject *resultobj;
24020 wxDataObject *arg1 = (wxDataObject *) 0 ;
24021 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
24022 int arg3 = (int) wxDataObject::Get ;
24023 PyObject * obj0 = 0 ;
24024 PyObject * obj1 = 0 ;
8edf1c75 24025 PyObject * obj2 = 0 ;
d14a1e28
RD
24026 char *kwnames[] = {
24027 (char *) "self",(char *) "formats",(char *) "dir", NULL
24028 };
24029
8edf1c75 24030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
24031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24032 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
24033 if (obj2) {
24034 {
24035 arg3 = (wxDataObject::Direction) SWIG_PyObj_AsInt(obj2);
24036 if (PyErr_Occurred()) SWIG_fail;
24037 }
24038 }
d14a1e28
RD
24039 {
24040 PyThreadState* __tstate = wxPyBeginAllowThreads();
24041 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
24042
24043 wxPyEndAllowThreads(__tstate);
24044 if (PyErr_Occurred()) SWIG_fail;
24045 }
24046 Py_INCREF(Py_None); resultobj = Py_None;
24047 return resultobj;
24048 fail:
24049 return NULL;
24050}
24051
24052
24053static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
24054 PyObject *resultobj;
24055 wxDataObject *arg1 = (wxDataObject *) 0 ;
24056 wxDataFormat *arg2 = 0 ;
24057 void *arg3 = (void *) 0 ;
24058 bool result;
24059 PyObject * obj0 = 0 ;
24060 PyObject * obj1 = 0 ;
24061 PyObject * obj2 = 0 ;
24062 char *kwnames[] = {
24063 (char *) "self",(char *) "format",(char *) "buf", NULL
24064 };
24065
24066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
24067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24068 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24069 if (arg2 == NULL) {
24070 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24071 }
24072 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24073 {
24074 PyThreadState* __tstate = wxPyBeginAllowThreads();
24075 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
24076
24077 wxPyEndAllowThreads(__tstate);
24078 if (PyErr_Occurred()) SWIG_fail;
24079 }
4e760a36 24080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24081 return resultobj;
24082 fail:
24083 return NULL;
24084}
24085
24086
24087static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24088 PyObject *resultobj;
24089 wxDataObject *arg1 = (wxDataObject *) 0 ;
24090 wxDataFormat *arg2 = 0 ;
24091 size_t arg3 ;
24092 void *arg4 = (void *) 0 ;
24093 bool result;
24094 PyObject * obj0 = 0 ;
24095 PyObject * obj1 = 0 ;
24096 PyObject * obj2 = 0 ;
24097 PyObject * obj3 = 0 ;
24098 char *kwnames[] = {
24099 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24100 };
24101
24102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24104 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24105 if (arg2 == NULL) {
24106 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24107 }
83448d71 24108 {
8edf1c75 24109 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
83448d71
RD
24110 if (PyErr_Occurred()) SWIG_fail;
24111 }
d14a1e28
RD
24112 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24113 {
24114 PyThreadState* __tstate = wxPyBeginAllowThreads();
24115 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
24116
24117 wxPyEndAllowThreads(__tstate);
24118 if (PyErr_Occurred()) SWIG_fail;
24119 }
4e760a36 24120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24121 return resultobj;
24122 fail:
24123 return NULL;
24124}
24125
24126
24127static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
24128 PyObject *obj;
24129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24130 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
24131 Py_INCREF(obj);
24132 return Py_BuildValue((char *)"");
24133}
24134static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24135 PyObject *resultobj;
24136 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24137 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24138 wxDataObjectSimple *result;
24139 PyObject * obj0 = 0 ;
24140 char *kwnames[] = {
24141 (char *) "format", NULL
24142 };
24143
24144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
24145 if (obj0) {
24146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24147 if (arg1 == NULL) {
24148 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24149 }
24150 }
24151 {
24152 PyThreadState* __tstate = wxPyBeginAllowThreads();
24153 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
24154
24155 wxPyEndAllowThreads(__tstate);
24156 if (PyErr_Occurred()) SWIG_fail;
24157 }
24158 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectSimple, 1);
24159 return resultobj;
24160 fail:
24161 return NULL;
24162}
24163
24164
24165static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24166 PyObject *resultobj;
24167 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24168 wxDataFormat *result;
24169 PyObject * obj0 = 0 ;
24170 char *kwnames[] = {
24171 (char *) "self", NULL
24172 };
24173
24174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
24175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24176 {
24177 PyThreadState* __tstate = wxPyBeginAllowThreads();
24178 {
24179 wxDataFormat const &_result_ref = (arg1)->GetFormat();
24180 result = (wxDataFormat *) &_result_ref;
24181 }
24182
24183 wxPyEndAllowThreads(__tstate);
24184 if (PyErr_Occurred()) SWIG_fail;
24185 }
24186 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 0);
24187 return resultobj;
24188 fail:
24189 return NULL;
24190}
24191
24192
24193static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24194 PyObject *resultobj;
24195 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24196 wxDataFormat *arg2 = 0 ;
24197 PyObject * obj0 = 0 ;
24198 PyObject * obj1 = 0 ;
24199 char *kwnames[] = {
24200 (char *) "self",(char *) "format", NULL
24201 };
24202
24203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
24204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24205 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24206 if (arg2 == NULL) {
24207 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24208 }
24209 {
24210 PyThreadState* __tstate = wxPyBeginAllowThreads();
24211 (arg1)->SetFormat((wxDataFormat const &)*arg2);
24212
24213 wxPyEndAllowThreads(__tstate);
24214 if (PyErr_Occurred()) SWIG_fail;
24215 }
24216 Py_INCREF(Py_None); resultobj = Py_None;
24217 return resultobj;
24218 fail:
24219 return NULL;
24220}
24221
24222
24223static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24224 PyObject *obj;
24225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24226 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
24227 Py_INCREF(obj);
24228 return Py_BuildValue((char *)"");
24229}
24230static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24231 PyObject *resultobj;
24232 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24233 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24234 wxPyDataObjectSimple *result;
24235 PyObject * obj0 = 0 ;
24236 char *kwnames[] = {
24237 (char *) "format", NULL
24238 };
24239
24240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
24241 if (obj0) {
24242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24243 if (arg1 == NULL) {
24244 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24245 }
24246 }
24247 {
24248 PyThreadState* __tstate = wxPyBeginAllowThreads();
24249 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
24250
24251 wxPyEndAllowThreads(__tstate);
24252 if (PyErr_Occurred()) SWIG_fail;
24253 }
24254 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDataObjectSimple, 1);
24255 return resultobj;
24256 fail:
24257 return NULL;
24258}
24259
24260
24261static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24262 PyObject *resultobj;
24263 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
24264 PyObject *arg2 = (PyObject *) 0 ;
24265 PyObject *arg3 = (PyObject *) 0 ;
24266 PyObject * obj0 = 0 ;
24267 PyObject * obj1 = 0 ;
24268 PyObject * obj2 = 0 ;
24269 char *kwnames[] = {
24270 (char *) "self",(char *) "self",(char *) "_class", NULL
24271 };
24272
24273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24275 arg2 = obj1;
24276 arg3 = obj2;
24277 {
24278 PyThreadState* __tstate = wxPyBeginAllowThreads();
24279 (arg1)->_setCallbackInfo(arg2,arg3);
24280
24281 wxPyEndAllowThreads(__tstate);
24282 if (PyErr_Occurred()) SWIG_fail;
24283 }
24284 Py_INCREF(Py_None); resultobj = Py_None;
24285 return resultobj;
24286 fail:
24287 return NULL;
24288}
24289
24290
24291static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24292 PyObject *obj;
24293 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24294 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
24295 Py_INCREF(obj);
24296 return Py_BuildValue((char *)"");
24297}
24298static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
24299 PyObject *resultobj;
24300 wxDataObjectComposite *result;
24301 char *kwnames[] = {
24302 NULL
24303 };
24304
24305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
24306 {
24307 PyThreadState* __tstate = wxPyBeginAllowThreads();
24308 result = (wxDataObjectComposite *)new wxDataObjectComposite();
24309
24310 wxPyEndAllowThreads(__tstate);
24311 if (PyErr_Occurred()) SWIG_fail;
24312 }
24313 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectComposite, 1);
24314 return resultobj;
24315 fail:
24316 return NULL;
24317}
24318
24319
24320static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
24321 PyObject *resultobj;
24322 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
24323 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
423f194a 24324 int arg3 = (int) False ;
d14a1e28
RD
24325 PyObject * obj0 = 0 ;
24326 PyObject * obj1 = 0 ;
8edf1c75 24327 PyObject * obj2 = 0 ;
d14a1e28
RD
24328 char *kwnames[] = {
24329 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24330 };
24331
8edf1c75 24332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 24333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectComposite,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
58203fa6 24334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
8edf1c75
RD
24335 if (obj2) {
24336 {
24337 arg3 = (int) SWIG_PyObj_AsInt(obj2);
24338 if (PyErr_Occurred()) SWIG_fail;
24339 }
24340 }
d14a1e28
RD
24341 {
24342 PyThreadState* __tstate = wxPyBeginAllowThreads();
24343 (arg1)->Add(arg2,arg3);
24344
24345 wxPyEndAllowThreads(__tstate);
24346 if (PyErr_Occurred()) SWIG_fail;
24347 }
24348 Py_INCREF(Py_None); resultobj = Py_None;
24349 return resultobj;
24350 fail:
24351 return NULL;
24352}
24353
24354
24355static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
24356 PyObject *obj;
24357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24358 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
24359 Py_INCREF(obj);
24360 return Py_BuildValue((char *)"");
24361}
24362static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24363 PyObject *resultobj;
24364 wxString const &arg1_defvalue = wxPyEmptyString ;
24365 wxString *arg1 = (wxString *) &arg1_defvalue ;
24366 wxTextDataObject *result;
423f194a 24367 bool temp1 = False ;
d14a1e28
RD
24368 PyObject * obj0 = 0 ;
24369 char *kwnames[] = {
24370 (char *) "text", NULL
24371 };
24372
24373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
24374 if (obj0) {
24375 {
24376 arg1 = wxString_in_helper(obj0);
24377 if (arg1 == NULL) SWIG_fail;
423f194a 24378 temp1 = True;
d14a1e28
RD
24379 }
24380 }
24381 {
24382 PyThreadState* __tstate = wxPyBeginAllowThreads();
24383 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
24384
24385 wxPyEndAllowThreads(__tstate);
24386 if (PyErr_Occurred()) SWIG_fail;
24387 }
24388 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextDataObject, 1);
24389 {
24390 if (temp1)
24391 delete arg1;
24392 }
24393 return resultobj;
24394 fail:
24395 {
24396 if (temp1)
24397 delete arg1;
24398 }
24399 return NULL;
24400}
24401
24402
24403static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
24404 PyObject *resultobj;
24405 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24406 size_t result;
24407 PyObject * obj0 = 0 ;
24408 char *kwnames[] = {
24409 (char *) "self", NULL
24410 };
24411
24412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
24413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24414 {
24415 PyThreadState* __tstate = wxPyBeginAllowThreads();
24416 result = (size_t)(arg1)->GetTextLength();
24417
24418 wxPyEndAllowThreads(__tstate);
24419 if (PyErr_Occurred()) SWIG_fail;
24420 }
8edf1c75 24421 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
24422 return resultobj;
24423 fail:
24424 return NULL;
24425}
24426
24427
24428static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
24429 PyObject *resultobj;
24430 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24431 wxString result;
24432 PyObject * obj0 = 0 ;
24433 char *kwnames[] = {
24434 (char *) "self", NULL
24435 };
24436
24437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
24438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24439 {
24440 PyThreadState* __tstate = wxPyBeginAllowThreads();
24441 result = (arg1)->GetText();
24442
24443 wxPyEndAllowThreads(__tstate);
24444 if (PyErr_Occurred()) SWIG_fail;
24445 }
24446 {
24447#if wxUSE_UNICODE
24448 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24449#else
24450 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24451#endif
24452 }
24453 return resultobj;
24454 fail:
24455 return NULL;
24456}
24457
24458
24459static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
24460 PyObject *resultobj;
24461 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24462 wxString *arg2 = 0 ;
423f194a 24463 bool temp2 = False ;
d14a1e28
RD
24464 PyObject * obj0 = 0 ;
24465 PyObject * obj1 = 0 ;
24466 char *kwnames[] = {
24467 (char *) "self",(char *) "text", NULL
24468 };
24469
24470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
24471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24472 {
24473 arg2 = wxString_in_helper(obj1);
24474 if (arg2 == NULL) SWIG_fail;
423f194a 24475 temp2 = True;
d14a1e28
RD
24476 }
24477 {
24478 PyThreadState* __tstate = wxPyBeginAllowThreads();
24479 (arg1)->SetText((wxString const &)*arg2);
24480
24481 wxPyEndAllowThreads(__tstate);
24482 if (PyErr_Occurred()) SWIG_fail;
24483 }
24484 Py_INCREF(Py_None); resultobj = Py_None;
24485 {
24486 if (temp2)
24487 delete arg2;
24488 }
24489 return resultobj;
24490 fail:
24491 {
24492 if (temp2)
24493 delete arg2;
24494 }
24495 return NULL;
24496}
24497
24498
24499static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
24500 PyObject *obj;
24501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24502 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
24503 Py_INCREF(obj);
24504 return Py_BuildValue((char *)"");
24505}
24506static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24507 PyObject *resultobj;
24508 wxString const &arg1_defvalue = wxPyEmptyString ;
24509 wxString *arg1 = (wxString *) &arg1_defvalue ;
24510 wxPyTextDataObject *result;
423f194a 24511 bool temp1 = False ;
d14a1e28
RD
24512 PyObject * obj0 = 0 ;
24513 char *kwnames[] = {
24514 (char *) "text", NULL
24515 };
24516
24517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
24518 if (obj0) {
24519 {
24520 arg1 = wxString_in_helper(obj0);
24521 if (arg1 == NULL) SWIG_fail;
423f194a 24522 temp1 = True;
d14a1e28
RD
24523 }
24524 }
24525 {
24526 PyThreadState* __tstate = wxPyBeginAllowThreads();
24527 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
24528
24529 wxPyEndAllowThreads(__tstate);
24530 if (PyErr_Occurred()) SWIG_fail;
24531 }
24532 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDataObject, 1);
24533 {
24534 if (temp1)
24535 delete arg1;
24536 }
24537 return resultobj;
24538 fail:
24539 {
24540 if (temp1)
24541 delete arg1;
24542 }
24543 return NULL;
24544}
24545
24546
24547static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24548 PyObject *resultobj;
24549 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
24550 PyObject *arg2 = (PyObject *) 0 ;
24551 PyObject *arg3 = (PyObject *) 0 ;
24552 PyObject * obj0 = 0 ;
24553 PyObject * obj1 = 0 ;
24554 PyObject * obj2 = 0 ;
24555 char *kwnames[] = {
24556 (char *) "self",(char *) "self",(char *) "_class", NULL
24557 };
24558
24559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24561 arg2 = obj1;
24562 arg3 = obj2;
24563 {
24564 PyThreadState* __tstate = wxPyBeginAllowThreads();
24565 (arg1)->_setCallbackInfo(arg2,arg3);
24566
24567 wxPyEndAllowThreads(__tstate);
24568 if (PyErr_Occurred()) SWIG_fail;
24569 }
24570 Py_INCREF(Py_None); resultobj = Py_None;
24571 return resultobj;
24572 fail:
24573 return NULL;
24574}
24575
24576
24577static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
24578 PyObject *obj;
24579 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24580 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
24581 Py_INCREF(obj);
24582 return Py_BuildValue((char *)"");
24583}
24584static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24585 PyObject *resultobj;
24586 wxBitmap const &arg1_defvalue = wxNullBitmap ;
24587 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
24588 wxBitmapDataObject *result;
24589 PyObject * obj0 = 0 ;
24590 char *kwnames[] = {
24591 (char *) "bitmap", NULL
24592 };
24593
24594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
24595 if (obj0) {
24596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24597 if (arg1 == NULL) {
24598 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24599 }
24600 }
24601 {
24602 PyThreadState* __tstate = wxPyBeginAllowThreads();
24603 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
24604
24605 wxPyEndAllowThreads(__tstate);
24606 if (PyErr_Occurred()) SWIG_fail;
24607 }
24608 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmapDataObject, 1);
24609 return resultobj;
24610 fail:
24611 return NULL;
24612}
24613
24614
24615static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
24616 PyObject *resultobj;
24617 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
24618 wxBitmap result;
24619 PyObject * obj0 = 0 ;
24620 char *kwnames[] = {
24621 (char *) "self", NULL
24622 };
24623
24624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
24625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24626 {
24627 PyThreadState* __tstate = wxPyBeginAllowThreads();
24628 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
24629
24630 wxPyEndAllowThreads(__tstate);
24631 if (PyErr_Occurred()) SWIG_fail;
24632 }
24633 {
24634 wxBitmap * resultptr;
24635 resultptr = new wxBitmap((wxBitmap &) result);
24636 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
24637 }
24638 return resultobj;
24639 fail:
24640 return NULL;
24641}
24642
24643
24644static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
24645 PyObject *resultobj;
24646 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
24647 wxBitmap *arg2 = 0 ;
24648 PyObject * obj0 = 0 ;
24649 PyObject * obj1 = 0 ;
24650 char *kwnames[] = {
24651 (char *) "self",(char *) "bitmap", NULL
24652 };
24653
24654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
24655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24656 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24657 if (arg2 == NULL) {
24658 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24659 }
24660 {
24661 PyThreadState* __tstate = wxPyBeginAllowThreads();
24662 (arg1)->SetBitmap((wxBitmap const &)*arg2);
24663
24664 wxPyEndAllowThreads(__tstate);
24665 if (PyErr_Occurred()) SWIG_fail;
24666 }
24667 Py_INCREF(Py_None); resultobj = Py_None;
24668 return resultobj;
24669 fail:
24670 return NULL;
24671}
24672
24673
24674static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
24675 PyObject *obj;
24676 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24677 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
24678 Py_INCREF(obj);
24679 return Py_BuildValue((char *)"");
24680}
24681static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24682 PyObject *resultobj;
24683 wxBitmap const &arg1_defvalue = wxNullBitmap ;
24684 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
24685 wxPyBitmapDataObject *result;
24686 PyObject * obj0 = 0 ;
24687 char *kwnames[] = {
24688 (char *) "bitmap", NULL
24689 };
24690
24691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
24692 if (obj0) {
24693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24694 if (arg1 == NULL) {
24695 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24696 }
24697 }
24698 {
24699 PyThreadState* __tstate = wxPyBeginAllowThreads();
24700 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
24701
24702 wxPyEndAllowThreads(__tstate);
24703 if (PyErr_Occurred()) SWIG_fail;
24704 }
24705 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapDataObject, 1);
24706 return resultobj;
24707 fail:
24708 return NULL;
24709}
24710
24711
24712static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24713 PyObject *resultobj;
24714 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
24715 PyObject *arg2 = (PyObject *) 0 ;
24716 PyObject *arg3 = (PyObject *) 0 ;
24717 PyObject * obj0 = 0 ;
24718 PyObject * obj1 = 0 ;
24719 PyObject * obj2 = 0 ;
24720 char *kwnames[] = {
24721 (char *) "self",(char *) "self",(char *) "_class", NULL
24722 };
24723
24724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24726 arg2 = obj1;
24727 arg3 = obj2;
24728 {
24729 PyThreadState* __tstate = wxPyBeginAllowThreads();
24730 (arg1)->_setCallbackInfo(arg2,arg3);
24731
24732 wxPyEndAllowThreads(__tstate);
24733 if (PyErr_Occurred()) SWIG_fail;
24734 }
24735 Py_INCREF(Py_None); resultobj = Py_None;
24736 return resultobj;
24737 fail:
24738 return NULL;
24739}
24740
24741
24742static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
24743 PyObject *obj;
24744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24745 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
24746 Py_INCREF(obj);
24747 return Py_BuildValue((char *)"");
24748}
24749static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24750 PyObject *resultobj;
24751 wxFileDataObject *result;
24752 char *kwnames[] = {
24753 NULL
24754 };
24755
24756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
24757 {
24758 PyThreadState* __tstate = wxPyBeginAllowThreads();
24759 result = (wxFileDataObject *)new wxFileDataObject();
24760
24761 wxPyEndAllowThreads(__tstate);
24762 if (PyErr_Occurred()) SWIG_fail;
24763 }
24764 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDataObject, 1);
24765 return resultobj;
24766 fail:
24767 return NULL;
24768}
24769
24770
24771static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
24772 PyObject *resultobj;
24773 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
24774 wxArrayString *result;
24775 PyObject * obj0 = 0 ;
24776 char *kwnames[] = {
24777 (char *) "self", NULL
24778 };
24779
24780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
24781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24782 {
24783 PyThreadState* __tstate = wxPyBeginAllowThreads();
24784 {
24785 wxArrayString const &_result_ref = (arg1)->GetFilenames();
24786 result = (wxArrayString *) &_result_ref;
24787 }
24788
24789 wxPyEndAllowThreads(__tstate);
24790 if (PyErr_Occurred()) SWIG_fail;
24791 }
24792 {
24793 resultobj = wxArrayString2PyList_helper(*result);
24794 }
24795 return resultobj;
24796 fail:
24797 return NULL;
24798}
24799
24800
24801static PyObject *_wrap_FileDataObject_AddFile(PyObject *self, PyObject *args, PyObject *kwargs) {
24802 PyObject *resultobj;
24803 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
24804 wxString *arg2 = 0 ;
423f194a 24805 bool temp2 = False ;
d14a1e28
RD
24806 PyObject * obj0 = 0 ;
24807 PyObject * obj1 = 0 ;
24808 char *kwnames[] = {
24809 (char *) "self",(char *) "filename", NULL
24810 };
24811
24812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
24813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24814 {
24815 arg2 = wxString_in_helper(obj1);
24816 if (arg2 == NULL) SWIG_fail;
423f194a 24817 temp2 = True;
d14a1e28
RD
24818 }
24819 {
24820 PyThreadState* __tstate = wxPyBeginAllowThreads();
24821 (arg1)->AddFile((wxString const &)*arg2);
24822
24823 wxPyEndAllowThreads(__tstate);
24824 if (PyErr_Occurred()) SWIG_fail;
24825 }
24826 Py_INCREF(Py_None); resultobj = Py_None;
24827 {
24828 if (temp2)
24829 delete arg2;
24830 }
24831 return resultobj;
24832 fail:
24833 {
24834 if (temp2)
24835 delete arg2;
24836 }
24837 return NULL;
24838}
24839
24840
24841static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
24842 PyObject *obj;
24843 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24844 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
24845 Py_INCREF(obj);
24846 return Py_BuildValue((char *)"");
24847}
24848static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24849 PyObject *resultobj;
24850 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24851 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24852 wxCustomDataObject *result;
24853 PyObject * obj0 = 0 ;
24854 char *kwnames[] = {
24855 (char *) "format", NULL
24856 };
24857
24858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
24859 if (obj0) {
24860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24861 if (arg1 == NULL) {
24862 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24863 }
24864 }
24865 {
24866 PyThreadState* __tstate = wxPyBeginAllowThreads();
24867 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
24868
24869 wxPyEndAllowThreads(__tstate);
24870 if (PyErr_Occurred()) SWIG_fail;
24871 }
24872 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCustomDataObject, 1);
24873 return resultobj;
24874 fail:
24875 return NULL;
24876}
24877
24878
24879static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
24880 PyObject *resultobj;
24881 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
24882 PyObject *arg2 = (PyObject *) 0 ;
24883 PyObject * obj0 = 0 ;
24884 PyObject * obj1 = 0 ;
24885 char *kwnames[] = {
24886 (char *) "self",(char *) "data", NULL
24887 };
24888
24889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
24890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24891 arg2 = obj1;
24892 {
24893 PyThreadState* __tstate = wxPyBeginAllowThreads();
24894 wxCustomDataObject_TakeData(arg1,arg2);
24895
24896 wxPyEndAllowThreads(__tstate);
24897 if (PyErr_Occurred()) SWIG_fail;
24898 }
24899 Py_INCREF(Py_None); resultobj = Py_None;
24900 return resultobj;
24901 fail:
24902 return NULL;
24903}
24904
24905
24906static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24907 PyObject *resultobj;
24908 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
24909 PyObject *arg2 = (PyObject *) 0 ;
24910 bool result;
24911 PyObject * obj0 = 0 ;
24912 PyObject * obj1 = 0 ;
24913 char *kwnames[] = {
24914 (char *) "self",(char *) "data", NULL
24915 };
24916
24917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
24918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24919 arg2 = obj1;
24920 {
24921 PyThreadState* __tstate = wxPyBeginAllowThreads();
24922 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
24923
24924 wxPyEndAllowThreads(__tstate);
24925 if (PyErr_Occurred()) SWIG_fail;
24926 }
4e760a36 24927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24928 return resultobj;
24929 fail:
24930 return NULL;
24931}
24932
24933
24934static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24935 PyObject *resultobj;
24936 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
24937 size_t result;
24938 PyObject * obj0 = 0 ;
24939 char *kwnames[] = {
24940 (char *) "self", NULL
24941 };
24942
24943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
24944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24945 {
24946 PyThreadState* __tstate = wxPyBeginAllowThreads();
24947 result = (size_t)(arg1)->GetSize();
24948
24949 wxPyEndAllowThreads(__tstate);
24950 if (PyErr_Occurred()) SWIG_fail;
24951 }
8edf1c75 24952 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
24953 return resultobj;
24954 fail:
24955 return NULL;
24956}
24957
24958
24959static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24960 PyObject *resultobj;
24961 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
24962 PyObject *result;
24963 PyObject * obj0 = 0 ;
24964 char *kwnames[] = {
24965 (char *) "self", NULL
24966 };
24967
24968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
24969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24970 {
24971 PyThreadState* __tstate = wxPyBeginAllowThreads();
24972 result = (PyObject *)wxCustomDataObject_GetData(arg1);
24973
24974 wxPyEndAllowThreads(__tstate);
24975 if (PyErr_Occurred()) SWIG_fail;
24976 }
24977 resultobj = result;
24978 return resultobj;
24979 fail:
24980 return NULL;
24981}
24982
24983
24984static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
24985 PyObject *obj;
24986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24987 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
24988 Py_INCREF(obj);
24989 return Py_BuildValue((char *)"");
24990}
24991static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24992 PyObject *resultobj;
24993 wxURLDataObject *result;
24994 char *kwnames[] = {
24995 NULL
24996 };
24997
24998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
24999 {
25000 PyThreadState* __tstate = wxPyBeginAllowThreads();
25001 result = (wxURLDataObject *)new wxURLDataObject();
25002
25003 wxPyEndAllowThreads(__tstate);
25004 if (PyErr_Occurred()) SWIG_fail;
25005 }
25006 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxURLDataObject, 1);
25007 return resultobj;
25008 fail:
25009 return NULL;
25010}
25011
25012
25013static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25014 PyObject *resultobj;
25015 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25016 wxString result;
25017 PyObject * obj0 = 0 ;
25018 char *kwnames[] = {
25019 (char *) "self", NULL
25020 };
25021
25022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
25023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25024 {
25025 PyThreadState* __tstate = wxPyBeginAllowThreads();
25026 result = (arg1)->GetURL();
25027
25028 wxPyEndAllowThreads(__tstate);
25029 if (PyErr_Occurred()) SWIG_fail;
25030 }
25031 {
25032#if wxUSE_UNICODE
25033 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25034#else
25035 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25036#endif
25037 }
25038 return resultobj;
25039 fail:
25040 return NULL;
25041}
25042
25043
25044static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25045 PyObject *resultobj;
25046 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25047 wxString *arg2 = 0 ;
423f194a 25048 bool temp2 = False ;
d14a1e28
RD
25049 PyObject * obj0 = 0 ;
25050 PyObject * obj1 = 0 ;
25051 char *kwnames[] = {
25052 (char *) "self",(char *) "url", NULL
25053 };
25054
25055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
25056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25057 {
25058 arg2 = wxString_in_helper(obj1);
25059 if (arg2 == NULL) SWIG_fail;
423f194a 25060 temp2 = True;
d14a1e28
RD
25061 }
25062 {
25063 PyThreadState* __tstate = wxPyBeginAllowThreads();
25064 (arg1)->SetURL((wxString const &)*arg2);
25065
25066 wxPyEndAllowThreads(__tstate);
25067 if (PyErr_Occurred()) SWIG_fail;
25068 }
25069 Py_INCREF(Py_None); resultobj = Py_None;
25070 {
25071 if (temp2)
25072 delete arg2;
25073 }
25074 return resultobj;
25075 fail:
25076 {
25077 if (temp2)
25078 delete arg2;
25079 }
25080 return NULL;
25081}
25082
25083
25084static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
25085 PyObject *obj;
25086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25087 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
25088 Py_INCREF(obj);
25089 return Py_BuildValue((char *)"");
25090}
25091static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25092 PyObject *resultobj;
25093 wxMetafileDataObject *result;
25094 char *kwnames[] = {
25095 NULL
25096 };
25097
25098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
25099 {
25100 PyThreadState* __tstate = wxPyBeginAllowThreads();
25101 result = (wxMetafileDataObject *)new wxMetafileDataObject();
25102
25103 wxPyEndAllowThreads(__tstate);
25104 if (PyErr_Occurred()) SWIG_fail;
25105 }
25106 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMetafileDataObject, 1);
25107 return resultobj;
25108 fail:
25109 return NULL;
25110}
25111
25112
83448d71
RD
25113static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
25114 PyObject *resultobj;
25115 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25116 wxMetafile *arg2 = 0 ;
25117 PyObject * obj0 = 0 ;
25118 PyObject * obj1 = 0 ;
25119 char *kwnames[] = {
25120 (char *) "self",(char *) "metafile", NULL
25121 };
25122
25123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
25124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMetafileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25125 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMetafile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25126 if (arg2 == NULL) {
25127 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25128 }
25129 {
25130 PyThreadState* __tstate = wxPyBeginAllowThreads();
25131 (arg1)->SetMetafile((wxMetafile const &)*arg2);
25132
25133 wxPyEndAllowThreads(__tstate);
25134 if (PyErr_Occurred()) SWIG_fail;
25135 }
25136 Py_INCREF(Py_None); resultobj = Py_None;
25137 return resultobj;
25138 fail:
25139 return NULL;
25140}
25141
25142
25143static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
25144 PyObject *resultobj;
25145 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25146 wxMetafile result;
25147 PyObject * obj0 = 0 ;
25148 char *kwnames[] = {
25149 (char *) "self", NULL
25150 };
25151
25152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
25153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMetafileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25154 {
25155 PyThreadState* __tstate = wxPyBeginAllowThreads();
25156 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
25157
25158 wxPyEndAllowThreads(__tstate);
25159 if (PyErr_Occurred()) SWIG_fail;
25160 }
25161 {
25162 wxMetafile * resultptr;
25163 resultptr = new wxMetafile((wxMetafile &) result);
25164 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxMetafile, 1);
25165 }
25166 return resultobj;
25167 fail:
25168 return NULL;
25169}
25170
25171
d14a1e28
RD
25172static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
25173 PyObject *obj;
25174 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25175 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
25176 Py_INCREF(obj);
25177 return Py_BuildValue((char *)"");
25178}
25179static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
25180 PyObject *resultobj;
25181 int arg1 ;
25182 bool result;
8edf1c75 25183 PyObject * obj0 = 0 ;
d14a1e28
RD
25184 char *kwnames[] = {
25185 (char *) "res", NULL
25186 };
25187
8edf1c75
RD
25188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
25189 {
25190 arg1 = (wxDragResult) SWIG_PyObj_AsInt(obj0);
25191 if (PyErr_Occurred()) SWIG_fail;
25192 }
d14a1e28
RD
25193 {
25194 PyThreadState* __tstate = wxPyBeginAllowThreads();
25195 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
25196
25197 wxPyEndAllowThreads(__tstate);
25198 if (PyErr_Occurred()) SWIG_fail;
25199 }
4e760a36 25200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25201 return resultobj;
25202 fail:
25203 return NULL;
25204}
25205
25206
25207static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25208 PyObject *resultobj;
eb9b6107 25209 wxWindow *arg1 = (wxWindow *) 0 ;
d14a1e28
RD
25210 wxCursor const &arg2_defvalue = wxNullCursor ;
25211 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25212 wxCursor const &arg3_defvalue = wxNullCursor ;
25213 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
25214 wxCursor const &arg4_defvalue = wxNullCursor ;
25215 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
25216 wxPyDropSource *result;
25217 PyObject * obj0 = 0 ;
25218 PyObject * obj1 = 0 ;
25219 PyObject * obj2 = 0 ;
25220 PyObject * obj3 = 0 ;
25221 char *kwnames[] = {
25222 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25223 };
25224
eb9b6107
RD
25225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
25227 if (obj1) {
25228 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25229 if (arg2 == NULL) {
25230 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25231 }
25232 }
25233 if (obj2) {
25234 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25235 if (arg3 == NULL) {
25236 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25237 }
25238 }
25239 if (obj3) {
25240 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25241 if (arg4 == NULL) {
25242 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25243 }
25244 }
25245 {
25246 PyThreadState* __tstate = wxPyBeginAllowThreads();
25247 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
25248
25249 wxPyEndAllowThreads(__tstate);
25250 if (PyErr_Occurred()) SWIG_fail;
25251 }
25252 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropSource, 1);
25253 return resultobj;
25254 fail:
25255 return NULL;
25256}
25257
25258
25259static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25260 PyObject *resultobj;
25261 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25262 PyObject *arg2 = (PyObject *) 0 ;
25263 PyObject *arg3 = (PyObject *) 0 ;
25264 int arg4 ;
25265 PyObject * obj0 = 0 ;
25266 PyObject * obj1 = 0 ;
25267 PyObject * obj2 = 0 ;
8edf1c75 25268 PyObject * obj3 = 0 ;
d14a1e28
RD
25269 char *kwnames[] = {
25270 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25271 };
25272
8edf1c75 25273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
25274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25275 arg2 = obj1;
25276 arg3 = obj2;
8edf1c75
RD
25277 {
25278 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25279 if (PyErr_Occurred()) SWIG_fail;
25280 }
d14a1e28
RD
25281 {
25282 PyThreadState* __tstate = wxPyBeginAllowThreads();
25283 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
25284
25285 wxPyEndAllowThreads(__tstate);
25286 if (PyErr_Occurred()) SWIG_fail;
25287 }
25288 Py_INCREF(Py_None); resultobj = Py_None;
25289 return resultobj;
25290 fail:
25291 return NULL;
25292}
25293
25294
25295static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25296 PyObject *resultobj;
25297 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25298 PyObject * obj0 = 0 ;
25299 char *kwnames[] = {
25300 (char *) "self", NULL
25301 };
25302
25303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
25304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25305 {
25306 PyThreadState* __tstate = wxPyBeginAllowThreads();
25307 delete arg1;
25308
25309 wxPyEndAllowThreads(__tstate);
25310 if (PyErr_Occurred()) SWIG_fail;
25311 }
25312 Py_INCREF(Py_None); resultobj = Py_None;
25313 return resultobj;
25314 fail:
25315 return NULL;
25316}
25317
25318
25319static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25320 PyObject *resultobj;
25321 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25322 wxDataObject *arg2 = 0 ;
25323 PyObject * obj0 = 0 ;
25324 PyObject * obj1 = 0 ;
25325 char *kwnames[] = {
25326 (char *) "self",(char *) "data", NULL
25327 };
25328
25329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
25330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25331 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25332 if (arg2 == NULL) {
25333 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25334 }
25335 {
25336 PyThreadState* __tstate = wxPyBeginAllowThreads();
25337 (arg1)->SetData(*arg2);
25338
25339 wxPyEndAllowThreads(__tstate);
25340 if (PyErr_Occurred()) SWIG_fail;
25341 }
25342 Py_INCREF(Py_None); resultobj = Py_None;
25343 return resultobj;
25344 fail:
25345 return NULL;
25346}
25347
25348
25349static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25350 PyObject *resultobj;
25351 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25352 wxDataObject *result;
25353 PyObject * obj0 = 0 ;
25354 char *kwnames[] = {
25355 (char *) "self", NULL
25356 };
25357
25358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
25359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25360 {
25361 PyThreadState* __tstate = wxPyBeginAllowThreads();
25362 result = (wxDataObject *)(arg1)->GetDataObject();
25363
25364 wxPyEndAllowThreads(__tstate);
25365 if (PyErr_Occurred()) SWIG_fail;
25366 }
25367 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
25368 return resultobj;
25369 fail:
25370 return NULL;
25371}
25372
25373
25374static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
25375 PyObject *resultobj;
25376 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25377 int arg2 ;
25378 wxCursor *arg3 = 0 ;
25379 PyObject * obj0 = 0 ;
8edf1c75 25380 PyObject * obj1 = 0 ;
d14a1e28
RD
25381 PyObject * obj2 = 0 ;
25382 char *kwnames[] = {
25383 (char *) "self",(char *) "res",(char *) "cursor", NULL
25384 };
25385
8edf1c75 25386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 25387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
25388 {
25389 arg2 = (wxDragResult) SWIG_PyObj_AsInt(obj1);
25390 if (PyErr_Occurred()) SWIG_fail;
25391 }
d14a1e28
RD
25392 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25393 if (arg3 == NULL) {
25394 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25395 }
25396 {
25397 PyThreadState* __tstate = wxPyBeginAllowThreads();
25398 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
25399
25400 wxPyEndAllowThreads(__tstate);
25401 if (PyErr_Occurred()) SWIG_fail;
25402 }
25403 Py_INCREF(Py_None); resultobj = Py_None;
25404 return resultobj;
25405 fail:
25406 return NULL;
25407}
25408
25409
25410static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
25411 PyObject *resultobj;
25412 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25413 int arg2 = (int) wxDrag_CopyOnly ;
25414 int result;
25415 PyObject * obj0 = 0 ;
8edf1c75 25416 PyObject * obj1 = 0 ;
d14a1e28
RD
25417 char *kwnames[] = {
25418 (char *) "self",(char *) "flags", NULL
25419 };
25420
8edf1c75 25421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 25422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
25423 if (obj1) {
25424 {
25425 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25426 if (PyErr_Occurred()) SWIG_fail;
25427 }
25428 }
d14a1e28
RD
25429 {
25430 PyThreadState* __tstate = wxPyBeginAllowThreads();
25431 result = (int)(arg1)->DoDragDrop(arg2);
25432
25433 wxPyEndAllowThreads(__tstate);
25434 if (PyErr_Occurred()) SWIG_fail;
25435 }
8edf1c75 25436 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
25437 return resultobj;
25438 fail:
25439 return NULL;
25440}
25441
25442
25443static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
25444 PyObject *resultobj;
25445 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25446 int arg2 ;
25447 bool result;
25448 PyObject * obj0 = 0 ;
8edf1c75 25449 PyObject * obj1 = 0 ;
d14a1e28
RD
25450 char *kwnames[] = {
25451 (char *) "self",(char *) "effect", NULL
25452 };
25453
8edf1c75 25454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 25455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
25456 {
25457 arg2 = (wxDragResult) SWIG_PyObj_AsInt(obj1);
25458 if (PyErr_Occurred()) SWIG_fail;
25459 }
d14a1e28
RD
25460 {
25461 PyThreadState* __tstate = wxPyBeginAllowThreads();
25462 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
25463
25464 wxPyEndAllowThreads(__tstate);
25465 if (PyErr_Occurred()) SWIG_fail;
25466 }
4e760a36 25467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25468 return resultobj;
25469 fail:
25470 return NULL;
25471}
25472
25473
25474static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
25475 PyObject *obj;
25476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25477 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
25478 Py_INCREF(obj);
25479 return Py_BuildValue((char *)"");
25480}
d03fd34d 25481static PyObject *_wrap_new_PyDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25482 PyObject *resultobj;
25483 wxDataObject *arg1 = (wxDataObject *) NULL ;
25484 wxPyDropTarget *result;
25485 PyObject * obj0 = 0 ;
25486 char *kwnames[] = {
25487 (char *) "dataObject", NULL
25488 };
25489
d03fd34d 25490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDropTarget",kwnames,&obj0)) goto fail;
d14a1e28 25491 if (obj0) {
58203fa6 25492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
d14a1e28
RD
25493 }
25494 {
25495 PyThreadState* __tstate = wxPyBeginAllowThreads();
25496 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
25497
25498 wxPyEndAllowThreads(__tstate);
25499 if (PyErr_Occurred()) SWIG_fail;
25500 }
25501 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 1);
25502 return resultobj;
25503 fail:
25504 return NULL;
25505}
25506
25507
25508static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25509 PyObject *resultobj;
25510 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25511 PyObject *arg2 = (PyObject *) 0 ;
25512 PyObject *arg3 = (PyObject *) 0 ;
25513 PyObject * obj0 = 0 ;
25514 PyObject * obj1 = 0 ;
25515 PyObject * obj2 = 0 ;
25516 char *kwnames[] = {
25517 (char *) "self",(char *) "self",(char *) "_class", NULL
25518 };
25519
25520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25522 arg2 = obj1;
25523 arg3 = obj2;
25524 {
25525 PyThreadState* __tstate = wxPyBeginAllowThreads();
25526 (arg1)->_setCallbackInfo(arg2,arg3);
25527
25528 wxPyEndAllowThreads(__tstate);
25529 if (PyErr_Occurred()) SWIG_fail;
25530 }
25531 Py_INCREF(Py_None); resultobj = Py_None;
25532 return resultobj;
25533 fail:
25534 return NULL;
25535}
25536
25537
25538static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25539 PyObject *resultobj;
25540 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25541 PyObject * obj0 = 0 ;
25542 char *kwnames[] = {
25543 (char *) "self", NULL
25544 };
25545
25546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
25547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25548 {
25549 PyThreadState* __tstate = wxPyBeginAllowThreads();
25550 delete arg1;
25551
25552 wxPyEndAllowThreads(__tstate);
25553 if (PyErr_Occurred()) SWIG_fail;
25554 }
25555 Py_INCREF(Py_None); resultobj = Py_None;
25556 return resultobj;
25557 fail:
25558 return NULL;
25559}
25560
25561
25562static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25563 PyObject *resultobj;
25564 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25565 wxDataObject *result;
25566 PyObject * obj0 = 0 ;
25567 char *kwnames[] = {
25568 (char *) "self", NULL
25569 };
25570
25571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
25572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25573 {
25574 PyThreadState* __tstate = wxPyBeginAllowThreads();
25575 result = (wxDataObject *)(arg1)->GetDataObject();
25576
25577 wxPyEndAllowThreads(__tstate);
25578 if (PyErr_Occurred()) SWIG_fail;
25579 }
25580 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
25581 return resultobj;
25582 fail:
25583 return NULL;
25584}
25585
25586
25587static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25588 PyObject *resultobj;
25589 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25590 wxDataObject *arg2 = (wxDataObject *) 0 ;
25591 PyObject * obj0 = 0 ;
25592 PyObject * obj1 = 0 ;
25593 char *kwnames[] = {
25594 (char *) "self",(char *) "dataObject", NULL
25595 };
25596
25597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
25598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
58203fa6 25599 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
d14a1e28
RD
25600 {
25601 PyThreadState* __tstate = wxPyBeginAllowThreads();
25602 (arg1)->SetDataObject(arg2);
25603
25604 wxPyEndAllowThreads(__tstate);
25605 if (PyErr_Occurred()) SWIG_fail;
25606 }
25607 Py_INCREF(Py_None); resultobj = Py_None;
25608 return resultobj;
25609 fail:
25610 return NULL;
25611}
25612
25613
25614static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
25615 PyObject *resultobj;
25616 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
423f194a
RD
25617 int arg2 ;
25618 int arg3 ;
d14a1e28
RD
25619 int arg4 ;
25620 int result;
25621 PyObject * obj0 = 0 ;
8edf1c75
RD
25622 PyObject * obj1 = 0 ;
25623 PyObject * obj2 = 0 ;
25624 PyObject * obj3 = 0 ;
d14a1e28
RD
25625 char *kwnames[] = {
25626 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25627 };
25628
8edf1c75 25629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 25630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
25631 {
25632 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25633 if (PyErr_Occurred()) SWIG_fail;
25634 }
25635 {
25636 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25637 if (PyErr_Occurred()) SWIG_fail;
25638 }
25639 {
25640 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25641 if (PyErr_Occurred()) SWIG_fail;
25642 }
d14a1e28
RD
25643 {
25644 PyThreadState* __tstate = wxPyBeginAllowThreads();
25645 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
25646
25647 wxPyEndAllowThreads(__tstate);
25648 if (PyErr_Occurred()) SWIG_fail;
25649 }
8edf1c75 25650 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
25651 return resultobj;
25652 fail:
25653 return NULL;
25654}
25655
25656
25657static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
25658 PyObject *resultobj;
25659 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
423f194a
RD
25660 int arg2 ;
25661 int arg3 ;
d14a1e28
RD
25662 int arg4 ;
25663 int result;
25664 PyObject * obj0 = 0 ;
8edf1c75
RD
25665 PyObject * obj1 = 0 ;
25666 PyObject * obj2 = 0 ;
25667 PyObject * obj3 = 0 ;
d14a1e28
RD
25668 char *kwnames[] = {
25669 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25670 };
25671
8edf1c75 25672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 25673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
25674 {
25675 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25676 if (PyErr_Occurred()) SWIG_fail;
25677 }
25678 {
25679 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25680 if (PyErr_Occurred()) SWIG_fail;
25681 }
25682 {
25683 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25684 if (PyErr_Occurred()) SWIG_fail;
25685 }
d14a1e28
RD
25686 {
25687 PyThreadState* __tstate = wxPyBeginAllowThreads();
25688 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
25689
25690 wxPyEndAllowThreads(__tstate);
25691 if (PyErr_Occurred()) SWIG_fail;
25692 }
8edf1c75 25693 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
25694 return resultobj;
25695 fail:
25696 return NULL;
25697}
25698
25699
25700static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
25701 PyObject *resultobj;
25702 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25703 PyObject * obj0 = 0 ;
25704 char *kwnames[] = {
25705 (char *) "self", NULL
25706 };
25707
25708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
25709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25710 {
25711 PyThreadState* __tstate = wxPyBeginAllowThreads();
25712 (arg1)->base_OnLeave();
25713
25714 wxPyEndAllowThreads(__tstate);
25715 if (PyErr_Occurred()) SWIG_fail;
25716 }
25717 Py_INCREF(Py_None); resultobj = Py_None;
25718 return resultobj;
25719 fail:
25720 return NULL;
25721}
25722
25723
25724static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
25725 PyObject *resultobj;
25726 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
423f194a
RD
25727 int arg2 ;
25728 int arg3 ;
d14a1e28
RD
25729 bool result;
25730 PyObject * obj0 = 0 ;
8edf1c75
RD
25731 PyObject * obj1 = 0 ;
25732 PyObject * obj2 = 0 ;
d14a1e28
RD
25733 char *kwnames[] = {
25734 (char *) "self",(char *) "x",(char *) "y", NULL
25735 };
25736
8edf1c75 25737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 25738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
25739 {
25740 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25741 if (PyErr_Occurred()) SWIG_fail;
25742 }
25743 {
25744 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25745 if (PyErr_Occurred()) SWIG_fail;
25746 }
d14a1e28
RD
25747 {
25748 PyThreadState* __tstate = wxPyBeginAllowThreads();
25749 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
25750
25751 wxPyEndAllowThreads(__tstate);
25752 if (PyErr_Occurred()) SWIG_fail;
25753 }
4e760a36 25754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25755 return resultobj;
25756 fail:
25757 return NULL;
25758}
25759
25760
25761static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25762 PyObject *resultobj;
25763 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25764 bool result;
25765 PyObject * obj0 = 0 ;
25766 char *kwnames[] = {
25767 (char *) "self", NULL
25768 };
25769
25770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
25771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25772 {
25773 PyThreadState* __tstate = wxPyBeginAllowThreads();
25774 result = (bool)(arg1)->GetData();
25775
25776 wxPyEndAllowThreads(__tstate);
25777 if (PyErr_Occurred()) SWIG_fail;
25778 }
4e760a36 25779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25780 return resultobj;
25781 fail:
25782 return NULL;
25783}
25784
25785
25786static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
25787 PyObject *obj;
25788 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25789 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
25790 Py_INCREF(obj);
25791 return Py_BuildValue((char *)"");
25792}
25793static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25794 PyObject *resultobj;
25795 wxPyTextDropTarget *result;
25796 char *kwnames[] = {
25797 NULL
25798 };
25799
25800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
25801 {
25802 PyThreadState* __tstate = wxPyBeginAllowThreads();
25803 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
25804
25805 wxPyEndAllowThreads(__tstate);
25806 if (PyErr_Occurred()) SWIG_fail;
25807 }
25808 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDropTarget, 1);
25809 return resultobj;
25810 fail:
25811 return NULL;
25812}
25813
25814
25815static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25816 PyObject *resultobj;
25817 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25818 PyObject *arg2 = (PyObject *) 0 ;
25819 PyObject *arg3 = (PyObject *) 0 ;
25820 PyObject * obj0 = 0 ;
25821 PyObject * obj1 = 0 ;
25822 PyObject * obj2 = 0 ;
25823 char *kwnames[] = {
25824 (char *) "self",(char *) "self",(char *) "_class", NULL
25825 };
25826
25827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25829 arg2 = obj1;
25830 arg3 = obj2;
25831 {
25832 PyThreadState* __tstate = wxPyBeginAllowThreads();
25833 (arg1)->_setCallbackInfo(arg2,arg3);
25834
25835 wxPyEndAllowThreads(__tstate);
25836 if (PyErr_Occurred()) SWIG_fail;
25837 }
25838 Py_INCREF(Py_None); resultobj = Py_None;
25839 return resultobj;
25840 fail:
25841 return NULL;
25842}
25843
25844
25845static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
25846 PyObject *resultobj;
25847 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
25848 int arg2 ;
25849 int arg3 ;
d14a1e28
RD
25850 int arg4 ;
25851 int result;
25852 PyObject * obj0 = 0 ;
8edf1c75
RD
25853 PyObject * obj1 = 0 ;
25854 PyObject * obj2 = 0 ;
25855 PyObject * obj3 = 0 ;
d14a1e28
RD
25856 char *kwnames[] = {
25857 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25858 };
25859
8edf1c75 25860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 25861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
25862 {
25863 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25864 if (PyErr_Occurred()) SWIG_fail;
25865 }
25866 {
25867 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25868 if (PyErr_Occurred()) SWIG_fail;
25869 }
25870 {
25871 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25872 if (PyErr_Occurred()) SWIG_fail;
25873 }
d14a1e28
RD
25874 {
25875 PyThreadState* __tstate = wxPyBeginAllowThreads();
25876 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
25877
25878 wxPyEndAllowThreads(__tstate);
25879 if (PyErr_Occurred()) SWIG_fail;
25880 }
8edf1c75 25881 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
25882 return resultobj;
25883 fail:
25884 return NULL;
25885}
25886
25887
25888static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
25889 PyObject *resultobj;
25890 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
25891 int arg2 ;
25892 int arg3 ;
d14a1e28
RD
25893 int arg4 ;
25894 int result;
25895 PyObject * obj0 = 0 ;
8edf1c75
RD
25896 PyObject * obj1 = 0 ;
25897 PyObject * obj2 = 0 ;
25898 PyObject * obj3 = 0 ;
d14a1e28
RD
25899 char *kwnames[] = {
25900 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25901 };
25902
8edf1c75 25903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 25904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
25905 {
25906 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25907 if (PyErr_Occurred()) SWIG_fail;
25908 }
25909 {
25910 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25911 if (PyErr_Occurred()) SWIG_fail;
25912 }
25913 {
25914 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25915 if (PyErr_Occurred()) SWIG_fail;
25916 }
d14a1e28
RD
25917 {
25918 PyThreadState* __tstate = wxPyBeginAllowThreads();
25919 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
25920
25921 wxPyEndAllowThreads(__tstate);
25922 if (PyErr_Occurred()) SWIG_fail;
25923 }
8edf1c75 25924 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
25925 return resultobj;
25926 fail:
25927 return NULL;
25928}
25929
25930
25931static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
25932 PyObject *resultobj;
25933 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25934 PyObject * obj0 = 0 ;
25935 char *kwnames[] = {
25936 (char *) "self", NULL
25937 };
25938
25939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
25940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25941 {
25942 PyThreadState* __tstate = wxPyBeginAllowThreads();
25943 (arg1)->base_OnLeave();
25944
25945 wxPyEndAllowThreads(__tstate);
25946 if (PyErr_Occurred()) SWIG_fail;
25947 }
25948 Py_INCREF(Py_None); resultobj = Py_None;
25949 return resultobj;
25950 fail:
25951 return NULL;
25952}
25953
25954
25955static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
25956 PyObject *resultobj;
25957 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
25958 int arg2 ;
25959 int arg3 ;
d14a1e28
RD
25960 bool result;
25961 PyObject * obj0 = 0 ;
8edf1c75
RD
25962 PyObject * obj1 = 0 ;
25963 PyObject * obj2 = 0 ;
d14a1e28
RD
25964 char *kwnames[] = {
25965 (char *) "self",(char *) "x",(char *) "y", NULL
25966 };
25967
8edf1c75 25968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 25969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
25970 {
25971 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25972 if (PyErr_Occurred()) SWIG_fail;
25973 }
25974 {
25975 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25976 if (PyErr_Occurred()) SWIG_fail;
25977 }
d14a1e28
RD
25978 {
25979 PyThreadState* __tstate = wxPyBeginAllowThreads();
25980 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
25981
25982 wxPyEndAllowThreads(__tstate);
25983 if (PyErr_Occurred()) SWIG_fail;
25984 }
4e760a36 25985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25986 return resultobj;
25987 fail:
25988 return NULL;
25989}
25990
25991
25992static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
25993 PyObject *resultobj;
25994 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
25995 int arg2 ;
25996 int arg3 ;
d14a1e28
RD
25997 int arg4 ;
25998 int result;
25999 PyObject * obj0 = 0 ;
8edf1c75
RD
26000 PyObject * obj1 = 0 ;
26001 PyObject * obj2 = 0 ;
26002 PyObject * obj3 = 0 ;
d14a1e28
RD
26003 char *kwnames[] = {
26004 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26005 };
26006
8edf1c75 26007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 26008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
26009 {
26010 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26011 if (PyErr_Occurred()) SWIG_fail;
26012 }
26013 {
26014 arg3 = (int) SWIG_PyObj_AsInt(obj2);
26015 if (PyErr_Occurred()) SWIG_fail;
26016 }
26017 {
26018 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
26019 if (PyErr_Occurred()) SWIG_fail;
26020 }
d14a1e28
RD
26021 {
26022 PyThreadState* __tstate = wxPyBeginAllowThreads();
26023 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26024
26025 wxPyEndAllowThreads(__tstate);
26026 if (PyErr_Occurred()) SWIG_fail;
26027 }
8edf1c75 26028 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
26029 return resultobj;
26030 fail:
26031 return NULL;
26032}
26033
26034
26035static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
26036 PyObject *obj;
26037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26038 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
26039 Py_INCREF(obj);
26040 return Py_BuildValue((char *)"");
26041}
26042static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26043 PyObject *resultobj;
26044 wxPyFileDropTarget *result;
26045 char *kwnames[] = {
26046 NULL
26047 };
26048
26049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
26050 {
26051 PyThreadState* __tstate = wxPyBeginAllowThreads();
26052 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
26053
26054 wxPyEndAllowThreads(__tstate);
26055 if (PyErr_Occurred()) SWIG_fail;
26056 }
26057 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileDropTarget, 1);
26058 return resultobj;
26059 fail:
26060 return NULL;
26061}
26062
26063
26064static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26065 PyObject *resultobj;
26066 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26067 PyObject *arg2 = (PyObject *) 0 ;
26068 PyObject *arg3 = (PyObject *) 0 ;
26069 PyObject * obj0 = 0 ;
26070 PyObject * obj1 = 0 ;
26071 PyObject * obj2 = 0 ;
26072 char *kwnames[] = {
26073 (char *) "self",(char *) "self",(char *) "_class", NULL
26074 };
26075
26076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26078 arg2 = obj1;
26079 arg3 = obj2;
26080 {
26081 PyThreadState* __tstate = wxPyBeginAllowThreads();
26082 (arg1)->_setCallbackInfo(arg2,arg3);
26083
26084 wxPyEndAllowThreads(__tstate);
26085 if (PyErr_Occurred()) SWIG_fail;
26086 }
26087 Py_INCREF(Py_None); resultobj = Py_None;
26088 return resultobj;
26089 fail:
26090 return NULL;
26091}
26092
26093
26094static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26095 PyObject *resultobj;
26096 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
26097 int arg2 ;
26098 int arg3 ;
d14a1e28
RD
26099 int arg4 ;
26100 int result;
26101 PyObject * obj0 = 0 ;
8edf1c75
RD
26102 PyObject * obj1 = 0 ;
26103 PyObject * obj2 = 0 ;
26104 PyObject * obj3 = 0 ;
d14a1e28
RD
26105 char *kwnames[] = {
26106 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26107 };
26108
8edf1c75 26109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 26110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
26111 {
26112 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26113 if (PyErr_Occurred()) SWIG_fail;
26114 }
26115 {
26116 arg3 = (int) SWIG_PyObj_AsInt(obj2);
26117 if (PyErr_Occurred()) SWIG_fail;
26118 }
26119 {
26120 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
26121 if (PyErr_Occurred()) SWIG_fail;
26122 }
d14a1e28
RD
26123 {
26124 PyThreadState* __tstate = wxPyBeginAllowThreads();
26125 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26126
26127 wxPyEndAllowThreads(__tstate);
26128 if (PyErr_Occurred()) SWIG_fail;
26129 }
8edf1c75 26130 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
26131 return resultobj;
26132 fail:
26133 return NULL;
26134}
26135
26136
26137static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26138 PyObject *resultobj;
26139 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
26140 int arg2 ;
26141 int arg3 ;
d14a1e28
RD
26142 int arg4 ;
26143 int result;
26144 PyObject * obj0 = 0 ;
8edf1c75
RD
26145 PyObject * obj1 = 0 ;
26146 PyObject * obj2 = 0 ;
26147 PyObject * obj3 = 0 ;
d14a1e28
RD
26148 char *kwnames[] = {
26149 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26150 };
26151
8edf1c75 26152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 26153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
26154 {
26155 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26156 if (PyErr_Occurred()) SWIG_fail;
26157 }
26158 {
26159 arg3 = (int) SWIG_PyObj_AsInt(obj2);
26160 if (PyErr_Occurred()) SWIG_fail;
26161 }
26162 {
26163 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
26164 if (PyErr_Occurred()) SWIG_fail;
26165 }
d14a1e28
RD
26166 {
26167 PyThreadState* __tstate = wxPyBeginAllowThreads();
26168 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26169
26170 wxPyEndAllowThreads(__tstate);
26171 if (PyErr_Occurred()) SWIG_fail;
26172 }
8edf1c75 26173 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
26174 return resultobj;
26175 fail:
26176 return NULL;
26177}
26178
26179
26180static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26181 PyObject *resultobj;
26182 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26183 PyObject * obj0 = 0 ;
26184 char *kwnames[] = {
26185 (char *) "self", NULL
26186 };
26187
26188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26190 {
26191 PyThreadState* __tstate = wxPyBeginAllowThreads();
26192 (arg1)->base_OnLeave();
26193
26194 wxPyEndAllowThreads(__tstate);
26195 if (PyErr_Occurred()) SWIG_fail;
26196 }
26197 Py_INCREF(Py_None); resultobj = Py_None;
26198 return resultobj;
26199 fail:
26200 return NULL;
26201}
26202
26203
26204static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26205 PyObject *resultobj;
26206 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
26207 int arg2 ;
26208 int arg3 ;
d14a1e28
RD
26209 bool result;
26210 PyObject * obj0 = 0 ;
8edf1c75
RD
26211 PyObject * obj1 = 0 ;
26212 PyObject * obj2 = 0 ;
d14a1e28
RD
26213 char *kwnames[] = {
26214 (char *) "self",(char *) "x",(char *) "y", NULL
26215 };
26216
8edf1c75 26217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 26218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
26219 {
26220 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26221 if (PyErr_Occurred()) SWIG_fail;
26222 }
26223 {
26224 arg3 = (int) SWIG_PyObj_AsInt(obj2);
26225 if (PyErr_Occurred()) SWIG_fail;
26226 }
d14a1e28
RD
26227 {
26228 PyThreadState* __tstate = wxPyBeginAllowThreads();
26229 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26230
26231 wxPyEndAllowThreads(__tstate);
26232 if (PyErr_Occurred()) SWIG_fail;
26233 }
4e760a36 26234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26235 return resultobj;
26236 fail:
26237 return NULL;
26238}
26239
26240
26241static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26242 PyObject *resultobj;
26243 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
26244 int arg2 ;
26245 int arg3 ;
d14a1e28
RD
26246 int arg4 ;
26247 int result;
26248 PyObject * obj0 = 0 ;
8edf1c75
RD
26249 PyObject * obj1 = 0 ;
26250 PyObject * obj2 = 0 ;
26251 PyObject * obj3 = 0 ;
d14a1e28
RD
26252 char *kwnames[] = {
26253 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26254 };
26255
8edf1c75 26256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 26257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
26258 {
26259 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26260 if (PyErr_Occurred()) SWIG_fail;
26261 }
26262 {
26263 arg3 = (int) SWIG_PyObj_AsInt(obj2);
26264 if (PyErr_Occurred()) SWIG_fail;
26265 }
26266 {
26267 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
26268 if (PyErr_Occurred()) SWIG_fail;
26269 }
d14a1e28
RD
26270 {
26271 PyThreadState* __tstate = wxPyBeginAllowThreads();
26272 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26273
26274 wxPyEndAllowThreads(__tstate);
26275 if (PyErr_Occurred()) SWIG_fail;
26276 }
8edf1c75 26277 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
26278 return resultobj;
26279 fail:
26280 return NULL;
26281}
26282
26283
26284static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
26285 PyObject *obj;
26286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26287 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
26288 Py_INCREF(obj);
26289 return Py_BuildValue((char *)"");
26290}
26291static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26292 PyObject *resultobj;
26293 wxClipboard *result;
26294 char *kwnames[] = {
26295 NULL
26296 };
26297
26298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
26299 {
26300 PyThreadState* __tstate = wxPyBeginAllowThreads();
26301 result = (wxClipboard *)new wxClipboard();
26302
26303 wxPyEndAllowThreads(__tstate);
26304 if (PyErr_Occurred()) SWIG_fail;
26305 }
26306 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboard, 1);
26307 return resultobj;
26308 fail:
26309 return NULL;
26310}
26311
26312
26313static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26314 PyObject *resultobj;
26315 wxClipboard *arg1 = (wxClipboard *) 0 ;
26316 PyObject * obj0 = 0 ;
26317 char *kwnames[] = {
26318 (char *) "self", NULL
26319 };
26320
26321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
26322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26323 {
26324 PyThreadState* __tstate = wxPyBeginAllowThreads();
26325 delete arg1;
26326
26327 wxPyEndAllowThreads(__tstate);
26328 if (PyErr_Occurred()) SWIG_fail;
26329 }
26330 Py_INCREF(Py_None); resultobj = Py_None;
26331 return resultobj;
26332 fail:
26333 return NULL;
26334}
26335
26336
26337static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
26338 PyObject *resultobj;
26339 wxClipboard *arg1 = (wxClipboard *) 0 ;
26340 bool result;
26341 PyObject * obj0 = 0 ;
26342 char *kwnames[] = {
26343 (char *) "self", NULL
26344 };
26345
26346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
26347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26348 {
26349 PyThreadState* __tstate = wxPyBeginAllowThreads();
26350 result = (bool)(arg1)->Open();
26351
26352 wxPyEndAllowThreads(__tstate);
26353 if (PyErr_Occurred()) SWIG_fail;
26354 }
4e760a36 26355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26356 return resultobj;
26357 fail:
26358 return NULL;
26359}
26360
26361
26362static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
26363 PyObject *resultobj;
26364 wxClipboard *arg1 = (wxClipboard *) 0 ;
26365 PyObject * obj0 = 0 ;
26366 char *kwnames[] = {
26367 (char *) "self", NULL
26368 };
26369
26370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
26371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26372 {
26373 PyThreadState* __tstate = wxPyBeginAllowThreads();
26374 (arg1)->Close();
26375
26376 wxPyEndAllowThreads(__tstate);
26377 if (PyErr_Occurred()) SWIG_fail;
26378 }
26379 Py_INCREF(Py_None); resultobj = Py_None;
26380 return resultobj;
26381 fail:
26382 return NULL;
26383}
26384
26385
26386static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
26387 PyObject *resultobj;
26388 wxClipboard *arg1 = (wxClipboard *) 0 ;
26389 bool result;
26390 PyObject * obj0 = 0 ;
26391 char *kwnames[] = {
26392 (char *) "self", NULL
26393 };
26394
26395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
26396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26397 {
26398 PyThreadState* __tstate = wxPyBeginAllowThreads();
26399 result = (bool)((wxClipboard const *)arg1)->IsOpened();
26400
26401 wxPyEndAllowThreads(__tstate);
26402 if (PyErr_Occurred()) SWIG_fail;
26403 }
4e760a36 26404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26405 return resultobj;
26406 fail:
26407 return NULL;
26408}
26409
26410
26411static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
26412 PyObject *resultobj;
26413 wxClipboard *arg1 = (wxClipboard *) 0 ;
26414 wxDataObject *arg2 = (wxDataObject *) 0 ;
26415 bool result;
26416 PyObject * obj0 = 0 ;
26417 PyObject * obj1 = 0 ;
26418 char *kwnames[] = {
26419 (char *) "self",(char *) "data", NULL
26420 };
26421
26422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
26423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
58203fa6 26424 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
d14a1e28
RD
26425 {
26426 PyThreadState* __tstate = wxPyBeginAllowThreads();
26427 result = (bool)(arg1)->AddData(arg2);
26428
26429 wxPyEndAllowThreads(__tstate);
26430 if (PyErr_Occurred()) SWIG_fail;
26431 }
4e760a36 26432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26433 return resultobj;
26434 fail:
26435 return NULL;
26436}
26437
26438
26439static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26440 PyObject *resultobj;
26441 wxClipboard *arg1 = (wxClipboard *) 0 ;
26442 wxDataObject *arg2 = (wxDataObject *) 0 ;
26443 bool result;
26444 PyObject * obj0 = 0 ;
26445 PyObject * obj1 = 0 ;
26446 char *kwnames[] = {
26447 (char *) "self",(char *) "data", NULL
26448 };
26449
26450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
26451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
58203fa6 26452 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
d14a1e28
RD
26453 {
26454 PyThreadState* __tstate = wxPyBeginAllowThreads();
26455 result = (bool)(arg1)->SetData(arg2);
26456
26457 wxPyEndAllowThreads(__tstate);
26458 if (PyErr_Occurred()) SWIG_fail;
26459 }
4e760a36 26460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26461 return resultobj;
26462 fail:
26463 return NULL;
26464}
26465
26466
26467static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
26468 PyObject *resultobj;
26469 wxClipboard *arg1 = (wxClipboard *) 0 ;
26470 wxDataFormat *arg2 = 0 ;
26471 bool result;
26472 PyObject * obj0 = 0 ;
26473 PyObject * obj1 = 0 ;
26474 char *kwnames[] = {
26475 (char *) "self",(char *) "format", NULL
26476 };
26477
26478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
26479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26480 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26481 if (arg2 == NULL) {
26482 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26483 }
26484 {
26485 PyThreadState* __tstate = wxPyBeginAllowThreads();
26486 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
26487
26488 wxPyEndAllowThreads(__tstate);
26489 if (PyErr_Occurred()) SWIG_fail;
26490 }
4e760a36 26491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26492 return resultobj;
26493 fail:
26494 return NULL;
26495}
26496
26497
26498static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26499 PyObject *resultobj;
26500 wxClipboard *arg1 = (wxClipboard *) 0 ;
26501 wxDataObject *arg2 = 0 ;
26502 bool result;
26503 PyObject * obj0 = 0 ;
26504 PyObject * obj1 = 0 ;
26505 char *kwnames[] = {
26506 (char *) "self",(char *) "data", NULL
26507 };
26508
26509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
26510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26511 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26512 if (arg2 == NULL) {
26513 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26514 }
26515 {
26516 PyThreadState* __tstate = wxPyBeginAllowThreads();
26517 result = (bool)(arg1)->GetData(*arg2);
26518
26519 wxPyEndAllowThreads(__tstate);
26520 if (PyErr_Occurred()) SWIG_fail;
26521 }
4e760a36 26522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26523 return resultobj;
26524 fail:
26525 return NULL;
26526}
26527
26528
26529static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
26530 PyObject *resultobj;
26531 wxClipboard *arg1 = (wxClipboard *) 0 ;
26532 PyObject * obj0 = 0 ;
26533 char *kwnames[] = {
26534 (char *) "self", NULL
26535 };
26536
26537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
26538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26539 {
26540 PyThreadState* __tstate = wxPyBeginAllowThreads();
26541 (arg1)->Clear();
26542
26543 wxPyEndAllowThreads(__tstate);
26544 if (PyErr_Occurred()) SWIG_fail;
26545 }
26546 Py_INCREF(Py_None); resultobj = Py_None;
26547 return resultobj;
26548 fail:
26549 return NULL;
26550}
26551
26552
26553static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
26554 PyObject *resultobj;
26555 wxClipboard *arg1 = (wxClipboard *) 0 ;
26556 bool result;
26557 PyObject * obj0 = 0 ;
26558 char *kwnames[] = {
26559 (char *) "self", NULL
26560 };
26561
26562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
26563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26564 {
26565 PyThreadState* __tstate = wxPyBeginAllowThreads();
26566 result = (bool)(arg1)->Flush();
26567
26568 wxPyEndAllowThreads(__tstate);
26569 if (PyErr_Occurred()) SWIG_fail;
26570 }
4e760a36 26571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26572 return resultobj;
26573 fail:
26574 return NULL;
26575}
26576
26577
26578static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26579 PyObject *resultobj;
26580 wxClipboard *arg1 = (wxClipboard *) 0 ;
423f194a 26581 bool arg2 = (bool) False ;
d14a1e28
RD
26582 PyObject * obj0 = 0 ;
26583 PyObject * obj1 = 0 ;
26584 char *kwnames[] = {
26585 (char *) "self",(char *) "primary", NULL
26586 };
26587
26588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
26589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26590 if (obj1) {
83448d71 26591 {
8edf1c75 26592 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
26593 if (PyErr_Occurred()) SWIG_fail;
26594 }
d14a1e28
RD
26595 }
26596 {
26597 PyThreadState* __tstate = wxPyBeginAllowThreads();
26598 (arg1)->UsePrimarySelection(arg2);
26599
26600 wxPyEndAllowThreads(__tstate);
26601 if (PyErr_Occurred()) SWIG_fail;
26602 }
26603 Py_INCREF(Py_None); resultobj = Py_None;
26604 return resultobj;
26605 fail:
26606 return NULL;
26607}
26608
26609
26610static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
26611 PyObject *obj;
26612 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26613 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
26614 Py_INCREF(obj);
26615 return Py_BuildValue((char *)"");
26616}
8edf1c75 26617static int _wrap_TheClipboard_set(PyObject *) {
d14a1e28
RD
26618 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
26619 return 1;
26620}
26621
26622
26623static PyObject *_wrap_TheClipboard_get() {
26624 PyObject *pyobj;
26625
26626 pyobj = SWIG_NewPointerObj((void *) wxTheClipboard, SWIGTYPE_p_wxClipboard, 0);
26627 return pyobj;
26628}
26629
26630
26631static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
26632 PyObject *resultobj;
26633 wxClipboard *arg1 = (wxClipboard *) NULL ;
26634 wxClipboardLocker *result;
26635 PyObject * obj0 = 0 ;
26636 char *kwnames[] = {
26637 (char *) "clipboard", NULL
26638 };
26639
26640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
26641 if (obj0) {
26642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26643 }
26644 {
26645 PyThreadState* __tstate = wxPyBeginAllowThreads();
26646 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
26647
26648 wxPyEndAllowThreads(__tstate);
26649 if (PyErr_Occurred()) SWIG_fail;
26650 }
26651 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboardLocker, 1);
26652 return resultobj;
26653 fail:
26654 return NULL;
26655}
26656
26657
26658static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
26659 PyObject *resultobj;
26660 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
26661 PyObject * obj0 = 0 ;
26662 char *kwnames[] = {
26663 (char *) "self", NULL
26664 };
26665
26666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
26667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26668 {
26669 PyThreadState* __tstate = wxPyBeginAllowThreads();
26670 delete arg1;
26671
26672 wxPyEndAllowThreads(__tstate);
26673 if (PyErr_Occurred()) SWIG_fail;
26674 }
26675 Py_INCREF(Py_None); resultobj = Py_None;
26676 return resultobj;
26677 fail:
26678 return NULL;
26679}
26680
26681
26682static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
26683 PyObject *resultobj;
26684 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
26685 bool result;
26686 PyObject * obj0 = 0 ;
26687 char *kwnames[] = {
26688 (char *) "self", NULL
26689 };
26690
26691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
26692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26693 {
26694 PyThreadState* __tstate = wxPyBeginAllowThreads();
26695 result = (bool)wxClipboardLocker___nonzero__(arg1);
26696
26697 wxPyEndAllowThreads(__tstate);
26698 if (PyErr_Occurred()) SWIG_fail;
26699 }
4e760a36 26700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26701 return resultobj;
26702 fail:
26703 return NULL;
26704}
26705
26706
26707static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
26708 PyObject *obj;
26709 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26710 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
26711 Py_INCREF(obj);
26712 return Py_BuildValue((char *)"");
26713}
26714static PyMethodDef SwigMethods[] = {
26715 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
26716 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
26717 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
26718 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
26719 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
26720 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
26721 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
26722 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
26723 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
26724 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
26725 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
26726 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
26727 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
26728 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
26729 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
26730 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
26731 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
26732 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
26733 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
26734 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
26735 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
26736 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
26737 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
26738 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
26739 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
26740 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
26741 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
26742 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
26743 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
26744 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
26745 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
26746 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
26747 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
26748 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
26749 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
26750 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
26751 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
26752 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
26753 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
26754 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
26755 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
26756 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
26757 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
26758 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
26759 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
26760 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
26761 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
26762 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
26763 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
26764 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
26765 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
26766 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
26767 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
26768 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
26769 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
26770 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
26771 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
26772 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
26773 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
26774 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
26775 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
26776 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
26777 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
26778 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
26779 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
26780 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
26781 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
d03fd34d 26782 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
26783 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
26784 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
26785 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
26786 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
26787 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
26788 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
26789 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
26790 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
26791 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
26792 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
26793 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
26794 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
26795 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
26796 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
26797 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
26798 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
26799 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
26800 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
d14a1e28 26801 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
44127b65 26802 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28 26803 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
44127b65 26804 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
26805 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
26806 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
26807 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
26808 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
26809 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
26810 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
26811 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
26812 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
26813 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
26814 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
26815 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
26816 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
26817 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
26818 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
26819 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
26820 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
26821 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
26822 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
26823 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
26824 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
26825 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
26826 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
26827 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
26828 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
26829 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
26830 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
26831 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
26832 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
26833 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
26834 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
26835 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
26836 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
26837 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
26838 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
26839 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
26840 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
26841 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
26842 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
26843 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
26844 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
26845 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
26846 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
26847 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
26848 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
26849 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
26850 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
26851 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
26852 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
26853 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
26854 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
26855 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
26856 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
26857 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26858 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
26859 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
26860 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
26861 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
26862 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
44127b65 26863 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
26864 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
26865 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
26866 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
26867 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
26868 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
26869 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
f0983263 26870 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
26871 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
26872 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
26873 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
26874 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
26875 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
26876 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
26877 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
26878 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
26879 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
26880 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26881 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
26882 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
26883 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
26884 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
26885 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
26886 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
26887 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
26888 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
26889 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
26890 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
26891 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
26892 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
26893 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
26894 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
26895 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
26896 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
26897 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
26898 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
26899 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
26900 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
26901 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
26902 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
26903 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
26904 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
26905 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
26906 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
26907 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
26908 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
26909 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
26910 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
26911 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
26912 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
26913 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
26914 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
26915 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
26916 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
26917 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
26918 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
26919 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
26920 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
26921 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
26922 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
26923 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
26924 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
26925 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
26926 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
26927 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
26928 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
26929 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
26930 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
26931 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
26932 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
26933 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
26934 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
26935 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
26936 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
f0983263 26937 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
d14a1e28
RD
26938 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
26939 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
26940 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
26941 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
26942 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
26943 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
26944 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26945 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
26946 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
26947 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
26948 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
26949 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
26950 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26951 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
26952 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
26953 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
26954 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
26955 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
26956 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
26957 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
26958 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
26959 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
26960 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
26961 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
26962 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
26963 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
26964 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
26965 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
26966 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
26967 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
26968 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
26969 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
26970 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
26971 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
26972 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
26973 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
26974 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
26975 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
26976 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
26977 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
26978 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
26979 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
26980 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
26981 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
26982 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
26983 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
26984 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
26985 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
26986 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
26987 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
26988 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
26989 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
26990 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
26991 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
26992 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
26993 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
26994 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
26995 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
26996 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
26997 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
26998 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
26999 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
27000 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
27001 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
27002 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
27003 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
27004 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
27005 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
27006 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
27007 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
27008 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
27009 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
27010 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
27011 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
27012 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
27013 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
27014 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
27015 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
27016 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
27017 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
27018 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
27019 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
27020 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
27021 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
27022 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
27023 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
27024 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
27025 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
27026 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
27027 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
27028 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
27029 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
27030 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
27031 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
27032 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
27033 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
27034 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
27035 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
27036 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
27037 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
27038 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
27039 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
27040 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
27041 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
27042 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
27043 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
27044 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
4e760a36
RD
27045 { (char *)"new_Sound", _wrap_new_Sound, METH_VARARGS },
27046 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS },
27047 { (char *)"Sound_Create", _wrap_Sound_Create, METH_VARARGS },
27048 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS },
27049 { (char *)"Sound_Play", _wrap_Sound_Play, METH_VARARGS },
27050 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound, METH_VARARGS },
27051 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS },
27052 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS },
d14a1e28
RD
27053 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
27054 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
27055 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
27056 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
27057 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
27058 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
27059 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
27060 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
27061 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
27062 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
27063 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
27064 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
27065 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
27066 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
27067 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
27068 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
27069 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
27070 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
27071 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
27072 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
27073 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
27074 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
27075 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
27076 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
27077 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
27078 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
27079 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
27080 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
27081 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
27082 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
27083 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
27084 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
27085 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
27086 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
27087 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
27088 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
27089 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
27090 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
27091 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
27092 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
27093 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
27094 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
27095 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
27096 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
27097 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
27098 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
27099 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
27100 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27101 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
27102 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
27103 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
27104 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
27105 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
41f1cec7 27106 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
27107 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
27108 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
27109 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
27110 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
27111 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
27112 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
27113 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
27114 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
27115 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
27116 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
27117 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
27118 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
27119 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
27120 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
27121 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
27122 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
27123 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
27124 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
27125 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
27126 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
27127 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
27128 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
27129 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
27130 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
27131 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
27132 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
27133 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
27134 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
27135 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
27136 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
27137 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
27138 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
27139 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
27140 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
27141 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
27142 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
27143 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
27144 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
27145 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
27146 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
27147 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
27148 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
27149 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
27150 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
27151 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
27152 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
27153 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
27154 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
27155 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
27156 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
27157 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
27158 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
27159 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
27160 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
27161 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
27162 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
27163 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
27164 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
27165 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
27166 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
27167 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
27168 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
27169 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
27170 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
27171 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
27172 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
27173 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
27174 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
27175 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
27176 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
27177 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
27178 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
27179 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
27180 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
27181 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
27182 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
27183 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
27184 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
27185 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
27186 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
27187 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
27188 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
27189 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
27190 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
27191 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
27192 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
27193 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
27194 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
27195 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
27196 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
27197 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
27198 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
27199 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
27200 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
27201 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
27202 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
27203 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
27204 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
27205 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
27206 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
27207 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
27208 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
27209 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
27210 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
27211 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
27212 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
27213 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
27214 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
27215 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
27216 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
27217 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
27218 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
27219 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
27220 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
27221 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
27222 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
27223 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
27224 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
27225 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
27226 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
27227 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
27228 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
27229 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
27230 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
27231 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
27232 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
27233 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
27234 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
27235 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
27236 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
27237 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
27238 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
27239 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
27240 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
27241 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
27242 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
27243 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
27244 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
27245 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
27246 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
27247 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
27248 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
27249 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
27250 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
27251 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
27252 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
27253 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
27254 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
27255 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
27256 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
27257 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
27258 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
27259 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
27260 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
27261 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
27262 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
27263 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
27264 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
27265 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
27266 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
27267 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
27268 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
27269 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
27270 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
27271 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
27272 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
27273 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
27274 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
27275 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
27276 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
27277 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
27278 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
27279 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
27280 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
27281 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
27282 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
27283 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
27284 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
27285 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
27286 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
27287 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
27288 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
27289 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
27290 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
27291 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
27292 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
27293 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
27294 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
27295 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
27296 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
27297 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
27298 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
27299 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
27300 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
27301 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
27302 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
27303 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
27304 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
27305 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
27306 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
27307 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
27308 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
27309 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
27310 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
27311 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
27312 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
27313 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
27314 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
27315 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
27316 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
27317 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
27318 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
27319 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
27320 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
27321 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
27322 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
27323 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
27324 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
27325 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
27326 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
27327 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
27328 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
27329 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
27330 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
27331 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
27332 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
27333 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
27334 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
27335 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
27336 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
27337 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
27338 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
27339 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
27340 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
27341 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
27342 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
27343 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
27344 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
27345 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
27346 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
27347 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
27348 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
27349 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
27350 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
27351 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
27352 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
27353 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
27354 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
27355 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
27356 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
27357 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
27358 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
27359 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
27360 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
27361 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
27362 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
27363 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
27364 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
27365 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
27366 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
27367 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
27368 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
27369 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
27370 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
27371 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
27372 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
27373 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
27374 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
27375 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
27376 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
27377 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
27378 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
27379 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
27380 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27381 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
27382 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
27383 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
27384 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
27385 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
27386 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
27387 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
27388 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
27389 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
27390 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
27391 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27392 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
27393 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
27394 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
27395 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
27396 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
27397 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
27398 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27399 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
27400 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
27401 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
27402 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS },
27403 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
27404 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
27405 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
27406 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
27407 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
27408 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
27409 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
27410 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
27411 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
27412 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
27413 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
27414 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
83448d71
RD
27415 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS },
27416 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
27417 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
27418 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
27419 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
27420 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27421 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
27422 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
27423 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
27424 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
27425 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
27426 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
27427 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
d03fd34d 27428 { (char *)"new_PyDropTarget", (PyCFunction) _wrap_new_PyDropTarget, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
27429 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27430 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
27431 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
27432 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
27433 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
27434 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
27435 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
27436 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
27437 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
27438 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
27439 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
27440 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27441 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
27442 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
27443 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
27444 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
27445 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
27446 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
27447 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
27448 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27449 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
27450 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
27451 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
27452 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
27453 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
27454 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
27455 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
27456 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
27457 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
27458 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
27459 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
27460 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
27461 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
27462 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
27463 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
27464 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
27465 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
27466 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
27467 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
27468 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
27469 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
27470 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
27471 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
27472 { NULL, NULL }
27473};
27474
27475
27476/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27477
27478static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
27479 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
27480}
27481static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
27482 return (void *)((wxEvent *) ((wxMenuEvent *) x));
27483}
27484static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
27485 return (void *)((wxEvent *) ((wxCloseEvent *) x));
27486}
27487static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
27488 return (void *)((wxEvent *) ((wxMouseEvent *) x));
27489}
27490static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
27491 return (void *)((wxEvent *) ((wxEraseEvent *) x));
27492}
27493static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
27494 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
27495}
27496static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
27497 return (void *)((wxEvent *) ((wxTimerEvent *) x));
27498}
27499static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
27500 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
27501}
27502static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
27503 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
27504}
27505static void *_p_wxPyEventTo_p_wxEvent(void *x) {
27506 return (void *)((wxEvent *) ((wxPyEvent *) x));
27507}
27508static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
27509 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
27510}
27511static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
27512 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
27513}
27514static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
27515 return (void *)((wxEvent *) ((wxIdleEvent *) x));
27516}
27517static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
27518 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
27519}
27520static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
27521 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
27522}
27523static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
27524 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
27525}
27526static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
27527 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
27528}
27529static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
27530 return (void *)((wxEvent *) ((wxActivateEvent *) x));
27531}
27532static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
27533 return (void *)((wxEvent *) ((wxSizeEvent *) x));
27534}
27535static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
27536 return (void *)((wxEvent *) ((wxMoveEvent *) x));
27537}
27538static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
27539 return (void *)((wxEvent *) ((wxPaintEvent *) x));
27540}
27541static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
27542 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
27543}
27544static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
27545 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
27546}
27547static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
27548 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
27549}
27550static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
27551 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
27552}
27553static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
27554 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27555}
27556static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
27557 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
27558}
27559static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
27560 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
27561}
27562static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
27563 return (void *)((wxEvent *) ((wxFocusEvent *) x));
27564}
27565static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
27566 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
27567}
27568static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
27569 return (void *)((wxEvent *) ((wxProcessEvent *) x));
27570}
27571static void *_p_wxShowEventTo_p_wxEvent(void *x) {
27572 return (void *)((wxEvent *) ((wxShowEvent *) x));
27573}
27574static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
27575 return (void *)((wxEvent *) ((wxCommandEvent *) x));
27576}
27577static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
27578 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
27579}
27580static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
27581 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27582}
27583static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
27584 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
27585}
27586static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
27587 return (void *)((wxEvent *) ((wxKeyEvent *) x));
27588}
27589static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
27590 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
27591}
27592static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
27593 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
27594}
27595static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
27596 return (void *)((wxConfigBase *) ((wxConfig *) x));
27597}
27598static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
27599 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
27600}
27601static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
27602 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
27603}
27604static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
27605 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
27606}
27607static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
27608 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
27609}
27610static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
27611 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
27612}
27613static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
27614 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
27615}
27616static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
27617 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
27618}
27619static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
27620 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
27621}
27622static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
27623 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
27624}
27625static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
27626 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
27627}
27628static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
27629 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
27630}
27631static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
27632 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
27633}
27634static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
27635 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
27636}
27637static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
27638 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
27639}
27640static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
27641 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
27642}
27643static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
27644 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
27645}
27646static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
27647 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
27648}
27649static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
27650 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
27651}
27652static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
27653 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
27654}
27655static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
27656 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
27657}
27658static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
27659 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
27660}
27661static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
27662 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
27663}
27664static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27665 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27666}
27667static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27668 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27669}
27670static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27671 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27672}
27673static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27674 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27675}
27676static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
27677 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
27678}
27679static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27680 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27681}
27682static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27683 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27684}
27685static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27686 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27687}
27688static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27689 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27690}
27691static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
27692 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
27693}
27694static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
27695 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
27696}
27697static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27698 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27699}
27700static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27701 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27702}
27703static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27704 return (void *)((wxObject *) ((wxSizerItem *) x));
27705}
27706static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27707 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27708}
27709static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27710 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27711}
27712static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27713 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27714}
27715static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27716 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27717}
27718static void *_p_wxSizerTo_p_wxObject(void *x) {
27719 return (void *)((wxObject *) ((wxSizer *) x));
27720}
27721static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27722 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27723}
27724static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
27725 return (void *)((wxObject *) ((wxFileHistory *) x));
27726}
27727static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27728 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27729}
27730static void *_p_wxEventTo_p_wxObject(void *x) {
27731 return (void *)((wxObject *) ((wxEvent *) x));
27732}
27733static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27734 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27735}
27736static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27737 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27738}
27739static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27740 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27741}
27742static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27743 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27744}
27745static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27746 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27747}
27748static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27749 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27750}
27751static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27752 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27753}
27754static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27755 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27756}
27757static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27758 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27759}
27760static void *_p_wxControlTo_p_wxObject(void *x) {
27761 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27762}
27763static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27764 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27765}
27766static void *_p_wxTimerEventTo_p_wxObject(void *x) {
27767 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
27768}
27769static void *_p_wxFSFileTo_p_wxObject(void *x) {
27770 return (void *)((wxObject *) ((wxFSFile *) x));
27771}
27772static void *_p_wxClipboardTo_p_wxObject(void *x) {
27773 return (void *)((wxObject *) ((wxClipboard *) x));
27774}
27775static void *_p_wxPySizerTo_p_wxObject(void *x) {
27776 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27777}
27778static void *_p_wxPyEventTo_p_wxObject(void *x) {
27779 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27780}
27781static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27782 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27783}
27784static void *_p_wxShowEventTo_p_wxObject(void *x) {
27785 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27786}
27787static void *_p_wxToolTipTo_p_wxObject(void *x) {
27788 return (void *)((wxObject *) ((wxToolTip *) x));
27789}
27790static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27791 return (void *)((wxObject *) ((wxMenuItem *) x));
27792}
27793static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27794 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27795}
27796static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27797 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27798}
27799static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27800 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27801}
27802static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27803 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27804}
27805static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27806 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27807}
27808static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27809 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27810}
27811static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27812 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27813}
27814static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27815 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27816}
27817static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27818 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27819}
27820static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27821 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27822}
27823static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27824 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27825}
27826static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27827 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27828}
27829static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27830 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27831}
27832static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27833 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27834}
27835static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27836 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27837}
27838static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27839 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27840}
27841static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27842 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27843}
27844static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27845 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27846}
27847static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27848 return (void *)((wxObject *) ((wxImageHandler *) x));
27849}
27850static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27851 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27852}
27853static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27854 return (void *)((wxObject *) ((wxEvtHandler *) x));
27855}
41f1cec7
RD
27856static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27857 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27858}
d14a1e28
RD
27859static void *_p_wxImageTo_p_wxObject(void *x) {
27860 return (void *)((wxObject *) ((wxImage *) x));
27861}
27862static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27863 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27864}
27865static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
27866 return (void *)((wxObject *) ((wxSystemOptions *) x));
27867}
27868static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
27869 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
27870}
27871static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27872 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27873}
27874static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27875 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27876}
27877static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27878 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27879}
27880static void *_p_wxWindowTo_p_wxObject(void *x) {
27881 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27882}
27883static void *_p_wxMenuTo_p_wxObject(void *x) {
27884 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27885}
27886static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27887 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27888}
27889static void *_p_wxPyProcessTo_p_wxObject(void *x) {
27890 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
27891}
27892static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27893 return (void *)((wxObject *) ((wxFileSystem *) x));
27894}
27895static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27896 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27897}
27898static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27899 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27900}
27901static void *_p_wxPyAppTo_p_wxObject(void *x) {
27902 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27903}
27904static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27905 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27906}
27907static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27908 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27909}
27910static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27911 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27912}
27913static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
27914 return (void *)((wxObject *) ((wxBusyInfo *) x));
27915}
27916static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27917 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27918}
27919static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27920 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27921}
27922static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27923 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27924}
27925static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27926 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27927}
27928static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27929 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27930}
27931static void *_p_wxProcessEventTo_p_wxObject(void *x) {
27932 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
27933}
27934static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27935 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27936}
27937static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27938 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27939}
27940static void *_p_wxValidatorTo_p_wxObject(void *x) {
27941 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27942}
27943static void *_p_wxPyTimerTo_p_wxObject(void *x) {
27944 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
27945}
27946static void *_p_wxLogStderrTo_p_wxLog(void *x) {
27947 return (void *)((wxLog *) ((wxLogStderr *) x));
27948}
27949static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
27950 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
27951}
27952static void *_p_wxLogWindowTo_p_wxLog(void *x) {
27953 return (void *)((wxLog *) ((wxLogWindow *) x));
27954}
27955static void *_p_wxLogChainTo_p_wxLog(void *x) {
27956 return (void *)((wxLog *) ((wxLogChain *) x));
27957}
27958static void *_p_wxLogGuiTo_p_wxLog(void *x) {
27959 return (void *)((wxLog *) ((wxLogGui *) x));
27960}
27961static void *_p_wxPyLogTo_p_wxLog(void *x) {
27962 return (void *)((wxLog *) ((wxPyLog *) x));
27963}
27964static void *_p_wxControlTo_p_wxWindow(void *x) {
27965 return (void *)((wxWindow *) ((wxControl *) x));
27966}
27967static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27968 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27969}
27970static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27971 return (void *)((wxWindow *) ((wxMenuBar *) x));
27972}
27973static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
27974 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
27975}
27976static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
27977 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
27978}
27979static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
27980static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
83448d71 27981static swig_type_info _swigt__p_wxMetafile[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0},{"_p_wxMetafile"},{0}};
d14a1e28
RD
27982static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
27983static 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}};
27984static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
27985static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
27986static 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}};
27987static 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}};
d14a1e28
RD
27988static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
27989static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
27990static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27991static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
27992static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
27993static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
27994static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27995static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27996static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
27997static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
27998static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27999static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
28000static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
28001static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
28002static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
28003static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
28004static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
d14a1e28
RD
28005static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
28006static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject},{0}};
28007static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject},{0}};
28008static 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}};
4e760a36 28009static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
8edf1c75 28010static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
d14a1e28
RD
28011static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
28012static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
28013static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
4e760a36 28014static swig_type_info _swigt__p_wxSound[] = {{"_p_wxSound", 0, "wxSound *", 0},{"_p_wxSound"},{0}};
d14a1e28
RD
28015static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
28016static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
28017static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
28018static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28019static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
28020static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
28021static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite},{0}};
28022static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
28023static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
28024static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
28025static 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}};
28026static 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}};
28027static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
8edf1c75 28028static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
d14a1e28
RD
28029static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
28030static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
28031static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
28032static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
28033static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
28034static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
28035static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
28036static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider},{0}};
28037static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
28038static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
28039static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28040static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
28041static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
41f1cec7 28042static 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}};
d14a1e28
RD
28043static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
28044static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
28045static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
28046static 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}};
28047static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28048static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
28049static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28050static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
28051static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
28052static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
28053static 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}};
28054static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
28055static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
28056static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
28057static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
28058static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
28059static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
4e760a36 28060static swig_type_info _swigt__p_wxByte[] = {{"_p_wxByte", 0, "wxByte *", 0},{"_p_wxByte"},{0}};
d14a1e28
RD
28061static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
28062static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
28063static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
28064
28065static swig_type_info *swig_types_initial[] = {
28066_swigt__p_wxLogChain,
28067_swigt__p_wxMutexGuiLocker,
83448d71 28068_swigt__p_wxMetafile,
d14a1e28
RD
28069_swigt__p_wxFileHistory,
28070_swigt__p_wxLog,
28071_swigt__p_wxDateTime__TimeZone,
28072_swigt__p_wxMenu,
28073_swigt__p_wxEvent,
28074_swigt__p_wxConfigBase,
d14a1e28
RD
28075_swigt__p_wxFileType,
28076_swigt__p_wxLogGui,
28077_swigt__p_wxFont,
28078_swigt__p_wxDataFormat,
28079_swigt__p_wxTimerEvent,
28080_swigt__p_wxCaret,
28081_swigt__p_int,
28082_swigt__p_wxSize,
28083_swigt__p_wxClipboard,
28084_swigt__p_wxStopWatch,
28085_swigt__p_wxDC,
28086_swigt__p_wxClipboardLocker,
28087_swigt__p_wxIcon,
28088_swigt__p_wxLogStderr,
28089_swigt__p_wxLogTextCtrl,
28090_swigt__p_wxTextCtrl,
28091_swigt__p_wxBusyCursor,
d14a1e28
RD
28092_swigt__p_wxPyTextDataObject,
28093_swigt__p_wxBitmapDataObject,
28094_swigt__p_wxTextDataObject,
28095_swigt__p_wxDataObject,
4e760a36 28096_swigt__p_wxPyBitmapDataObject,
8edf1c75 28097_swigt__p_wxFileDataObject,
d14a1e28
RD
28098_swigt__p_wxCustomDataObject,
28099_swigt__p_wxURLDataObject,
28100_swigt__p_wxMetafileDataObject,
4e760a36 28101_swigt__p_wxSound,
d14a1e28
RD
28102_swigt__p_wxTimerRunner,
28103_swigt__p_wxLogWindow,
28104_swigt__p_wxTimeSpan,
28105_swigt__p_wxArrayString,
28106_swigt__p_wxWindowDisabler,
28107_swigt__p_wxToolTip,
28108_swigt__p_wxDataObjectComposite,
28109_swigt__p_wxFileConfig,
28110_swigt__p_wxSystemSettings,
28111_swigt__p_wxPyDataObjectSimple,
28112_swigt__p_wxDataObjectSimple,
28113_swigt__p_wxEvtHandler,
28114_swigt__p_wxRect,
8edf1c75 28115_swigt__p_char,
d14a1e28
RD
28116_swigt__p_wxSingleInstanceChecker,
28117_swigt__p_wxFileTypeInfo,
28118_swigt__p_wxFrame,
28119_swigt__p_wxTimer,
28120_swigt__p_wxMimeTypesManager,
28121_swigt__p_wxPyArtProvider,
28122_swigt__p_wxPyTipProvider,
28123_swigt__p_wxTipProvider,
28124_swigt__p_wxJoystick,
28125_swigt__p_wxSystemOptions,
28126_swigt__p_wxPoint,
28127_swigt__p_wxJoystickEvent,
28128_swigt__p_wxCursor,
28129_swigt__p_wxObject,
28130_swigt__p_wxOutputStream,
28131_swigt__p_wxDateTime,
28132_swigt__p_wxPyDropSource,
28133_swigt__p_wxWindow,
28134_swigt__p_wxString,
28135_swigt__p_wxPyProcess,
28136_swigt__p_wxBitmap,
28137_swigt__p_wxConfig,
28138_swigt__p_wxChar,
28139_swigt__p_wxBusyInfo,
28140_swigt__p_wxPyDropTarget,
28141_swigt__p_wxPyTextDropTarget,
28142_swigt__p_wxPyFileDropTarget,
28143_swigt__p_wxProcessEvent,
28144_swigt__p_wxPyLog,
28145_swigt__p_wxLogNull,
28146_swigt__p_wxColour,
4e760a36 28147_swigt__p_wxByte,
d14a1e28
RD
28148_swigt__p_wxConfigPathChanger,
28149_swigt__p_wxPyTimer,
28150_swigt__p_wxDateSpan,
281510
28152};
28153
28154
28155/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28156
28157static swig_const_info swig_const_table[] = {
d14a1e28
RD
28158{ SWIG_PY_STRING, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
28159{ SWIG_PY_STRING, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
28160{ SWIG_PY_STRING, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
28161{ SWIG_PY_STRING, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
28162{ SWIG_PY_STRING, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
d14a1e28
RD
28163{0}};
28164
28165#ifdef __cplusplus
28166}
28167#endif
28168
28169#ifdef __cplusplus
28170extern "C"
28171#endif
28172SWIGEXPORT(void) SWIG_init(void) {
28173 static PyObject *SWIG_globals = 0;
28174 static int typeinit = 0;
28175 PyObject *m, *d;
28176 int i;
28177 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28178 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28179 d = PyModule_GetDict(m);
28180
28181 if (!typeinit) {
28182 for (i = 0; swig_types_initial[i]; i++) {
28183 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28184 }
28185 typeinit = 1;
28186 }
28187 SWIG_InstallConstants(d,swig_const_table);
28188
8edf1c75
RD
28189 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_OEM_FIXED_FONT));
28190 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_FIXED_FONT));
28191 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_VAR_FONT));
28192 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FONT));
28193 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT));
28194 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_PALETTE));
28195 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FIXED_FONT));
28196 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_GUI_FONT));
28197 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_PyObj_FromInt((int)wxSYS_ICONTITLE_FONT));
28198 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_SCROLLBAR));
28199 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BACKGROUND));
28200 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_DESKTOP));
28201 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION));
28202 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION));
28203 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENU));
28204 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOW));
28205 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWFRAME));
28206 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUTEXT));
28207 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWTEXT));
28208 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT));
28209 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER));
28210 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER));
28211 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_APPWORKSPACE));
28212 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHT));
28213 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
28214 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNFACE));
28215 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DFACE));
28216 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNSHADOW));
28217 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DSHADOW));
28218 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRAYTEXT));
28219 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNTEXT));
28220 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
28221 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT));
28222 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHILIGHT));
28223 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT));
28224 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHILIGHT));
28225 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DDKSHADOW));
28226 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DLIGHT));
28227 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOTEXT));
28228 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOBK));
28229 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_LISTBOX));
28230 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HOTLIGHT));
28231 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
28232 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
28233 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUHILIGHT));
28234 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUBAR));
28235 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MAX));
28236 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_MOUSE_BUTTONS));
28237 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_PyObj_FromInt((int)wxSYS_BORDER_X));
28238 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_PyObj_FromInt((int)wxSYS_BORDER_Y));
28239 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_X));
28240 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_Y));
28241 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_X));
28242 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_Y));
28243 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_PyObj_FromInt((int)wxSYS_DRAG_X));
28244 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_PyObj_FromInt((int)wxSYS_DRAG_Y));
28245 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_PyObj_FromInt((int)wxSYS_EDGE_X));
28246 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_PyObj_FromInt((int)wxSYS_EDGE_Y));
28247 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_X));
28248 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_Y));
28249 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_PyObj_FromInt((int)wxSYS_HTHUMB_X));
28250 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_PyObj_FromInt((int)wxSYS_ICON_X));
28251 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_PyObj_FromInt((int)wxSYS_ICON_Y));
28252 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_X));
28253 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_Y));
28254 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_X));
28255 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_Y));
28256 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_X));
28257 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_Y));
28258 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_X));
28259 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_Y));
28260 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_X));
28261 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_Y));
28262 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_Y));
28263 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_X));
28264 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_X));
28265 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_Y));
28266 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_PyObj_FromInt((int)wxSYS_VTHUMB_Y));
28267 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_PyObj_FromInt((int)wxSYS_CAPTION_Y));
28268 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_PyObj_FromInt((int)wxSYS_MENU_Y));
28269 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_NETWORK_PRESENT));
28270 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_PENWINDOWS_PRESENT));
28271 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_PyObj_FromInt((int)wxSYS_SHOW_SOUNDS));
28272 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_SWAP_BUTTONS));
28273 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_PyObj_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
28274 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_PyObj_FromInt((int)wxSYS_CAN_ICONIZE_FRAME));
28275 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_NONE));
28276 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_TINY));
28277 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_PDA));
28278 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_SMALL));
28279 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_DESKTOP));
d03fd34d
RD
28280 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
28281 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
28282 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
28283 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
8edf1c75
RD
28284 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_PyObj_FromInt((int)wxSHUTDOWN_POWEROFF));
28285 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_PyObj_FromInt((int)wxSHUTDOWN_REBOOT));
28286 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_PyObj_FromInt((int)wxTIMER_CONTINUOUS));
28287 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_PyObj_FromInt((int)wxTIMER_ONE_SHOT));
d14a1e28 28288 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
8edf1c75
RD
28289 PyDict_SetItemString(d,"LOG_FatalError", SWIG_PyObj_FromInt((int)wxLOG_FatalError));
28290 PyDict_SetItemString(d,"LOG_Error", SWIG_PyObj_FromInt((int)wxLOG_Error));
28291 PyDict_SetItemString(d,"LOG_Warning", SWIG_PyObj_FromInt((int)wxLOG_Warning));
28292 PyDict_SetItemString(d,"LOG_Message", SWIG_PyObj_FromInt((int)wxLOG_Message));
28293 PyDict_SetItemString(d,"LOG_Status", SWIG_PyObj_FromInt((int)wxLOG_Status));
28294 PyDict_SetItemString(d,"LOG_Info", SWIG_PyObj_FromInt((int)wxLOG_Info));
28295 PyDict_SetItemString(d,"LOG_Debug", SWIG_PyObj_FromInt((int)wxLOG_Debug));
28296 PyDict_SetItemString(d,"LOG_Trace", SWIG_PyObj_FromInt((int)wxLOG_Trace));
28297 PyDict_SetItemString(d,"LOG_Progress", SWIG_PyObj_FromInt((int)wxLOG_Progress));
28298 PyDict_SetItemString(d,"LOG_User", SWIG_PyObj_FromInt((int)wxLOG_User));
28299 PyDict_SetItemString(d,"LOG_Max", SWIG_PyObj_FromInt((int)wxLOG_Max));
28300 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_PyObj_FromInt((int)0x0001));
28301 PyDict_SetItemString(d,"TraceMessages", SWIG_PyObj_FromInt((int)0x0002));
28302 PyDict_SetItemString(d,"TraceResAlloc", SWIG_PyObj_FromInt((int)0x0004));
28303 PyDict_SetItemString(d,"TraceRefCount", SWIG_PyObj_FromInt((int)0x0008));
28304 PyDict_SetItemString(d,"TraceOleCalls", SWIG_PyObj_FromInt((int)0x0100));
28305 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_PyObj_FromInt((int)wxPROCESS_DEFAULT));
28306 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_PyObj_FromInt((int)wxPROCESS_REDIRECT));
28307 PyDict_SetItemString(d,"KILL_OK", SWIG_PyObj_FromInt((int)wxKILL_OK));
28308 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_PyObj_FromInt((int)wxKILL_BAD_SIGNAL));
28309 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_PyObj_FromInt((int)wxKILL_ACCESS_DENIED));
28310 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_PyObj_FromInt((int)wxKILL_NO_PROCESS));
28311 PyDict_SetItemString(d,"KILL_ERROR", SWIG_PyObj_FromInt((int)wxKILL_ERROR));
28312 PyDict_SetItemString(d,"SIGNONE", SWIG_PyObj_FromInt((int)wxSIGNONE));
28313 PyDict_SetItemString(d,"SIGHUP", SWIG_PyObj_FromInt((int)wxSIGHUP));
28314 PyDict_SetItemString(d,"SIGINT", SWIG_PyObj_FromInt((int)wxSIGINT));
28315 PyDict_SetItemString(d,"SIGQUIT", SWIG_PyObj_FromInt((int)wxSIGQUIT));
28316 PyDict_SetItemString(d,"SIGILL", SWIG_PyObj_FromInt((int)wxSIGILL));
28317 PyDict_SetItemString(d,"SIGTRAP", SWIG_PyObj_FromInt((int)wxSIGTRAP));
28318 PyDict_SetItemString(d,"SIGABRT", SWIG_PyObj_FromInt((int)wxSIGABRT));
28319 PyDict_SetItemString(d,"SIGIOT", SWIG_PyObj_FromInt((int)wxSIGIOT));
28320 PyDict_SetItemString(d,"SIGEMT", SWIG_PyObj_FromInt((int)wxSIGEMT));
28321 PyDict_SetItemString(d,"SIGFPE", SWIG_PyObj_FromInt((int)wxSIGFPE));
28322 PyDict_SetItemString(d,"SIGKILL", SWIG_PyObj_FromInt((int)wxSIGKILL));
28323 PyDict_SetItemString(d,"SIGBUS", SWIG_PyObj_FromInt((int)wxSIGBUS));
28324 PyDict_SetItemString(d,"SIGSEGV", SWIG_PyObj_FromInt((int)wxSIGSEGV));
28325 PyDict_SetItemString(d,"SIGSYS", SWIG_PyObj_FromInt((int)wxSIGSYS));
28326 PyDict_SetItemString(d,"SIGPIPE", SWIG_PyObj_FromInt((int)wxSIGPIPE));
28327 PyDict_SetItemString(d,"SIGALRM", SWIG_PyObj_FromInt((int)wxSIGALRM));
28328 PyDict_SetItemString(d,"SIGTERM", SWIG_PyObj_FromInt((int)wxSIGTERM));
d14a1e28 28329 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
8edf1c75
RD
28330 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_PyObj_FromInt((int)wxEXEC_ASYNC));
28331 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_PyObj_FromInt((int)wxEXEC_SYNC));
28332 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_PyObj_FromInt((int)wxEXEC_NOHIDE));
28333 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_PyObj_FromInt((int)wxEXEC_MAKE_GROUP_LEADER));
d14a1e28
RD
28334
28335 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
28336
8edf1c75
RD
28337 PyDict_SetItemString(d,"JOYSTICK1", SWIG_PyObj_FromInt((int)wxJOYSTICK1));
28338 PyDict_SetItemString(d,"JOYSTICK2", SWIG_PyObj_FromInt((int)wxJOYSTICK2));
28339 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_PyObj_FromInt((int)wxJOY_BUTTON_ANY));
28340 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_PyObj_FromInt((int)wxJOY_BUTTON1));
28341 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_PyObj_FromInt((int)wxJOY_BUTTON2));
28342 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_PyObj_FromInt((int)wxJOY_BUTTON3));
28343 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_PyObj_FromInt((int)wxJOY_BUTTON4));
d14a1e28
RD
28344 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
28345 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
28346 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
28347 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
4e760a36
RD
28348 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_PyObj_FromInt((int)wxSOUND_SYNC));
28349 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_PyObj_FromInt((int)wxSOUND_ASYNC));
28350 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_PyObj_FromInt((int)wxSOUND_LOOP));
8edf1c75
RD
28351 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_PyObj_FromInt((int)wxMAILCAP_STANDARD));
28352 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_PyObj_FromInt((int)wxMAILCAP_NETSCAPE));
28353 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_PyObj_FromInt((int)wxMAILCAP_KDE));
28354 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_PyObj_FromInt((int)wxMAILCAP_GNOME));
28355 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_PyObj_FromInt((int)wxMAILCAP_ALL));
d14a1e28
RD
28356 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
28357 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
28358 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
28359 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
28360 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
28361 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
28362 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
28363 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
28364 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
28365 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
28366 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
28367 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
28368 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
28369 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
28370 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
28371 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
28372 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
28373 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
28374 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
28375 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
28376 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
28377 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
28378 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
28379 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
28380 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
28381 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
28382 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
28383 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
28384 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
28385 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
28386 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
28387 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
28388 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
28389 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
28390 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
28391 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
28392 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
28393 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
28394 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
28395
28396 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
28397
8edf1c75
RD
28398 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_LOCAL_FILE));
28399 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_GLOBAL_FILE));
28400 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_PyObj_FromInt((int)wxCONFIG_USE_RELATIVE_PATH));
28401 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_PyObj_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
28402 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Unknown));
28403 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_PyObj_FromInt((int)wxConfigBase::Type_String));
28404 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Boolean));
28405 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Integer));
28406 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Float));
d03fd34d
RD
28407 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
28408 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
8edf1c75
RD
28409 PyDict_SetItemString(d,"DateTime_Local", SWIG_PyObj_FromInt((int)wxDateTime::Local));
28410 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_PyObj_FromInt((int)wxDateTime::GMT_12));
28411 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_PyObj_FromInt((int)wxDateTime::GMT_11));
28412 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_PyObj_FromInt((int)wxDateTime::GMT_10));
28413 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_PyObj_FromInt((int)wxDateTime::GMT_9));
28414 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_PyObj_FromInt((int)wxDateTime::GMT_8));
28415 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_PyObj_FromInt((int)wxDateTime::GMT_7));
28416 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_PyObj_FromInt((int)wxDateTime::GMT_6));
28417 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_PyObj_FromInt((int)wxDateTime::GMT_5));
28418 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_PyObj_FromInt((int)wxDateTime::GMT_4));
28419 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_PyObj_FromInt((int)wxDateTime::GMT_3));
28420 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_PyObj_FromInt((int)wxDateTime::GMT_2));
28421 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_PyObj_FromInt((int)wxDateTime::GMT_1));
28422 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_PyObj_FromInt((int)wxDateTime::GMT0));
28423 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_PyObj_FromInt((int)wxDateTime::GMT1));
28424 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_PyObj_FromInt((int)wxDateTime::GMT2));
28425 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_PyObj_FromInt((int)wxDateTime::GMT3));
28426 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_PyObj_FromInt((int)wxDateTime::GMT4));
28427 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_PyObj_FromInt((int)wxDateTime::GMT5));
28428 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_PyObj_FromInt((int)wxDateTime::GMT6));
28429 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_PyObj_FromInt((int)wxDateTime::GMT7));
28430 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_PyObj_FromInt((int)wxDateTime::GMT8));
28431 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_PyObj_FromInt((int)wxDateTime::GMT9));
28432 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_PyObj_FromInt((int)wxDateTime::GMT10));
28433 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_PyObj_FromInt((int)wxDateTime::GMT11));
28434 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_PyObj_FromInt((int)wxDateTime::GMT12));
28435 PyDict_SetItemString(d,"DateTime_WET", SWIG_PyObj_FromInt((int)wxDateTime::WET));
28436 PyDict_SetItemString(d,"DateTime_WEST", SWIG_PyObj_FromInt((int)wxDateTime::WEST));
28437 PyDict_SetItemString(d,"DateTime_CET", SWIG_PyObj_FromInt((int)wxDateTime::CET));
28438 PyDict_SetItemString(d,"DateTime_CEST", SWIG_PyObj_FromInt((int)wxDateTime::CEST));
28439 PyDict_SetItemString(d,"DateTime_EET", SWIG_PyObj_FromInt((int)wxDateTime::EET));
28440 PyDict_SetItemString(d,"DateTime_EEST", SWIG_PyObj_FromInt((int)wxDateTime::EEST));
28441 PyDict_SetItemString(d,"DateTime_MSK", SWIG_PyObj_FromInt((int)wxDateTime::MSK));
28442 PyDict_SetItemString(d,"DateTime_MSD", SWIG_PyObj_FromInt((int)wxDateTime::MSD));
28443 PyDict_SetItemString(d,"DateTime_AST", SWIG_PyObj_FromInt((int)wxDateTime::AST));
28444 PyDict_SetItemString(d,"DateTime_ADT", SWIG_PyObj_FromInt((int)wxDateTime::ADT));
28445 PyDict_SetItemString(d,"DateTime_EST", SWIG_PyObj_FromInt((int)wxDateTime::EST));
28446 PyDict_SetItemString(d,"DateTime_EDT", SWIG_PyObj_FromInt((int)wxDateTime::EDT));
28447 PyDict_SetItemString(d,"DateTime_CST", SWIG_PyObj_FromInt((int)wxDateTime::CST));
28448 PyDict_SetItemString(d,"DateTime_CDT", SWIG_PyObj_FromInt((int)wxDateTime::CDT));
28449 PyDict_SetItemString(d,"DateTime_MST", SWIG_PyObj_FromInt((int)wxDateTime::MST));
28450 PyDict_SetItemString(d,"DateTime_MDT", SWIG_PyObj_FromInt((int)wxDateTime::MDT));
28451 PyDict_SetItemString(d,"DateTime_PST", SWIG_PyObj_FromInt((int)wxDateTime::PST));
28452 PyDict_SetItemString(d,"DateTime_PDT", SWIG_PyObj_FromInt((int)wxDateTime::PDT));
28453 PyDict_SetItemString(d,"DateTime_HST", SWIG_PyObj_FromInt((int)wxDateTime::HST));
28454 PyDict_SetItemString(d,"DateTime_AKST", SWIG_PyObj_FromInt((int)wxDateTime::AKST));
28455 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_PyObj_FromInt((int)wxDateTime::AKDT));
28456 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_PyObj_FromInt((int)wxDateTime::A_WST));
28457 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_PyObj_FromInt((int)wxDateTime::A_CST));
28458 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_PyObj_FromInt((int)wxDateTime::A_EST));
28459 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_PyObj_FromInt((int)wxDateTime::A_ESST));
28460 PyDict_SetItemString(d,"DateTime_UTC", SWIG_PyObj_FromInt((int)wxDateTime::UTC));
28461 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_PyObj_FromInt((int)wxDateTime::Gregorian));
28462 PyDict_SetItemString(d,"DateTime_Julian", SWIG_PyObj_FromInt((int)wxDateTime::Julian));
28463 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Unknown));
28464 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Standard));
28465 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Alaska));
28466 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Albania));
28467 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria));
28468 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Brixen));
28469 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Salzburg));
28470 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Tyrol));
28471 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Carinthia));
28472 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Styria));
28473 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Belgium));
28474 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria));
28475 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_1));
28476 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_2));
28477 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_3));
28478 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Canada));
28479 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China));
28480 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_1));
28481 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_2));
28482 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Czechoslovakia));
28483 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Denmark));
28484 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Egypt));
28485 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Estonia));
28486 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Finland));
28487 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France));
28488 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Alsace));
28489 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Lorraine));
28490 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Strasbourg));
28491 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany));
28492 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Catholic));
28493 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Prussia));
28494 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Protestant));
28495 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_GreatBritain));
28496 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Greece));
28497 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Hungary));
28498 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Ireland));
28499 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Italy));
28500 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan));
28501 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_1));
28502 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_2));
28503 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_3));
28504 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Latvia));
28505 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Lithuania));
28506 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Luxemburg));
28507 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands));
28508 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Groningen));
28509 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland));
28510 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht));
28511 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Friesland));
28512 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Norway));
28513 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Poland));
28514 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Portugal));
28515 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Romania));
28516 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Russia));
28517 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Scotland));
28518 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Spain));
28519 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Sweden));
28520 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland));
28521 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Catholic));
28522 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Protestant));
28523 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Turkey));
28524 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_PyObj_FromInt((int)wxDateTime::Gr_USA));
28525 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Wales));
28526 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Yugoslavia));
28527 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Country_Unknown));
28528 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_PyObj_FromInt((int)wxDateTime::Country_Default));
28529 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_Start));
28530 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_PyObj_FromInt((int)wxDateTime::Country_EEC));
28531 PyDict_SetItemString(d,"DateTime_France", SWIG_PyObj_FromInt((int)wxDateTime::France));
28532 PyDict_SetItemString(d,"DateTime_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Germany));
28533 PyDict_SetItemString(d,"DateTime_UK", SWIG_PyObj_FromInt((int)wxDateTime::UK));
28534 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_End));
28535 PyDict_SetItemString(d,"DateTime_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Russia));
28536 PyDict_SetItemString(d,"DateTime_USA", SWIG_PyObj_FromInt((int)wxDateTime::USA));
28537 PyDict_SetItemString(d,"DateTime_Jan", SWIG_PyObj_FromInt((int)wxDateTime::Jan));
28538 PyDict_SetItemString(d,"DateTime_Feb", SWIG_PyObj_FromInt((int)wxDateTime::Feb));
28539 PyDict_SetItemString(d,"DateTime_Mar", SWIG_PyObj_FromInt((int)wxDateTime::Mar));
28540 PyDict_SetItemString(d,"DateTime_Apr", SWIG_PyObj_FromInt((int)wxDateTime::Apr));
28541 PyDict_SetItemString(d,"DateTime_May", SWIG_PyObj_FromInt((int)wxDateTime::May));
28542 PyDict_SetItemString(d,"DateTime_Jun", SWIG_PyObj_FromInt((int)wxDateTime::Jun));
28543 PyDict_SetItemString(d,"DateTime_Jul", SWIG_PyObj_FromInt((int)wxDateTime::Jul));
28544 PyDict_SetItemString(d,"DateTime_Aug", SWIG_PyObj_FromInt((int)wxDateTime::Aug));
28545 PyDict_SetItemString(d,"DateTime_Sep", SWIG_PyObj_FromInt((int)wxDateTime::Sep));
28546 PyDict_SetItemString(d,"DateTime_Oct", SWIG_PyObj_FromInt((int)wxDateTime::Oct));
28547 PyDict_SetItemString(d,"DateTime_Nov", SWIG_PyObj_FromInt((int)wxDateTime::Nov));
28548 PyDict_SetItemString(d,"DateTime_Dec", SWIG_PyObj_FromInt((int)wxDateTime::Dec));
28549 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Month));
28550 PyDict_SetItemString(d,"DateTime_Sun", SWIG_PyObj_FromInt((int)wxDateTime::Sun));
28551 PyDict_SetItemString(d,"DateTime_Mon", SWIG_PyObj_FromInt((int)wxDateTime::Mon));
28552 PyDict_SetItemString(d,"DateTime_Tue", SWIG_PyObj_FromInt((int)wxDateTime::Tue));
28553 PyDict_SetItemString(d,"DateTime_Wed", SWIG_PyObj_FromInt((int)wxDateTime::Wed));
28554 PyDict_SetItemString(d,"DateTime_Thu", SWIG_PyObj_FromInt((int)wxDateTime::Thu));
28555 PyDict_SetItemString(d,"DateTime_Fri", SWIG_PyObj_FromInt((int)wxDateTime::Fri));
28556 PyDict_SetItemString(d,"DateTime_Sat", SWIG_PyObj_FromInt((int)wxDateTime::Sat));
28557 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_PyObj_FromInt((int)wxDateTime::Inv_WeekDay));
28558 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Year));
28559 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_PyObj_FromInt((int)wxDateTime::Name_Full));
28560 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_PyObj_FromInt((int)wxDateTime::Name_Abbr));
28561 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_PyObj_FromInt((int)wxDateTime::Default_First));
28562 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_PyObj_FromInt((int)wxDateTime::Monday_First));
28563 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_PyObj_FromInt((int)wxDateTime::Sunday_First));
98e665d3 28564 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
8edf1c75
RD
28565 PyDict_SetItemString(d,"DF_INVALID", SWIG_PyObj_FromInt((int)wxDF_INVALID));
28566 PyDict_SetItemString(d,"DF_TEXT", SWIG_PyObj_FromInt((int)wxDF_TEXT));
28567 PyDict_SetItemString(d,"DF_BITMAP", SWIG_PyObj_FromInt((int)wxDF_BITMAP));
28568 PyDict_SetItemString(d,"DF_METAFILE", SWIG_PyObj_FromInt((int)wxDF_METAFILE));
28569 PyDict_SetItemString(d,"DF_SYLK", SWIG_PyObj_FromInt((int)wxDF_SYLK));
28570 PyDict_SetItemString(d,"DF_DIF", SWIG_PyObj_FromInt((int)wxDF_DIF));
28571 PyDict_SetItemString(d,"DF_TIFF", SWIG_PyObj_FromInt((int)wxDF_TIFF));
28572 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_PyObj_FromInt((int)wxDF_OEMTEXT));
28573 PyDict_SetItemString(d,"DF_DIB", SWIG_PyObj_FromInt((int)wxDF_DIB));
28574 PyDict_SetItemString(d,"DF_PALETTE", SWIG_PyObj_FromInt((int)wxDF_PALETTE));
28575 PyDict_SetItemString(d,"DF_PENDATA", SWIG_PyObj_FromInt((int)wxDF_PENDATA));
28576 PyDict_SetItemString(d,"DF_RIFF", SWIG_PyObj_FromInt((int)wxDF_RIFF));
28577 PyDict_SetItemString(d,"DF_WAVE", SWIG_PyObj_FromInt((int)wxDF_WAVE));
28578 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_PyObj_FromInt((int)wxDF_UNICODETEXT));
28579 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_PyObj_FromInt((int)wxDF_ENHMETAFILE));
28580 PyDict_SetItemString(d,"DF_FILENAME", SWIG_PyObj_FromInt((int)wxDF_FILENAME));
28581 PyDict_SetItemString(d,"DF_LOCALE", SWIG_PyObj_FromInt((int)wxDF_LOCALE));
28582 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_PyObj_FromInt((int)wxDF_PRIVATE));
28583 PyDict_SetItemString(d,"DF_HTML", SWIG_PyObj_FromInt((int)wxDF_HTML));
28584 PyDict_SetItemString(d,"DF_MAX", SWIG_PyObj_FromInt((int)wxDF_MAX));
d14a1e28 28585 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
8edf1c75
RD
28586 PyDict_SetItemString(d,"DataObject_Get", SWIG_PyObj_FromInt((int)wxDataObject::Get));
28587 PyDict_SetItemString(d,"DataObject_Set", SWIG_PyObj_FromInt((int)wxDataObject::Set));
28588 PyDict_SetItemString(d,"DataObject_Both", SWIG_PyObj_FromInt((int)wxDataObject::Both));
28589 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_PyObj_FromInt((int)wxDrag_CopyOnly));
28590 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_PyObj_FromInt((int)wxDrag_AllowMove));
28591 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_PyObj_FromInt((int)wxDrag_DefaultMove));
28592 PyDict_SetItemString(d,"DragError", SWIG_PyObj_FromInt((int)wxDragError));
28593 PyDict_SetItemString(d,"DragNone", SWIG_PyObj_FromInt((int)wxDragNone));
28594 PyDict_SetItemString(d,"DragCopy", SWIG_PyObj_FromInt((int)wxDragCopy));
28595 PyDict_SetItemString(d,"DragMove", SWIG_PyObj_FromInt((int)wxDragMove));
28596 PyDict_SetItemString(d,"DragLink", SWIG_PyObj_FromInt((int)wxDragLink));
28597 PyDict_SetItemString(d,"DragCancel", SWIG_PyObj_FromInt((int)wxDragCancel));
d14a1e28
RD
28598
28599 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
28600 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
28601 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
28602 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
28603
28604 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
28605}
28606