1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
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 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
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
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
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
60 ************************************************************************/
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
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
127 /***********************************************************************
128 * pyrun.swg for wxPython
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
135 ************************************************************************/
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
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
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)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxLogChain swig_types[0]
234 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
235 #define SWIGTYPE_p_wxFileHistory swig_types[2]
236 #define SWIGTYPE_p_wxLog swig_types[3]
237 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
238 #define SWIGTYPE_p_wxMenu swig_types[5]
239 #define SWIGTYPE_p_wxEvent swig_types[6]
240 #define SWIGTYPE_p_wxConfigBase swig_types[7]
241 #define SWIGTYPE_p_wxFileType swig_types[8]
242 #define SWIGTYPE_p_wxLogGui swig_types[9]
243 #define SWIGTYPE_p_wxFont swig_types[10]
244 #define SWIGTYPE_p_wxDataFormat swig_types[11]
245 #define SWIGTYPE_p_wxTimerEvent swig_types[12]
246 #define SWIGTYPE_p_wxCaret swig_types[13]
247 #define SWIGTYPE_p_int swig_types[14]
248 #define SWIGTYPE_p_wxSize swig_types[15]
249 #define SWIGTYPE_p_wxClipboard swig_types[16]
250 #define SWIGTYPE_p_wxStopWatch swig_types[17]
251 #define SWIGTYPE_p_wxDC swig_types[18]
252 #define SWIGTYPE_p_wxClipboardLocker swig_types[19]
253 #define SWIGTYPE_p_wxIcon swig_types[20]
254 #define SWIGTYPE_p_wxLogStderr swig_types[21]
255 #define SWIGTYPE_p_wxLogTextCtrl swig_types[22]
256 #define SWIGTYPE_p_wxTextCtrl swig_types[23]
257 #define SWIGTYPE_p_wxBusyCursor swig_types[24]
258 #define SWIGTYPE_p_wxPyTextDataObject swig_types[25]
259 #define SWIGTYPE_p_wxBitmapDataObject swig_types[26]
260 #define SWIGTYPE_p_wxTextDataObject swig_types[27]
261 #define SWIGTYPE_p_wxDataObject swig_types[28]
262 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[29]
263 #define SWIGTYPE_p_wxFileDataObject swig_types[30]
264 #define SWIGTYPE_p_wxCustomDataObject swig_types[31]
265 #define SWIGTYPE_p_wxURLDataObject swig_types[32]
266 #define SWIGTYPE_p_wxMetafileDataObject swig_types[33]
267 #define SWIGTYPE_p_wxSound swig_types[34]
268 #define SWIGTYPE_p_wxTimerRunner swig_types[35]
269 #define SWIGTYPE_p_wxLogWindow swig_types[36]
270 #define SWIGTYPE_p_wxTimeSpan swig_types[37]
271 #define SWIGTYPE_p_wxArrayString swig_types[38]
272 #define SWIGTYPE_p_wxWindowDisabler swig_types[39]
273 #define SWIGTYPE_p_wxToolTip swig_types[40]
274 #define SWIGTYPE_p_wxDataObjectComposite swig_types[41]
275 #define SWIGTYPE_p_wxFileConfig swig_types[42]
276 #define SWIGTYPE_p_wxSystemSettings swig_types[43]
277 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[44]
278 #define SWIGTYPE_p_wxDataObjectSimple swig_types[45]
279 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
280 #define SWIGTYPE_p_wxRect swig_types[47]
281 #define SWIGTYPE_p_char swig_types[48]
282 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[49]
283 #define SWIGTYPE_p_wxFileTypeInfo swig_types[50]
284 #define SWIGTYPE_p_wxFrame swig_types[51]
285 #define SWIGTYPE_p_wxTimer swig_types[52]
286 #define SWIGTYPE_p_wxMimeTypesManager swig_types[53]
287 #define SWIGTYPE_p_wxPyArtProvider swig_types[54]
288 #define SWIGTYPE_p_wxPyTipProvider swig_types[55]
289 #define SWIGTYPE_p_wxTipProvider swig_types[56]
290 #define SWIGTYPE_p_wxJoystick swig_types[57]
291 #define SWIGTYPE_p_wxSystemOptions swig_types[58]
292 #define SWIGTYPE_p_wxPoint swig_types[59]
293 #define SWIGTYPE_p_wxJoystickEvent swig_types[60]
294 #define SWIGTYPE_p_wxCursor swig_types[61]
295 #define SWIGTYPE_p_wxObject swig_types[62]
296 #define SWIGTYPE_p_wxOutputStream swig_types[63]
297 #define SWIGTYPE_p_wxDateTime swig_types[64]
298 #define SWIGTYPE_p_wxPyDropSource swig_types[65]
299 #define SWIGTYPE_p_wxWindow swig_types[66]
300 #define SWIGTYPE_p_wxString swig_types[67]
301 #define SWIGTYPE_p_wxPyProcess swig_types[68]
302 #define SWIGTYPE_p_wxBitmap swig_types[69]
303 #define SWIGTYPE_p_wxConfig swig_types[70]
304 #define SWIGTYPE_p_wxChar swig_types[71]
305 #define SWIGTYPE_p_wxBusyInfo swig_types[72]
306 #define SWIGTYPE_p_wxPyDropTarget swig_types[73]
307 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[74]
308 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[75]
309 #define SWIGTYPE_p_wxProcessEvent swig_types[76]
310 #define SWIGTYPE_p_wxPyLog swig_types[77]
311 #define SWIGTYPE_p_wxLogNull swig_types[78]
312 #define SWIGTYPE_p_wxColour swig_types[79]
313 #define SWIGTYPE_p_wxByte swig_types[80]
314 #define SWIGTYPE_p_wxConfigPathChanger swig_types[81]
315 #define SWIGTYPE_p_wxPyTimer swig_types[82]
316 #define SWIGTYPE_p_wxDateSpan swig_types[83]
317 static swig_type_info
*swig_types
[85];
319 /* -------- TYPES TABLE (END) -------- */
322 /*-----------------------------------------------
324 ------------------------------------------------*/
325 #define SWIG_init init_misc
327 #define SWIG_name "_misc"
335 #define SWIGSTATIC(a) static inline a
337 #define SWIGSTATIC(a) static a
343 #ifdef HAVE_NUMERIC_CAST
344 #define numeric_cast(type,a) numeric_cast<type>(a)
346 #define numeric_cast(type,a) static_cast<type>(a)
349 #define numeric_cast(type,a) (type)(a)
355 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
357 #define SWIG_PyObj_FromShort PyInt_FromLong
358 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
359 #define SWIG_PyObj_FromInt PyInt_FromLong
360 #define SWIG_PyObj_FromLong PyInt_FromLong
361 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
362 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
363 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
364 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
367 #include "wx/wxPython/wxPython.h"
368 #include "wx/wxPython/pyclasses.h"
369 #include "wx/wxPython/pyistream.h"
372 static const wxString
wxPyEmptyString(wxEmptyString
);
377 SWIG_PyObj_AsInt(PyObject
*obj
)
379 return numeric_cast(int,
380 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
383 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
384 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
385 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
388 SWIG_PyObj_AsLong(PyObject
* obj
)
390 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
395 SWIG_PyObj_AsBool(PyObject
*obj
)
397 return PyObject_IsTrue(obj
) ? true : false;
401 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
407 } else if (target
== Py_None
) {
411 if (!PyTuple_Check(target
)) {
413 target
= PyTuple_New(1);
414 PyTuple_SetItem(target
, 0, o2
);
417 PyTuple_SetItem(o3
, 0, o
);
420 target
= PySequence_Concat(o2
, o3
);
428 long wxGetFreeMemory()
429 { wxPyRaiseNotImplemented(); return 0; }
432 SWIGSTATIC(PyObject
* )
433 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
435 return (value
> (unsigned long)(LONG_MAX
)) ?
436 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
440 bool wxGetKeyState(wxKeyCode key
)
441 { wxPyRaiseNotImplemented(); return False
; }
444 void wxWakeUpMainThread() {}
447 bool wxThread_IsMain() {
448 #ifdef WXP_WITH_THREAD
449 return wxThread::IsMain();
456 int wxCaret_GetBlinkTime() {
457 return wxCaret::GetBlinkTime();
460 void wxCaret_SetBlinkTime(int milliseconds
) {
461 wxCaret::SetBlinkTime(milliseconds
);
465 #include <wx/snglinst.h>
469 #include <wx/msw/private.h>
470 #include <wx/dynload.h>
475 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
482 // This one only partially works. Appears to be an undocumented
483 // "standard" convention that not all widgets adhear to. For
484 // example, for some widgets backgrounds or non-client areas may
486 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
490 // This one works much better, except for on XP. On Win2k nearly
491 // all widgets and their children are captured correctly[**]. On
492 // XP with Themes activated most native widgets draw only
493 // partially, if at all. Without themes it works just like on
496 // ** For example the radio buttons in a wxRadioBox are not its
497 // children by default, but you can capture it via the panel
498 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
499 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
500 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
501 PRF_ERASEBKGND
| PRF_OWNED
);
505 // This one is only defined in the latest SDK and is only
506 // available on XP. MSDN says it is similar to sending WM_PRINT
507 // so I expect that it will work similar to the above. Since it
508 // is avaialble only on XP, it can't be compiled like this and
509 // will have to be loaded dynamically.
510 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
515 // Use PrintWindow if available, or fallback to WM_PRINT
516 // otherwise. Unfortunately using PrintWindow is even worse than
517 // WM_PRINT. For most native widgets nothing is drawn to the dc
518 // at all, with or without Themes.
519 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
520 static bool s_triedToLoad
= False
;
521 static PrintWindow_t pfnPrintWindow
= NULL
;
522 if ( !s_triedToLoad
)
525 s_triedToLoad
= True
;
526 wxDynamicLibrary
dllUser32(_T("user32.dll"));
527 if ( dllUser32
.IsLoaded() )
529 wxLogNull nolog
; // Don't report errors here
530 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
535 printf("Using PrintWindow\n");
536 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
540 printf("Using WM_PRINT\n");
541 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
542 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
550 #include <wx/tipdlg.h>
553 class wxPyTipProvider
: public wxTipProvider
{
555 wxPyTipProvider(size_t currentTip
)
556 : wxTipProvider(currentTip
) {}
558 DEC_PYCALLBACK_STRING__pure(GetTip
);
559 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
563 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
564 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
567 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
570 SWIGSTATIC(unsigned int)
571 SWIG_PyObj_AsUnsignedInt(PyObject
*obj
)
573 return numeric_cast(unsigned int,
574 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned int", UINT_MAX
));
577 wxString
Log_TimeStamp(){
579 wxLog::TimeStamp(&msg
);
582 void wxLog_Destroy(wxLog
*self
){ delete self
; }
584 // A wxLog class that can be derived from in wxPython
585 class wxPyLog
: public wxLog
{
587 wxPyLog() : wxLog() {}
589 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
591 wxPyBeginBlockThreads();
592 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
593 PyObject
* s
= wx2PyString(szString
);
594 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
597 wxPyEndBlockThreads();
599 wxLog::DoLog(level
, szString
, t
);
602 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
604 wxPyBeginBlockThreads();
605 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
606 PyObject
* s
= wx2PyString(szString
);
607 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
610 wxPyEndBlockThreads();
612 wxLog::DoLogString(szString
, t
);
621 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
624 #include <wx/joystick.h>
627 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
628 // A C++ stub class for wxJoystick for platforms that don't have it.
629 class wxJoystick
: public wxObject
{
631 wxJoystick(int joystick
= wxJOYSTICK1
) {
632 wxPyBeginBlockThreads();
633 PyErr_SetString(PyExc_NotImplementedError
,
634 "wxJoystick is not available on this platform.");
635 wxPyEndBlockThreads();
637 wxPoint
GetPosition() { return wxPoint(-1,-1); }
638 int GetZPosition() { return -1; }
639 int GetButtonState() { return -1; }
640 int GetPOVPosition() { return -1; }
641 int GetPOVCTSPosition() { return -1; }
642 int GetRudderPosition() { return -1; }
643 int GetUPosition() { return -1; }
644 int GetVPosition() { return -1; }
645 int GetMovementThreshold() { return -1; }
646 void SetMovementThreshold(int threshold
) {}
648 bool IsOk(void) { return False
; }
649 int GetNumberJoysticks() { return -1; }
650 int GetManufacturerId() { return -1; }
651 int GetProductId() { return -1; }
652 wxString
GetProductName() { return ""; }
653 int GetXMin() { return -1; }
654 int GetYMin() { return -1; }
655 int GetZMin() { return -1; }
656 int GetXMax() { return -1; }
657 int GetYMax() { return -1; }
658 int GetZMax() { return -1; }
659 int GetNumberButtons() { return -1; }
660 int GetNumberAxes() { return -1; }
661 int GetMaxButtons() { return -1; }
662 int GetMaxAxes() { return -1; }
663 int GetPollingMin() { return -1; }
664 int GetPollingMax() { return -1; }
665 int GetRudderMin() { return -1; }
666 int GetRudderMax() { return -1; }
667 int GetUMin() { return -1; }
668 int GetUMax() { return -1; }
669 int GetVMin() { return -1; }
670 int GetVMax() { return -1; }
672 bool HasRudder() { return False
; }
673 bool HasZ() { return False
; }
674 bool HasU() { return False
; }
675 bool HasV() { return False
; }
676 bool HasPOV() { return False
; }
677 bool HasPOV4Dir() { return False
; }
678 bool HasPOVCTS() { return False
; }
680 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
681 bool ReleaseCapture() { return False
; }
686 #include <wx/sound.h>
690 // A C++ stub class for wxWave for platforms that don't have it.
691 class wxSound
: public wxObject
695 wxPyBeginBlockThreads();
696 PyErr_SetString(PyExc_NotImplementedError
,
697 "wxSound is not available on this platform.");
698 wxPyEndBlockThreads();
700 wxSound(const wxString
&, bool) {
701 wxPyBeginBlockThreads();
702 PyErr_SetString(PyExc_NotImplementedError
,
703 "wxSound is not available on this platform.");
704 wxPyEndBlockThreads();
706 wxSound(int, const wxByte
*) {
707 wxPyBeginBlockThreads();
708 PyErr_SetString(PyExc_NotImplementedError
,
709 "wxSound is not available on this platform.");
710 wxPyEndBlockThreads();
715 bool Create(const wxString
&, bool) { return false; }
716 bool Create(int, const wxByte
*) { return false; };
717 bool IsOk() { return false; };
718 bool Play(unsigned) const { return false; }
719 static bool Play(const wxString
&, unsigned) { return false; }
720 static void Stop() {}
726 #include <wx/mimetype.h>
728 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
730 if (self
->GetMimeType(&str
))
731 return wx2PyString(str
);
735 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
737 if (self
->GetMimeTypes(arr
))
738 return wxArrayString2PyList_helper(arr
);
742 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
744 if (self
->GetExtensions(arr
))
745 return wxArrayString2PyList_helper(arr
);
749 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
751 if (self
->GetIcon(&loc
))
752 return new wxIcon(loc
);
756 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
758 if (self
->GetIcon(&loc
)) {
759 wxString iconFile
= loc
.GetFileName();
764 // Make a tuple and put the values in it
765 wxPyBeginBlockThreads();
766 PyObject
* tuple
= PyTuple_New(3);
767 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
768 wxT("wxIcon"), True
));
769 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
770 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
771 wxPyEndBlockThreads();
777 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
779 if (self
->GetDescription(&str
))
780 return wx2PyString(str
);
784 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
786 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
787 return wx2PyString(str
);
791 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
793 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
794 return wx2PyString(str
);
798 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
800 wxArrayString commands
;
801 if (self
->GetAllCommands(&verbs
, &commands
,
802 wxFileType::MessageParameters(filename
, mimetype
))) {
803 wxPyBeginBlockThreads();
804 PyObject
* tuple
= PyTuple_New(2);
805 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
806 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
807 wxPyEndBlockThreads();
813 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
814 return wxFileType::ExpandCommand(command
,
815 wxFileType::MessageParameters(filename
, mimetype
));
817 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
819 self
->EnumAllFileTypes(arr
);
820 return wxArrayString2PyList_helper(arr
);
823 #include <wx/artprov.h>
825 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
826 static const wxString
wxPyART_MENU(wxART_MENU
);
827 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
828 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
829 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
830 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
831 static const wxString
wxPyART_OTHER(wxART_OTHER
);
832 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
833 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
834 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
835 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
836 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
837 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
838 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
839 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
840 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
841 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
842 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
843 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
844 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
845 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
846 static const wxString
wxPyART_PRINT(wxART_PRINT
);
847 static const wxString
wxPyART_HELP(wxART_HELP
);
848 static const wxString
wxPyART_TIP(wxART_TIP
);
849 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
850 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
851 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
852 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
853 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
854 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
855 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
856 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
857 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
858 static const wxString
wxPyART_ERROR(wxART_ERROR
);
859 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
860 static const wxString
wxPyART_WARNING(wxART_WARNING
);
861 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
862 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
863 // Python aware wxArtProvider
864 class wxPyArtProvider
: public wxArtProvider
{
867 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
868 const wxArtClient
& client
,
869 const wxSize
& size
) {
870 wxBitmap rval
= wxNullBitmap
;
871 wxPyBeginBlockThreads();
872 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
873 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
877 s1
= wx2PyString(id
);
878 s2
= wx2PyString(client
);
879 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
884 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
889 wxPyEndBlockThreads();
896 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
900 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
901 PyObject
* ret
= PyTuple_New(3);
903 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
904 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
905 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
910 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
915 cont
= self
->GetFirstGroup(value
, index
);
916 return __EnumerationHelper(cont
, value
, index
);
918 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
922 cont
= self
->GetNextGroup(value
, index
);
923 return __EnumerationHelper(cont
, value
, index
);
925 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
930 cont
= self
->GetFirstEntry(value
, index
);
931 return __EnumerationHelper(cont
, value
, index
);
933 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
937 cont
= self
->GetNextEntry(value
, index
);
938 return __EnumerationHelper(cont
, value
, index
);
940 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
942 self
->Read(key
, &rv
, defaultVal
);
947 SWIG_PyObj_AsDouble(PyObject
*obj
)
949 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
951 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
953 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
955 if (PyErr_Occurred()) {
957 PyErr_SetString(PyExc_TypeError
, "a double is expected");
961 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
963 self
->Read(key
, &rv
, defaultVal
);
966 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
968 self
->Read(key
, &rv
, defaultVal
);
972 #include <wx/datetime.h>
975 static const wxString
wxPyDateFormatStr(wxT("%c"));
976 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
978 #define LOCAL_TZ wxDateTime::Local
981 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
983 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
984 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
985 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
986 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
987 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
988 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
< other
; }
989 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
<= other
; }
990 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
> other
; }
991 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
>= other
; }
992 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
== other
; }
993 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
!= other
; }
994 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
996 const wxChar
* _date
= date
;
997 rv
= self
->ParseRfc822Date(_date
);
998 if (rv
== NULL
) return -1;
1001 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1003 const wxChar
* _date
= date
;
1004 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1005 if (rv
== NULL
) return -1;
1008 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1010 const wxChar
* _datetime
= datetime
;
1011 rv
= self
->ParseDateTime(_datetime
);
1012 if (rv
== NULL
) return -1;
1013 return rv
- _datetime
;
1015 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1017 const wxChar
* _date
= date
;
1018 rv
= self
->ParseDate(_date
);
1019 if (rv
== NULL
) return -1;
1022 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1024 const wxChar
* _time
= time
;
1025 rv
= self
->ParseTime(_time
);
1026 if (rv
== NULL
) return -1;
1029 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1030 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1031 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1032 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1033 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
< other
; }
1034 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
<= other
; }
1035 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
> other
; }
1036 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
>= other
; }
1037 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
== other
; }
1038 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
!= other
; }
1039 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1040 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1041 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1042 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1043 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
== other
; }
1044 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
!= other
; }
1046 #include <wx/dataobj.h>
1048 // Create a new class for wxPython to use
1049 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1051 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1052 : wxDataObjectSimple(format
) {}
1054 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1055 bool GetDataHere(void *buf
) const;
1056 bool SetData(size_t len
, const void *buf
) const;
1060 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1062 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1063 // We need to get the data for this object and write it to buf. I think
1064 // the best way to do this for wxPython is to have the Python method
1065 // return either a string or None and then act appropriately with the
1069 wxPyBeginBlockThreads();
1070 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1072 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1074 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1076 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1080 wxPyEndBlockThreads();
1084 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1085 // For this one we simply need to make a string from buf and len
1086 // and send it to the Python method.
1088 wxPyBeginBlockThreads();
1089 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1090 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1091 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1094 wxPyEndBlockThreads();
1098 // Create a new class for wxPython to use
1099 class wxPyTextDataObject
: public wxTextDataObject
{
1101 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1102 : wxTextDataObject(text
) {}
1104 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1105 DEC_PYCALLBACK_STRING__const(GetText
);
1106 DEC_PYCALLBACK__STRING(SetText
);
1110 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1111 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1112 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1115 // Create a new class for wxPython to use
1116 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1118 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1119 : wxBitmapDataObject(bitmap
) {}
1121 wxBitmap
GetBitmap() const;
1122 void SetBitmap(const wxBitmap
& bitmap
);
1126 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1127 wxBitmap
* rval
= &wxNullBitmap
;
1128 wxPyBeginBlockThreads();
1129 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1132 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1134 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1139 wxPyEndBlockThreads();
1143 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1144 wxPyBeginBlockThreads();
1145 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1146 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1147 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1150 wxPyEndBlockThreads();
1153 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1154 if (PyString_Check(data
)) {
1155 // for Python we just call SetData here since we always need it to make a copy.
1156 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1159 // raise a TypeError if not a string
1160 PyErr_SetString(PyExc_TypeError
, "String expected.");
1163 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1164 if (PyString_Check(data
)) {
1165 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1168 // raise a TypeError if not a string
1169 PyErr_SetString(PyExc_TypeError
, "String expected.");
1173 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1174 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1177 class wxMetafileDataObject
: public wxDataObjectSimple
1180 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1184 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1187 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1188 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1189 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1190 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1191 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1194 class wxPyTextDropTarget
: public wxTextDropTarget
{
1196 wxPyTextDropTarget() {}
1198 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1200 DEC_PYCALLBACK__(OnLeave
);
1201 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1202 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1203 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1204 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1209 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1210 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1211 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1212 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1213 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1214 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1218 class wxPyFileDropTarget
: public wxFileDropTarget
{
1220 wxPyFileDropTarget() {}
1222 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1224 DEC_PYCALLBACK__(OnLeave
);
1225 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1226 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1227 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1228 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1233 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1234 const wxArrayString
& filenames
) {
1236 wxPyBeginBlockThreads();
1237 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1238 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1239 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1242 wxPyEndBlockThreads();
1248 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1249 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1250 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1251 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1252 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1257 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1261 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1262 PyObject
*resultobj
;
1265 PyObject
* obj0
= 0 ;
1267 (char *) "index", NULL
1270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1272 arg1
= (wxSystemColour
) SWIG_PyObj_AsInt(obj0
);
1273 if (PyErr_Occurred()) SWIG_fail
;
1276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1277 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1279 wxPyEndAllowThreads(__tstate
);
1280 if (PyErr_Occurred()) SWIG_fail
;
1283 wxColour
* resultptr
;
1284 resultptr
= new wxColour((wxColour
&) result
);
1285 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1293 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1294 PyObject
*resultobj
;
1297 PyObject
* obj0
= 0 ;
1299 (char *) "index", NULL
1302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1304 arg1
= (wxSystemFont
) SWIG_PyObj_AsInt(obj0
);
1305 if (PyErr_Occurred()) SWIG_fail
;
1308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1309 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1311 wxPyEndAllowThreads(__tstate
);
1312 if (PyErr_Occurred()) SWIG_fail
;
1316 resultptr
= new wxFont((wxFont
&) result
);
1317 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
1325 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1326 PyObject
*resultobj
;
1329 PyObject
* obj0
= 0 ;
1331 (char *) "index", NULL
1334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1336 arg1
= (wxSystemMetric
) SWIG_PyObj_AsInt(obj0
);
1337 if (PyErr_Occurred()) SWIG_fail
;
1340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1341 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1343 wxPyEndAllowThreads(__tstate
);
1344 if (PyErr_Occurred()) SWIG_fail
;
1346 resultobj
= SWIG_PyObj_FromInt((int)result
);
1353 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1354 PyObject
*resultobj
;
1357 PyObject
* obj0
= 0 ;
1359 (char *) "index", NULL
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1364 arg1
= (wxSystemFeature
) SWIG_PyObj_AsInt(obj0
);
1365 if (PyErr_Occurred()) SWIG_fail
;
1368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1369 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1371 wxPyEndAllowThreads(__tstate
);
1372 if (PyErr_Occurred()) SWIG_fail
;
1374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1381 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1382 PyObject
*resultobj
;
1388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1391 result
= (int)wxSystemSettings::GetScreenType();
1393 wxPyEndAllowThreads(__tstate
);
1394 if (PyErr_Occurred()) SWIG_fail
;
1396 resultobj
= SWIG_PyObj_FromInt((int)result
);
1403 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1404 PyObject
*resultobj
;
1406 PyObject
* obj0
= 0 ;
1408 (char *) "screen", NULL
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1413 arg1
= (wxSystemScreenType
) SWIG_PyObj_AsInt(obj0
);
1414 if (PyErr_Occurred()) SWIG_fail
;
1417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1418 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1420 wxPyEndAllowThreads(__tstate
);
1421 if (PyErr_Occurred()) SWIG_fail
;
1423 Py_INCREF(Py_None
); resultobj
= Py_None
;
1430 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1433 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1435 return Py_BuildValue((char *)"");
1437 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
*resultobj
;
1439 wxSystemOptions
*result
;
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1447 result
= (wxSystemOptions
*)new wxSystemOptions();
1449 wxPyEndAllowThreads(__tstate
);
1450 if (PyErr_Occurred()) SWIG_fail
;
1452 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSystemOptions
, 1);
1459 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
*resultobj
;
1461 wxString
*arg1
= 0 ;
1462 wxString
*arg2
= 0 ;
1463 bool temp1
= False
;
1464 bool temp2
= False
;
1465 PyObject
* obj0
= 0 ;
1466 PyObject
* obj1
= 0 ;
1468 (char *) "name",(char *) "value", NULL
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1473 arg1
= wxString_in_helper(obj0
);
1474 if (arg1
== NULL
) SWIG_fail
;
1478 arg2
= wxString_in_helper(obj1
);
1479 if (arg2
== NULL
) SWIG_fail
;
1483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1484 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1486 wxPyEndAllowThreads(__tstate
);
1487 if (PyErr_Occurred()) SWIG_fail
;
1489 Py_INCREF(Py_None
); resultobj
= Py_None
;
1512 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
*resultobj
;
1514 wxString
*arg1
= 0 ;
1516 bool temp1
= False
;
1517 PyObject
* obj0
= 0 ;
1518 PyObject
* obj1
= 0 ;
1520 (char *) "name",(char *) "value", NULL
1523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1525 arg1
= wxString_in_helper(obj0
);
1526 if (arg1
== NULL
) SWIG_fail
;
1530 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1531 if (PyErr_Occurred()) SWIG_fail
;
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) SWIG_fail
;
1540 Py_INCREF(Py_None
); resultobj
= Py_None
;
1555 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
*resultobj
;
1557 wxString
*arg1
= 0 ;
1559 bool temp1
= False
;
1560 PyObject
* obj0
= 0 ;
1562 (char *) "name", NULL
1565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1567 arg1
= wxString_in_helper(obj0
);
1568 if (arg1
== NULL
) SWIG_fail
;
1572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1573 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1575 wxPyEndAllowThreads(__tstate
);
1576 if (PyErr_Occurred()) SWIG_fail
;
1580 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1582 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1599 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
*resultobj
;
1601 wxString
*arg1
= 0 ;
1603 bool temp1
= False
;
1604 PyObject
* obj0
= 0 ;
1606 (char *) "name", NULL
1609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1611 arg1
= wxString_in_helper(obj0
);
1612 if (arg1
== NULL
) SWIG_fail
;
1616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1617 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1619 wxPyEndAllowThreads(__tstate
);
1620 if (PyErr_Occurred()) SWIG_fail
;
1622 resultobj
= SWIG_PyObj_FromInt((int)result
);
1637 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
*resultobj
;
1639 wxString
*arg1
= 0 ;
1641 bool temp1
= False
;
1642 PyObject
* obj0
= 0 ;
1644 (char *) "name", NULL
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1649 arg1
= wxString_in_helper(obj0
);
1650 if (arg1
== NULL
) SWIG_fail
;
1654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1655 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1657 wxPyEndAllowThreads(__tstate
);
1658 if (PyErr_Occurred()) SWIG_fail
;
1660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1675 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1678 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1680 return Py_BuildValue((char *)"");
1682 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1683 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1688 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1693 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1695 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1702 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1703 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1708 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1713 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1715 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1722 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1723 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1728 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1733 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1735 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1742 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1743 PyObject
*resultobj
;
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1752 result
= (long)wxNewId();
1754 wxPyEndAllowThreads(__tstate
);
1755 if (PyErr_Occurred()) SWIG_fail
;
1757 resultobj
= SWIG_PyObj_FromLong((long)result
);
1764 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
*resultobj
;
1767 PyObject
* obj0
= 0 ;
1772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
1774 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
1775 if (PyErr_Occurred()) SWIG_fail
;
1778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1781 wxPyEndAllowThreads(__tstate
);
1782 if (PyErr_Occurred()) SWIG_fail
;
1784 Py_INCREF(Py_None
); resultobj
= Py_None
;
1791 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1792 PyObject
*resultobj
;
1798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 result
= (long)wxGetCurrentId();
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) SWIG_fail
;
1806 resultobj
= SWIG_PyObj_FromLong((long)result
);
1813 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
*resultobj
;
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 wxPyEndAllowThreads(__tstate
);
1825 if (PyErr_Occurred()) SWIG_fail
;
1827 Py_INCREF(Py_None
); resultobj
= Py_None
;
1834 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
*resultobj
;
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
1842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1845 wxPyEndAllowThreads(__tstate
);
1846 if (PyErr_Occurred()) SWIG_fail
;
1848 Py_INCREF(Py_None
); resultobj
= Py_None
;
1855 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1856 PyObject
*resultobj
;
1857 bool arg1
= (bool) True
;
1859 PyObject
* obj0
= 0 ;
1861 (char *) "resetTimer", NULL
1864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
1867 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
1868 if (PyErr_Occurred()) SWIG_fail
;
1872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1873 result
= (long)wxGetElapsedTime(arg1
);
1875 wxPyEndAllowThreads(__tstate
);
1876 if (PyErr_Occurred()) SWIG_fail
;
1878 resultobj
= SWIG_PyObj_FromLong((long)result
);
1885 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1886 PyObject
*resultobj
;
1887 int *arg1
= (int *) 0 ;
1888 int *arg2
= (int *) 0 ;
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
1899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1900 wxGetMousePosition(arg1
,arg2
);
1902 wxPyEndAllowThreads(__tstate
);
1903 if (PyErr_Occurred()) SWIG_fail
;
1905 Py_INCREF(Py_None
); resultobj
= Py_None
;
1907 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1908 resultobj
= t_output_helper(resultobj
,o
);
1911 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1912 resultobj
= t_output_helper(resultobj
,o
);
1920 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1921 PyObject
*resultobj
;
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
1929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1930 result
= (bool)wxIsBusy();
1932 wxPyEndAllowThreads(__tstate
);
1933 if (PyErr_Occurred()) SWIG_fail
;
1935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1942 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
*resultobj
;
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
1951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1954 wxPyEndAllowThreads(__tstate
);
1955 if (PyErr_Occurred()) SWIG_fail
;
1959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1970 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
*resultobj
;
1972 wxString
const &arg1_defvalue
= wxPyEmptyString
;
1973 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
1975 bool temp1
= False
;
1976 PyObject
* obj0
= 0 ;
1978 (char *) "command", NULL
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
1984 arg1
= wxString_in_helper(obj0
);
1985 if (arg1
== NULL
) SWIG_fail
;
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 result
= (bool)wxShell((wxString
const &)*arg1
);
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2011 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2012 PyObject
*resultobj
;
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 wxPyEndAllowThreads(__tstate
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2025 Py_INCREF(Py_None
); resultobj
= Py_None
;
2032 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
*resultobj
;
2034 int *arg1
= (int *) 0 ;
2035 int *arg2
= (int *) 0 ;
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2048 result
= (int)wxGetOsVersion(arg1
,arg2
);
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) SWIG_fail
;
2053 resultobj
= SWIG_PyObj_FromInt((int)result
);
2055 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2056 resultobj
= t_output_helper(resultobj
,o
);
2059 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2060 resultobj
= t_output_helper(resultobj
,o
);
2068 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
*resultobj
;
2075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2078 result
= wxGetOsDescription();
2080 wxPyEndAllowThreads(__tstate
);
2081 if (PyErr_Occurred()) SWIG_fail
;
2085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2096 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
*resultobj
;
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2106 result
= (long)wxGetFreeMemory();
2108 wxPyEndAllowThreads(__tstate
);
2109 if (PyErr_Occurred()) SWIG_fail
;
2111 resultobj
= SWIG_PyObj_FromLong((long)result
);
2118 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
*resultobj
;
2122 PyObject
* obj0
= 0 ;
2124 (char *) "wFlags", NULL
2127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2129 arg1
= (wxShutdownFlags
) SWIG_PyObj_AsInt(obj0
);
2130 if (PyErr_Occurred()) SWIG_fail
;
2133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2134 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2136 wxPyEndAllowThreads(__tstate
);
2137 if (PyErr_Occurred()) SWIG_fail
;
2139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2146 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2147 PyObject
*resultobj
;
2149 PyObject
* obj0
= 0 ;
2151 (char *) "secs", NULL
2154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2156 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2157 if (PyErr_Occurred()) SWIG_fail
;
2160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2163 wxPyEndAllowThreads(__tstate
);
2164 if (PyErr_Occurred()) SWIG_fail
;
2166 Py_INCREF(Py_None
); resultobj
= Py_None
;
2173 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2174 PyObject
*resultobj
;
2175 unsigned long arg1
;
2176 PyObject
* obj0
= 0 ;
2178 (char *) "milliseconds", NULL
2181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2183 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
2184 if (PyErr_Occurred()) SWIG_fail
;
2187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2190 wxPyEndAllowThreads(__tstate
);
2191 if (PyErr_Occurred()) SWIG_fail
;
2193 Py_INCREF(Py_None
); resultobj
= Py_None
;
2200 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2201 PyObject
*resultobj
;
2203 PyObject
* obj0
= 0 ;
2205 (char *) "enable", NULL
2208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2210 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2215 wxEnableTopLevelWindows(arg1
);
2217 wxPyEndAllowThreads(__tstate
);
2218 if (PyErr_Occurred()) SWIG_fail
;
2220 Py_INCREF(Py_None
); resultobj
= Py_None
;
2227 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
*resultobj
;
2229 wxString
*arg1
= 0 ;
2231 bool temp1
= False
;
2232 PyObject
* obj0
= 0 ;
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2239 arg1
= wxString_in_helper(obj0
);
2240 if (arg1
== NULL
) SWIG_fail
;
2244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2245 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2247 wxPyEndAllowThreads(__tstate
);
2248 if (PyErr_Occurred()) SWIG_fail
;
2252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2271 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
*resultobj
;
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2281 result
= wxGetEmailAddress();
2283 wxPyEndAllowThreads(__tstate
);
2284 if (PyErr_Occurred()) SWIG_fail
;
2288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2299 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
*resultobj
;
2306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2309 result
= wxGetHostName();
2311 wxPyEndAllowThreads(__tstate
);
2312 if (PyErr_Occurred()) SWIG_fail
;
2316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2327 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
*resultobj
;
2334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 result
= wxGetFullHostName();
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2344 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2346 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2355 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2356 PyObject
*resultobj
;
2362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2365 result
= wxGetUserId();
2367 wxPyEndAllowThreads(__tstate
);
2368 if (PyErr_Occurred()) SWIG_fail
;
2372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2383 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
*resultobj
;
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2393 result
= wxGetUserName();
2395 wxPyEndAllowThreads(__tstate
);
2396 if (PyErr_Occurred()) SWIG_fail
;
2400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2411 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2412 PyObject
*resultobj
;
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2421 result
= wxGetHomeDir();
2423 wxPyEndAllowThreads(__tstate
);
2424 if (PyErr_Occurred()) SWIG_fail
;
2428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2439 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2440 PyObject
*resultobj
;
2441 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2442 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2444 bool temp1
= False
;
2445 PyObject
* obj0
= 0 ;
2447 (char *) "user", NULL
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2453 arg1
= wxString_in_helper(obj0
);
2454 if (arg1
== NULL
) SWIG_fail
;
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 result
= wxGetUserHome((wxString
const &)*arg1
);
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) SWIG_fail
;
2467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2486 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
*resultobj
;
2488 unsigned long result
;
2493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2496 result
= (unsigned long)wxGetProcessId();
2498 wxPyEndAllowThreads(__tstate
);
2499 if (PyErr_Occurred()) SWIG_fail
;
2501 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
2508 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
*resultobj
;
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2519 wxPyEndAllowThreads(__tstate
);
2520 if (PyErr_Occurred()) SWIG_fail
;
2522 Py_INCREF(Py_None
); resultobj
= Py_None
;
2529 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
*resultobj
;
2531 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2532 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2533 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2534 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2535 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2536 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2537 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2538 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2539 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2540 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2541 int arg6
= (int) 0 ;
2542 wxWindow
*arg7
= (wxWindow
*) NULL
;
2543 int arg8
= (int) -1 ;
2544 int arg9
= (int) -1 ;
2546 bool temp1
= False
;
2547 bool temp2
= False
;
2548 bool temp3
= False
;
2549 bool temp4
= False
;
2550 bool temp5
= False
;
2551 PyObject
* obj0
= 0 ;
2552 PyObject
* obj1
= 0 ;
2553 PyObject
* obj2
= 0 ;
2554 PyObject
* obj3
= 0 ;
2555 PyObject
* obj4
= 0 ;
2556 PyObject
* obj5
= 0 ;
2557 PyObject
* obj6
= 0 ;
2558 PyObject
* obj7
= 0 ;
2559 PyObject
* obj8
= 0 ;
2561 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2567 arg1
= wxString_in_helper(obj0
);
2568 if (arg1
== NULL
) SWIG_fail
;
2574 arg2
= wxString_in_helper(obj1
);
2575 if (arg2
== NULL
) SWIG_fail
;
2581 arg3
= wxString_in_helper(obj2
);
2582 if (arg3
== NULL
) SWIG_fail
;
2588 arg4
= wxString_in_helper(obj3
);
2589 if (arg4
== NULL
) SWIG_fail
;
2595 arg5
= wxString_in_helper(obj4
);
2596 if (arg5
== NULL
) SWIG_fail
;
2602 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
2603 if (PyErr_Occurred()) SWIG_fail
;
2607 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2611 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
2612 if (PyErr_Occurred()) SWIG_fail
;
2617 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
2618 if (PyErr_Occurred()) SWIG_fail
;
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2623 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2630 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2632 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2681 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
*resultobj
;
2683 wxString
*arg1
= 0 ;
2684 wxString
*arg2
= 0 ;
2685 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2686 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2687 wxWindow
*arg4
= (wxWindow
*) NULL
;
2689 bool temp1
= False
;
2690 bool temp2
= False
;
2691 bool temp3
= False
;
2692 PyObject
* obj0
= 0 ;
2693 PyObject
* obj1
= 0 ;
2694 PyObject
* obj2
= 0 ;
2695 PyObject
* obj3
= 0 ;
2697 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2702 arg1
= wxString_in_helper(obj0
);
2703 if (arg1
== NULL
) SWIG_fail
;
2707 arg2
= wxString_in_helper(obj1
);
2708 if (arg2
== NULL
) SWIG_fail
;
2713 arg3
= wxString_in_helper(obj2
);
2714 if (arg3
== NULL
) SWIG_fail
;
2719 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2723 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2725 wxPyEndAllowThreads(__tstate
);
2726 if (PyErr_Occurred()) SWIG_fail
;
2730 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2732 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2765 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
*resultobj
;
2767 wxString
*arg1
= 0 ;
2768 wxString
*arg2
= 0 ;
2769 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2770 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2771 wxWindow
*arg4
= (wxWindow
*) NULL
;
2773 bool temp1
= False
;
2774 bool temp2
= False
;
2775 bool temp3
= False
;
2776 PyObject
* obj0
= 0 ;
2777 PyObject
* obj1
= 0 ;
2778 PyObject
* obj2
= 0 ;
2779 PyObject
* obj3
= 0 ;
2781 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2786 arg1
= wxString_in_helper(obj0
);
2787 if (arg1
== NULL
) SWIG_fail
;
2791 arg2
= wxString_in_helper(obj1
);
2792 if (arg2
== NULL
) SWIG_fail
;
2797 arg3
= wxString_in_helper(obj2
);
2798 if (arg3
== NULL
) SWIG_fail
;
2803 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2807 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) SWIG_fail
;
2814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2849 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
*resultobj
;
2851 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
2852 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2853 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2854 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2855 long arg3
= (long) wxDD_DEFAULT_STYLE
;
2856 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2857 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2858 wxWindow
*arg5
= (wxWindow
*) NULL
;
2860 bool temp1
= False
;
2861 bool temp2
= False
;
2863 PyObject
* obj0
= 0 ;
2864 PyObject
* obj1
= 0 ;
2865 PyObject
* obj2
= 0 ;
2866 PyObject
* obj3
= 0 ;
2867 PyObject
* obj4
= 0 ;
2869 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2875 arg1
= wxString_in_helper(obj0
);
2876 if (arg1
== NULL
) SWIG_fail
;
2882 arg2
= wxString_in_helper(obj1
);
2883 if (arg2
== NULL
) SWIG_fail
;
2889 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
2890 if (PyErr_Occurred()) SWIG_fail
;
2896 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2900 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2904 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
2906 wxPyEndAllowThreads(__tstate
);
2907 if (PyErr_Occurred()) SWIG_fail
;
2911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2938 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
*resultobj
;
2940 wxString
*arg1
= 0 ;
2941 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2942 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2943 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2944 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2945 wxWindow
*arg4
= (wxWindow
*) NULL
;
2946 int arg5
= (int) -1 ;
2947 int arg6
= (int) -1 ;
2948 bool arg7
= (bool) True
;
2950 bool temp1
= False
;
2951 bool temp2
= False
;
2952 bool temp3
= False
;
2953 PyObject
* obj0
= 0 ;
2954 PyObject
* obj1
= 0 ;
2955 PyObject
* obj2
= 0 ;
2956 PyObject
* obj3
= 0 ;
2957 PyObject
* obj4
= 0 ;
2958 PyObject
* obj5
= 0 ;
2959 PyObject
* obj6
= 0 ;
2961 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2966 arg1
= wxString_in_helper(obj0
);
2967 if (arg1
== NULL
) SWIG_fail
;
2972 arg2
= wxString_in_helper(obj1
);
2973 if (arg2
== NULL
) SWIG_fail
;
2979 arg3
= wxString_in_helper(obj2
);
2980 if (arg3
== NULL
) SWIG_fail
;
2985 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2989 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2995 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
2996 if (PyErr_Occurred()) SWIG_fail
;
3001 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
3002 if (PyErr_Occurred()) SWIG_fail
;
3006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3007 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3009 wxPyEndAllowThreads(__tstate
);
3010 if (PyErr_Occurred()) SWIG_fail
;
3014 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3016 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3049 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
*resultobj
;
3051 wxString
*arg1
= 0 ;
3052 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3053 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3054 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3055 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3056 wxWindow
*arg4
= (wxWindow
*) NULL
;
3058 bool temp1
= False
;
3059 bool temp2
= False
;
3060 bool temp3
= False
;
3061 PyObject
* obj0
= 0 ;
3062 PyObject
* obj1
= 0 ;
3063 PyObject
* obj2
= 0 ;
3064 PyObject
* obj3
= 0 ;
3066 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3071 arg1
= wxString_in_helper(obj0
);
3072 if (arg1
== NULL
) SWIG_fail
;
3077 arg2
= wxString_in_helper(obj1
);
3078 if (arg2
== NULL
) SWIG_fail
;
3084 arg3
= wxString_in_helper(obj2
);
3085 if (arg3
== NULL
) SWIG_fail
;
3090 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) SWIG_fail
;
3101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3136 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3137 PyObject
*resultobj
;
3138 wxString
*arg1
= 0 ;
3139 wxString
*arg2
= 0 ;
3141 wxString
*arg4
= (wxString
*) 0 ;
3142 wxWindow
*arg5
= (wxWindow
*) NULL
;
3143 int arg6
= (int) -1 ;
3144 int arg7
= (int) -1 ;
3145 bool arg8
= (bool) True
;
3146 int arg9
= (int) 150 ;
3147 int arg10
= (int) 200 ;
3149 bool temp1
= False
;
3150 bool temp2
= False
;
3151 PyObject
* obj0
= 0 ;
3152 PyObject
* obj1
= 0 ;
3153 PyObject
* obj2
= 0 ;
3154 PyObject
* obj3
= 0 ;
3155 PyObject
* obj4
= 0 ;
3156 PyObject
* obj5
= 0 ;
3157 PyObject
* obj6
= 0 ;
3158 PyObject
* obj7
= 0 ;
3159 PyObject
* obj8
= 0 ;
3161 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3166 arg1
= wxString_in_helper(obj0
);
3167 if (arg1
== NULL
) SWIG_fail
;
3171 arg2
= wxString_in_helper(obj1
);
3172 if (arg2
== NULL
) SWIG_fail
;
3176 arg3
= PyList_Size(obj2
);
3177 arg4
= wxString_LIST_helper(obj2
);
3178 if (arg4
== NULL
) SWIG_fail
;
3181 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3185 arg6
= (int) SWIG_PyObj_AsInt(obj4
);
3186 if (PyErr_Occurred()) SWIG_fail
;
3191 arg7
= (int) SWIG_PyObj_AsInt(obj5
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3197 arg8
= (bool) SWIG_PyObj_AsBool(obj6
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3203 arg9
= (int) SWIG_PyObj_AsInt(obj7
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3209 arg10
= (int) SWIG_PyObj_AsInt(obj8
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3236 if (arg4
) delete [] arg4
;
3249 if (arg4
) delete [] arg4
;
3255 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3256 PyObject
*resultobj
;
3257 wxString
*arg1
= 0 ;
3258 wxString
*arg2
= 0 ;
3260 wxString
*arg4
= (wxString
*) 0 ;
3261 wxWindow
*arg5
= (wxWindow
*) NULL
;
3262 int arg6
= (int) -1 ;
3263 int arg7
= (int) -1 ;
3264 bool arg8
= (bool) True
;
3265 int arg9
= (int) 150 ;
3266 int arg10
= (int) 200 ;
3268 bool temp1
= False
;
3269 bool temp2
= False
;
3270 PyObject
* obj0
= 0 ;
3271 PyObject
* obj1
= 0 ;
3272 PyObject
* obj2
= 0 ;
3273 PyObject
* obj3
= 0 ;
3274 PyObject
* obj4
= 0 ;
3275 PyObject
* obj5
= 0 ;
3276 PyObject
* obj6
= 0 ;
3277 PyObject
* obj7
= 0 ;
3278 PyObject
* obj8
= 0 ;
3280 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3285 arg1
= wxString_in_helper(obj0
);
3286 if (arg1
== NULL
) SWIG_fail
;
3290 arg2
= wxString_in_helper(obj1
);
3291 if (arg2
== NULL
) SWIG_fail
;
3295 arg3
= PyList_Size(obj2
);
3296 arg4
= wxString_LIST_helper(obj2
);
3297 if (arg4
== NULL
) SWIG_fail
;
3300 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3304 arg6
= (int) SWIG_PyObj_AsInt(obj4
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3310 arg7
= (int) SWIG_PyObj_AsInt(obj5
);
3311 if (PyErr_Occurred()) SWIG_fail
;
3316 arg8
= (bool) SWIG_PyObj_AsBool(obj6
);
3317 if (PyErr_Occurred()) SWIG_fail
;
3322 arg9
= (int) SWIG_PyObj_AsInt(obj7
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3328 arg10
= (int) SWIG_PyObj_AsInt(obj8
);
3329 if (PyErr_Occurred()) SWIG_fail
;
3333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3334 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3336 wxPyEndAllowThreads(__tstate
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3339 resultobj
= SWIG_PyObj_FromInt((int)result
);
3349 if (arg4
) delete [] arg4
;
3362 if (arg4
) delete [] arg4
;
3368 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
;
3370 wxString
*arg1
= 0 ;
3371 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3372 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3373 int arg3
= (int) wxOK
|wxCENTRE
;
3374 wxWindow
*arg4
= (wxWindow
*) NULL
;
3375 int arg5
= (int) -1 ;
3376 int arg6
= (int) -1 ;
3378 bool temp1
= False
;
3379 bool temp2
= False
;
3380 PyObject
* obj0
= 0 ;
3381 PyObject
* obj1
= 0 ;
3382 PyObject
* obj2
= 0 ;
3383 PyObject
* obj3
= 0 ;
3384 PyObject
* obj4
= 0 ;
3385 PyObject
* obj5
= 0 ;
3387 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3392 arg1
= wxString_in_helper(obj0
);
3393 if (arg1
== NULL
) SWIG_fail
;
3398 arg2
= wxString_in_helper(obj1
);
3399 if (arg2
== NULL
) SWIG_fail
;
3405 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3410 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3414 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
3415 if (PyErr_Occurred()) SWIG_fail
;
3420 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
3421 if (PyErr_Occurred()) SWIG_fail
;
3425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3426 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3428 wxPyEndAllowThreads(__tstate
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3431 resultobj
= SWIG_PyObj_FromInt((int)result
);
3454 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
;
3456 wxString
*arg1
= 0 ;
3457 wxString
*arg2
= 0 ;
3458 wxString
*arg3
= 0 ;
3460 long arg5
= (long) 0 ;
3461 long arg6
= (long) 100 ;
3462 wxWindow
*arg7
= (wxWindow
*) NULL
;
3463 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3464 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3466 bool temp1
= False
;
3467 bool temp2
= False
;
3468 bool temp3
= False
;
3470 PyObject
* obj0
= 0 ;
3471 PyObject
* obj1
= 0 ;
3472 PyObject
* obj2
= 0 ;
3473 PyObject
* obj3
= 0 ;
3474 PyObject
* obj4
= 0 ;
3475 PyObject
* obj5
= 0 ;
3476 PyObject
* obj6
= 0 ;
3477 PyObject
* obj7
= 0 ;
3479 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3484 arg1
= wxString_in_helper(obj0
);
3485 if (arg1
== NULL
) SWIG_fail
;
3489 arg2
= wxString_in_helper(obj1
);
3490 if (arg2
== NULL
) SWIG_fail
;
3494 arg3
= wxString_in_helper(obj2
);
3495 if (arg3
== NULL
) SWIG_fail
;
3499 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3504 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3510 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3515 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3520 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3525 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3527 wxPyEndAllowThreads(__tstate
);
3528 if (PyErr_Occurred()) SWIG_fail
;
3530 resultobj
= SWIG_PyObj_FromLong((long)result
);
3561 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
*resultobj
;
3568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 result
= (bool)wxColourDisplay();
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3583 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
*resultobj
;
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 result
= (int)wxDisplayDepth();
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3598 resultobj
= SWIG_PyObj_FromInt((int)result
);
3605 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
*resultobj
;
3612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 result
= (int)wxGetDisplayDepth();
3617 wxPyEndAllowThreads(__tstate
);
3618 if (PyErr_Occurred()) SWIG_fail
;
3620 resultobj
= SWIG_PyObj_FromInt((int)result
);
3627 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
;
3629 int *arg1
= (int *) 0 ;
3630 int *arg2
= (int *) 0 ;
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 wxDisplaySize(arg1
,arg2
);
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3647 Py_INCREF(Py_None
); resultobj
= Py_None
;
3649 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3650 resultobj
= t_output_helper(resultobj
,o
);
3653 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3654 resultobj
= t_output_helper(resultobj
,o
);
3662 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
*resultobj
;
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 result
= wxGetDisplaySize();
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3679 resultptr
= new wxSize((wxSize
&) result
);
3680 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3688 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 int *arg1
= (int *) 0 ;
3691 int *arg2
= (int *) 0 ;
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 wxDisplaySizeMM(arg1
,arg2
);
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3708 Py_INCREF(Py_None
); resultobj
= Py_None
;
3710 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3711 resultobj
= t_output_helper(resultobj
,o
);
3714 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3715 resultobj
= t_output_helper(resultobj
,o
);
3723 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
*resultobj
;
3730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 result
= wxGetDisplaySizeMM();
3735 wxPyEndAllowThreads(__tstate
);
3736 if (PyErr_Occurred()) SWIG_fail
;
3740 resultptr
= new wxSize((wxSize
&) result
);
3741 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3749 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
;
3751 int *arg1
= (int *) 0 ;
3752 int *arg2
= (int *) 0 ;
3753 int *arg3
= (int *) 0 ;
3754 int *arg4
= (int *) 0 ;
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3775 Py_INCREF(Py_None
); resultobj
= Py_None
;
3777 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3778 resultobj
= t_output_helper(resultobj
,o
);
3781 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3782 resultobj
= t_output_helper(resultobj
,o
);
3785 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3786 resultobj
= t_output_helper(resultobj
,o
);
3789 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3790 resultobj
= t_output_helper(resultobj
,o
);
3798 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3799 PyObject
*resultobj
;
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3808 result
= wxGetClientDisplayRect();
3810 wxPyEndAllowThreads(__tstate
);
3811 if (PyErr_Occurred()) SWIG_fail
;
3815 resultptr
= new wxRect((wxRect
&) result
);
3816 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3824 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 wxCursor
*arg1
= 0 ;
3827 PyObject
* obj0
= 0 ;
3829 (char *) "cursor", NULL
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3835 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) SWIG_fail
;
3844 Py_INCREF(Py_None
); resultobj
= Py_None
;
3851 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
*resultobj
;
3853 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3854 PyObject
* obj0
= 0 ;
3856 (char *) "cursor", NULL
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 wxBeginBusyCursor(arg1
);
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3870 Py_INCREF(Py_None
); resultobj
= Py_None
;
3877 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
;
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 result
= (wxWindow
*)wxGetActiveWindow();
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3893 resultobj
= wxPyMake_wxObject(result
);
3901 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
*resultobj
;
3906 PyObject
* obj0
= 0 ;
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3914 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3918 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
3920 wxPyEndAllowThreads(__tstate
);
3921 if (PyErr_Occurred()) SWIG_fail
;
3924 resultobj
= wxPyMake_wxObject(result
);
3932 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3933 PyObject
*resultobj
;
3937 PyObject
* obj0
= 0 ;
3942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3945 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3949 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3955 resultobj
= wxPyMake_wxObject(result
);
3963 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
;
3965 wxWindow
*arg1
= (wxWindow
*) 0 ;
3967 PyObject
* obj0
= 0 ;
3969 (char *) "win", NULL
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
3973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3976 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
3978 wxPyEndAllowThreads(__tstate
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3982 resultobj
= wxPyMake_wxObject(result
);
3990 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
*resultobj
;
3994 PyObject
* obj0
= 0 ;
3996 (char *) "key", NULL
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4001 arg1
= (wxKeyCode
) SWIG_PyObj_AsInt(obj0
);
4002 if (PyErr_Occurred()) SWIG_fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4018 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
*resultobj
;
4024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 wxWakeUpMainThread();
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4032 Py_INCREF(Py_None
); resultobj
= Py_None
;
4039 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4040 PyObject
*resultobj
;
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4053 Py_INCREF(Py_None
); resultobj
= Py_None
;
4060 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
*resultobj
;
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 Py_INCREF(Py_None
); resultobj
= Py_None
;
4081 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4083 wxMutexGuiLocker
*result
;
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4091 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4096 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMutexGuiLocker
, 1);
4103 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
*resultobj
;
4105 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4106 PyObject
* obj0
= 0 ;
4108 (char *) "self", NULL
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMutexGuiLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4120 Py_INCREF(Py_None
); resultobj
= Py_None
;
4127 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4130 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4132 return Py_BuildValue((char *)"");
4134 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
*resultobj
;
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 result
= (bool)wxThread_IsMain();
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4156 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4157 PyObject
*resultobj
;
4158 wxString
*arg1
= 0 ;
4160 bool temp1
= False
;
4161 PyObject
* obj0
= 0 ;
4163 (char *) "tip", NULL
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4168 arg1
= wxString_in_helper(obj0
);
4169 if (arg1
== NULL
) SWIG_fail
;
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4180 resultobj
= wxPyMake_wxObject(result
);
4196 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
*resultobj
;
4198 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4199 wxString
*arg2
= 0 ;
4200 bool temp2
= False
;
4201 PyObject
* obj0
= 0 ;
4202 PyObject
* obj1
= 0 ;
4204 (char *) "self",(char *) "tip", NULL
4207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4210 arg2
= wxString_in_helper(obj1
);
4211 if (arg2
== NULL
) SWIG_fail
;
4215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4216 (arg1
)->SetTip((wxString
const &)*arg2
);
4218 wxPyEndAllowThreads(__tstate
);
4219 if (PyErr_Occurred()) SWIG_fail
;
4221 Py_INCREF(Py_None
); resultobj
= Py_None
;
4236 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
;
4238 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4240 PyObject
* obj0
= 0 ;
4242 (char *) "self", NULL
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 result
= (arg1
)->GetTip();
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4267 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4268 PyObject
*resultobj
;
4269 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4271 PyObject
* obj0
= 0 ;
4273 (char *) "self", NULL
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4280 result
= (wxWindow
*)(arg1
)->GetWindow();
4282 wxPyEndAllowThreads(__tstate
);
4283 if (PyErr_Occurred()) SWIG_fail
;
4286 resultobj
= wxPyMake_wxObject(result
);
4294 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4297 PyObject
* obj0
= 0 ;
4299 (char *) "flag", NULL
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4304 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4309 wxToolTip::Enable(arg1
);
4311 wxPyEndAllowThreads(__tstate
);
4312 if (PyErr_Occurred()) SWIG_fail
;
4314 Py_INCREF(Py_None
); resultobj
= Py_None
;
4321 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
*resultobj
;
4324 PyObject
* obj0
= 0 ;
4326 (char *) "milliseconds", NULL
4329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4331 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 wxToolTip::SetDelay(arg1
);
4338 wxPyEndAllowThreads(__tstate
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4341 Py_INCREF(Py_None
); resultobj
= Py_None
;
4348 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4351 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4353 return Py_BuildValue((char *)"");
4355 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
;
4357 wxWindow
*arg1
= (wxWindow
*) 0 ;
4361 PyObject
* obj0
= 0 ;
4362 PyObject
* obj1
= 0 ;
4364 (char *) "window",(char *) "size", NULL
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4371 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4380 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 1);
4387 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
*resultobj
;
4389 wxCaret
*arg1
= (wxCaret
*) 0 ;
4390 PyObject
* obj0
= 0 ;
4392 (char *) "self", NULL
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 wxPyEndAllowThreads(__tstate
);
4402 if (PyErr_Occurred()) SWIG_fail
;
4404 Py_INCREF(Py_None
); resultobj
= Py_None
;
4411 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
*resultobj
;
4413 wxCaret
*arg1
= (wxCaret
*) 0 ;
4415 PyObject
* obj0
= 0 ;
4417 (char *) "self", NULL
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4424 result
= (bool)(arg1
)->IsOk();
4426 wxPyEndAllowThreads(__tstate
);
4427 if (PyErr_Occurred()) SWIG_fail
;
4429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4436 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
*resultobj
;
4438 wxCaret
*arg1
= (wxCaret
*) 0 ;
4440 PyObject
* obj0
= 0 ;
4442 (char *) "self", NULL
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 result
= (bool)(arg1
)->IsVisible();
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4461 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
*resultobj
;
4463 wxCaret
*arg1
= (wxCaret
*) 0 ;
4465 PyObject
* obj0
= 0 ;
4467 (char *) "self", NULL
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 result
= (arg1
)->GetPosition();
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4480 wxPoint
* resultptr
;
4481 resultptr
= new wxPoint((wxPoint
&) result
);
4482 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
4490 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxCaret
*arg1
= (wxCaret
*) 0 ;
4493 int *arg2
= (int *) 0 ;
4494 int *arg3
= (int *) 0 ;
4497 PyObject
* obj0
= 0 ;
4499 (char *) "self", NULL
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 (arg1
)->GetPosition(arg2
,arg3
);
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4513 Py_INCREF(Py_None
); resultobj
= Py_None
;
4515 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4516 resultobj
= t_output_helper(resultobj
,o
);
4519 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4520 resultobj
= t_output_helper(resultobj
,o
);
4528 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
*resultobj
;
4530 wxCaret
*arg1
= (wxCaret
*) 0 ;
4532 PyObject
* obj0
= 0 ;
4534 (char *) "self", NULL
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 result
= (arg1
)->GetSize();
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4548 resultptr
= new wxSize((wxSize
&) result
);
4549 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
4557 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4558 PyObject
*resultobj
;
4559 wxCaret
*arg1
= (wxCaret
*) 0 ;
4560 int *arg2
= (int *) 0 ;
4561 int *arg3
= (int *) 0 ;
4564 PyObject
* obj0
= 0 ;
4566 (char *) "self", NULL
4571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4575 (arg1
)->GetSize(arg2
,arg3
);
4577 wxPyEndAllowThreads(__tstate
);
4578 if (PyErr_Occurred()) SWIG_fail
;
4580 Py_INCREF(Py_None
); resultobj
= Py_None
;
4582 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4583 resultobj
= t_output_helper(resultobj
,o
);
4586 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4587 resultobj
= t_output_helper(resultobj
,o
);
4595 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
*resultobj
;
4597 wxCaret
*arg1
= (wxCaret
*) 0 ;
4599 PyObject
* obj0
= 0 ;
4601 (char *) "self", NULL
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 result
= (wxWindow
*)(arg1
)->GetWindow();
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4614 resultobj
= wxPyMake_wxObject(result
);
4622 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
*resultobj
;
4624 wxCaret
*arg1
= (wxCaret
*) 0 ;
4627 PyObject
* obj0
= 0 ;
4628 PyObject
* obj1
= 0 ;
4629 PyObject
* obj2
= 0 ;
4631 (char *) "self",(char *) "x",(char *) "y", NULL
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4637 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4641 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 (arg1
)->Move(arg2
,arg3
);
4648 wxPyEndAllowThreads(__tstate
);
4649 if (PyErr_Occurred()) SWIG_fail
;
4651 Py_INCREF(Py_None
); resultobj
= Py_None
;
4658 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
*resultobj
;
4660 wxCaret
*arg1
= (wxCaret
*) 0 ;
4663 PyObject
* obj0
= 0 ;
4664 PyObject
* obj1
= 0 ;
4666 (char *) "self",(char *) "pt", NULL
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4673 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4677 (arg1
)->Move((wxPoint
const &)*arg2
);
4679 wxPyEndAllowThreads(__tstate
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4682 Py_INCREF(Py_None
); resultobj
= Py_None
;
4689 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4690 PyObject
*resultobj
;
4691 wxCaret
*arg1
= (wxCaret
*) 0 ;
4694 PyObject
* obj0
= 0 ;
4695 PyObject
* obj1
= 0 ;
4696 PyObject
* obj2
= 0 ;
4698 (char *) "self",(char *) "width",(char *) "height", NULL
4701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4704 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4708 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 (arg1
)->SetSize(arg2
,arg3
);
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4718 Py_INCREF(Py_None
); resultobj
= Py_None
;
4725 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
*resultobj
;
4727 wxCaret
*arg1
= (wxCaret
*) 0 ;
4730 PyObject
* obj0
= 0 ;
4731 PyObject
* obj1
= 0 ;
4733 (char *) "self",(char *) "size", NULL
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4740 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 (arg1
)->SetSize((wxSize
const &)*arg2
);
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4749 Py_INCREF(Py_None
); resultobj
= Py_None
;
4756 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
*resultobj
;
4758 wxCaret
*arg1
= (wxCaret
*) 0 ;
4759 int arg2
= (int) True
;
4760 PyObject
* obj0
= 0 ;
4761 PyObject
* obj1
= 0 ;
4763 (char *) "self",(char *) "show", NULL
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4770 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4778 wxPyEndAllowThreads(__tstate
);
4779 if (PyErr_Occurred()) SWIG_fail
;
4781 Py_INCREF(Py_None
); resultobj
= Py_None
;
4788 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
*resultobj
;
4790 wxCaret
*arg1
= (wxCaret
*) 0 ;
4791 PyObject
* obj0
= 0 ;
4793 (char *) "self", NULL
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4805 Py_INCREF(Py_None
); resultobj
= Py_None
;
4812 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4815 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4817 return Py_BuildValue((char *)"");
4819 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4820 PyObject
*resultobj
;
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 result
= (int)wxCaret_GetBlinkTime();
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4834 resultobj
= SWIG_PyObj_FromInt((int)result
);
4841 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
*resultobj
;
4844 PyObject
* obj0
= 0 ;
4846 (char *) "milliseconds", NULL
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
4851 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
4852 if (PyErr_Occurred()) SWIG_fail
;
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 wxCaret_SetBlinkTime(arg1
);
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4861 Py_INCREF(Py_None
); resultobj
= Py_None
;
4868 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
;
4870 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4871 wxBusyCursor
*result
;
4872 PyObject
* obj0
= 0 ;
4874 (char *) "cursor", NULL
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
4879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4883 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4888 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyCursor
, 1);
4895 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
*resultobj
;
4897 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
4898 PyObject
* obj0
= 0 ;
4900 (char *) "self", NULL
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
4904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) SWIG_fail
;
4912 Py_INCREF(Py_None
); resultobj
= Py_None
;
4919 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
4921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4922 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
4924 return Py_BuildValue((char *)"");
4926 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
;
4928 wxWindow
*arg1
= (wxWindow
*) NULL
;
4929 wxWindowDisabler
*result
;
4930 PyObject
* obj0
= 0 ;
4932 (char *) "winToSkip", NULL
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4946 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDisabler
, 1);
4953 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4954 PyObject
*resultobj
;
4955 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
4956 PyObject
* obj0
= 0 ;
4958 (char *) "self", NULL
4961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4970 Py_INCREF(Py_None
); resultobj
= Py_None
;
4977 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
4979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4980 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
4982 return Py_BuildValue((char *)"");
4984 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
;
4986 wxString
*arg1
= 0 ;
4988 bool temp1
= False
;
4989 PyObject
* obj0
= 0 ;
4991 (char *) "message", NULL
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
4996 arg1
= wxString_in_helper(obj0
);
4997 if (arg1
== NULL
) SWIG_fail
;
5001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) SWIG_fail
;
5007 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyInfo
, 1);
5022 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
;
5024 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5025 PyObject
* obj0
= 0 ;
5027 (char *) "self", NULL
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5039 Py_INCREF(Py_None
); resultobj
= Py_None
;
5046 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5049 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5051 return Py_BuildValue((char *)"");
5053 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
*resultobj
;
5055 wxStopWatch
*result
;
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 result
= (wxStopWatch
*)new wxStopWatch();
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5068 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStopWatch
, 1);
5075 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
*resultobj
;
5077 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5078 long arg2
= (long) 0 ;
5079 PyObject
* obj0
= 0 ;
5080 PyObject
* obj1
= 0 ;
5082 (char *) "self",(char *) "t0", NULL
5085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5089 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5095 (arg1
)->Start(arg2
);
5097 wxPyEndAllowThreads(__tstate
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5100 Py_INCREF(Py_None
); resultobj
= Py_None
;
5107 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
*resultobj
;
5109 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5110 PyObject
* obj0
= 0 ;
5112 (char *) "self", NULL
5115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 wxPyEndAllowThreads(__tstate
);
5122 if (PyErr_Occurred()) SWIG_fail
;
5124 Py_INCREF(Py_None
); resultobj
= Py_None
;
5131 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
;
5133 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5134 PyObject
* obj0
= 0 ;
5136 (char *) "self", NULL
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 wxPyEndAllowThreads(__tstate
);
5146 if (PyErr_Occurred()) SWIG_fail
;
5148 Py_INCREF(Py_None
); resultobj
= Py_None
;
5155 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
*resultobj
;
5157 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5159 PyObject
* obj0
= 0 ;
5161 (char *) "self", NULL
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= SWIG_PyObj_FromLong((long)result
);
5180 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5183 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5185 return Py_BuildValue((char *)"");
5187 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
*resultobj
;
5189 int arg1
= (int) 9 ;
5190 wxFileHistory
*result
;
5191 PyObject
* obj0
= 0 ;
5193 (char *) "maxFiles", NULL
5196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5199 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5205 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5210 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileHistory
, 1);
5217 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
*resultobj
;
5219 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5220 PyObject
* obj0
= 0 ;
5222 (char *) "self", NULL
5225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 wxPyEndAllowThreads(__tstate
);
5232 if (PyErr_Occurred()) SWIG_fail
;
5234 Py_INCREF(Py_None
); resultobj
= Py_None
;
5241 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
*resultobj
;
5243 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5244 wxString
*arg2
= 0 ;
5245 bool temp2
= False
;
5246 PyObject
* obj0
= 0 ;
5247 PyObject
* obj1
= 0 ;
5249 (char *) "self",(char *) "file", NULL
5252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5255 arg2
= wxString_in_helper(obj1
);
5256 if (arg2
== NULL
) SWIG_fail
;
5260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5266 Py_INCREF(Py_None
); resultobj
= Py_None
;
5281 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
*resultobj
;
5283 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5285 PyObject
* obj0
= 0 ;
5286 PyObject
* obj1
= 0 ;
5288 (char *) "self",(char *) "i", NULL
5291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5294 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 (arg1
)->RemoveFileFromHistory(arg2
);
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5304 Py_INCREF(Py_None
); resultobj
= Py_None
;
5311 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
;
5313 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5315 PyObject
* obj0
= 0 ;
5317 (char *) "self", NULL
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5324 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5326 wxPyEndAllowThreads(__tstate
);
5327 if (PyErr_Occurred()) SWIG_fail
;
5329 resultobj
= SWIG_PyObj_FromInt((int)result
);
5336 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
*resultobj
;
5338 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5339 wxMenu
*arg2
= (wxMenu
*) 0 ;
5340 PyObject
* obj0
= 0 ;
5341 PyObject
* obj1
= 0 ;
5343 (char *) "self",(char *) "menu", NULL
5346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5348 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 (arg1
)->UseMenu(arg2
);
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 Py_INCREF(Py_None
); resultobj
= Py_None
;
5363 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
;
5365 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5366 wxMenu
*arg2
= (wxMenu
*) 0 ;
5367 PyObject
* obj0
= 0 ;
5368 PyObject
* obj1
= 0 ;
5370 (char *) "self",(char *) "menu", NULL
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5375 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 (arg1
)->RemoveMenu(arg2
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5383 Py_INCREF(Py_None
); resultobj
= Py_None
;
5390 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
*resultobj
;
5392 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5393 wxConfigBase
*arg2
= 0 ;
5394 PyObject
* obj0
= 0 ;
5395 PyObject
* obj1
= 0 ;
5397 (char *) "self",(char *) "config", NULL
5400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5402 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5404 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 (arg1
)->Load(*arg2
);
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5413 Py_INCREF(Py_None
); resultobj
= Py_None
;
5420 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
*resultobj
;
5422 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5423 wxConfigBase
*arg2
= 0 ;
5424 PyObject
* obj0
= 0 ;
5425 PyObject
* obj1
= 0 ;
5427 (char *) "self",(char *) "config", NULL
5430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5432 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5434 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 (arg1
)->Save(*arg2
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 Py_INCREF(Py_None
); resultobj
= Py_None
;
5450 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
;
5452 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5453 PyObject
* obj0
= 0 ;
5455 (char *) "self", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 (arg1
)->AddFilesToMenu();
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5467 Py_INCREF(Py_None
); resultobj
= Py_None
;
5474 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
;
5476 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5477 wxMenu
*arg2
= (wxMenu
*) 0 ;
5478 PyObject
* obj0
= 0 ;
5479 PyObject
* obj1
= 0 ;
5481 (char *) "self",(char *) "menu", NULL
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5486 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5489 (arg1
)->AddFilesToMenu(arg2
);
5491 wxPyEndAllowThreads(__tstate
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5494 Py_INCREF(Py_None
); resultobj
= Py_None
;
5501 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
*resultobj
;
5503 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5506 PyObject
* obj0
= 0 ;
5507 PyObject
* obj1
= 0 ;
5509 (char *) "self",(char *) "i", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5515 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5527 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5529 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5538 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
;
5540 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5542 PyObject
* obj0
= 0 ;
5544 (char *) "self", NULL
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5556 resultobj
= SWIG_PyObj_FromInt((int)result
);
5563 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5566 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5568 return Py_BuildValue((char *)"");
5570 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
*resultobj
;
5572 wxString
*arg1
= 0 ;
5573 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5574 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5575 wxSingleInstanceChecker
*result
;
5576 bool temp1
= False
;
5577 bool temp2
= False
;
5578 PyObject
* obj0
= 0 ;
5579 PyObject
* obj1
= 0 ;
5581 (char *) "name",(char *) "path", NULL
5584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5586 arg1
= wxString_in_helper(obj0
);
5587 if (arg1
== NULL
) SWIG_fail
;
5592 arg2
= wxString_in_helper(obj1
);
5593 if (arg2
== NULL
) SWIG_fail
;
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5627 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
*resultobj
;
5629 wxSingleInstanceChecker
*result
;
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5639 wxPyEndAllowThreads(__tstate
);
5640 if (PyErr_Occurred()) SWIG_fail
;
5642 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5649 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
*resultobj
;
5651 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5652 PyObject
* obj0
= 0 ;
5654 (char *) "self", NULL
5657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 wxPyEndAllowThreads(__tstate
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5666 Py_INCREF(Py_None
); resultobj
= Py_None
;
5673 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
*resultobj
;
5675 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5676 wxString
*arg2
= 0 ;
5677 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5678 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5680 bool temp2
= False
;
5681 bool temp3
= False
;
5682 PyObject
* obj0
= 0 ;
5683 PyObject
* obj1
= 0 ;
5684 PyObject
* obj2
= 0 ;
5686 (char *) "self",(char *) "name",(char *) "path", NULL
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5692 arg2
= wxString_in_helper(obj1
);
5693 if (arg2
== NULL
) SWIG_fail
;
5698 arg3
= wxString_in_helper(obj2
);
5699 if (arg3
== NULL
) SWIG_fail
;
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5733 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
*resultobj
;
5735 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5737 PyObject
* obj0
= 0 ;
5739 (char *) "self", NULL
5742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5758 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5761 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5763 return Py_BuildValue((char *)"");
5765 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
;
5767 wxWindow
*arg1
= (wxWindow
*) 0 ;
5770 PyObject
* obj0
= 0 ;
5771 PyObject
* obj1
= 0 ;
5772 PyObject
* obj2
= 0 ;
5774 (char *) "window",(char *) "dc",(char *) "method", NULL
5777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5779 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5781 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5784 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5791 wxPyEndAllowThreads(__tstate
);
5792 if (PyErr_Occurred()) SWIG_fail
;
5794 Py_INCREF(Py_None
); resultobj
= Py_None
;
5801 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5802 PyObject
*resultobj
;
5803 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5804 PyObject
* obj0
= 0 ;
5806 (char *) "self", NULL
5809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5815 wxPyEndAllowThreads(__tstate
);
5816 if (PyErr_Occurred()) SWIG_fail
;
5818 Py_INCREF(Py_None
); resultobj
= Py_None
;
5825 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
*resultobj
;
5827 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5829 PyObject
* obj0
= 0 ;
5831 (char *) "self", NULL
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
5835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 result
= (arg1
)->GetTip();
5840 wxPyEndAllowThreads(__tstate
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5856 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
*resultobj
;
5858 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5860 PyObject
* obj0
= 0 ;
5862 (char *) "self", NULL
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
5866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 result
= (size_t)(arg1
)->GetCurrentTip();
5871 wxPyEndAllowThreads(__tstate
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5874 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
5881 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
*resultobj
;
5883 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5884 wxString
*arg2
= 0 ;
5886 bool temp2
= False
;
5887 PyObject
* obj0
= 0 ;
5888 PyObject
* obj1
= 0 ;
5890 (char *) "self",(char *) "tip", NULL
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
5894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5896 arg2
= wxString_in_helper(obj1
);
5897 if (arg2
== NULL
) SWIG_fail
;
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5902 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5928 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5931 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
5933 return Py_BuildValue((char *)"");
5935 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
;
5938 wxPyTipProvider
*result
;
5939 PyObject
* obj0
= 0 ;
5941 (char *) "currentTip", NULL
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
5946 arg1
= (size_t) SWIG_PyObj_AsUnsignedLong(obj0
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5956 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTipProvider
, 1);
5963 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
*resultobj
;
5965 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
5966 PyObject
*arg2
= (PyObject
*) 0 ;
5967 PyObject
*arg3
= (PyObject
*) 0 ;
5968 PyObject
* obj0
= 0 ;
5969 PyObject
* obj1
= 0 ;
5970 PyObject
* obj2
= 0 ;
5972 (char *) "self",(char *) "self",(char *) "_class", NULL
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 Py_INCREF(Py_None
); resultobj
= Py_None
;
5993 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5996 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
5998 return Py_BuildValue((char *)"");
6000 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
*resultobj
;
6002 wxWindow
*arg1
= (wxWindow
*) 0 ;
6003 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6004 bool arg3
= (bool) True
;
6006 PyObject
* obj0
= 0 ;
6007 PyObject
* obj1
= 0 ;
6008 PyObject
* obj2
= 0 ;
6010 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6015 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6018 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6036 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
;
6038 wxString
*arg1
= 0 ;
6040 wxTipProvider
*result
;
6041 bool temp1
= False
;
6042 PyObject
* obj0
= 0 ;
6043 PyObject
* obj1
= 0 ;
6045 (char *) "filename",(char *) "currentTip", NULL
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6050 arg1
= wxString_in_helper(obj0
);
6051 if (arg1
== NULL
) SWIG_fail
;
6055 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6056 if (PyErr_Occurred()) SWIG_fail
;
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipProvider
, 1);
6080 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
*resultobj
;
6082 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6083 int arg2
= (int) -1 ;
6085 PyObject
* obj0
= 0 ;
6086 PyObject
* obj1
= 0 ;
6088 (char *) "owner",(char *) "id", NULL
6091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6097 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6103 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6105 wxPyEndAllowThreads(__tstate
);
6106 if (PyErr_Occurred()) SWIG_fail
;
6108 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTimer
, 1);
6115 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
*resultobj
;
6117 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6118 PyObject
* obj0
= 0 ;
6120 (char *) "self", NULL
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6129 wxPyEndAllowThreads(__tstate
);
6130 if (PyErr_Occurred()) SWIG_fail
;
6132 Py_INCREF(Py_None
); resultobj
= Py_None
;
6139 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
*resultobj
;
6141 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6142 PyObject
*arg2
= (PyObject
*) 0 ;
6143 PyObject
*arg3
= (PyObject
*) 0 ;
6144 PyObject
* obj0
= 0 ;
6145 PyObject
* obj1
= 0 ;
6146 PyObject
* obj2
= 0 ;
6148 (char *) "self",(char *) "self",(char *) "_class", NULL
6151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 Py_INCREF(Py_None
); resultobj
= Py_None
;
6169 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6172 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6173 int arg3
= (int) -1 ;
6174 PyObject
* obj0
= 0 ;
6175 PyObject
* obj1
= 0 ;
6176 PyObject
* obj2
= 0 ;
6178 (char *) "self",(char *) "owner",(char *) "id", NULL
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6183 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6186 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6187 if (PyErr_Occurred()) SWIG_fail
;
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 (arg1
)->SetOwner(arg2
,arg3
);
6194 wxPyEndAllowThreads(__tstate
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6197 Py_INCREF(Py_None
); resultobj
= Py_None
;
6204 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6205 PyObject
*resultobj
;
6206 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6207 int arg2
= (int) -1 ;
6208 bool arg3
= (bool) False
;
6210 PyObject
* obj0
= 0 ;
6211 PyObject
* obj1
= 0 ;
6212 PyObject
* obj2
= 0 ;
6214 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6221 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6227 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6245 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
*resultobj
;
6247 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6248 PyObject
* obj0
= 0 ;
6250 (char *) "self", NULL
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6262 Py_INCREF(Py_None
); resultobj
= Py_None
;
6269 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
;
6271 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6273 PyObject
* obj0
= 0 ;
6275 (char *) "self", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6294 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6298 PyObject
* obj0
= 0 ;
6300 (char *) "self", NULL
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) SWIG_fail
;
6312 resultobj
= SWIG_PyObj_FromInt((int)result
);
6319 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6320 PyObject
*resultobj
;
6321 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6323 PyObject
* obj0
= 0 ;
6325 (char *) "self", NULL
6328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6334 wxPyEndAllowThreads(__tstate
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6344 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
*resultobj
;
6346 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6348 PyObject
* obj0
= 0 ;
6350 (char *) "self", NULL
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6359 wxPyEndAllowThreads(__tstate
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6362 resultobj
= SWIG_PyObj_FromInt((int)result
);
6369 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6372 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6374 return Py_BuildValue((char *)"");
6376 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 int arg1
= (int) 0 ;
6379 int arg2
= (int) 0 ;
6380 wxTimerEvent
*result
;
6381 PyObject
* obj0
= 0 ;
6382 PyObject
* obj1
= 0 ;
6384 (char *) "timerid",(char *) "interval", NULL
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6390 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6396 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerEvent
, 1);
6414 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
;
6416 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6418 PyObject
* obj0
= 0 ;
6420 (char *) "self", NULL
6423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6427 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6432 resultobj
= SWIG_PyObj_FromInt((int)result
);
6439 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6442 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6444 return Py_BuildValue((char *)"");
6446 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6447 PyObject
*resultobj
;
6449 wxTimerRunner
*result
;
6450 PyObject
* obj0
= 0 ;
6452 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6455 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6464 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
6471 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6472 PyObject
*resultobj
;
6475 bool arg3
= (bool) False
;
6476 wxTimerRunner
*result
;
6477 PyObject
* obj0
= 0 ;
6478 PyObject
* obj1
= 0 ;
6479 PyObject
* obj2
= 0 ;
6481 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6484 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6487 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6492 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6498 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6500 wxPyEndAllowThreads(__tstate
);
6501 if (PyErr_Occurred()) SWIG_fail
;
6503 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
6510 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6515 argc
= PyObject_Length(args
);
6516 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6517 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6523 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6531 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6534 if ((argc
>= 2) && (argc
<= 3)) {
6538 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6547 SWIG_PyObj_AsInt(argv
[1]);
6548 if (PyErr_Occurred()) {
6557 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6560 SWIG_PyObj_AsBool(argv
[2]);
6561 if (PyErr_Occurred()) {
6569 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6575 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6580 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6581 PyObject
*resultobj
;
6582 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6583 PyObject
* obj0
= 0 ;
6585 (char *) "self", NULL
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 wxPyEndAllowThreads(__tstate
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6597 Py_INCREF(Py_None
); resultobj
= Py_None
;
6604 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
;
6606 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6608 bool arg3
= (bool) False
;
6609 PyObject
* obj0
= 0 ;
6610 PyObject
* obj1
= 0 ;
6611 PyObject
* obj2
= 0 ;
6613 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6619 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6624 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 (arg1
)->Start(arg2
,arg3
);
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6635 Py_INCREF(Py_None
); resultobj
= Py_None
;
6642 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6645 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6647 return Py_BuildValue((char *)"");
6649 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6650 PyObject
*resultobj
;
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 result
= (wxLog
*)new wxLog();
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 1);
6671 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
;
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6681 result
= (bool)wxLog::IsEnabled();
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6693 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
*resultobj
;
6695 bool arg1
= (bool) True
;
6697 PyObject
* obj0
= 0 ;
6699 (char *) "doIt", NULL
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6705 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
6706 if (PyErr_Occurred()) SWIG_fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 result
= (bool)wxLog::EnableLogging(arg1
);
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6723 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
*resultobj
;
6726 wxChar
*arg2
= (wxChar
*) 0 ;
6728 PyObject
* obj0
= 0 ;
6729 PyObject
* obj1
= 0 ;
6730 PyObject
* obj2
= 0 ;
6732 (char *) "level",(char *) "szString",(char *) "t", NULL
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6737 arg1
= (wxLogLevel
) SWIG_PyObj_AsUnsignedLong(obj0
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6740 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6742 arg3
= (time_t) SWIG_PyObj_AsUnsignedInt(obj2
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6752 Py_INCREF(Py_None
); resultobj
= Py_None
;
6759 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
*resultobj
;
6761 wxLog
*arg1
= (wxLog
*) 0 ;
6762 PyObject
* obj0
= 0 ;
6764 (char *) "self", NULL
6767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6776 Py_INCREF(Py_None
); resultobj
= Py_None
;
6783 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
*resultobj
;
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 wxLog::FlushActive();
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6797 Py_INCREF(Py_None
); resultobj
= Py_None
;
6804 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
;
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 result
= (wxLog
*)wxLog::GetActiveTarget();
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6819 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6826 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
*resultobj
;
6828 wxLog
*arg1
= (wxLog
*) 0 ;
6830 PyObject
* obj0
= 0 ;
6832 (char *) "pLogger", NULL
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
6836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6839 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6851 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
*resultobj
;
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6865 Py_INCREF(Py_None
); resultobj
= Py_None
;
6872 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6873 PyObject
*resultobj
;
6878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6886 Py_INCREF(Py_None
); resultobj
= Py_None
;
6893 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
*resultobj
;
6895 bool arg1
= (bool) True
;
6896 PyObject
* obj0
= 0 ;
6898 (char *) "bVerbose", NULL
6901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
6904 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 wxLog::SetVerbose(arg1
);
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6915 Py_INCREF(Py_None
); resultobj
= Py_None
;
6922 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
*resultobj
;
6925 PyObject
* obj0
= 0 ;
6927 (char *) "logLevel", NULL
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
6932 arg1
= (wxLogLevel
) SWIG_PyObj_AsUnsignedLong(obj0
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 wxLog::SetLogLevel(arg1
);
6939 wxPyEndAllowThreads(__tstate
);
6940 if (PyErr_Occurred()) SWIG_fail
;
6942 Py_INCREF(Py_None
); resultobj
= Py_None
;
6949 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6950 PyObject
*resultobj
;
6955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6958 wxLog::DontCreateOnDemand();
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 Py_INCREF(Py_None
); resultobj
= Py_None
;
6970 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6973 PyObject
* obj0
= 0 ;
6975 (char *) "ulMask", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
6980 arg1
= (wxTraceMask
) SWIG_PyObj_AsUnsignedLong(obj0
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6985 wxLog::SetTraceMask(arg1
);
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6990 Py_INCREF(Py_None
); resultobj
= Py_None
;
6997 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
;
6999 wxString
*arg1
= 0 ;
7000 bool temp1
= False
;
7001 PyObject
* obj0
= 0 ;
7003 (char *) "str", NULL
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7008 arg1
= wxString_in_helper(obj0
);
7009 if (arg1
== NULL
) SWIG_fail
;
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7014 wxLog::AddTraceMask((wxString
const &)*arg1
);
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) SWIG_fail
;
7019 Py_INCREF(Py_None
); resultobj
= Py_None
;
7034 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
*resultobj
;
7036 wxString
*arg1
= 0 ;
7037 bool temp1
= False
;
7038 PyObject
* obj0
= 0 ;
7040 (char *) "str", NULL
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7045 arg1
= wxString_in_helper(obj0
);
7046 if (arg1
== NULL
) SWIG_fail
;
7050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7051 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7053 wxPyEndAllowThreads(__tstate
);
7054 if (PyErr_Occurred()) SWIG_fail
;
7056 Py_INCREF(Py_None
); resultobj
= Py_None
;
7071 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
*resultobj
;
7077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 wxLog::ClearTraceMasks();
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7085 Py_INCREF(Py_None
); resultobj
= Py_None
;
7092 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7093 PyObject
*resultobj
;
7094 wxArrayString
*result
;
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7104 result
= (wxArrayString
*) &_result_ref
;
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7111 resultobj
= wxArrayString2PyList_helper(*result
);
7119 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
*resultobj
;
7121 wxChar
*arg1
= (wxChar
*) 0 ;
7122 PyObject
* obj0
= 0 ;
7127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 wxLog::SetTimestamp((wxChar
const *)arg1
);
7133 wxPyEndAllowThreads(__tstate
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7136 Py_INCREF(Py_None
); resultobj
= Py_None
;
7143 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
;
7150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 result
= (bool)wxLog::GetVerbose();
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7165 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7166 PyObject
*resultobj
;
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7175 result
= (wxTraceMask
)wxLog::GetTraceMask();
7177 wxPyEndAllowThreads(__tstate
);
7178 if (PyErr_Occurred()) SWIG_fail
;
7180 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
7187 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7188 PyObject
*resultobj
;
7189 wxChar
*arg1
= (wxChar
*) 0 ;
7191 PyObject
* obj0
= 0 ;
7193 (char *) "mask", NULL
7196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7212 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
;
7219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 result
= (wxLogLevel
)wxLog::GetLogLevel();
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7227 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
7234 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
*resultobj
;
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 result
= (wxChar
*)wxLog::GetTimestamp();
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChar
, 0);
7256 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
;
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 result
= Log_TimeStamp();
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7284 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7285 PyObject
*resultobj
;
7286 wxLog
*arg1
= (wxLog
*) 0 ;
7287 PyObject
* obj0
= 0 ;
7289 (char *) "self", NULL
7292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 wxLog_Destroy(arg1
);
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 Py_INCREF(Py_None
); resultobj
= Py_None
;
7308 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7311 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7313 return Py_BuildValue((char *)"");
7315 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7317 wxLogStderr
*result
;
7322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 result
= (wxLogStderr
*)new wxLogStderr();
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogStderr
, 1);
7337 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7340 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7342 return Py_BuildValue((char *)"");
7344 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7345 PyObject
*resultobj
;
7346 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7347 wxLogTextCtrl
*result
;
7348 PyObject
* obj0
= 0 ;
7350 (char *) "pTextCtrl", NULL
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7362 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogTextCtrl
, 1);
7369 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7372 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7374 return Py_BuildValue((char *)"");
7376 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7386 result
= (wxLogGui
*)new wxLogGui();
7388 wxPyEndAllowThreads(__tstate
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7391 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogGui
, 1);
7398 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7401 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7403 return Py_BuildValue((char *)"");
7405 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
*resultobj
;
7407 wxFrame
*arg1
= (wxFrame
*) 0 ;
7408 wxString
*arg2
= 0 ;
7409 bool arg3
= (bool) True
;
7410 bool arg4
= (bool) True
;
7411 wxLogWindow
*result
;
7412 bool temp2
= False
;
7413 PyObject
* obj0
= 0 ;
7414 PyObject
* obj1
= 0 ;
7415 PyObject
* obj2
= 0 ;
7416 PyObject
* obj3
= 0 ;
7418 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7424 arg2
= wxString_in_helper(obj1
);
7425 if (arg2
== NULL
) SWIG_fail
;
7430 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7436 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7447 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogWindow
, 1);
7462 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
;
7464 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7465 bool arg2
= (bool) True
;
7466 PyObject
* obj0
= 0 ;
7467 PyObject
* obj1
= 0 ;
7469 (char *) "self",(char *) "bShow", NULL
7472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7476 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7487 Py_INCREF(Py_None
); resultobj
= Py_None
;
7494 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
*resultobj
;
7496 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7498 PyObject
* obj0
= 0 ;
7500 (char *) "self", NULL
7503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7513 resultobj
= wxPyMake_wxObject(result
);
7521 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7523 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7525 PyObject
* obj0
= 0 ;
7527 (char *) "self", NULL
7530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7546 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
*resultobj
;
7548 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7550 PyObject
* obj0
= 0 ;
7552 (char *) "self", NULL
7555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7571 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7572 PyObject
*resultobj
;
7573 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7575 PyObject
* obj0
= 0 ;
7576 PyObject
* obj1
= 0 ;
7578 (char *) "self",(char *) "bDoPass", NULL
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7584 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 (arg1
)->PassMessages(arg2
);
7591 wxPyEndAllowThreads(__tstate
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7594 Py_INCREF(Py_None
); resultobj
= Py_None
;
7601 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7604 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7606 return Py_BuildValue((char *)"");
7608 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
;
7610 wxLog
*arg1
= (wxLog
*) 0 ;
7612 PyObject
* obj0
= 0 ;
7614 (char *) "logger", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 result
= (wxLogChain
*)new wxLogChain(arg1
);
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogChain
, 1);
7633 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
*resultobj
;
7635 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7636 wxLog
*arg2
= (wxLog
*) 0 ;
7637 PyObject
* obj0
= 0 ;
7638 PyObject
* obj1
= 0 ;
7640 (char *) "self",(char *) "logger", NULL
7643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7645 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7648 (arg1
)->SetLog(arg2
);
7650 wxPyEndAllowThreads(__tstate
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7653 Py_INCREF(Py_None
); resultobj
= Py_None
;
7660 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7661 PyObject
*resultobj
;
7662 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7664 PyObject
* obj0
= 0 ;
7665 PyObject
* obj1
= 0 ;
7667 (char *) "self",(char *) "bDoPass", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7673 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 (arg1
)->PassMessages(arg2
);
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 Py_INCREF(Py_None
); resultobj
= Py_None
;
7690 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
;
7692 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7694 PyObject
* obj0
= 0 ;
7696 (char *) "self", NULL
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 result
= (bool)(arg1
)->IsPassingMessages();
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7715 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
;
7717 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7719 PyObject
* obj0
= 0 ;
7721 (char *) "self", NULL
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 result
= (wxLog
*)(arg1
)->GetOldLog();
7730 wxPyEndAllowThreads(__tstate
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7733 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7740 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7743 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7745 return Py_BuildValue((char *)"");
7747 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
;
7749 unsigned long result
;
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 result
= (unsigned long)wxSysErrorCode();
7759 wxPyEndAllowThreads(__tstate
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7762 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
7769 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7770 PyObject
*resultobj
;
7771 unsigned long arg1
= (unsigned long) 0 ;
7773 PyObject
* obj0
= 0 ;
7775 (char *) "nErrCode", NULL
7778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7781 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 result
= wxSysErrorMsg(arg1
);
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7794 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7796 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7805 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
*resultobj
;
7807 wxString
*arg1
= 0 ;
7808 bool temp1
= False
;
7809 PyObject
* obj0
= 0 ;
7811 (char *) "msg", NULL
7814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7816 arg1
= wxString_in_helper(obj0
);
7817 if (arg1
== NULL
) SWIG_fail
;
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 wxLogFatalError((wxString
const &)*arg1
);
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7827 Py_INCREF(Py_None
); resultobj
= Py_None
;
7842 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
*resultobj
;
7844 wxString
*arg1
= 0 ;
7845 bool temp1
= False
;
7846 PyObject
* obj0
= 0 ;
7848 (char *) "msg", NULL
7851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
7853 arg1
= wxString_in_helper(obj0
);
7854 if (arg1
== NULL
) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 wxLogError((wxString
const &)*arg1
);
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7864 Py_INCREF(Py_None
); resultobj
= Py_None
;
7879 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7880 PyObject
*resultobj
;
7881 wxString
*arg1
= 0 ;
7882 bool temp1
= False
;
7883 PyObject
* obj0
= 0 ;
7885 (char *) "msg", NULL
7888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
7890 arg1
= wxString_in_helper(obj0
);
7891 if (arg1
== NULL
) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 wxLogWarning((wxString
const &)*arg1
);
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 Py_INCREF(Py_None
); resultobj
= Py_None
;
7916 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7917 PyObject
*resultobj
;
7918 wxString
*arg1
= 0 ;
7919 bool temp1
= False
;
7920 PyObject
* obj0
= 0 ;
7922 (char *) "msg", NULL
7925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
7927 arg1
= wxString_in_helper(obj0
);
7928 if (arg1
== NULL
) SWIG_fail
;
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7933 wxLogMessage((wxString
const &)*arg1
);
7935 wxPyEndAllowThreads(__tstate
);
7936 if (PyErr_Occurred()) SWIG_fail
;
7938 Py_INCREF(Py_None
); resultobj
= Py_None
;
7953 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
*resultobj
;
7955 wxString
*arg1
= 0 ;
7956 bool temp1
= False
;
7957 PyObject
* obj0
= 0 ;
7959 (char *) "msg", NULL
7962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
7964 arg1
= wxString_in_helper(obj0
);
7965 if (arg1
== NULL
) SWIG_fail
;
7969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7970 wxLogInfo((wxString
const &)*arg1
);
7972 wxPyEndAllowThreads(__tstate
);
7973 if (PyErr_Occurred()) SWIG_fail
;
7975 Py_INCREF(Py_None
); resultobj
= Py_None
;
7990 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7991 PyObject
*resultobj
;
7992 wxString
*arg1
= 0 ;
7993 bool temp1
= False
;
7994 PyObject
* obj0
= 0 ;
7996 (char *) "msg", NULL
7999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8001 arg1
= wxString_in_helper(obj0
);
8002 if (arg1
== NULL
) SWIG_fail
;
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 wxLogDebug((wxString
const &)*arg1
);
8009 wxPyEndAllowThreads(__tstate
);
8010 if (PyErr_Occurred()) SWIG_fail
;
8012 Py_INCREF(Py_None
); resultobj
= Py_None
;
8027 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8028 PyObject
*resultobj
;
8029 wxString
*arg1
= 0 ;
8030 bool temp1
= False
;
8031 PyObject
* obj0
= 0 ;
8033 (char *) "msg", NULL
8036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8038 arg1
= wxString_in_helper(obj0
);
8039 if (arg1
== NULL
) SWIG_fail
;
8043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8044 wxLogVerbose((wxString
const &)*arg1
);
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8049 Py_INCREF(Py_None
); resultobj
= Py_None
;
8064 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
*resultobj
;
8066 wxString
*arg1
= 0 ;
8067 bool temp1
= False
;
8068 PyObject
* obj0
= 0 ;
8070 (char *) "msg", NULL
8073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8075 arg1
= wxString_in_helper(obj0
);
8076 if (arg1
== NULL
) SWIG_fail
;
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 wxLogStatus((wxString
const &)*arg1
);
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8086 Py_INCREF(Py_None
); resultobj
= Py_None
;
8101 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8102 PyObject
*resultobj
;
8103 wxFrame
*arg1
= (wxFrame
*) 0 ;
8104 wxString
*arg2
= 0 ;
8105 bool temp2
= False
;
8106 PyObject
* obj0
= 0 ;
8107 PyObject
* obj1
= 0 ;
8109 (char *) "pFrame",(char *) "msg", NULL
8112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8115 arg2
= wxString_in_helper(obj1
);
8116 if (arg2
== NULL
) SWIG_fail
;
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8126 Py_INCREF(Py_None
); resultobj
= Py_None
;
8141 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8142 PyObject
*resultobj
;
8143 wxString
*arg1
= 0 ;
8144 bool temp1
= False
;
8145 PyObject
* obj0
= 0 ;
8147 (char *) "msg", NULL
8150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8152 arg1
= wxString_in_helper(obj0
);
8153 if (arg1
== NULL
) SWIG_fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 wxLogSysError((wxString
const &)*arg1
);
8160 wxPyEndAllowThreads(__tstate
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8163 Py_INCREF(Py_None
); resultobj
= Py_None
;
8178 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8179 PyObject
*resultobj
;
8180 unsigned long arg1
;
8181 wxString
*arg2
= 0 ;
8182 bool temp2
= False
;
8183 PyObject
* obj0
= 0 ;
8184 PyObject
* obj1
= 0 ;
8186 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8188 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8192 arg2
= wxString_in_helper(obj1
);
8193 if (arg2
== NULL
) SWIG_fail
;
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8198 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8203 Py_INCREF(Py_None
); resultobj
= Py_None
;
8218 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8219 PyObject
*resultobj
;
8220 wxString
*arg1
= 0 ;
8221 wxString
*arg2
= 0 ;
8222 bool temp1
= False
;
8223 bool temp2
= False
;
8224 PyObject
* obj0
= 0 ;
8225 PyObject
* obj1
= 0 ;
8227 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8229 arg1
= wxString_in_helper(obj0
);
8230 if (arg1
== NULL
) SWIG_fail
;
8234 arg2
= wxString_in_helper(obj1
);
8235 if (arg2
== NULL
) SWIG_fail
;
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8245 Py_INCREF(Py_None
); resultobj
= Py_None
;
8268 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8273 argc
= PyObject_Length(args
);
8274 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8275 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8280 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8284 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8287 return _wrap_LogTrace__SWIG_1(self
,args
);
8294 SWIG_PyObj_AsUnsignedLong(argv
[0]);
8295 if (PyErr_Occurred()) {
8304 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8307 return _wrap_LogTrace__SWIG_0(self
,args
);
8312 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8317 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8318 PyObject
*resultobj
;
8319 unsigned long arg1
;
8320 wxString
*arg2
= 0 ;
8321 bool temp2
= False
;
8322 PyObject
* obj0
= 0 ;
8323 PyObject
* obj1
= 0 ;
8325 (char *) "level",(char *) "msg", NULL
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8330 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8334 arg2
= wxString_in_helper(obj1
);
8335 if (arg2
== NULL
) SWIG_fail
;
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8345 Py_INCREF(Py_None
); resultobj
= Py_None
;
8360 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
*resultobj
;
8362 wxString
*arg1
= 0 ;
8363 wxString
*arg2
= 0 ;
8364 bool temp1
= False
;
8365 bool temp2
= False
;
8366 PyObject
* obj0
= 0 ;
8367 PyObject
* obj1
= 0 ;
8369 (char *) "title",(char *) "text", NULL
8372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8374 arg1
= wxString_in_helper(obj0
);
8375 if (arg1
== NULL
) SWIG_fail
;
8379 arg2
= wxString_in_helper(obj1
);
8380 if (arg2
== NULL
) SWIG_fail
;
8384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8385 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8387 wxPyEndAllowThreads(__tstate
);
8388 if (PyErr_Occurred()) SWIG_fail
;
8390 Py_INCREF(Py_None
); resultobj
= Py_None
;
8413 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8414 PyObject
*resultobj
;
8420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8423 result
= (wxLogNull
*)new wxLogNull();
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8428 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogNull
, 1);
8435 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
*resultobj
;
8437 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8438 PyObject
* obj0
= 0 ;
8440 (char *) "self", NULL
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogNull
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8452 Py_INCREF(Py_None
); resultobj
= Py_None
;
8459 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8462 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8464 return Py_BuildValue((char *)"");
8466 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8467 PyObject
*resultobj
;
8473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= (wxPyLog
*)new wxPyLog();
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8481 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyLog
, 1);
8488 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8489 PyObject
*resultobj
;
8490 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8491 PyObject
*arg2
= (PyObject
*) 0 ;
8492 PyObject
*arg3
= (PyObject
*) 0 ;
8493 PyObject
* obj0
= 0 ;
8494 PyObject
* obj1
= 0 ;
8495 PyObject
* obj2
= 0 ;
8497 (char *) "self",(char *) "self",(char *) "_class", NULL
8500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8511 Py_INCREF(Py_None
); resultobj
= Py_None
;
8518 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8521 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8523 return Py_BuildValue((char *)"");
8525 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
*resultobj
;
8528 int arg2
= (int) wxSIGTERM
;
8530 PyObject
* obj0
= 0 ;
8531 PyObject
* obj1
= 0 ;
8533 (char *) "pid",(char *) "sig", NULL
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8538 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8543 arg2
= (wxSignal
) SWIG_PyObj_AsInt(obj1
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= SWIG_PyObj_FromInt((int)result
);
8561 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
*resultobj
;
8565 PyObject
* obj0
= 0 ;
8567 (char *) "pid", NULL
8570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8572 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 result
= (bool)wxPyProcess::Exists(arg1
);
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8589 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8590 PyObject
*resultobj
;
8591 wxString
*arg1
= 0 ;
8592 int arg2
= (int) wxEXEC_ASYNC
;
8593 wxPyProcess
*result
;
8594 bool temp1
= False
;
8595 PyObject
* obj0
= 0 ;
8596 PyObject
* obj1
= 0 ;
8598 (char *) "cmd",(char *) "flags", NULL
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8603 arg1
= wxString_in_helper(obj0
);
8604 if (arg1
== NULL
) SWIG_fail
;
8609 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8617 wxPyEndAllowThreads(__tstate
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8620 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 0);
8635 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8636 PyObject
*resultobj
;
8637 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8638 int arg2
= (int) -1 ;
8639 wxPyProcess
*result
;
8640 PyObject
* obj0
= 0 ;
8641 PyObject
* obj1
= 0 ;
8643 (char *) "parent",(char *) "id", NULL
8646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8652 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8658 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8660 wxPyEndAllowThreads(__tstate
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8663 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 1);
8670 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
*resultobj
;
8672 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8673 PyObject
*arg2
= (PyObject
*) 0 ;
8674 PyObject
*arg3
= (PyObject
*) 0 ;
8675 PyObject
* obj0
= 0 ;
8676 PyObject
* obj1
= 0 ;
8677 PyObject
* obj2
= 0 ;
8679 (char *) "self",(char *) "self",(char *) "_class", NULL
8682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8688 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 Py_INCREF(Py_None
); resultobj
= Py_None
;
8700 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
*resultobj
;
8702 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8705 PyObject
* obj0
= 0 ;
8706 PyObject
* obj1
= 0 ;
8707 PyObject
* obj2
= 0 ;
8709 (char *) "self",(char *) "pid",(char *) "status", NULL
8712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8715 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8719 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8724 (arg1
)->base_OnTerminate(arg2
,arg3
);
8726 wxPyEndAllowThreads(__tstate
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8729 Py_INCREF(Py_None
); resultobj
= Py_None
;
8736 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
*resultobj
;
8738 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8739 PyObject
* obj0
= 0 ;
8741 (char *) "self", NULL
8744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8753 Py_INCREF(Py_None
); resultobj
= Py_None
;
8760 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
*resultobj
;
8762 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8764 PyObject
* obj0
= 0 ;
8766 (char *) "self", NULL
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 result
= (bool)(arg1
)->IsRedirected();
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8785 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
;
8787 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8788 PyObject
* obj0
= 0 ;
8790 (char *) "self", NULL
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 wxPyEndAllowThreads(__tstate
);
8800 if (PyErr_Occurred()) SWIG_fail
;
8802 Py_INCREF(Py_None
); resultobj
= Py_None
;
8809 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8810 PyObject
*resultobj
;
8811 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8812 wxInputStream
*result
;
8813 PyObject
* obj0
= 0 ;
8815 (char *) "self", NULL
8818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8824 wxPyEndAllowThreads(__tstate
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8828 wxPyInputStream
* _ptr
= NULL
;
8831 _ptr
= new wxPyInputStream(result
);
8833 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8841 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
;
8843 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8844 wxInputStream
*result
;
8845 PyObject
* obj0
= 0 ;
8847 (char *) "self", NULL
8850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
8851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
8856 wxPyEndAllowThreads(__tstate
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8860 wxPyInputStream
* _ptr
= NULL
;
8863 _ptr
= new wxPyInputStream(result
);
8865 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8873 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
;
8875 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8876 wxOutputStream
*result
;
8877 PyObject
* obj0
= 0 ;
8879 (char *) "self", NULL
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
8883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8891 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxOutputStream
, 0);
8898 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
*resultobj
;
8900 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8901 PyObject
* obj0
= 0 ;
8903 (char *) "self", NULL
8906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
8907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 (arg1
)->CloseOutput();
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 Py_INCREF(Py_None
); resultobj
= Py_None
;
8922 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
;
8924 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8926 PyObject
* obj0
= 0 ;
8928 (char *) "self", NULL
8931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
8932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8947 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8951 PyObject
* obj0
= 0 ;
8953 (char *) "self", NULL
8956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
8957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8972 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8976 PyObject
* obj0
= 0 ;
8978 (char *) "self", NULL
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
8982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8997 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
8999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9000 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9002 return Py_BuildValue((char *)"");
9004 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
*resultobj
;
9006 int arg1
= (int) 0 ;
9007 int arg2
= (int) 0 ;
9008 int arg3
= (int) 0 ;
9009 wxProcessEvent
*result
;
9010 PyObject
* obj0
= 0 ;
9011 PyObject
* obj1
= 0 ;
9012 PyObject
* obj2
= 0 ;
9014 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9020 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9026 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9032 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9043 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProcessEvent
, 1);
9050 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9051 PyObject
*resultobj
;
9052 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9054 PyObject
* obj0
= 0 ;
9056 (char *) "self", NULL
9059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 result
= (int)(arg1
)->GetPid();
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9068 resultobj
= SWIG_PyObj_FromInt((int)result
);
9075 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
*resultobj
;
9077 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9079 PyObject
* obj0
= 0 ;
9081 (char *) "self", NULL
9084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 result
= (int)(arg1
)->GetExitCode();
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9093 resultobj
= SWIG_PyObj_FromInt((int)result
);
9100 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
*resultobj
;
9102 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9104 PyObject
* obj0
= 0 ;
9105 PyObject
* obj1
= 0 ;
9107 (char *) "self",(char *) "m_pid", NULL
9110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9113 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9116 if (arg1
) (arg1
)->m_pid
= arg2
;
9118 Py_INCREF(Py_None
); resultobj
= Py_None
;
9125 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9127 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9129 PyObject
* obj0
= 0 ;
9131 (char *) "self", NULL
9134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9136 result
= (int) ((arg1
)->m_pid
);
9138 resultobj
= SWIG_PyObj_FromInt((int)result
);
9145 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
;
9147 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9149 PyObject
* obj0
= 0 ;
9150 PyObject
* obj1
= 0 ;
9152 (char *) "self",(char *) "m_exitcode", NULL
9155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9158 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9161 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9163 Py_INCREF(Py_None
); resultobj
= Py_None
;
9170 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
;
9172 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9174 PyObject
* obj0
= 0 ;
9176 (char *) "self", NULL
9179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9181 result
= (int) ((arg1
)->m_exitcode
);
9183 resultobj
= SWIG_PyObj_FromInt((int)result
);
9190 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9193 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9195 return Py_BuildValue((char *)"");
9197 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
;
9199 wxString
*arg1
= 0 ;
9200 int arg2
= (int) wxEXEC_ASYNC
;
9201 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9203 bool temp1
= False
;
9204 PyObject
* obj0
= 0 ;
9205 PyObject
* obj1
= 0 ;
9206 PyObject
* obj2
= 0 ;
9208 (char *) "command",(char *) "flags",(char *) "process", NULL
9211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9213 arg1
= wxString_in_helper(obj0
);
9214 if (arg1
== NULL
) SWIG_fail
;
9219 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9224 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9228 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9230 wxPyEndAllowThreads(__tstate
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9233 resultobj
= SWIG_PyObj_FromLong((long)result
);
9248 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9249 PyObject
*resultobj
;
9250 int arg1
= (int) wxJOYSTICK1
;
9252 PyObject
* obj0
= 0 ;
9254 (char *) "joystick", NULL
9257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9260 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 result
= (wxJoystick
*)new wxJoystick(arg1
);
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9271 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystick
, 1);
9278 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9279 PyObject
*resultobj
;
9280 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9281 PyObject
* obj0
= 0 ;
9283 (char *) "self", NULL
9286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 Py_INCREF(Py_None
); resultobj
= Py_None
;
9302 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
;
9304 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9306 PyObject
* obj0
= 0 ;
9308 (char *) "self", NULL
9311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 result
= (arg1
)->GetPosition();
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9321 wxPoint
* resultptr
;
9322 resultptr
= new wxPoint((wxPoint
&) result
);
9323 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
9331 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
;
9333 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9335 PyObject
* obj0
= 0 ;
9337 (char *) "self", NULL
9340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (int)(arg1
)->GetZPosition();
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9349 resultobj
= SWIG_PyObj_FromInt((int)result
);
9356 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9357 PyObject
*resultobj
;
9358 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9360 PyObject
* obj0
= 0 ;
9362 (char *) "self", NULL
9365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9369 result
= (int)(arg1
)->GetButtonState();
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= SWIG_PyObj_FromInt((int)result
);
9381 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
*resultobj
;
9383 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9385 PyObject
* obj0
= 0 ;
9387 (char *) "self", NULL
9390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9394 result
= (int)(arg1
)->GetPOVPosition();
9396 wxPyEndAllowThreads(__tstate
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9399 resultobj
= SWIG_PyObj_FromInt((int)result
);
9406 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9407 PyObject
*resultobj
;
9408 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9410 PyObject
* obj0
= 0 ;
9412 (char *) "self", NULL
9415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 result
= (int)(arg1
)->GetPOVCTSPosition();
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9424 resultobj
= SWIG_PyObj_FromInt((int)result
);
9431 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
*resultobj
;
9433 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9435 PyObject
* obj0
= 0 ;
9437 (char *) "self", NULL
9440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9444 result
= (int)(arg1
)->GetRudderPosition();
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9449 resultobj
= SWIG_PyObj_FromInt((int)result
);
9456 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
*resultobj
;
9458 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9460 PyObject
* obj0
= 0 ;
9462 (char *) "self", NULL
9465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 result
= (int)(arg1
)->GetUPosition();
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9474 resultobj
= SWIG_PyObj_FromInt((int)result
);
9481 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9483 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9485 PyObject
* obj0
= 0 ;
9487 (char *) "self", NULL
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 result
= (int)(arg1
)->GetVPosition();
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9499 resultobj
= SWIG_PyObj_FromInt((int)result
);
9506 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9507 PyObject
*resultobj
;
9508 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9510 PyObject
* obj0
= 0 ;
9512 (char *) "self", NULL
9515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 result
= (int)(arg1
)->GetMovementThreshold();
9521 wxPyEndAllowThreads(__tstate
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9524 resultobj
= SWIG_PyObj_FromInt((int)result
);
9531 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9532 PyObject
*resultobj
;
9533 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9535 PyObject
* obj0
= 0 ;
9536 PyObject
* obj1
= 0 ;
9538 (char *) "self",(char *) "threshold", NULL
9541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9544 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 (arg1
)->SetMovementThreshold(arg2
);
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9554 Py_INCREF(Py_None
); resultobj
= Py_None
;
9561 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
;
9563 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9565 PyObject
* obj0
= 0 ;
9567 (char *) "self", NULL
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 result
= (bool)(arg1
)->IsOk();
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9586 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9587 PyObject
*resultobj
;
9588 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9590 PyObject
* obj0
= 0 ;
9592 (char *) "self", NULL
9595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 result
= (int)(arg1
)->GetNumberJoysticks();
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= SWIG_PyObj_FromInt((int)result
);
9611 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9612 PyObject
*resultobj
;
9613 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9615 PyObject
* obj0
= 0 ;
9617 (char *) "self", NULL
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 result
= (int)(arg1
)->GetManufacturerId();
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= SWIG_PyObj_FromInt((int)result
);
9636 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9637 PyObject
*resultobj
;
9638 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9640 PyObject
* obj0
= 0 ;
9642 (char *) "self", NULL
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 result
= (int)(arg1
)->GetProductId();
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= SWIG_PyObj_FromInt((int)result
);
9661 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9662 PyObject
*resultobj
;
9663 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9665 PyObject
* obj0
= 0 ;
9667 (char *) "self", NULL
9670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 result
= (arg1
)->GetProductName();
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9692 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9693 PyObject
*resultobj
;
9694 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9696 PyObject
* obj0
= 0 ;
9698 (char *) "self", NULL
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 result
= (int)(arg1
)->GetXMin();
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9710 resultobj
= SWIG_PyObj_FromInt((int)result
);
9717 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
;
9719 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9721 PyObject
* obj0
= 0 ;
9723 (char *) "self", NULL
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 result
= (int)(arg1
)->GetYMin();
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 resultobj
= SWIG_PyObj_FromInt((int)result
);
9742 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9743 PyObject
*resultobj
;
9744 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9746 PyObject
* obj0
= 0 ;
9748 (char *) "self", NULL
9751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 result
= (int)(arg1
)->GetZMin();
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9760 resultobj
= SWIG_PyObj_FromInt((int)result
);
9767 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
;
9769 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9771 PyObject
* obj0
= 0 ;
9773 (char *) "self", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 result
= (int)(arg1
)->GetXMax();
9782 wxPyEndAllowThreads(__tstate
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9785 resultobj
= SWIG_PyObj_FromInt((int)result
);
9792 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
*resultobj
;
9794 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9796 PyObject
* obj0
= 0 ;
9798 (char *) "self", NULL
9801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 result
= (int)(arg1
)->GetYMax();
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9810 resultobj
= SWIG_PyObj_FromInt((int)result
);
9817 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
;
9819 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9821 PyObject
* obj0
= 0 ;
9823 (char *) "self", NULL
9826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
9827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9830 result
= (int)(arg1
)->GetZMax();
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= SWIG_PyObj_FromInt((int)result
);
9842 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
;
9844 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9846 PyObject
* obj0
= 0 ;
9848 (char *) "self", NULL
9851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
9852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 result
= (int)(arg1
)->GetNumberButtons();
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9860 resultobj
= SWIG_PyObj_FromInt((int)result
);
9867 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9868 PyObject
*resultobj
;
9869 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9871 PyObject
* obj0
= 0 ;
9873 (char *) "self", NULL
9876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
9877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9880 result
= (int)(arg1
)->GetNumberAxes();
9882 wxPyEndAllowThreads(__tstate
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9885 resultobj
= SWIG_PyObj_FromInt((int)result
);
9892 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
*resultobj
;
9894 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9896 PyObject
* obj0
= 0 ;
9898 (char *) "self", NULL
9901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
9902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 result
= (int)(arg1
)->GetMaxButtons();
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= SWIG_PyObj_FromInt((int)result
);
9917 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
;
9919 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9923 (char *) "self", NULL
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
9927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 result
= (int)(arg1
)->GetMaxAxes();
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= SWIG_PyObj_FromInt((int)result
);
9942 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
;
9944 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9946 PyObject
* obj0
= 0 ;
9948 (char *) "self", NULL
9951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
9952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 result
= (int)(arg1
)->GetPollingMin();
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= SWIG_PyObj_FromInt((int)result
);
9967 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9968 PyObject
*resultobj
;
9969 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9971 PyObject
* obj0
= 0 ;
9973 (char *) "self", NULL
9976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
9977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 result
= (int)(arg1
)->GetPollingMax();
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= SWIG_PyObj_FromInt((int)result
);
9992 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
;
9994 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9996 PyObject
* obj0
= 0 ;
9998 (char *) "self", NULL
10001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 result
= (int)(arg1
)->GetRudderMin();
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10010 resultobj
= SWIG_PyObj_FromInt((int)result
);
10017 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10018 PyObject
*resultobj
;
10019 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10021 PyObject
* obj0
= 0 ;
10022 char *kwnames
[] = {
10023 (char *) "self", NULL
10026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10030 result
= (int)(arg1
)->GetRudderMax();
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10035 resultobj
= SWIG_PyObj_FromInt((int)result
);
10042 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10043 PyObject
*resultobj
;
10044 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10046 PyObject
* obj0
= 0 ;
10047 char *kwnames
[] = {
10048 (char *) "self", NULL
10051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 result
= (int)(arg1
)->GetUMin();
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10060 resultobj
= SWIG_PyObj_FromInt((int)result
);
10067 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10068 PyObject
*resultobj
;
10069 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10071 PyObject
* obj0
= 0 ;
10072 char *kwnames
[] = {
10073 (char *) "self", NULL
10076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10080 result
= (int)(arg1
)->GetUMax();
10082 wxPyEndAllowThreads(__tstate
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10085 resultobj
= SWIG_PyObj_FromInt((int)result
);
10092 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10093 PyObject
*resultobj
;
10094 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10096 PyObject
* obj0
= 0 ;
10097 char *kwnames
[] = {
10098 (char *) "self", NULL
10101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 result
= (int)(arg1
)->GetVMin();
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10110 resultobj
= SWIG_PyObj_FromInt((int)result
);
10117 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10118 PyObject
*resultobj
;
10119 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10121 PyObject
* obj0
= 0 ;
10122 char *kwnames
[] = {
10123 (char *) "self", NULL
10126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 result
= (int)(arg1
)->GetVMax();
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 resultobj
= SWIG_PyObj_FromInt((int)result
);
10142 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
;
10144 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10146 PyObject
* obj0
= 0 ;
10147 char *kwnames
[] = {
10148 (char *) "self", NULL
10151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 result
= (bool)(arg1
)->HasRudder();
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10167 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
;
10169 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10171 PyObject
* obj0
= 0 ;
10172 char *kwnames
[] = {
10173 (char *) "self", NULL
10176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 result
= (bool)(arg1
)->HasZ();
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10192 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10193 PyObject
*resultobj
;
10194 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10196 PyObject
* obj0
= 0 ;
10197 char *kwnames
[] = {
10198 (char *) "self", NULL
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (bool)(arg1
)->HasU();
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) SWIG_fail
;
10210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10217 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10218 PyObject
*resultobj
;
10219 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10221 PyObject
* obj0
= 0 ;
10222 char *kwnames
[] = {
10223 (char *) "self", NULL
10226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 result
= (bool)(arg1
)->HasV();
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10242 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10243 PyObject
*resultobj
;
10244 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10246 PyObject
* obj0
= 0 ;
10247 char *kwnames
[] = {
10248 (char *) "self", NULL
10251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (bool)(arg1
)->HasPOV();
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10267 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10268 PyObject
*resultobj
;
10269 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10271 PyObject
* obj0
= 0 ;
10272 char *kwnames
[] = {
10273 (char *) "self", NULL
10276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10280 result
= (bool)(arg1
)->HasPOV4Dir();
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10292 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
;
10294 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10296 PyObject
* obj0
= 0 ;
10297 char *kwnames
[] = {
10298 (char *) "self", NULL
10301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 result
= (bool)(arg1
)->HasPOVCTS();
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10317 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
;
10319 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10320 wxWindow
*arg2
= (wxWindow
*) 0 ;
10321 int arg3
= (int) 0 ;
10323 PyObject
* obj0
= 0 ;
10324 PyObject
* obj1
= 0 ;
10325 PyObject
* obj2
= 0 ;
10326 char *kwnames
[] = {
10327 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10332 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10335 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10343 wxPyEndAllowThreads(__tstate
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10353 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
;
10355 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10357 PyObject
* obj0
= 0 ;
10358 char *kwnames
[] = {
10359 (char *) "self", NULL
10362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10366 result
= (bool)(arg1
)->ReleaseCapture();
10368 wxPyEndAllowThreads(__tstate
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10378 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10381 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10383 return Py_BuildValue((char *)"");
10385 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
*resultobj
;
10387 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10388 wxPoint
*arg2
= (wxPoint
*) 0 ;
10389 PyObject
* obj0
= 0 ;
10390 PyObject
* obj1
= 0 ;
10391 char *kwnames
[] = {
10392 (char *) "self",(char *) "m_pos", NULL
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10397 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10398 if (arg1
) (arg1
)->m_pos
= *arg2
;
10400 Py_INCREF(Py_None
); resultobj
= Py_None
;
10407 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10408 PyObject
*resultobj
;
10409 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10411 PyObject
* obj0
= 0 ;
10412 char *kwnames
[] = {
10413 (char *) "self", NULL
10416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10418 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10420 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
10427 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
*resultobj
;
10429 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10431 PyObject
* obj0
= 0 ;
10432 PyObject
* obj1
= 0 ;
10433 char *kwnames
[] = {
10434 (char *) "self",(char *) "m_zPosition", NULL
10437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10440 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10445 Py_INCREF(Py_None
); resultobj
= Py_None
;
10452 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10453 PyObject
*resultobj
;
10454 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10456 PyObject
* obj0
= 0 ;
10457 char *kwnames
[] = {
10458 (char *) "self", NULL
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10463 result
= (int) ((arg1
)->m_zPosition
);
10465 resultobj
= SWIG_PyObj_FromInt((int)result
);
10472 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
;
10474 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10476 PyObject
* obj0
= 0 ;
10477 PyObject
* obj1
= 0 ;
10478 char *kwnames
[] = {
10479 (char *) "self",(char *) "m_buttonChange", NULL
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10485 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10490 Py_INCREF(Py_None
); resultobj
= Py_None
;
10497 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
;
10499 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10501 PyObject
* obj0
= 0 ;
10502 char *kwnames
[] = {
10503 (char *) "self", NULL
10506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10508 result
= (int) ((arg1
)->m_buttonChange
);
10510 resultobj
= SWIG_PyObj_FromInt((int)result
);
10517 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10518 PyObject
*resultobj
;
10519 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10521 PyObject
* obj0
= 0 ;
10522 PyObject
* obj1
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "self",(char *) "m_buttonState", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10530 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10533 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10535 Py_INCREF(Py_None
); resultobj
= Py_None
;
10542 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
*resultobj
;
10544 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10546 PyObject
* obj0
= 0 ;
10547 char *kwnames
[] = {
10548 (char *) "self", NULL
10551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10553 result
= (int) ((arg1
)->m_buttonState
);
10555 resultobj
= SWIG_PyObj_FromInt((int)result
);
10562 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
;
10564 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10566 PyObject
* obj0
= 0 ;
10567 PyObject
* obj1
= 0 ;
10568 char *kwnames
[] = {
10569 (char *) "self",(char *) "m_joyStick", NULL
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10575 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10578 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10580 Py_INCREF(Py_None
); resultobj
= Py_None
;
10587 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10588 PyObject
*resultobj
;
10589 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10591 PyObject
* obj0
= 0 ;
10592 char *kwnames
[] = {
10593 (char *) "self", NULL
10596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10598 result
= (int) ((arg1
)->m_joyStick
);
10600 resultobj
= SWIG_PyObj_FromInt((int)result
);
10607 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10608 PyObject
*resultobj
;
10609 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10610 int arg2
= (int) 0 ;
10611 int arg3
= (int) wxJOYSTICK1
;
10612 int arg4
= (int) 0 ;
10613 wxJoystickEvent
*result
;
10614 PyObject
* obj0
= 0 ;
10615 PyObject
* obj1
= 0 ;
10616 PyObject
* obj2
= 0 ;
10617 PyObject
* obj3
= 0 ;
10618 char *kwnames
[] = {
10619 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10625 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10631 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10637 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10643 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystickEvent
, 1);
10661 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
*resultobj
;
10663 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10665 PyObject
* obj0
= 0 ;
10666 char *kwnames
[] = {
10667 (char *) "self", NULL
10670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10674 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10676 wxPyEndAllowThreads(__tstate
);
10677 if (PyErr_Occurred()) SWIG_fail
;
10680 wxPoint
* resultptr
;
10681 resultptr
= new wxPoint((wxPoint
&) result
);
10682 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
10690 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
*resultobj
;
10692 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10694 PyObject
* obj0
= 0 ;
10695 char *kwnames
[] = {
10696 (char *) "self", NULL
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10708 resultobj
= SWIG_PyObj_FromInt((int)result
);
10715 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
;
10717 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10719 PyObject
* obj0
= 0 ;
10720 char *kwnames
[] = {
10721 (char *) "self", NULL
10724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10733 resultobj
= SWIG_PyObj_FromInt((int)result
);
10740 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10741 PyObject
*resultobj
;
10742 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10744 PyObject
* obj0
= 0 ;
10745 char *kwnames
[] = {
10746 (char *) "self", NULL
10749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 resultobj
= SWIG_PyObj_FromInt((int)result
);
10765 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10769 PyObject
* obj0
= 0 ;
10770 char *kwnames
[] = {
10771 (char *) "self", NULL
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
10775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 resultobj
= SWIG_PyObj_FromInt((int)result
);
10790 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
*resultobj
;
10792 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10794 PyObject
* obj0
= 0 ;
10795 PyObject
* obj1
= 0 ;
10796 char *kwnames
[] = {
10797 (char *) "self",(char *) "stick", NULL
10800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
10801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10803 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 (arg1
)->SetJoystick(arg2
);
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 Py_INCREF(Py_None
); resultobj
= Py_None
;
10820 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
*resultobj
;
10822 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10824 PyObject
* obj0
= 0 ;
10825 PyObject
* obj1
= 0 ;
10826 char *kwnames
[] = {
10827 (char *) "self",(char *) "state", NULL
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
10831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10833 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 (arg1
)->SetButtonState(arg2
);
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 Py_INCREF(Py_None
); resultobj
= Py_None
;
10850 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
;
10852 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10854 PyObject
* obj0
= 0 ;
10855 PyObject
* obj1
= 0 ;
10856 char *kwnames
[] = {
10857 (char *) "self",(char *) "change", NULL
10860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
10861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10863 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10868 (arg1
)->SetButtonChange(arg2
);
10870 wxPyEndAllowThreads(__tstate
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10873 Py_INCREF(Py_None
); resultobj
= Py_None
;
10880 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
*resultobj
;
10882 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10883 wxPoint
*arg2
= 0 ;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self",(char *) "pos", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10895 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10899 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10904 Py_INCREF(Py_None
); resultobj
= Py_None
;
10911 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
;
10913 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10915 PyObject
* obj0
= 0 ;
10916 PyObject
* obj1
= 0 ;
10917 char *kwnames
[] = {
10918 (char *) "self",(char *) "zPos", NULL
10921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10924 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 (arg1
)->SetZPosition(arg2
);
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10934 Py_INCREF(Py_None
); resultobj
= Py_None
;
10941 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
*resultobj
;
10943 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10945 PyObject
* obj0
= 0 ;
10946 char *kwnames
[] = {
10947 (char *) "self", NULL
10950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
10951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10966 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
*resultobj
;
10968 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10970 PyObject
* obj0
= 0 ;
10971 char *kwnames
[] = {
10972 (char *) "self", NULL
10975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
10976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10991 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
;
10993 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10995 PyObject
* obj0
= 0 ;
10996 char *kwnames
[] = {
10997 (char *) "self", NULL
11000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11016 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
;
11018 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11019 int arg2
= (int) wxJOY_BUTTON_ANY
;
11021 PyObject
* obj0
= 0 ;
11022 PyObject
* obj1
= 0 ;
11023 char *kwnames
[] = {
11024 (char *) "self",(char *) "but", NULL
11027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11031 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11049 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11050 PyObject
*resultobj
;
11051 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11052 int arg2
= (int) wxJOY_BUTTON_ANY
;
11054 PyObject
* obj0
= 0 ;
11055 PyObject
* obj1
= 0 ;
11056 char *kwnames
[] = {
11057 (char *) "self",(char *) "but", NULL
11060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11064 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11082 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
;
11084 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11085 int arg2
= (int) wxJOY_BUTTON_ANY
;
11087 PyObject
* obj0
= 0 ;
11088 PyObject
* obj1
= 0 ;
11089 char *kwnames
[] = {
11090 (char *) "self",(char *) "but", NULL
11093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11097 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11103 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11105 wxPyEndAllowThreads(__tstate
);
11106 if (PyErr_Occurred()) SWIG_fail
;
11108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11115 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11118 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11120 return Py_BuildValue((char *)"");
11122 static PyObject
*_wrap_new_Sound__SWIG_0(PyObject
*self
, PyObject
*args
) {
11123 PyObject
*resultobj
;
11126 if(!PyArg_ParseTuple(args
,(char *)":new_Sound")) goto fail
;
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 result
= (wxSound
*)new wxSound();
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11134 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSound
, 1);
11141 static PyObject
*_wrap_new_Sound__SWIG_1(PyObject
*self
, PyObject
*args
) {
11142 PyObject
*resultobj
;
11143 wxString
*arg1
= 0 ;
11144 bool arg2
= (bool) false ;
11146 bool temp1
= False
;
11147 PyObject
* obj0
= 0 ;
11148 PyObject
* obj1
= 0 ;
11150 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_Sound",&obj0
,&obj1
)) goto fail
;
11152 arg1
= wxString_in_helper(obj0
);
11153 if (arg1
== NULL
) SWIG_fail
;
11158 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 result
= (wxSound
*)new wxSound((wxString
const &)*arg1
,arg2
);
11166 wxPyEndAllowThreads(__tstate
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11169 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSound
, 1);
11184 static PyObject
*_wrap_new_Sound__SWIG_2(PyObject
*self
, PyObject
*args
) {
11185 PyObject
*resultobj
;
11187 wxByte
*arg2
= (wxByte
*) 0 ;
11189 PyObject
* obj0
= 0 ;
11190 PyObject
* obj1
= 0 ;
11192 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Sound",&obj0
,&obj1
)) goto fail
;
11194 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11197 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxByte
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 result
= (wxSound
*)new wxSound(arg1
,(wxByte
const *)arg2
);
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11205 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSound
, 1);
11212 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
) {
11217 argc
= PyObject_Length(args
);
11218 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11219 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11222 return _wrap_new_Sound__SWIG_0(self
,args
);
11224 if ((argc
>= 1) && (argc
<= 2)) {
11227 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11231 return _wrap_new_Sound__SWIG_1(self
,args
);
11234 SWIG_PyObj_AsBool(argv
[1]);
11235 if (PyErr_Occurred()) {
11243 return _wrap_new_Sound__SWIG_1(self
,args
);
11250 SWIG_PyObj_AsInt(argv
[0]);
11251 if (PyErr_Occurred()) {
11261 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11269 return _wrap_new_Sound__SWIG_2(self
,args
);
11274 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Sound'");
11279 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11280 PyObject
*resultobj
;
11281 wxSound
*arg1
= (wxSound
*) 0 ;
11282 PyObject
* obj0
= 0 ;
11283 char *kwnames
[] = {
11284 (char *) "self", NULL
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSound
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11296 Py_INCREF(Py_None
); resultobj
= Py_None
;
11303 static PyObject
*_wrap_Sound_Create__SWIG_0(PyObject
*self
, PyObject
*args
) {
11304 PyObject
*resultobj
;
11305 wxSound
*arg1
= (wxSound
*) 0 ;
11306 wxString
*arg2
= 0 ;
11307 bool arg3
= (bool) false ;
11309 bool temp2
= False
;
11310 PyObject
* obj0
= 0 ;
11311 PyObject
* obj1
= 0 ;
11312 PyObject
* obj2
= 0 ;
11314 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSound
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11317 arg2
= wxString_in_helper(obj1
);
11318 if (arg2
== NULL
) SWIG_fail
;
11323 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11329 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,arg3
);
11331 wxPyEndAllowThreads(__tstate
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11349 static PyObject
*_wrap_Sound_Create__SWIG_1(PyObject
*self
, PyObject
*args
) {
11350 PyObject
*resultobj
;
11351 wxSound
*arg1
= (wxSound
*) 0 ;
11353 wxByte
*arg3
= (wxByte
*) 0 ;
11355 PyObject
* obj0
= 0 ;
11356 PyObject
* obj1
= 0 ;
11357 PyObject
* obj2
= 0 ;
11359 if(!PyArg_ParseTuple(args
,(char *)"OOO:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSound
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11362 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11363 if (PyErr_Occurred()) SWIG_fail
;
11365 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxByte
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11368 result
= (bool)(arg1
)->Create(arg2
,(wxByte
const *)arg3
);
11370 wxPyEndAllowThreads(__tstate
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11380 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
) {
11385 argc
= PyObject_Length(args
);
11386 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11387 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11389 if ((argc
>= 2) && (argc
<= 3)) {
11393 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11402 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11406 return _wrap_Sound_Create__SWIG_0(self
,args
);
11409 SWIG_PyObj_AsBool(argv
[2]);
11410 if (PyErr_Occurred()) {
11418 return _wrap_Sound_Create__SWIG_0(self
,args
);
11427 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11436 SWIG_PyObj_AsInt(argv
[1]);
11437 if (PyErr_Occurred()) {
11447 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11455 return _wrap_Sound_Create__SWIG_1(self
,args
);
11461 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Sound_Create'");
11466 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11467 PyObject
*resultobj
;
11468 wxSound
*arg1
= (wxSound
*) 0 ;
11470 PyObject
* obj0
= 0 ;
11471 char *kwnames
[] = {
11472 (char *) "self", NULL
11475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSound
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (bool)(arg1
)->IsOk();
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11491 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
) {
11492 PyObject
*resultobj
;
11493 wxSound
*arg1
= (wxSound
*) 0 ;
11494 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11496 PyObject
* obj0
= 0 ;
11497 PyObject
* obj1
= 0 ;
11499 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_Play",&obj0
,&obj1
)) goto fail
;
11500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSound
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11503 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11521 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
) {
11522 PyObject
*resultobj
;
11523 wxString
*arg1
= 0 ;
11524 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11526 bool temp1
= False
;
11527 PyObject
* obj0
= 0 ;
11528 PyObject
* obj1
= 0 ;
11530 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_PlaySound",&obj0
,&obj1
)) goto fail
;
11532 arg1
= wxString_in_helper(obj0
);
11533 if (arg1
== NULL
) SWIG_fail
;
11538 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11564 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11565 PyObject
*resultobj
;
11566 char *kwnames
[] = {
11570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11578 Py_INCREF(Py_None
); resultobj
= Py_None
;
11585 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11588 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11590 return Py_BuildValue((char *)"");
11592 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11593 PyObject
*resultobj
;
11594 wxString
*arg1
= 0 ;
11595 wxString
*arg2
= 0 ;
11596 wxString
*arg3
= 0 ;
11597 wxString
*arg4
= 0 ;
11598 wxFileTypeInfo
*result
;
11599 bool temp1
= False
;
11600 bool temp2
= False
;
11601 bool temp3
= False
;
11602 bool temp4
= False
;
11603 PyObject
* obj0
= 0 ;
11604 PyObject
* obj1
= 0 ;
11605 PyObject
* obj2
= 0 ;
11606 PyObject
* obj3
= 0 ;
11607 char *kwnames
[] = {
11608 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11613 arg1
= wxString_in_helper(obj0
);
11614 if (arg1
== NULL
) SWIG_fail
;
11618 arg2
= wxString_in_helper(obj1
);
11619 if (arg2
== NULL
) SWIG_fail
;
11623 arg3
= wxString_in_helper(obj2
);
11624 if (arg3
== NULL
) SWIG_fail
;
11628 arg4
= wxString_in_helper(obj3
);
11629 if (arg4
== NULL
) SWIG_fail
;
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11639 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
11678 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxArrayString
*arg1
= 0 ;
11681 wxFileTypeInfo
*result
;
11682 bool temp1
= False
;
11683 PyObject
* obj0
= 0 ;
11684 char *kwnames
[] = {
11685 (char *) "sArray", NULL
11688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11690 if (! PySequence_Check(obj0
)) {
11691 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11694 arg1
= new wxArrayString
;
11696 int i
, len
=PySequence_Length(obj0
);
11697 for (i
=0; i
<len
; i
++) {
11698 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11700 PyObject
* str
= PyObject_Unicode(item
);
11702 PyObject
* str
= PyObject_Str(item
);
11704 arg1
->Add(Py2wxString(str
));
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
11718 if (temp1
) delete arg1
;
11723 if (temp1
) delete arg1
;
11729 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11730 PyObject
*resultobj
;
11731 wxFileTypeInfo
*result
;
11732 char *kwnames
[] = {
11736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11741 wxPyEndAllowThreads(__tstate
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11744 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
11751 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11752 PyObject
*resultobj
;
11753 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11755 PyObject
* obj0
= 0 ;
11756 char *kwnames
[] = {
11757 (char *) "self", NULL
11760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11764 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11766 wxPyEndAllowThreads(__tstate
);
11767 if (PyErr_Occurred()) SWIG_fail
;
11769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11776 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11777 PyObject
*resultobj
;
11778 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11779 wxString
*arg2
= 0 ;
11780 int arg3
= (int) 0 ;
11781 bool temp2
= False
;
11782 PyObject
* obj0
= 0 ;
11783 PyObject
* obj1
= 0 ;
11784 PyObject
* obj2
= 0 ;
11785 char *kwnames
[] = {
11786 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11792 arg2
= wxString_in_helper(obj1
);
11793 if (arg2
== NULL
) SWIG_fail
;
11798 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 Py_INCREF(Py_None
); resultobj
= Py_None
;
11824 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
;
11826 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11827 wxString
*arg2
= 0 ;
11828 bool temp2
= False
;
11829 PyObject
* obj0
= 0 ;
11830 PyObject
* obj1
= 0 ;
11831 char *kwnames
[] = {
11832 (char *) "self",(char *) "shortDesc", NULL
11835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
11836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11838 arg2
= wxString_in_helper(obj1
);
11839 if (arg2
== NULL
) SWIG_fail
;
11843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11844 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
11846 wxPyEndAllowThreads(__tstate
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11849 Py_INCREF(Py_None
); resultobj
= Py_None
;
11864 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
;
11866 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11868 PyObject
* obj0
= 0 ;
11869 char *kwnames
[] = {
11870 (char *) "self", NULL
11873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
11874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
11879 result
= (wxString
*) &_result_ref
;
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11887 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11889 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11898 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11899 PyObject
*resultobj
;
11900 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11902 PyObject
* obj0
= 0 ;
11903 char *kwnames
[] = {
11904 (char *) "self", NULL
11907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
11908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
11913 result
= (wxString
*) &_result_ref
;
11916 wxPyEndAllowThreads(__tstate
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11921 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11923 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11932 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
;
11934 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11936 PyObject
* obj0
= 0 ;
11937 char *kwnames
[] = {
11938 (char *) "self", NULL
11941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
11942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
11947 result
= (wxString
*) &_result_ref
;
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11955 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11957 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11966 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
;
11968 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11970 PyObject
* obj0
= 0 ;
11971 char *kwnames
[] = {
11972 (char *) "self", NULL
11975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
11976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
11981 result
= (wxString
*) &_result_ref
;
11984 wxPyEndAllowThreads(__tstate
);
11985 if (PyErr_Occurred()) SWIG_fail
;
11989 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11991 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12000 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12001 PyObject
*resultobj
;
12002 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12004 PyObject
* obj0
= 0 ;
12005 char *kwnames
[] = {
12006 (char *) "self", NULL
12009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12015 result
= (wxString
*) &_result_ref
;
12018 wxPyEndAllowThreads(__tstate
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12025 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12034 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12035 PyObject
*resultobj
;
12036 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12037 wxArrayString
*result
;
12038 PyObject
* obj0
= 0 ;
12039 char *kwnames
[] = {
12040 (char *) "self", NULL
12043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12049 result
= (wxArrayString
*) &_result_ref
;
12052 wxPyEndAllowThreads(__tstate
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12056 resultobj
= wxArrayString2PyList_helper(*result
);
12064 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12065 PyObject
*resultobj
;
12066 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12068 PyObject
* obj0
= 0 ;
12069 char *kwnames
[] = {
12070 (char *) "self", NULL
12073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= SWIG_PyObj_FromInt((int)result
);
12089 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12090 PyObject
*resultobj
;
12091 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12093 PyObject
* obj0
= 0 ;
12094 char *kwnames
[] = {
12095 (char *) "self", NULL
12098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12103 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12104 result
= (wxString
*) &_result_ref
;
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12112 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12114 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12123 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12124 PyObject
*resultobj
;
12125 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12127 PyObject
* obj0
= 0 ;
12128 char *kwnames
[] = {
12129 (char *) "self", NULL
12132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12136 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12141 resultobj
= SWIG_PyObj_FromInt((int)result
);
12148 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12151 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12153 return Py_BuildValue((char *)"");
12155 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
;
12157 wxFileTypeInfo
*arg1
= 0 ;
12158 wxFileType
*result
;
12159 PyObject
* obj0
= 0 ;
12160 char *kwnames
[] = {
12161 (char *) "ftInfo", NULL
12164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12166 if (arg1
== NULL
) {
12167 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12176 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12183 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12184 PyObject
*resultobj
;
12185 wxFileType
*arg1
= (wxFileType
*) 0 ;
12186 PyObject
* obj0
= 0 ;
12187 char *kwnames
[] = {
12188 (char *) "self", NULL
12191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12200 Py_INCREF(Py_None
); resultobj
= Py_None
;
12207 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12208 PyObject
*resultobj
;
12209 wxFileType
*arg1
= (wxFileType
*) 0 ;
12211 PyObject
* obj0
= 0 ;
12212 char *kwnames
[] = {
12213 (char *) "self", NULL
12216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 resultobj
= result
;
12232 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
;
12234 wxFileType
*arg1
= (wxFileType
*) 0 ;
12236 PyObject
* obj0
= 0 ;
12237 char *kwnames
[] = {
12238 (char *) "self", NULL
12241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12250 resultobj
= result
;
12257 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12258 PyObject
*resultobj
;
12259 wxFileType
*arg1
= (wxFileType
*) 0 ;
12261 PyObject
* obj0
= 0 ;
12262 char *kwnames
[] = {
12263 (char *) "self", NULL
12266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 resultobj
= result
;
12282 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
;
12284 wxFileType
*arg1
= (wxFileType
*) 0 ;
12286 PyObject
* obj0
= 0 ;
12287 char *kwnames
[] = {
12288 (char *) "self", NULL
12291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12300 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
12307 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12308 PyObject
*resultobj
;
12309 wxFileType
*arg1
= (wxFileType
*) 0 ;
12311 PyObject
* obj0
= 0 ;
12312 char *kwnames
[] = {
12313 (char *) "self", NULL
12316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= result
;
12332 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12333 PyObject
*resultobj
;
12334 wxFileType
*arg1
= (wxFileType
*) 0 ;
12336 PyObject
* obj0
= 0 ;
12337 char *kwnames
[] = {
12338 (char *) "self", NULL
12341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 resultobj
= result
;
12357 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
*resultobj
;
12359 wxFileType
*arg1
= (wxFileType
*) 0 ;
12360 wxString
*arg2
= 0 ;
12361 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12362 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12364 bool temp2
= False
;
12365 bool temp3
= False
;
12366 PyObject
* obj0
= 0 ;
12367 PyObject
* obj1
= 0 ;
12368 PyObject
* obj2
= 0 ;
12369 char *kwnames
[] = {
12370 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12376 arg2
= wxString_in_helper(obj1
);
12377 if (arg2
== NULL
) SWIG_fail
;
12382 arg3
= wxString_in_helper(obj2
);
12383 if (arg3
== NULL
) SWIG_fail
;
12388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12389 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12391 wxPyEndAllowThreads(__tstate
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12394 resultobj
= result
;
12417 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
;
12419 wxFileType
*arg1
= (wxFileType
*) 0 ;
12420 wxString
*arg2
= 0 ;
12421 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12422 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12424 bool temp2
= False
;
12425 bool temp3
= False
;
12426 PyObject
* obj0
= 0 ;
12427 PyObject
* obj1
= 0 ;
12428 PyObject
* obj2
= 0 ;
12429 char *kwnames
[] = {
12430 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12436 arg2
= wxString_in_helper(obj1
);
12437 if (arg2
== NULL
) SWIG_fail
;
12442 arg3
= wxString_in_helper(obj2
);
12443 if (arg3
== NULL
) SWIG_fail
;
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12454 resultobj
= result
;
12477 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12478 PyObject
*resultobj
;
12479 wxFileType
*arg1
= (wxFileType
*) 0 ;
12480 wxString
*arg2
= 0 ;
12481 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12482 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12484 bool temp2
= False
;
12485 bool temp3
= False
;
12486 PyObject
* obj0
= 0 ;
12487 PyObject
* obj1
= 0 ;
12488 PyObject
* obj2
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12496 arg2
= wxString_in_helper(obj1
);
12497 if (arg2
== NULL
) SWIG_fail
;
12502 arg3
= wxString_in_helper(obj2
);
12503 if (arg3
== NULL
) SWIG_fail
;
12508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12509 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12514 resultobj
= result
;
12537 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxFileType
*arg1
= (wxFileType
*) 0 ;
12540 wxString
*arg2
= 0 ;
12541 wxString
*arg3
= 0 ;
12542 bool arg4
= (bool) True
;
12544 bool temp2
= False
;
12545 bool temp3
= False
;
12546 PyObject
* obj0
= 0 ;
12547 PyObject
* obj1
= 0 ;
12548 PyObject
* obj2
= 0 ;
12549 PyObject
* obj3
= 0 ;
12550 char *kwnames
[] = {
12551 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12557 arg2
= wxString_in_helper(obj1
);
12558 if (arg2
== NULL
) SWIG_fail
;
12562 arg3
= wxString_in_helper(obj2
);
12563 if (arg3
== NULL
) SWIG_fail
;
12568 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
12569 if (PyErr_Occurred()) SWIG_fail
;
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12602 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12603 PyObject
*resultobj
;
12604 wxFileType
*arg1
= (wxFileType
*) 0 ;
12605 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12606 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12607 int arg3
= (int) 0 ;
12609 bool temp2
= False
;
12610 PyObject
* obj0
= 0 ;
12611 PyObject
* obj1
= 0 ;
12612 PyObject
* obj2
= 0 ;
12613 char *kwnames
[] = {
12614 (char *) "self",(char *) "cmd",(char *) "index", NULL
12617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12621 arg2
= wxString_in_helper(obj1
);
12622 if (arg2
== NULL
) SWIG_fail
;
12628 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12654 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12655 PyObject
*resultobj
;
12656 wxFileType
*arg1
= (wxFileType
*) 0 ;
12658 PyObject
* obj0
= 0 ;
12659 char *kwnames
[] = {
12660 (char *) "self", NULL
12663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 result
= (bool)(arg1
)->Unassociate();
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12679 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
;
12681 wxString
*arg1
= 0 ;
12682 wxString
*arg2
= 0 ;
12683 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12684 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12686 bool temp1
= False
;
12687 bool temp2
= False
;
12688 bool temp3
= False
;
12689 PyObject
* obj0
= 0 ;
12690 PyObject
* obj1
= 0 ;
12691 PyObject
* obj2
= 0 ;
12692 char *kwnames
[] = {
12693 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12698 arg1
= wxString_in_helper(obj0
);
12699 if (arg1
== NULL
) SWIG_fail
;
12703 arg2
= wxString_in_helper(obj1
);
12704 if (arg2
== NULL
) SWIG_fail
;
12709 arg3
= wxString_in_helper(obj2
);
12710 if (arg3
== NULL
) SWIG_fail
;
12715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12716 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12718 wxPyEndAllowThreads(__tstate
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12758 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
12760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12761 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
12763 return Py_BuildValue((char *)"");
12765 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
12766 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
12771 static PyObject
*_wrap_TheMimeTypesManager_get() {
12774 pyobj
= SWIG_NewPointerObj((void *) wxTheMimeTypesManager
, SWIGTYPE_p_wxMimeTypesManager
, 0);
12779 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxString
*arg1
= 0 ;
12782 wxString
*arg2
= 0 ;
12784 bool temp1
= False
;
12785 bool temp2
= False
;
12786 PyObject
* obj0
= 0 ;
12787 PyObject
* obj1
= 0 ;
12788 char *kwnames
[] = {
12789 (char *) "mimeType",(char *) "wildcard", NULL
12792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
12794 arg1
= wxString_in_helper(obj0
);
12795 if (arg1
== NULL
) SWIG_fail
;
12799 arg2
= wxString_in_helper(obj1
);
12800 if (arg2
== NULL
) SWIG_fail
;
12804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12805 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12807 wxPyEndAllowThreads(__tstate
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12833 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12834 PyObject
*resultobj
;
12835 wxMimeTypesManager
*result
;
12836 char *kwnames
[] = {
12840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12848 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMimeTypesManager
, 1);
12855 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
*resultobj
;
12857 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12858 int arg2
= (int) wxMAILCAP_ALL
;
12859 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12860 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12861 bool temp3
= False
;
12862 PyObject
* obj0
= 0 ;
12863 PyObject
* obj1
= 0 ;
12864 PyObject
* obj2
= 0 ;
12865 char *kwnames
[] = {
12866 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
12869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12873 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12879 arg3
= wxString_in_helper(obj2
);
12880 if (arg3
== NULL
) SWIG_fail
;
12885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12886 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
12888 wxPyEndAllowThreads(__tstate
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12891 Py_INCREF(Py_None
); resultobj
= Py_None
;
12906 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12907 PyObject
*resultobj
;
12908 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12909 PyObject
* obj0
= 0 ;
12910 char *kwnames
[] = {
12911 (char *) "self", NULL
12914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
12915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12918 (arg1
)->ClearData();
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12923 Py_INCREF(Py_None
); resultobj
= Py_None
;
12930 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12931 PyObject
*resultobj
;
12932 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12933 wxString
*arg2
= 0 ;
12934 wxFileType
*result
;
12935 bool temp2
= False
;
12936 PyObject
* obj0
= 0 ;
12937 PyObject
* obj1
= 0 ;
12938 char *kwnames
[] = {
12939 (char *) "self",(char *) "ext", NULL
12942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
12943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12945 arg2
= wxString_in_helper(obj1
);
12946 if (arg2
== NULL
) SWIG_fail
;
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12951 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12956 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12971 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12972 PyObject
*resultobj
;
12973 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12974 wxString
*arg2
= 0 ;
12975 wxFileType
*result
;
12976 bool temp2
= False
;
12977 PyObject
* obj0
= 0 ;
12978 PyObject
* obj1
= 0 ;
12979 char *kwnames
[] = {
12980 (char *) "self",(char *) "mimeType", NULL
12983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
12984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12986 arg2
= wxString_in_helper(obj1
);
12987 if (arg2
== NULL
) SWIG_fail
;
12991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12992 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
12994 wxPyEndAllowThreads(__tstate
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12997 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
13012 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13013 PyObject
*resultobj
;
13014 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13015 wxString
*arg2
= 0 ;
13016 bool arg3
= (bool) False
;
13018 bool temp2
= False
;
13019 PyObject
* obj0
= 0 ;
13020 PyObject
* obj1
= 0 ;
13021 PyObject
* obj2
= 0 ;
13022 char *kwnames
[] = {
13023 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13029 arg2
= wxString_in_helper(obj1
);
13030 if (arg2
== NULL
) SWIG_fail
;
13035 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13061 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13062 PyObject
*resultobj
;
13063 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13064 wxString
*arg2
= 0 ;
13066 bool temp2
= False
;
13067 PyObject
* obj0
= 0 ;
13068 PyObject
* obj1
= 0 ;
13069 char *kwnames
[] = {
13070 (char *) "self",(char *) "filename", NULL
13073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13076 arg2
= wxString_in_helper(obj1
);
13077 if (arg2
== NULL
) SWIG_fail
;
13081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13082 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13084 wxPyEndAllowThreads(__tstate
);
13085 if (PyErr_Occurred()) SWIG_fail
;
13087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13102 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
;
13104 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13106 PyObject
* obj0
= 0 ;
13107 char *kwnames
[] = {
13108 (char *) "self", NULL
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13120 resultobj
= result
;
13127 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
;
13129 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13130 wxFileTypeInfo
*arg2
= 0 ;
13131 PyObject
* obj0
= 0 ;
13132 PyObject
* obj1
= 0 ;
13133 char *kwnames
[] = {
13134 (char *) "self",(char *) "ft", NULL
13137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13139 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13140 if (arg2
== NULL
) {
13141 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13150 Py_INCREF(Py_None
); resultobj
= Py_None
;
13157 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
*resultobj
;
13159 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13160 wxFileTypeInfo
*arg2
= 0 ;
13161 wxFileType
*result
;
13162 PyObject
* obj0
= 0 ;
13163 PyObject
* obj1
= 0 ;
13164 char *kwnames
[] = {
13165 (char *) "self",(char *) "ftInfo", NULL
13168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13170 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13171 if (arg2
== NULL
) {
13172 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13181 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
13188 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
;
13190 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13191 wxFileType
*arg2
= (wxFileType
*) 0 ;
13193 PyObject
* obj0
= 0 ;
13194 PyObject
* obj1
= 0 ;
13195 char *kwnames
[] = {
13196 (char *) "self",(char *) "ft", NULL
13199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13201 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13204 result
= (bool)(arg1
)->Unassociate(arg2
);
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13216 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13217 PyObject
*resultobj
;
13218 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13219 PyObject
* obj0
= 0 ;
13220 char *kwnames
[] = {
13221 (char *) "self", NULL
13224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 Py_INCREF(Py_None
); resultobj
= Py_None
;
13240 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13243 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13245 return Py_BuildValue((char *)"");
13247 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13248 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13253 static PyObject
*_wrap_ART_TOOLBAR_get() {
13258 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13260 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13267 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13268 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13273 static PyObject
*_wrap_ART_MENU_get() {
13278 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13280 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13287 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13288 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13293 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13298 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13300 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13307 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13308 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13313 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13318 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13320 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13327 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13328 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13333 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13338 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13340 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13347 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13348 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13353 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13358 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13360 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13367 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13368 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13373 static PyObject
*_wrap_ART_OTHER_get() {
13378 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13380 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13387 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13388 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13393 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13398 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13400 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13407 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13408 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13413 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13418 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13420 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13427 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13428 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13433 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13438 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13440 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13447 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13448 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13453 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13458 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13460 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13467 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13468 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13473 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13478 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13480 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13487 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13488 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13493 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13498 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13500 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13507 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13508 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13513 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13518 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13520 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13527 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13528 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13533 static PyObject
*_wrap_ART_GO_BACK_get() {
13538 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13540 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13547 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13548 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13553 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13558 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13560 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13567 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13568 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13573 static PyObject
*_wrap_ART_GO_UP_get() {
13578 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13580 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13587 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13588 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13593 static PyObject
*_wrap_ART_GO_DOWN_get() {
13598 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13600 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13607 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13608 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13613 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13618 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13620 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13627 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13628 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13633 static PyObject
*_wrap_ART_GO_HOME_get() {
13638 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13640 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13647 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13648 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13653 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13658 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13660 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13667 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13668 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13673 static PyObject
*_wrap_ART_PRINT_get() {
13678 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13680 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13687 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13688 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13693 static PyObject
*_wrap_ART_HELP_get() {
13698 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13700 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13707 static int _wrap_ART_TIP_set(PyObject
*_val
) {
13708 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13713 static PyObject
*_wrap_ART_TIP_get() {
13718 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13720 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13727 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
13728 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
13733 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
13738 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13740 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13747 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
13748 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
13753 static PyObject
*_wrap_ART_LIST_VIEW_get() {
13758 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13760 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13767 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
13768 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
13773 static PyObject
*_wrap_ART_NEW_DIR_get() {
13778 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13780 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13787 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
13788 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
13793 static PyObject
*_wrap_ART_FOLDER_get() {
13798 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13800 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13807 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
13808 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
13813 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
13818 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13820 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13827 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
13828 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
13833 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
13838 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
13840 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
13847 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
13848 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
13853 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
13858 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
13860 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
13867 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
13868 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
13873 static PyObject
*_wrap_ART_TICK_MARK_get() {
13878 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
13880 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
13887 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
13888 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
13893 static PyObject
*_wrap_ART_CROSS_MARK_get() {
13898 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
13900 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
13907 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
13908 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
13913 static PyObject
*_wrap_ART_ERROR_get() {
13918 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
13920 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
13927 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
13928 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
13933 static PyObject
*_wrap_ART_QUESTION_get() {
13938 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
13940 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
13947 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
13948 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
13953 static PyObject
*_wrap_ART_WARNING_get() {
13958 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
13960 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
13967 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
13968 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
13973 static PyObject
*_wrap_ART_INFORMATION_get() {
13978 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
13980 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
13987 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
13988 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
13993 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
13998 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14000 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14007 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
;
14009 wxPyArtProvider
*result
;
14010 char *kwnames
[] = {
14014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14019 wxPyEndAllowThreads(__tstate
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14022 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyArtProvider
, 1);
14029 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14030 PyObject
*resultobj
;
14031 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14032 PyObject
*arg2
= (PyObject
*) 0 ;
14033 PyObject
*arg3
= (PyObject
*) 0 ;
14034 PyObject
* obj0
= 0 ;
14035 PyObject
* obj1
= 0 ;
14036 PyObject
* obj2
= 0 ;
14037 char *kwnames
[] = {
14038 (char *) "self",(char *) "self",(char *) "_class", NULL
14041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14047 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 Py_INCREF(Py_None
); resultobj
= Py_None
;
14059 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14060 PyObject
*resultobj
;
14061 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14062 PyObject
* obj0
= 0 ;
14063 char *kwnames
[] = {
14064 (char *) "provider", NULL
14067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 wxPyArtProvider::PushProvider(arg1
);
14073 wxPyEndAllowThreads(__tstate
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14076 Py_INCREF(Py_None
); resultobj
= Py_None
;
14083 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14084 PyObject
*resultobj
;
14086 char *kwnames
[] = {
14090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14093 result
= (bool)wxPyArtProvider::PopProvider();
14095 wxPyEndAllowThreads(__tstate
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14105 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14106 PyObject
*resultobj
;
14107 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14109 PyObject
* obj0
= 0 ;
14110 char *kwnames
[] = {
14111 (char *) "provider", NULL
14114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14118 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14120 wxPyEndAllowThreads(__tstate
);
14121 if (PyErr_Occurred()) SWIG_fail
;
14123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14130 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14131 PyObject
*resultobj
;
14132 wxString
*arg1
= 0 ;
14133 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14134 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14135 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14136 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14138 bool temp1
= False
;
14139 bool temp2
= False
;
14141 PyObject
* obj0
= 0 ;
14142 PyObject
* obj1
= 0 ;
14143 PyObject
* obj2
= 0 ;
14144 char *kwnames
[] = {
14145 (char *) "id",(char *) "client",(char *) "size", NULL
14148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14150 arg1
= wxString_in_helper(obj0
);
14151 if (arg1
== NULL
) SWIG_fail
;
14156 arg2
= wxString_in_helper(obj1
);
14157 if (arg2
== NULL
) SWIG_fail
;
14164 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14169 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14171 wxPyEndAllowThreads(__tstate
);
14172 if (PyErr_Occurred()) SWIG_fail
;
14175 wxBitmap
* resultptr
;
14176 resultptr
= new wxBitmap((wxBitmap
&) result
);
14177 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
14201 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
;
14203 wxString
*arg1
= 0 ;
14204 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14205 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14206 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14207 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14209 bool temp1
= False
;
14210 bool temp2
= False
;
14212 PyObject
* obj0
= 0 ;
14213 PyObject
* obj1
= 0 ;
14214 PyObject
* obj2
= 0 ;
14215 char *kwnames
[] = {
14216 (char *) "id",(char *) "client",(char *) "size", NULL
14219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14221 arg1
= wxString_in_helper(obj0
);
14222 if (arg1
== NULL
) SWIG_fail
;
14227 arg2
= wxString_in_helper(obj1
);
14228 if (arg2
== NULL
) SWIG_fail
;
14235 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14246 wxIcon
* resultptr
;
14247 resultptr
= new wxIcon((wxIcon
&) result
);
14248 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
14272 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14273 PyObject
*resultobj
;
14274 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14275 PyObject
* obj0
= 0 ;
14276 char *kwnames
[] = {
14277 (char *) "self", NULL
14280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14284 wxPyArtProvider_Destroy(arg1
);
14286 wxPyEndAllowThreads(__tstate
);
14287 if (PyErr_Occurred()) SWIG_fail
;
14289 Py_INCREF(Py_None
); resultobj
= Py_None
;
14296 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14299 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14301 return Py_BuildValue((char *)"");
14303 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
;
14305 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14306 PyObject
* obj0
= 0 ;
14307 char *kwnames
[] = {
14308 (char *) "self", NULL
14311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 wxPyEndAllowThreads(__tstate
);
14318 if (PyErr_Occurred()) SWIG_fail
;
14320 Py_INCREF(Py_None
); resultobj
= Py_None
;
14327 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14328 PyObject
*resultobj
;
14329 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14330 wxConfigBase
*result
;
14331 PyObject
* obj0
= 0 ;
14332 char *kwnames
[] = {
14333 (char *) "pConfig", NULL
14336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14340 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14342 wxPyEndAllowThreads(__tstate
);
14343 if (PyErr_Occurred()) SWIG_fail
;
14345 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
14352 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14353 PyObject
*resultobj
;
14354 bool arg1
= (bool) True
;
14355 wxConfigBase
*result
;
14356 PyObject
* obj0
= 0 ;
14357 char *kwnames
[] = {
14358 (char *) "createOnDemand", NULL
14361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14364 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14375 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
14382 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14383 PyObject
*resultobj
;
14384 wxConfigBase
*result
;
14385 char *kwnames
[] = {
14389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 result
= (wxConfigBase
*)wxConfigBase::Create();
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14397 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
14404 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
;
14406 char *kwnames
[] = {
14410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14413 wxConfigBase::DontCreateOnDemand();
14415 wxPyEndAllowThreads(__tstate
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14418 Py_INCREF(Py_None
); resultobj
= Py_None
;
14425 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14426 PyObject
*resultobj
;
14427 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14428 wxString
*arg2
= 0 ;
14429 bool temp2
= False
;
14430 PyObject
* obj0
= 0 ;
14431 PyObject
* obj1
= 0 ;
14432 char *kwnames
[] = {
14433 (char *) "self",(char *) "strPath", NULL
14436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14439 arg2
= wxString_in_helper(obj1
);
14440 if (arg2
== NULL
) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 (arg1
)->SetPath((wxString
const &)*arg2
);
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14450 Py_INCREF(Py_None
); resultobj
= Py_None
;
14465 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14466 PyObject
*resultobj
;
14467 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14469 PyObject
* obj0
= 0 ;
14470 char *kwnames
[] = {
14471 (char *) "self", NULL
14474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14480 result
= (wxString
*) &_result_ref
;
14483 wxPyEndAllowThreads(__tstate
);
14484 if (PyErr_Occurred()) SWIG_fail
;
14488 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14490 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14499 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14500 PyObject
*resultobj
;
14501 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14503 PyObject
* obj0
= 0 ;
14504 char *kwnames
[] = {
14505 (char *) "self", NULL
14508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14514 wxPyEndAllowThreads(__tstate
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14517 resultobj
= result
;
14524 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
;
14526 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14529 PyObject
* obj0
= 0 ;
14530 PyObject
* obj1
= 0 ;
14531 char *kwnames
[] = {
14532 (char *) "self",(char *) "index", NULL
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14538 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14543 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14548 resultobj
= result
;
14555 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14556 PyObject
*resultobj
;
14557 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14559 PyObject
* obj0
= 0 ;
14560 char *kwnames
[] = {
14561 (char *) "self", NULL
14564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14573 resultobj
= result
;
14580 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14581 PyObject
*resultobj
;
14582 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14585 PyObject
* obj0
= 0 ;
14586 PyObject
* obj1
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self",(char *) "index", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14594 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14604 resultobj
= result
;
14611 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14612 PyObject
*resultobj
;
14613 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14614 bool arg2
= (bool) False
;
14616 PyObject
* obj0
= 0 ;
14617 PyObject
* obj1
= 0 ;
14618 char *kwnames
[] = {
14619 (char *) "self",(char *) "bRecursive", NULL
14622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14626 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14632 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14634 wxPyEndAllowThreads(__tstate
);
14635 if (PyErr_Occurred()) SWIG_fail
;
14637 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
14644 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14645 PyObject
*resultobj
;
14646 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14647 bool arg2
= (bool) False
;
14649 PyObject
* obj0
= 0 ;
14650 PyObject
* obj1
= 0 ;
14651 char *kwnames
[] = {
14652 (char *) "self",(char *) "bRecursive", NULL
14655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14659 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14665 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14667 wxPyEndAllowThreads(__tstate
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14670 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
14677 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14678 PyObject
*resultobj
;
14679 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14680 wxString
*arg2
= 0 ;
14682 bool temp2
= False
;
14683 PyObject
* obj0
= 0 ;
14684 PyObject
* obj1
= 0 ;
14685 char *kwnames
[] = {
14686 (char *) "self",(char *) "strName", NULL
14689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14692 arg2
= wxString_in_helper(obj1
);
14693 if (arg2
== NULL
) SWIG_fail
;
14697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14698 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14700 wxPyEndAllowThreads(__tstate
);
14701 if (PyErr_Occurred()) SWIG_fail
;
14703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14718 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14719 PyObject
*resultobj
;
14720 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14721 wxString
*arg2
= 0 ;
14723 bool temp2
= False
;
14724 PyObject
* obj0
= 0 ;
14725 PyObject
* obj1
= 0 ;
14726 char *kwnames
[] = {
14727 (char *) "self",(char *) "strName", NULL
14730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14733 arg2
= wxString_in_helper(obj1
);
14734 if (arg2
== NULL
) SWIG_fail
;
14738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14739 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
14741 wxPyEndAllowThreads(__tstate
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14759 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
;
14761 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14762 wxString
*arg2
= 0 ;
14764 bool temp2
= False
;
14765 PyObject
* obj0
= 0 ;
14766 PyObject
* obj1
= 0 ;
14767 char *kwnames
[] = {
14768 (char *) "self",(char *) "strName", NULL
14771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
14772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14774 arg2
= wxString_in_helper(obj1
);
14775 if (arg2
== NULL
) SWIG_fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14800 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14801 PyObject
*resultobj
;
14802 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14803 wxString
*arg2
= 0 ;
14805 bool temp2
= False
;
14806 PyObject
* obj0
= 0 ;
14807 PyObject
* obj1
= 0 ;
14808 char *kwnames
[] = {
14809 (char *) "self",(char *) "name", NULL
14812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
14813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14815 arg2
= wxString_in_helper(obj1
);
14816 if (arg2
== NULL
) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= SWIG_PyObj_FromInt((int)result
);
14841 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14844 wxString
*arg2
= 0 ;
14845 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14846 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14848 bool temp2
= False
;
14849 bool temp3
= False
;
14850 PyObject
* obj0
= 0 ;
14851 PyObject
* obj1
= 0 ;
14852 PyObject
* obj2
= 0 ;
14853 char *kwnames
[] = {
14854 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14860 arg2
= wxString_in_helper(obj1
);
14861 if (arg2
== NULL
) SWIG_fail
;
14866 arg3
= wxString_in_helper(obj2
);
14867 if (arg3
== NULL
) SWIG_fail
;
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14907 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14908 PyObject
*resultobj
;
14909 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14910 wxString
*arg2
= 0 ;
14911 long arg3
= (long) 0 ;
14913 bool temp2
= False
;
14914 PyObject
* obj0
= 0 ;
14915 PyObject
* obj1
= 0 ;
14916 PyObject
* obj2
= 0 ;
14917 char *kwnames
[] = {
14918 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14924 arg2
= wxString_in_helper(obj1
);
14925 if (arg2
== NULL
) SWIG_fail
;
14930 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
14931 if (PyErr_Occurred()) SWIG_fail
;
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
14938 wxPyEndAllowThreads(__tstate
);
14939 if (PyErr_Occurred()) SWIG_fail
;
14941 resultobj
= SWIG_PyObj_FromLong((long)result
);
14956 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
;
14958 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14959 wxString
*arg2
= 0 ;
14960 double arg3
= (double) 0.0 ;
14962 bool temp2
= False
;
14963 PyObject
* obj0
= 0 ;
14964 PyObject
* obj1
= 0 ;
14965 PyObject
* obj2
= 0 ;
14966 char *kwnames
[] = {
14967 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14973 arg2
= wxString_in_helper(obj1
);
14974 if (arg2
== NULL
) SWIG_fail
;
14979 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14990 resultobj
= SWIG_PyObj_FromDouble((double)result
);
15005 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
;
15007 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15008 wxString
*arg2
= 0 ;
15009 bool arg3
= (bool) False
;
15011 bool temp2
= False
;
15012 PyObject
* obj0
= 0 ;
15013 PyObject
* obj1
= 0 ;
15014 PyObject
* obj2
= 0 ;
15015 char *kwnames
[] = {
15016 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15022 arg2
= wxString_in_helper(obj1
);
15023 if (arg2
== NULL
) SWIG_fail
;
15028 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15054 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
;
15056 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15057 wxString
*arg2
= 0 ;
15058 wxString
*arg3
= 0 ;
15060 bool temp2
= False
;
15061 bool temp3
= False
;
15062 PyObject
* obj0
= 0 ;
15063 PyObject
* obj1
= 0 ;
15064 PyObject
* obj2
= 0 ;
15065 char *kwnames
[] = {
15066 (char *) "self",(char *) "key",(char *) "value", NULL
15069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15072 arg2
= wxString_in_helper(obj1
);
15073 if (arg2
== NULL
) SWIG_fail
;
15077 arg3
= wxString_in_helper(obj2
);
15078 if (arg3
== NULL
) SWIG_fail
;
15082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15083 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15085 wxPyEndAllowThreads(__tstate
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15111 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15112 PyObject
*resultobj
;
15113 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15114 wxString
*arg2
= 0 ;
15117 bool temp2
= False
;
15118 PyObject
* obj0
= 0 ;
15119 PyObject
* obj1
= 0 ;
15120 PyObject
* obj2
= 0 ;
15121 char *kwnames
[] = {
15122 (char *) "self",(char *) "key",(char *) "value", NULL
15125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15128 arg2
= wxString_in_helper(obj1
);
15129 if (arg2
== NULL
) SWIG_fail
;
15133 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15158 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15159 PyObject
*resultobj
;
15160 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15161 wxString
*arg2
= 0 ;
15164 bool temp2
= False
;
15165 PyObject
* obj0
= 0 ;
15166 PyObject
* obj1
= 0 ;
15167 PyObject
* obj2
= 0 ;
15168 char *kwnames
[] = {
15169 (char *) "self",(char *) "key",(char *) "value", NULL
15172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15175 arg2
= wxString_in_helper(obj1
);
15176 if (arg2
== NULL
) SWIG_fail
;
15180 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
15181 if (PyErr_Occurred()) SWIG_fail
;
15184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15185 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15187 wxPyEndAllowThreads(__tstate
);
15188 if (PyErr_Occurred()) SWIG_fail
;
15190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15205 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15206 PyObject
*resultobj
;
15207 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15208 wxString
*arg2
= 0 ;
15211 bool temp2
= False
;
15212 PyObject
* obj0
= 0 ;
15213 PyObject
* obj1
= 0 ;
15214 PyObject
* obj2
= 0 ;
15215 char *kwnames
[] = {
15216 (char *) "self",(char *) "key",(char *) "value", NULL
15219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15222 arg2
= wxString_in_helper(obj1
);
15223 if (arg2
== NULL
) SWIG_fail
;
15227 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15232 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15234 wxPyEndAllowThreads(__tstate
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15252 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15253 PyObject
*resultobj
;
15254 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15255 bool arg2
= (bool) False
;
15257 PyObject
* obj0
= 0 ;
15258 PyObject
* obj1
= 0 ;
15259 char *kwnames
[] = {
15260 (char *) "self",(char *) "bCurrentOnly", NULL
15263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15267 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15273 result
= (bool)(arg1
)->Flush(arg2
);
15275 wxPyEndAllowThreads(__tstate
);
15276 if (PyErr_Occurred()) SWIG_fail
;
15278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15285 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15286 PyObject
*resultobj
;
15287 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15288 wxString
*arg2
= 0 ;
15289 wxString
*arg3
= 0 ;
15291 bool temp2
= False
;
15292 bool temp3
= False
;
15293 PyObject
* obj0
= 0 ;
15294 PyObject
* obj1
= 0 ;
15295 PyObject
* obj2
= 0 ;
15296 char *kwnames
[] = {
15297 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15303 arg2
= wxString_in_helper(obj1
);
15304 if (arg2
== NULL
) SWIG_fail
;
15308 arg3
= wxString_in_helper(obj2
);
15309 if (arg3
== NULL
) SWIG_fail
;
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15316 wxPyEndAllowThreads(__tstate
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15342 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15343 PyObject
*resultobj
;
15344 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15345 wxString
*arg2
= 0 ;
15346 wxString
*arg3
= 0 ;
15348 bool temp2
= False
;
15349 bool temp3
= False
;
15350 PyObject
* obj0
= 0 ;
15351 PyObject
* obj1
= 0 ;
15352 PyObject
* obj2
= 0 ;
15353 char *kwnames
[] = {
15354 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15360 arg2
= wxString_in_helper(obj1
);
15361 if (arg2
== NULL
) SWIG_fail
;
15365 arg3
= wxString_in_helper(obj2
);
15366 if (arg3
== NULL
) SWIG_fail
;
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15399 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15400 PyObject
*resultobj
;
15401 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15402 wxString
*arg2
= 0 ;
15403 bool arg3
= (bool) True
;
15405 bool temp2
= False
;
15406 PyObject
* obj0
= 0 ;
15407 PyObject
* obj1
= 0 ;
15408 PyObject
* obj2
= 0 ;
15409 char *kwnames
[] = {
15410 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
15413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15416 arg2
= wxString_in_helper(obj1
);
15417 if (arg2
== NULL
) SWIG_fail
;
15422 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15428 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15430 wxPyEndAllowThreads(__tstate
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15448 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
;
15450 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15451 wxString
*arg2
= 0 ;
15453 bool temp2
= False
;
15454 PyObject
* obj0
= 0 ;
15455 PyObject
* obj1
= 0 ;
15456 char *kwnames
[] = {
15457 (char *) "self",(char *) "key", NULL
15460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15463 arg2
= wxString_in_helper(obj1
);
15464 if (arg2
== NULL
) SWIG_fail
;
15468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15469 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15471 wxPyEndAllowThreads(__tstate
);
15472 if (PyErr_Occurred()) SWIG_fail
;
15474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15489 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15490 PyObject
*resultobj
;
15491 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15493 PyObject
* obj0
= 0 ;
15494 char *kwnames
[] = {
15495 (char *) "self", NULL
15498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 result
= (bool)(arg1
)->DeleteAll();
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15514 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15518 PyObject
* obj0
= 0 ;
15519 char *kwnames
[] = {
15520 (char *) "self", NULL
15523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15539 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15540 PyObject
*resultobj
;
15541 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15542 bool arg2
= (bool) True
;
15543 PyObject
* obj0
= 0 ;
15544 PyObject
* obj1
= 0 ;
15545 char *kwnames
[] = {
15546 (char *) "self",(char *) "bDoIt", NULL
15549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15553 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15559 (arg1
)->SetExpandEnvVars(arg2
);
15561 wxPyEndAllowThreads(__tstate
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15564 Py_INCREF(Py_None
); resultobj
= Py_None
;
15571 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
;
15573 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15574 bool arg2
= (bool) True
;
15575 PyObject
* obj0
= 0 ;
15576 PyObject
* obj1
= 0 ;
15577 char *kwnames
[] = {
15578 (char *) "self",(char *) "bDoIt", NULL
15581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15585 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15591 (arg1
)->SetRecordDefaults(arg2
);
15593 wxPyEndAllowThreads(__tstate
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15596 Py_INCREF(Py_None
); resultobj
= Py_None
;
15603 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15604 PyObject
*resultobj
;
15605 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15607 PyObject
* obj0
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "self", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15628 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15629 PyObject
*resultobj
;
15630 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15631 wxString
*arg2
= 0 ;
15633 bool temp2
= False
;
15634 PyObject
* obj0
= 0 ;
15635 PyObject
* obj1
= 0 ;
15636 char *kwnames
[] = {
15637 (char *) "self",(char *) "str", NULL
15640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15643 arg2
= wxString_in_helper(obj1
);
15644 if (arg2
== NULL
) SWIG_fail
;
15648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15649 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15656 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15658 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15675 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
;
15677 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15679 PyObject
* obj0
= 0 ;
15680 char *kwnames
[] = {
15681 (char *) "self", NULL
15684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15688 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
15690 wxPyEndAllowThreads(__tstate
);
15691 if (PyErr_Occurred()) SWIG_fail
;
15695 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15697 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15706 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
;
15708 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15710 PyObject
* obj0
= 0 ;
15711 char *kwnames
[] = {
15712 (char *) "self", NULL
15715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
15716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15719 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15737 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15738 PyObject
*resultobj
;
15739 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15740 wxString
*arg2
= 0 ;
15741 bool temp2
= False
;
15742 PyObject
* obj0
= 0 ;
15743 PyObject
* obj1
= 0 ;
15744 char *kwnames
[] = {
15745 (char *) "self",(char *) "appName", NULL
15748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
15749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15751 arg2
= wxString_in_helper(obj1
);
15752 if (arg2
== NULL
) SWIG_fail
;
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 (arg1
)->SetAppName((wxString
const &)*arg2
);
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15762 Py_INCREF(Py_None
); resultobj
= Py_None
;
15777 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15778 PyObject
*resultobj
;
15779 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15780 wxString
*arg2
= 0 ;
15781 bool temp2
= False
;
15782 PyObject
* obj0
= 0 ;
15783 PyObject
* obj1
= 0 ;
15784 char *kwnames
[] = {
15785 (char *) "self",(char *) "vendorName", NULL
15788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
15789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15791 arg2
= wxString_in_helper(obj1
);
15792 if (arg2
== NULL
) SWIG_fail
;
15796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15797 (arg1
)->SetVendorName((wxString
const &)*arg2
);
15799 wxPyEndAllowThreads(__tstate
);
15800 if (PyErr_Occurred()) SWIG_fail
;
15802 Py_INCREF(Py_None
); resultobj
= Py_None
;
15817 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15818 PyObject
*resultobj
;
15819 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15821 PyObject
* obj0
= 0 ;
15822 PyObject
* obj1
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "self",(char *) "style", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
15828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15830 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
15831 if (PyErr_Occurred()) SWIG_fail
;
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15835 (arg1
)->SetStyle(arg2
);
15837 wxPyEndAllowThreads(__tstate
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15840 Py_INCREF(Py_None
); resultobj
= Py_None
;
15847 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15848 PyObject
*resultobj
;
15849 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15851 PyObject
* obj0
= 0 ;
15852 char *kwnames
[] = {
15853 (char *) "self", NULL
15856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
15862 wxPyEndAllowThreads(__tstate
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15865 resultobj
= SWIG_PyObj_FromLong((long)result
);
15872 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
15874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15875 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
15877 return Py_BuildValue((char *)"");
15879 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15880 PyObject
*resultobj
;
15881 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15882 wxString
*arg2
= 0 ;
15883 wxConfigPathChanger
*result
;
15884 bool temp2
= False
;
15885 PyObject
* obj0
= 0 ;
15886 PyObject
* obj1
= 0 ;
15887 char *kwnames
[] = {
15888 (char *) "pContainer",(char *) "strEntry", NULL
15891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
15892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15894 arg2
= wxString_in_helper(obj1
);
15895 if (arg2
== NULL
) SWIG_fail
;
15899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15900 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
15902 wxPyEndAllowThreads(__tstate
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15905 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigPathChanger
, 1);
15920 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15921 PyObject
*resultobj
;
15922 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
15923 PyObject
* obj0
= 0 ;
15924 char *kwnames
[] = {
15925 (char *) "self", NULL
15928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
15929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 Py_INCREF(Py_None
); resultobj
= Py_None
;
15944 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
;
15946 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
15948 PyObject
* obj0
= 0 ;
15949 char *kwnames
[] = {
15950 (char *) "self", NULL
15953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
15954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
15959 result
= (wxString
*) &_result_ref
;
15962 wxPyEndAllowThreads(__tstate
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15967 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15969 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15978 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
15980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15981 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
15983 return Py_BuildValue((char *)"");
15985 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15986 PyObject
*resultobj
;
15987 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15988 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15989 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15990 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15991 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15992 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15993 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15994 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15995 long arg5
= (long) 0 ;
15997 bool temp1
= False
;
15998 bool temp2
= False
;
15999 bool temp3
= False
;
16000 bool temp4
= False
;
16001 PyObject
* obj0
= 0 ;
16002 PyObject
* obj1
= 0 ;
16003 PyObject
* obj2
= 0 ;
16004 PyObject
* obj3
= 0 ;
16005 PyObject
* obj4
= 0 ;
16006 char *kwnames
[] = {
16007 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16013 arg1
= wxString_in_helper(obj0
);
16014 if (arg1
== NULL
) SWIG_fail
;
16020 arg2
= wxString_in_helper(obj1
);
16021 if (arg2
== NULL
) SWIG_fail
;
16027 arg3
= wxString_in_helper(obj2
);
16028 if (arg3
== NULL
) SWIG_fail
;
16034 arg4
= wxString_in_helper(obj3
);
16035 if (arg4
== NULL
) SWIG_fail
;
16041 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
16042 if (PyErr_Occurred()) SWIG_fail
;
16046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16047 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16049 wxPyEndAllowThreads(__tstate
);
16050 if (PyErr_Occurred()) SWIG_fail
;
16052 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfig
, 1);
16091 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16092 PyObject
*resultobj
;
16093 wxConfig
*arg1
= (wxConfig
*) 0 ;
16094 PyObject
* obj0
= 0 ;
16095 char *kwnames
[] = {
16096 (char *) "self", NULL
16099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16105 wxPyEndAllowThreads(__tstate
);
16106 if (PyErr_Occurred()) SWIG_fail
;
16108 Py_INCREF(Py_None
); resultobj
= Py_None
;
16115 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16118 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16120 return Py_BuildValue((char *)"");
16122 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16123 PyObject
*resultobj
;
16124 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16125 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16126 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16127 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16128 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16129 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16130 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16131 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16132 long arg5
= (long) 0 ;
16133 wxFileConfig
*result
;
16134 bool temp1
= False
;
16135 bool temp2
= False
;
16136 bool temp3
= False
;
16137 bool temp4
= False
;
16138 PyObject
* obj0
= 0 ;
16139 PyObject
* obj1
= 0 ;
16140 PyObject
* obj2
= 0 ;
16141 PyObject
* obj3
= 0 ;
16142 PyObject
* obj4
= 0 ;
16143 char *kwnames
[] = {
16144 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16150 arg1
= wxString_in_helper(obj0
);
16151 if (arg1
== NULL
) SWIG_fail
;
16157 arg2
= wxString_in_helper(obj1
);
16158 if (arg2
== NULL
) SWIG_fail
;
16164 arg3
= wxString_in_helper(obj2
);
16165 if (arg3
== NULL
) SWIG_fail
;
16171 arg4
= wxString_in_helper(obj3
);
16172 if (arg4
== NULL
) SWIG_fail
;
16178 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16184 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16189 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileConfig
, 1);
16228 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16229 PyObject
*resultobj
;
16230 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16231 PyObject
* obj0
= 0 ;
16232 char *kwnames
[] = {
16233 (char *) "self", NULL
16236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16242 wxPyEndAllowThreads(__tstate
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16245 Py_INCREF(Py_None
); resultobj
= Py_None
;
16252 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16255 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16257 return Py_BuildValue((char *)"");
16259 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16260 PyObject
*resultobj
;
16261 wxString
*arg1
= 0 ;
16263 bool temp1
= False
;
16264 PyObject
* obj0
= 0 ;
16265 char *kwnames
[] = {
16266 (char *) "sz", NULL
16269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16271 arg1
= wxString_in_helper(obj0
);
16272 if (arg1
== NULL
) SWIG_fail
;
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16303 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16304 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16309 static PyObject
*_wrap_DateFormatStr_get() {
16314 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16316 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16323 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16324 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16329 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16334 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16336 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16343 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
;
16346 PyObject
* obj0
= 0 ;
16347 char *kwnames
[] = {
16348 (char *) "country", NULL
16351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16353 arg1
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj0
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16358 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16360 wxPyEndAllowThreads(__tstate
);
16361 if (PyErr_Occurred()) SWIG_fail
;
16363 Py_INCREF(Py_None
); resultobj
= Py_None
;
16370 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16371 PyObject
*resultobj
;
16373 char *kwnames
[] = {
16377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 result
= (int)wxDateTime::GetCountry();
16382 wxPyEndAllowThreads(__tstate
);
16383 if (PyErr_Occurred()) SWIG_fail
;
16385 resultobj
= SWIG_PyObj_FromInt((int)result
);
16392 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16393 PyObject
*resultobj
;
16394 int arg1
= (int) wxDateTime::Country_Default
;
16396 PyObject
* obj0
= 0 ;
16397 char *kwnames
[] = {
16398 (char *) "country", NULL
16401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16404 arg1
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj0
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16422 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16423 PyObject
*resultobj
;
16424 int arg1
= (int) wxDateTime::Gregorian
;
16426 PyObject
* obj0
= 0 ;
16427 char *kwnames
[] = {
16428 (char *) "cal", NULL
16431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16434 arg1
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj0
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16440 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16445 resultobj
= SWIG_PyObj_FromInt((int)result
);
16452 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16453 PyObject
*resultobj
;
16456 PyObject
* obj0
= 0 ;
16457 char *kwnames
[] = {
16458 (char *) "year", NULL
16461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16463 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16468 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16473 resultobj
= SWIG_PyObj_FromInt((int)result
);
16480 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
;
16482 int arg1
= (int) wxDateTime::Gregorian
;
16484 PyObject
* obj0
= 0 ;
16485 char *kwnames
[] = {
16486 (char *) "cal", NULL
16489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16492 arg1
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj0
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16498 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16503 resultobj
= SWIG_PyObj_FromInt((int)result
);
16510 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16511 PyObject
*resultobj
;
16512 int arg1
= (int) wxDateTime::Inv_Year
;
16513 int arg2
= (int) wxDateTime::Gregorian
;
16515 PyObject
* obj0
= 0 ;
16516 PyObject
* obj1
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "year",(char *) "cal", NULL
16521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16524 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16530 arg2
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj1
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16536 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16548 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
;
16550 int arg1
= (int) wxDateTime::Inv_Year
;
16552 PyObject
* obj0
= 0 ;
16553 char *kwnames
[] = {
16554 (char *) "year", NULL
16557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16560 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16566 result
= (int)wxDateTime::GetCentury(arg1
);
16568 wxPyEndAllowThreads(__tstate
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16571 resultobj
= SWIG_PyObj_FromInt((int)result
);
16578 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
;
16581 int arg2
= (int) wxDateTime::Gregorian
;
16583 PyObject
* obj0
= 0 ;
16584 PyObject
* obj1
= 0 ;
16585 char *kwnames
[] = {
16586 (char *) "year",(char *) "cal", NULL
16589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16591 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16596 arg2
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj1
);
16597 if (PyErr_Occurred()) SWIG_fail
;
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16607 resultobj
= SWIG_PyObj_FromInt((int)result
);
16614 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16615 PyObject
*resultobj
;
16617 int arg2
= (int) wxDateTime::Inv_Year
;
16618 int arg3
= (int) wxDateTime::Gregorian
;
16620 PyObject
* obj0
= 0 ;
16621 PyObject
* obj1
= 0 ;
16622 PyObject
* obj2
= 0 ;
16623 char *kwnames
[] = {
16624 (char *) "month",(char *) "year",(char *) "cal", NULL
16627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16629 arg1
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj0
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16634 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16640 arg3
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj2
);
16641 if (PyErr_Occurred()) SWIG_fail
;
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16651 resultobj
= SWIG_PyObj_FromInt((int)result
);
16658 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16659 PyObject
*resultobj
;
16661 int arg2
= (int) wxDateTime::Name_Full
;
16663 PyObject
* obj0
= 0 ;
16664 PyObject
* obj1
= 0 ;
16665 char *kwnames
[] = {
16666 (char *) "month",(char *) "flags", NULL
16669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16671 arg1
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj0
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16676 arg2
= (wxDateTime::NameFlags
) SWIG_PyObj_AsInt(obj1
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16682 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16684 wxPyEndAllowThreads(__tstate
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16700 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
;
16703 int arg2
= (int) wxDateTime::Name_Full
;
16705 PyObject
* obj0
= 0 ;
16706 PyObject
* obj1
= 0 ;
16707 char *kwnames
[] = {
16708 (char *) "weekday",(char *) "flags", NULL
16711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
16713 arg1
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj0
);
16714 if (PyErr_Occurred()) SWIG_fail
;
16718 arg2
= (wxDateTime::NameFlags
) SWIG_PyObj_AsInt(obj1
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16724 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
16726 wxPyEndAllowThreads(__tstate
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16742 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16743 PyObject
*resultobj
;
16744 wxString
*arg1
= (wxString
*) 0 ;
16745 wxString
*arg2
= (wxString
*) 0 ;
16746 bool temp1
= False
;
16747 bool temp2
= False
;
16748 PyObject
* obj0
= 0 ;
16749 PyObject
* obj1
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
16756 arg1
= wxString_in_helper(obj0
);
16757 if (arg1
== NULL
) SWIG_fail
;
16761 arg2
= wxString_in_helper(obj1
);
16762 if (arg2
== NULL
) SWIG_fail
;
16766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16767 wxDateTime::GetAmPmStrings(arg1
,arg2
);
16769 wxPyEndAllowThreads(__tstate
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16772 Py_INCREF(Py_None
); resultobj
= Py_None
;
16795 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16796 PyObject
*resultobj
;
16797 int arg1
= (int) wxDateTime::Inv_Year
;
16798 int arg2
= (int) wxDateTime::Country_Default
;
16800 PyObject
* obj0
= 0 ;
16801 PyObject
* obj1
= 0 ;
16802 char *kwnames
[] = {
16803 (char *) "year",(char *) "country", NULL
16806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
16809 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16815 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16833 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 int arg1
= (int) wxDateTime::Inv_Year
;
16836 int arg2
= (int) wxDateTime::Country_Default
;
16838 PyObject
* obj0
= 0 ;
16839 PyObject
* obj1
= 0 ;
16840 char *kwnames
[] = {
16841 (char *) "year",(char *) "country", NULL
16844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
16847 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16853 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16859 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
16861 wxPyEndAllowThreads(__tstate
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16865 wxDateTime
* resultptr
;
16866 resultptr
= new wxDateTime((wxDateTime
&) result
);
16867 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16875 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16876 PyObject
*resultobj
;
16877 int arg1
= (int) wxDateTime::Inv_Year
;
16878 int arg2
= (int) wxDateTime::Country_Default
;
16880 PyObject
* obj0
= 0 ;
16881 PyObject
* obj1
= 0 ;
16882 char *kwnames
[] = {
16883 (char *) "year",(char *) "country", NULL
16886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
16889 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16895 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16907 wxDateTime
* resultptr
;
16908 resultptr
= new wxDateTime((wxDateTime
&) result
);
16909 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16917 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16920 char *kwnames
[] = {
16924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 result
= wxDateTime::Now();
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16933 wxDateTime
* resultptr
;
16934 resultptr
= new wxDateTime((wxDateTime
&) result
);
16935 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16943 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16946 char *kwnames
[] = {
16950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
16952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 result
= wxDateTime::UNow();
16955 wxPyEndAllowThreads(__tstate
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16959 wxDateTime
* resultptr
;
16960 resultptr
= new wxDateTime((wxDateTime
&) result
);
16961 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16969 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16970 PyObject
*resultobj
;
16972 char *kwnames
[] = {
16976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
16978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16979 result
= wxDateTime::Today();
16981 wxPyEndAllowThreads(__tstate
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16985 wxDateTime
* resultptr
;
16986 resultptr
= new wxDateTime((wxDateTime
&) result
);
16987 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16995 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
;
16997 wxDateTime
*result
;
16998 char *kwnames
[] = {
17002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17005 result
= (wxDateTime
*)new wxDateTime();
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17017 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17018 PyObject
*resultobj
;
17020 wxDateTime
*result
;
17021 PyObject
* obj0
= 0 ;
17022 char *kwnames
[] = {
17023 (char *) "timet", NULL
17026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17028 arg1
= (time_t) SWIG_PyObj_AsUnsignedInt(obj0
);
17029 if (PyErr_Occurred()) SWIG_fail
;
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 result
= (wxDateTime
*)new wxDateTime(arg1
);
17035 wxPyEndAllowThreads(__tstate
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17045 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17046 PyObject
*resultobj
;
17048 wxDateTime
*result
;
17049 PyObject
* obj0
= 0 ;
17050 char *kwnames
[] = {
17051 (char *) "jdn", NULL
17054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17056 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17061 result
= (wxDateTime
*)new wxDateTime(arg1
);
17063 wxPyEndAllowThreads(__tstate
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17066 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17073 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17074 PyObject
*resultobj
;
17076 int arg2
= (int) 0 ;
17077 int arg3
= (int) 0 ;
17078 int arg4
= (int) 0 ;
17079 wxDateTime
*result
;
17080 PyObject
* obj0
= 0 ;
17081 PyObject
* obj1
= 0 ;
17082 PyObject
* obj2
= 0 ;
17083 PyObject
* obj3
= 0 ;
17084 char *kwnames
[] = {
17085 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17090 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17095 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17101 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17107 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17113 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17115 wxPyEndAllowThreads(__tstate
);
17116 if (PyErr_Occurred()) SWIG_fail
;
17118 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17125 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17126 PyObject
*resultobj
;
17128 int arg2
= (int) wxDateTime::Inv_Month
;
17129 int arg3
= (int) wxDateTime::Inv_Year
;
17130 int arg4
= (int) 0 ;
17131 int arg5
= (int) 0 ;
17132 int arg6
= (int) 0 ;
17133 int arg7
= (int) 0 ;
17134 wxDateTime
*result
;
17135 PyObject
* obj0
= 0 ;
17136 PyObject
* obj1
= 0 ;
17137 PyObject
* obj2
= 0 ;
17138 PyObject
* obj3
= 0 ;
17139 PyObject
* obj4
= 0 ;
17140 PyObject
* obj5
= 0 ;
17141 PyObject
* obj6
= 0 ;
17142 char *kwnames
[] = {
17143 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17148 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17153 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17159 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17165 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17171 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17177 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17183 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17189 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17194 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17201 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17202 PyObject
*resultobj
;
17203 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17204 PyObject
* obj0
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "self", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 wxPyEndAllowThreads(__tstate
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17218 Py_INCREF(Py_None
); resultobj
= Py_None
;
17225 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17226 PyObject
*resultobj
;
17227 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17228 wxDateTime
*result
;
17229 PyObject
* obj0
= 0 ;
17230 char *kwnames
[] = {
17231 (char *) "self", NULL
17234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17240 result
= (wxDateTime
*) &_result_ref
;
17243 wxPyEndAllowThreads(__tstate
);
17244 if (PyErr_Occurred()) SWIG_fail
;
17246 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17253 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17254 PyObject
*resultobj
;
17255 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17257 wxDateTime
*result
;
17258 PyObject
* obj0
= 0 ;
17259 PyObject
* obj1
= 0 ;
17260 char *kwnames
[] = {
17261 (char *) "self",(char *) "timet", NULL
17264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17267 arg2
= (time_t) SWIG_PyObj_AsUnsignedInt(obj1
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17273 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17274 result
= (wxDateTime
*) &_result_ref
;
17277 wxPyEndAllowThreads(__tstate
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17280 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17287 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17288 PyObject
*resultobj
;
17289 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17291 wxDateTime
*result
;
17292 PyObject
* obj0
= 0 ;
17293 PyObject
* obj1
= 0 ;
17294 char *kwnames
[] = {
17295 (char *) "self",(char *) "jdn", NULL
17298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17301 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17308 result
= (wxDateTime
*) &_result_ref
;
17311 wxPyEndAllowThreads(__tstate
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17314 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17321 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
;
17323 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17325 int arg3
= (int) 0 ;
17326 int arg4
= (int) 0 ;
17327 int arg5
= (int) 0 ;
17328 wxDateTime
*result
;
17329 PyObject
* obj0
= 0 ;
17330 PyObject
* obj1
= 0 ;
17331 PyObject
* obj2
= 0 ;
17332 PyObject
* obj3
= 0 ;
17333 PyObject
* obj4
= 0 ;
17334 char *kwnames
[] = {
17335 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17341 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17346 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17352 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17358 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17366 result
= (wxDateTime
*) &_result_ref
;
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17372 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17379 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17380 PyObject
*resultobj
;
17381 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17383 int arg3
= (int) wxDateTime::Inv_Month
;
17384 int arg4
= (int) wxDateTime::Inv_Year
;
17385 int arg5
= (int) 0 ;
17386 int arg6
= (int) 0 ;
17387 int arg7
= (int) 0 ;
17388 int arg8
= (int) 0 ;
17389 wxDateTime
*result
;
17390 PyObject
* obj0
= 0 ;
17391 PyObject
* obj1
= 0 ;
17392 PyObject
* obj2
= 0 ;
17393 PyObject
* obj3
= 0 ;
17394 PyObject
* obj4
= 0 ;
17395 PyObject
* obj5
= 0 ;
17396 PyObject
* obj6
= 0 ;
17397 PyObject
* obj7
= 0 ;
17398 char *kwnames
[] = {
17399 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17405 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17410 arg3
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj2
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17416 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17422 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17428 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17434 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17440 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17447 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17448 result
= (wxDateTime
*) &_result_ref
;
17451 wxPyEndAllowThreads(__tstate
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17454 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17461 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17462 PyObject
*resultobj
;
17463 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17464 wxDateTime
*result
;
17465 PyObject
* obj0
= 0 ;
17466 char *kwnames
[] = {
17467 (char *) "self", NULL
17470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17475 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17476 result
= (wxDateTime
*) &_result_ref
;
17479 wxPyEndAllowThreads(__tstate
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17482 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17489 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17490 PyObject
*resultobj
;
17491 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17493 wxDateTime
*result
;
17494 PyObject
* obj0
= 0 ;
17495 PyObject
* obj1
= 0 ;
17496 char *kwnames
[] = {
17497 (char *) "self",(char *) "year", NULL
17500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17503 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17509 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17510 result
= (wxDateTime
*) &_result_ref
;
17513 wxPyEndAllowThreads(__tstate
);
17514 if (PyErr_Occurred()) SWIG_fail
;
17516 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17523 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17524 PyObject
*resultobj
;
17525 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17527 wxDateTime
*result
;
17528 PyObject
* obj0
= 0 ;
17529 PyObject
* obj1
= 0 ;
17530 char *kwnames
[] = {
17531 (char *) "self",(char *) "month", NULL
17534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17537 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17543 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17544 result
= (wxDateTime
*) &_result_ref
;
17547 wxPyEndAllowThreads(__tstate
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17550 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17557 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17558 PyObject
*resultobj
;
17559 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17561 wxDateTime
*result
;
17562 PyObject
* obj0
= 0 ;
17563 PyObject
* obj1
= 0 ;
17564 char *kwnames
[] = {
17565 (char *) "self",(char *) "day", NULL
17568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17571 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17578 result
= (wxDateTime
*) &_result_ref
;
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17584 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17591 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17592 PyObject
*resultobj
;
17593 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17595 wxDateTime
*result
;
17596 PyObject
* obj0
= 0 ;
17597 PyObject
* obj1
= 0 ;
17598 char *kwnames
[] = {
17599 (char *) "self",(char *) "hour", NULL
17602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17605 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17611 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17612 result
= (wxDateTime
*) &_result_ref
;
17615 wxPyEndAllowThreads(__tstate
);
17616 if (PyErr_Occurred()) SWIG_fail
;
17618 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17625 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17626 PyObject
*resultobj
;
17627 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17629 wxDateTime
*result
;
17630 PyObject
* obj0
= 0 ;
17631 PyObject
* obj1
= 0 ;
17632 char *kwnames
[] = {
17633 (char *) "self",(char *) "minute", NULL
17636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17639 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17640 if (PyErr_Occurred()) SWIG_fail
;
17643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17645 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17646 result
= (wxDateTime
*) &_result_ref
;
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17659 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17660 PyObject
*resultobj
;
17661 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17663 wxDateTime
*result
;
17664 PyObject
* obj0
= 0 ;
17665 PyObject
* obj1
= 0 ;
17666 char *kwnames
[] = {
17667 (char *) "self",(char *) "second", NULL
17670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17673 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17674 if (PyErr_Occurred()) SWIG_fail
;
17677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17679 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17680 result
= (wxDateTime
*) &_result_ref
;
17683 wxPyEndAllowThreads(__tstate
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17686 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17693 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17694 PyObject
*resultobj
;
17695 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17697 wxDateTime
*result
;
17698 PyObject
* obj0
= 0 ;
17699 PyObject
* obj1
= 0 ;
17700 char *kwnames
[] = {
17701 (char *) "self",(char *) "millisecond", NULL
17704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17707 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17713 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17714 result
= (wxDateTime
*) &_result_ref
;
17717 wxPyEndAllowThreads(__tstate
);
17718 if (PyErr_Occurred()) SWIG_fail
;
17720 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17727 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17728 PyObject
*resultobj
;
17729 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17731 int arg3
= (int) wxDateTime::Monday_First
;
17732 wxDateTime
*result
;
17733 PyObject
* obj0
= 0 ;
17734 PyObject
* obj1
= 0 ;
17735 PyObject
* obj2
= 0 ;
17736 char *kwnames
[] = {
17737 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17743 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17748 arg3
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj2
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17755 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17756 result
= (wxDateTime
*) &_result_ref
;
17759 wxPyEndAllowThreads(__tstate
);
17760 if (PyErr_Occurred()) SWIG_fail
;
17762 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17769 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17770 PyObject
*resultobj
;
17771 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17773 int arg3
= (int) wxDateTime::Monday_First
;
17775 PyObject
* obj0
= 0 ;
17776 PyObject
* obj1
= 0 ;
17777 PyObject
* obj2
= 0 ;
17778 char *kwnames
[] = {
17779 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17785 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17790 arg3
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj2
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17796 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17798 wxPyEndAllowThreads(__tstate
);
17799 if (PyErr_Occurred()) SWIG_fail
;
17802 wxDateTime
* resultptr
;
17803 resultptr
= new wxDateTime((wxDateTime
&) result
);
17804 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17812 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17813 PyObject
*resultobj
;
17814 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17816 wxDateTime
*result
;
17817 PyObject
* obj0
= 0 ;
17818 PyObject
* obj1
= 0 ;
17819 char *kwnames
[] = {
17820 (char *) "self",(char *) "weekday", NULL
17823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17826 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17827 if (PyErr_Occurred()) SWIG_fail
;
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17832 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
17833 result
= (wxDateTime
*) &_result_ref
;
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17839 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17846 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
;
17848 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17851 PyObject
* obj0
= 0 ;
17852 PyObject
* obj1
= 0 ;
17853 char *kwnames
[] = {
17854 (char *) "self",(char *) "weekday", NULL
17857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17860 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17871 wxDateTime
* resultptr
;
17872 resultptr
= new wxDateTime((wxDateTime
&) result
);
17873 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17881 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17882 PyObject
*resultobj
;
17883 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17885 wxDateTime
*result
;
17886 PyObject
* obj0
= 0 ;
17887 PyObject
* obj1
= 0 ;
17888 char *kwnames
[] = {
17889 (char *) "self",(char *) "weekday", NULL
17892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17895 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17901 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17902 result
= (wxDateTime
*) &_result_ref
;
17905 wxPyEndAllowThreads(__tstate
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17908 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17915 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
;
17917 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17920 PyObject
* obj0
= 0 ;
17921 PyObject
* obj1
= 0 ;
17922 char *kwnames
[] = {
17923 (char *) "self",(char *) "weekday", NULL
17926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17929 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17930 if (PyErr_Occurred()) SWIG_fail
;
17933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17934 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17940 wxDateTime
* resultptr
;
17941 resultptr
= new wxDateTime((wxDateTime
&) result
);
17942 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17950 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17951 PyObject
*resultobj
;
17952 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17954 int arg3
= (int) 1 ;
17955 int arg4
= (int) wxDateTime::Inv_Month
;
17956 int arg5
= (int) wxDateTime::Inv_Year
;
17958 PyObject
* obj0
= 0 ;
17959 PyObject
* obj1
= 0 ;
17960 PyObject
* obj2
= 0 ;
17961 PyObject
* obj3
= 0 ;
17962 PyObject
* obj4
= 0 ;
17963 char *kwnames
[] = {
17964 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
17967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17970 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17975 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17981 arg4
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj3
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17987 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17993 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18005 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18009 int arg3
= (int) wxDateTime::Inv_Month
;
18010 int arg4
= (int) wxDateTime::Inv_Year
;
18012 PyObject
* obj0
= 0 ;
18013 PyObject
* obj1
= 0 ;
18014 PyObject
* obj2
= 0 ;
18015 PyObject
* obj3
= 0 ;
18016 char *kwnames
[] = {
18017 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18023 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18028 arg3
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj2
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18034 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18052 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
;
18054 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18056 int arg3
= (int) wxDateTime::Inv_Month
;
18057 int arg4
= (int) wxDateTime::Inv_Year
;
18059 PyObject
* obj0
= 0 ;
18060 PyObject
* obj1
= 0 ;
18061 PyObject
* obj2
= 0 ;
18062 PyObject
* obj3
= 0 ;
18063 char *kwnames
[] = {
18064 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18070 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18075 arg3
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj2
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18081 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18087 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18089 wxPyEndAllowThreads(__tstate
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18093 wxDateTime
* resultptr
;
18094 resultptr
= new wxDateTime((wxDateTime
&) result
);
18095 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18103 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18104 PyObject
*resultobj
;
18105 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18107 int arg3
= (int) wxDateTime::Mon
;
18108 int arg4
= (int) wxDateTime::Monday_First
;
18110 PyObject
* obj0
= 0 ;
18111 PyObject
* obj1
= 0 ;
18112 PyObject
* obj2
= 0 ;
18113 PyObject
* obj3
= 0 ;
18114 char *kwnames
[] = {
18115 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18121 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18126 arg3
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj2
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18132 arg4
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj3
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18140 wxPyEndAllowThreads(__tstate
);
18141 if (PyErr_Occurred()) SWIG_fail
;
18143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18150 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18151 PyObject
*resultobj
;
18152 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18154 int arg3
= (int) wxDateTime::Mon
;
18155 int arg4
= (int) wxDateTime::Monday_First
;
18157 PyObject
* obj0
= 0 ;
18158 PyObject
* obj1
= 0 ;
18159 PyObject
* obj2
= 0 ;
18160 PyObject
* obj3
= 0 ;
18161 char *kwnames
[] = {
18162 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18168 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18173 arg3
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj2
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18179 arg4
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj3
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18191 wxDateTime
* resultptr
;
18192 resultptr
= new wxDateTime((wxDateTime
&) result
);
18193 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18201 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
;
18203 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18204 int arg2
= (int) wxDateTime::Inv_Month
;
18205 int arg3
= (int) wxDateTime::Inv_Year
;
18206 wxDateTime
*result
;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18209 PyObject
* obj2
= 0 ;
18210 char *kwnames
[] = {
18211 (char *) "self",(char *) "month",(char *) "year", NULL
18214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18218 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
18219 if (PyErr_Occurred()) SWIG_fail
;
18224 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
18225 if (PyErr_Occurred()) SWIG_fail
;
18229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18232 result
= (wxDateTime
*) &_result_ref
;
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18245 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18246 PyObject
*resultobj
;
18247 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18248 int arg2
= (int) wxDateTime::Inv_Month
;
18249 int arg3
= (int) wxDateTime::Inv_Year
;
18251 PyObject
* obj0
= 0 ;
18252 PyObject
* obj1
= 0 ;
18253 PyObject
* obj2
= 0 ;
18254 char *kwnames
[] = {
18255 (char *) "self",(char *) "month",(char *) "year", NULL
18258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18262 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18268 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
18269 if (PyErr_Occurred()) SWIG_fail
;
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18280 wxDateTime
* resultptr
;
18281 resultptr
= new wxDateTime((wxDateTime
&) result
);
18282 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18290 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18291 PyObject
*resultobj
;
18292 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18294 wxDateTime
*result
;
18295 PyObject
* obj0
= 0 ;
18296 PyObject
* obj1
= 0 ;
18297 char *kwnames
[] = {
18298 (char *) "self",(char *) "yday", NULL
18301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18304 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18311 result
= (wxDateTime
*) &_result_ref
;
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18324 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
;
18326 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18329 PyObject
* obj0
= 0 ;
18330 PyObject
* obj1
= 0 ;
18331 char *kwnames
[] = {
18332 (char *) "self",(char *) "yday", NULL
18335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18338 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18343 result
= (arg1
)->GetYearDay(arg2
);
18345 wxPyEndAllowThreads(__tstate
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18349 wxDateTime
* resultptr
;
18350 resultptr
= new wxDateTime((wxDateTime
&) result
);
18351 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18359 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18360 PyObject
*resultobj
;
18361 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18363 PyObject
* obj0
= 0 ;
18364 char *kwnames
[] = {
18365 (char *) "self", NULL
18368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 result
= (double)(arg1
)->GetJulianDayNumber();
18374 wxPyEndAllowThreads(__tstate
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18377 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18384 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
;
18386 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18388 PyObject
* obj0
= 0 ;
18389 char *kwnames
[] = {
18390 (char *) "self", NULL
18393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18397 result
= (double)(arg1
)->GetJDN();
18399 wxPyEndAllowThreads(__tstate
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18402 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18409 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18410 PyObject
*resultobj
;
18411 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18413 PyObject
* obj0
= 0 ;
18414 char *kwnames
[] = {
18415 (char *) "self", NULL
18418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18427 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18434 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
;
18436 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18438 PyObject
* obj0
= 0 ;
18439 char *kwnames
[] = {
18440 (char *) "self", NULL
18443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 result
= (double)(arg1
)->GetMJD();
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18459 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
;
18461 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18463 PyObject
* obj0
= 0 ;
18464 char *kwnames
[] = {
18465 (char *) "self", NULL
18468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 result
= (double)(arg1
)->GetRataDie();
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18477 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18484 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18485 PyObject
*resultobj
;
18486 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18487 wxDateTime::TimeZone
*arg2
= 0 ;
18488 bool arg3
= (bool) False
;
18490 bool temp2
= False
;
18491 PyObject
* obj0
= 0 ;
18492 PyObject
* obj1
= 0 ;
18493 PyObject
* obj2
= 0 ;
18494 char *kwnames
[] = {
18495 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18501 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18506 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18518 wxDateTime
* resultptr
;
18519 resultptr
= new wxDateTime((wxDateTime
&) result
);
18520 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18523 if (temp2
) delete arg2
;
18528 if (temp2
) delete arg2
;
18534 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18535 PyObject
*resultobj
;
18536 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18537 wxDateTime::TimeZone
*arg2
= 0 ;
18538 bool arg3
= (bool) False
;
18539 wxDateTime
*result
;
18540 bool temp2
= False
;
18541 PyObject
* obj0
= 0 ;
18542 PyObject
* obj1
= 0 ;
18543 PyObject
* obj2
= 0 ;
18544 char *kwnames
[] = {
18545 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18551 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18556 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18563 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18564 result
= (wxDateTime
*) &_result_ref
;
18567 wxPyEndAllowThreads(__tstate
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18570 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18572 if (temp2
) delete arg2
;
18577 if (temp2
) delete arg2
;
18583 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18584 PyObject
*resultobj
;
18585 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18586 bool arg2
= (bool) False
;
18588 PyObject
* obj0
= 0 ;
18589 PyObject
* obj1
= 0 ;
18590 char *kwnames
[] = {
18591 (char *) "self",(char *) "noDST", NULL
18594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18598 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18604 result
= (arg1
)->ToGMT(arg2
);
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18610 wxDateTime
* resultptr
;
18611 resultptr
= new wxDateTime((wxDateTime
&) result
);
18612 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18620 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18621 PyObject
*resultobj
;
18622 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18623 bool arg2
= (bool) False
;
18624 wxDateTime
*result
;
18625 PyObject
* obj0
= 0 ;
18626 PyObject
* obj1
= 0 ;
18627 char *kwnames
[] = {
18628 (char *) "self",(char *) "noDST", NULL
18631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18635 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18643 result
= (wxDateTime
*) &_result_ref
;
18646 wxPyEndAllowThreads(__tstate
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18649 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18656 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18657 PyObject
*resultobj
;
18658 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18659 int arg2
= (int) wxDateTime::Country_Default
;
18661 PyObject
* obj0
= 0 ;
18662 PyObject
* obj1
= 0 ;
18663 char *kwnames
[] = {
18664 (char *) "self",(char *) "country", NULL
18667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18671 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18677 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18679 wxPyEndAllowThreads(__tstate
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18682 resultobj
= SWIG_PyObj_FromInt((int)result
);
18689 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
;
18691 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18693 PyObject
* obj0
= 0 ;
18694 char *kwnames
[] = {
18695 (char *) "self", NULL
18698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18714 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18715 PyObject
*resultobj
;
18716 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18718 PyObject
* obj0
= 0 ;
18719 char *kwnames
[] = {
18720 (char *) "self", NULL
18723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18727 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18729 wxPyEndAllowThreads(__tstate
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18732 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
18739 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18740 PyObject
*resultobj
;
18741 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18742 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18743 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18745 bool temp2
= False
;
18746 PyObject
* obj0
= 0 ;
18747 PyObject
* obj1
= 0 ;
18748 char *kwnames
[] = {
18749 (char *) "self",(char *) "tz", NULL
18752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18756 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 resultobj
= SWIG_PyObj_FromInt((int)result
);
18769 if (temp2
) delete arg2
;
18774 if (temp2
) delete arg2
;
18780 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
;
18782 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18783 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18784 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18786 bool temp2
= False
;
18787 PyObject
* obj0
= 0 ;
18788 PyObject
* obj1
= 0 ;
18789 char *kwnames
[] = {
18790 (char *) "self",(char *) "tz", NULL
18793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18797 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18808 resultobj
= SWIG_PyObj_FromInt((int)result
);
18810 if (temp2
) delete arg2
;
18815 if (temp2
) delete arg2
;
18821 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18822 PyObject
*resultobj
;
18823 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18824 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18825 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18827 bool temp2
= False
;
18828 PyObject
* obj0
= 0 ;
18829 PyObject
* obj1
= 0 ;
18830 char *kwnames
[] = {
18831 (char *) "self",(char *) "tz", NULL
18834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18838 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18844 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
18846 wxPyEndAllowThreads(__tstate
);
18847 if (PyErr_Occurred()) SWIG_fail
;
18849 resultobj
= SWIG_PyObj_FromInt((int)result
);
18851 if (temp2
) delete arg2
;
18856 if (temp2
) delete arg2
;
18862 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18863 PyObject
*resultobj
;
18864 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18865 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18866 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18868 bool temp2
= False
;
18869 PyObject
* obj0
= 0 ;
18870 PyObject
* obj1
= 0 ;
18871 char *kwnames
[] = {
18872 (char *) "self",(char *) "tz", NULL
18875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18879 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18890 resultobj
= SWIG_PyObj_FromInt((int)result
);
18892 if (temp2
) delete arg2
;
18897 if (temp2
) delete arg2
;
18903 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18904 PyObject
*resultobj
;
18905 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18906 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18907 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18909 bool temp2
= False
;
18910 PyObject
* obj0
= 0 ;
18911 PyObject
* obj1
= 0 ;
18912 char *kwnames
[] = {
18913 (char *) "self",(char *) "tz", NULL
18916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18920 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18926 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
18928 wxPyEndAllowThreads(__tstate
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18931 resultobj
= SWIG_PyObj_FromInt((int)result
);
18933 if (temp2
) delete arg2
;
18938 if (temp2
) delete arg2
;
18944 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18946 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18947 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18948 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18950 bool temp2
= False
;
18951 PyObject
* obj0
= 0 ;
18952 PyObject
* obj1
= 0 ;
18953 char *kwnames
[] = {
18954 (char *) "self",(char *) "tz", NULL
18957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18961 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18967 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
18969 wxPyEndAllowThreads(__tstate
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18972 resultobj
= SWIG_PyObj_FromInt((int)result
);
18974 if (temp2
) delete arg2
;
18979 if (temp2
) delete arg2
;
18985 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18986 PyObject
*resultobj
;
18987 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18988 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18989 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18991 bool temp2
= False
;
18992 PyObject
* obj0
= 0 ;
18993 PyObject
* obj1
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self",(char *) "tz", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19002 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19008 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19010 wxPyEndAllowThreads(__tstate
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19013 resultobj
= SWIG_PyObj_FromInt((int)result
);
19015 if (temp2
) delete arg2
;
19020 if (temp2
) delete arg2
;
19026 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19027 PyObject
*resultobj
;
19028 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19029 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19030 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19032 bool temp2
= False
;
19033 PyObject
* obj0
= 0 ;
19034 PyObject
* obj1
= 0 ;
19035 char *kwnames
[] = {
19036 (char *) "self",(char *) "tz", NULL
19039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19043 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19049 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19051 wxPyEndAllowThreads(__tstate
);
19052 if (PyErr_Occurred()) SWIG_fail
;
19054 resultobj
= SWIG_PyObj_FromInt((int)result
);
19056 if (temp2
) delete arg2
;
19061 if (temp2
) delete arg2
;
19067 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19068 PyObject
*resultobj
;
19069 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19070 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19071 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19073 bool temp2
= False
;
19074 PyObject
* obj0
= 0 ;
19075 PyObject
* obj1
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "self",(char *) "tz", NULL
19080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19084 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19090 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19092 wxPyEndAllowThreads(__tstate
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19095 resultobj
= SWIG_PyObj_FromInt((int)result
);
19097 if (temp2
) delete arg2
;
19102 if (temp2
) delete arg2
;
19108 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
;
19110 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19111 int arg2
= (int) wxDateTime::Monday_First
;
19112 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19113 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19115 bool temp3
= False
;
19116 PyObject
* obj0
= 0 ;
19117 PyObject
* obj1
= 0 ;
19118 PyObject
* obj2
= 0 ;
19119 char *kwnames
[] = {
19120 (char *) "self",(char *) "flags",(char *) "tz", NULL
19123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19127 arg2
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj1
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19133 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19144 resultobj
= SWIG_PyObj_FromInt((int)result
);
19146 if (temp3
) delete arg3
;
19151 if (temp3
) delete arg3
;
19157 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
;
19159 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19160 int arg2
= (int) wxDateTime::Monday_First
;
19161 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19162 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19164 bool temp3
= False
;
19165 PyObject
* obj0
= 0 ;
19166 PyObject
* obj1
= 0 ;
19167 PyObject
* obj2
= 0 ;
19168 char *kwnames
[] = {
19169 (char *) "self",(char *) "flags",(char *) "tz", NULL
19172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19176 arg2
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj1
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19182 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19190 wxPyEndAllowThreads(__tstate
);
19191 if (PyErr_Occurred()) SWIG_fail
;
19193 resultobj
= SWIG_PyObj_FromInt((int)result
);
19195 if (temp3
) delete arg3
;
19200 if (temp3
) delete arg3
;
19206 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19207 PyObject
*resultobj
;
19208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19209 int arg2
= (int) wxDateTime::Country_Default
;
19211 PyObject
* obj0
= 0 ;
19212 PyObject
* obj1
= 0 ;
19213 char *kwnames
[] = {
19214 (char *) "self",(char *) "country", NULL
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19221 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
19222 if (PyErr_Occurred()) SWIG_fail
;
19226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19227 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19229 wxPyEndAllowThreads(__tstate
);
19230 if (PyErr_Occurred()) SWIG_fail
;
19232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19239 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19240 PyObject
*resultobj
;
19241 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19242 wxDateTime
*arg2
= 0 ;
19244 PyObject
* obj0
= 0 ;
19245 PyObject
* obj1
= 0 ;
19246 char *kwnames
[] = {
19247 (char *) "self",(char *) "datetime", NULL
19250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19252 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19253 if (arg2
== NULL
) {
19254 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19258 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19260 wxPyEndAllowThreads(__tstate
);
19261 if (PyErr_Occurred()) SWIG_fail
;
19263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19270 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
;
19272 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19273 wxDateTime
*arg2
= 0 ;
19275 PyObject
* obj0
= 0 ;
19276 PyObject
* obj1
= 0 ;
19277 char *kwnames
[] = {
19278 (char *) "self",(char *) "datetime", NULL
19281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19283 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19284 if (arg2
== NULL
) {
19285 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19289 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19291 wxPyEndAllowThreads(__tstate
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19301 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19302 PyObject
*resultobj
;
19303 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19304 wxDateTime
*arg2
= 0 ;
19306 PyObject
* obj0
= 0 ;
19307 PyObject
* obj1
= 0 ;
19308 char *kwnames
[] = {
19309 (char *) "self",(char *) "datetime", NULL
19312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19314 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19315 if (arg2
== NULL
) {
19316 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19332 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19333 PyObject
*resultobj
;
19334 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19335 wxDateTime
*arg2
= 0 ;
19336 wxDateTime
*arg3
= 0 ;
19338 PyObject
* obj0
= 0 ;
19339 PyObject
* obj1
= 0 ;
19340 PyObject
* obj2
= 0 ;
19341 char *kwnames
[] = {
19342 (char *) "self",(char *) "t1",(char *) "t2", NULL
19345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19347 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19348 if (arg2
== NULL
) {
19349 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19351 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19352 if (arg3
== NULL
) {
19353 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19369 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19370 PyObject
*resultobj
;
19371 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19372 wxDateTime
*arg2
= 0 ;
19373 wxDateTime
*arg3
= 0 ;
19375 PyObject
* obj0
= 0 ;
19376 PyObject
* obj1
= 0 ;
19377 PyObject
* obj2
= 0 ;
19378 char *kwnames
[] = {
19379 (char *) "self",(char *) "t1",(char *) "t2", NULL
19382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19384 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19385 if (arg2
== NULL
) {
19386 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19388 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19389 if (arg3
== NULL
) {
19390 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19394 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19406 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19407 PyObject
*resultobj
;
19408 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19409 wxDateTime
*arg2
= 0 ;
19411 PyObject
* obj0
= 0 ;
19412 PyObject
* obj1
= 0 ;
19413 char *kwnames
[] = {
19414 (char *) "self",(char *) "dt", NULL
19417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19419 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19420 if (arg2
== NULL
) {
19421 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19427 wxPyEndAllowThreads(__tstate
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19437 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19438 PyObject
*resultobj
;
19439 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19440 wxDateTime
*arg2
= 0 ;
19442 PyObject
* obj0
= 0 ;
19443 PyObject
* obj1
= 0 ;
19444 char *kwnames
[] = {
19445 (char *) "self",(char *) "dt", NULL
19448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19450 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19451 if (arg2
== NULL
) {
19452 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19456 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19458 wxPyEndAllowThreads(__tstate
);
19459 if (PyErr_Occurred()) SWIG_fail
;
19461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19468 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19469 PyObject
*resultobj
;
19470 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19471 wxDateTime
*arg2
= 0 ;
19472 wxTimeSpan
*arg3
= 0 ;
19474 PyObject
* obj0
= 0 ;
19475 PyObject
* obj1
= 0 ;
19476 PyObject
* obj2
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "self",(char *) "dt",(char *) "ts", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19483 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19484 if (arg2
== NULL
) {
19485 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19487 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19488 if (arg3
== NULL
) {
19489 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19493 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19495 wxPyEndAllowThreads(__tstate
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19505 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19506 PyObject
*resultobj
;
19507 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19508 wxTimeSpan
*arg2
= 0 ;
19509 wxDateTime
*result
;
19510 PyObject
* obj0
= 0 ;
19511 PyObject
* obj1
= 0 ;
19512 char *kwnames
[] = {
19513 (char *) "self",(char *) "diff", NULL
19516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19518 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19519 if (arg2
== NULL
) {
19520 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19525 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19526 result
= (wxDateTime
*) &_result_ref
;
19529 wxPyEndAllowThreads(__tstate
);
19530 if (PyErr_Occurred()) SWIG_fail
;
19532 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19539 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19540 PyObject
*resultobj
;
19541 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19542 wxDateSpan
*arg2
= 0 ;
19543 wxDateTime
*result
;
19544 PyObject
* obj0
= 0 ;
19545 PyObject
* obj1
= 0 ;
19546 char *kwnames
[] = {
19547 (char *) "self",(char *) "diff", NULL
19550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19552 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19553 if (arg2
== NULL
) {
19554 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19560 result
= (wxDateTime
*) &_result_ref
;
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19566 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19573 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
;
19575 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19576 wxTimeSpan
*arg2
= 0 ;
19577 wxDateTime
*result
;
19578 PyObject
* obj0
= 0 ;
19579 PyObject
* obj1
= 0 ;
19580 char *kwnames
[] = {
19581 (char *) "self",(char *) "diff", NULL
19584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19586 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19587 if (arg2
== NULL
) {
19588 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19593 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19594 result
= (wxDateTime
*) &_result_ref
;
19597 wxPyEndAllowThreads(__tstate
);
19598 if (PyErr_Occurred()) SWIG_fail
;
19600 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19607 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19608 PyObject
*resultobj
;
19609 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19610 wxDateSpan
*arg2
= 0 ;
19611 wxDateTime
*result
;
19612 PyObject
* obj0
= 0 ;
19613 PyObject
* obj1
= 0 ;
19614 char *kwnames
[] = {
19615 (char *) "self",(char *) "diff", NULL
19618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19620 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19621 if (arg2
== NULL
) {
19622 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19628 result
= (wxDateTime
*) &_result_ref
;
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19634 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19641 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
;
19643 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19644 wxDateTime
*arg2
= 0 ;
19646 PyObject
* obj0
= 0 ;
19647 PyObject
* obj1
= 0 ;
19648 char *kwnames
[] = {
19649 (char *) "self",(char *) "dt", NULL
19652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19654 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19655 if (arg2
== NULL
) {
19656 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19666 wxTimeSpan
* resultptr
;
19667 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19668 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19676 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19677 PyObject
*resultobj
;
19678 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19679 wxTimeSpan
*arg2
= 0 ;
19680 wxDateTime
*result
;
19681 PyObject
* obj0
= 0 ;
19682 PyObject
* obj1
= 0 ;
19684 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19686 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19687 if (arg2
== NULL
) {
19688 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19693 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19694 result
= (wxDateTime
*) &_result_ref
;
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19700 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19707 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
19708 PyObject
*resultobj
;
19709 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19710 wxDateSpan
*arg2
= 0 ;
19711 wxDateTime
*result
;
19712 PyObject
* obj0
= 0 ;
19713 PyObject
* obj1
= 0 ;
19715 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19717 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19718 if (arg2
== NULL
) {
19719 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19724 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
19725 result
= (wxDateTime
*) &_result_ref
;
19728 wxPyEndAllowThreads(__tstate
);
19729 if (PyErr_Occurred()) SWIG_fail
;
19731 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19738 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
19743 argc
= PyObject_Length(args
);
19744 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19745 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19751 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19761 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19769 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
19777 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19787 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19795 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
19800 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
19805 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
19806 PyObject
*resultobj
;
19807 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19808 wxTimeSpan
*arg2
= 0 ;
19809 wxDateTime
*result
;
19810 PyObject
* obj0
= 0 ;
19811 PyObject
* obj1
= 0 ;
19813 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19815 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19816 if (arg2
== NULL
) {
19817 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
19823 result
= (wxDateTime
*) &_result_ref
;
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19829 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19836 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
19837 PyObject
*resultobj
;
19838 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19839 wxDateSpan
*arg2
= 0 ;
19840 wxDateTime
*result
;
19841 PyObject
* obj0
= 0 ;
19842 PyObject
* obj1
= 0 ;
19844 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19846 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19847 if (arg2
== NULL
) {
19848 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19853 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
19854 result
= (wxDateTime
*) &_result_ref
;
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19860 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19867 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
19872 argc
= PyObject_Length(args
);
19873 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19874 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19880 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19890 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19898 return _wrap_DateTime___isub____SWIG_0(self
,args
);
19906 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19916 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19924 return _wrap_DateTime___isub____SWIG_1(self
,args
);
19929 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
19934 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
19935 PyObject
*resultobj
;
19936 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19937 wxTimeSpan
*arg2
= 0 ;
19939 PyObject
* obj0
= 0 ;
19940 PyObject
* obj1
= 0 ;
19942 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
19943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19944 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19945 if (arg2
== NULL
) {
19946 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19950 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
19952 wxPyEndAllowThreads(__tstate
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19956 wxDateTime
* resultptr
;
19957 resultptr
= new wxDateTime((wxDateTime
&) result
);
19958 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
19966 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
19967 PyObject
*resultobj
;
19968 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19969 wxDateSpan
*arg2
= 0 ;
19971 PyObject
* obj0
= 0 ;
19972 PyObject
* obj1
= 0 ;
19974 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
19975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19976 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19977 if (arg2
== NULL
) {
19978 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19982 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19988 wxDateTime
* resultptr
;
19989 resultptr
= new wxDateTime((wxDateTime
&) result
);
19990 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
19998 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20003 argc
= PyObject_Length(args
);
20004 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20005 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20011 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20021 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20029 return _wrap_DateTime___add____SWIG_0(self
,args
);
20037 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20047 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20055 return _wrap_DateTime___add____SWIG_1(self
,args
);
20060 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20065 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20066 PyObject
*resultobj
;
20067 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20068 wxDateTime
*arg2
= 0 ;
20070 PyObject
* obj0
= 0 ;
20071 PyObject
* obj1
= 0 ;
20073 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20075 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20076 if (arg2
== NULL
) {
20077 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20081 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20083 wxPyEndAllowThreads(__tstate
);
20084 if (PyErr_Occurred()) SWIG_fail
;
20087 wxTimeSpan
* resultptr
;
20088 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20089 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20097 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20098 PyObject
*resultobj
;
20099 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20100 wxTimeSpan
*arg2
= 0 ;
20102 PyObject
* obj0
= 0 ;
20103 PyObject
* obj1
= 0 ;
20105 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20107 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20108 if (arg2
== NULL
) {
20109 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20113 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20115 wxPyEndAllowThreads(__tstate
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20119 wxDateTime
* resultptr
;
20120 resultptr
= new wxDateTime((wxDateTime
&) result
);
20121 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
20129 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20130 PyObject
*resultobj
;
20131 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20132 wxDateSpan
*arg2
= 0 ;
20134 PyObject
* obj0
= 0 ;
20135 PyObject
* obj1
= 0 ;
20137 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20139 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20140 if (arg2
== NULL
) {
20141 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20151 wxDateTime
* resultptr
;
20152 resultptr
= new wxDateTime((wxDateTime
&) result
);
20153 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
20161 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20166 argc
= PyObject_Length(args
);
20167 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20168 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20174 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20184 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20192 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20200 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20210 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20218 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20226 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20236 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20244 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20249 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20254 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20255 PyObject
*resultobj
;
20256 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20257 wxDateTime
*arg2
= 0 ;
20259 PyObject
* obj0
= 0 ;
20260 PyObject
* obj1
= 0 ;
20262 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20264 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20265 if (arg2
== NULL
) {
20266 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20270 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const &)*arg2
);
20272 wxPyEndAllowThreads(__tstate
);
20273 if (PyErr_Occurred()) SWIG_fail
;
20275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20282 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20283 PyObject
*resultobj
;
20284 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20285 wxDateTime
*arg2
= 0 ;
20287 PyObject
* obj0
= 0 ;
20288 PyObject
* obj1
= 0 ;
20290 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20292 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20293 if (arg2
== NULL
) {
20294 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20298 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const &)*arg2
);
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20310 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20311 PyObject
*resultobj
;
20312 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20313 wxDateTime
*arg2
= 0 ;
20315 PyObject
* obj0
= 0 ;
20316 PyObject
* obj1
= 0 ;
20318 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20320 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20321 if (arg2
== NULL
) {
20322 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20326 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const &)*arg2
);
20328 wxPyEndAllowThreads(__tstate
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20338 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20339 PyObject
*resultobj
;
20340 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20341 wxDateTime
*arg2
= 0 ;
20343 PyObject
* obj0
= 0 ;
20344 PyObject
* obj1
= 0 ;
20346 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20348 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20349 if (arg2
== NULL
) {
20350 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20354 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const &)*arg2
);
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20366 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20367 PyObject
*resultobj
;
20368 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20369 wxDateTime
*arg2
= 0 ;
20371 PyObject
* obj0
= 0 ;
20372 PyObject
* obj1
= 0 ;
20374 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20376 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20377 if (arg2
== NULL
) {
20378 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20382 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const &)*arg2
);
20384 wxPyEndAllowThreads(__tstate
);
20385 if (PyErr_Occurred()) SWIG_fail
;
20387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20394 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20395 PyObject
*resultobj
;
20396 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20397 wxDateTime
*arg2
= 0 ;
20399 PyObject
* obj0
= 0 ;
20400 PyObject
* obj1
= 0 ;
20402 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20404 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20405 if (arg2
== NULL
) {
20406 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20410 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const &)*arg2
);
20412 wxPyEndAllowThreads(__tstate
);
20413 if (PyErr_Occurred()) SWIG_fail
;
20415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20422 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20423 PyObject
*resultobj
;
20424 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20425 wxString
*arg2
= 0 ;
20427 bool temp2
= False
;
20428 PyObject
* obj0
= 0 ;
20429 PyObject
* obj1
= 0 ;
20430 char *kwnames
[] = {
20431 (char *) "self",(char *) "date", NULL
20434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20437 arg2
= wxString_in_helper(obj1
);
20438 if (arg2
== NULL
) SWIG_fail
;
20442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20443 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20445 wxPyEndAllowThreads(__tstate
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20448 resultobj
= SWIG_PyObj_FromInt((int)result
);
20463 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20465 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20466 wxString
*arg2
= 0 ;
20467 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20468 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20469 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20470 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20472 bool temp2
= False
;
20473 bool temp3
= False
;
20474 PyObject
* obj0
= 0 ;
20475 PyObject
* obj1
= 0 ;
20476 PyObject
* obj2
= 0 ;
20477 PyObject
* obj3
= 0 ;
20478 char *kwnames
[] = {
20479 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20485 arg2
= wxString_in_helper(obj1
);
20486 if (arg2
== NULL
) SWIG_fail
;
20491 arg3
= wxString_in_helper(obj2
);
20492 if (arg3
== NULL
) SWIG_fail
;
20497 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20498 if (arg4
== NULL
) {
20499 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20504 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20506 wxPyEndAllowThreads(__tstate
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20509 resultobj
= SWIG_PyObj_FromInt((int)result
);
20532 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20533 PyObject
*resultobj
;
20534 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20535 wxString
*arg2
= 0 ;
20537 bool temp2
= False
;
20538 PyObject
* obj0
= 0 ;
20539 PyObject
* obj1
= 0 ;
20540 char *kwnames
[] = {
20541 (char *) "self",(char *) "datetime", NULL
20544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20547 arg2
= wxString_in_helper(obj1
);
20548 if (arg2
== NULL
) SWIG_fail
;
20552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20553 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20555 wxPyEndAllowThreads(__tstate
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20558 resultobj
= SWIG_PyObj_FromInt((int)result
);
20573 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
;
20575 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20576 wxString
*arg2
= 0 ;
20578 bool temp2
= False
;
20579 PyObject
* obj0
= 0 ;
20580 PyObject
* obj1
= 0 ;
20581 char *kwnames
[] = {
20582 (char *) "self",(char *) "date", NULL
20585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20588 arg2
= wxString_in_helper(obj1
);
20589 if (arg2
== NULL
) SWIG_fail
;
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20594 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20599 resultobj
= SWIG_PyObj_FromInt((int)result
);
20614 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20615 PyObject
*resultobj
;
20616 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20617 wxString
*arg2
= 0 ;
20619 bool temp2
= False
;
20620 PyObject
* obj0
= 0 ;
20621 PyObject
* obj1
= 0 ;
20622 char *kwnames
[] = {
20623 (char *) "self",(char *) "time", NULL
20626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20629 arg2
= wxString_in_helper(obj1
);
20630 if (arg2
== NULL
) SWIG_fail
;
20634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20635 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20637 wxPyEndAllowThreads(__tstate
);
20638 if (PyErr_Occurred()) SWIG_fail
;
20640 resultobj
= SWIG_PyObj_FromInt((int)result
);
20655 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20656 PyObject
*resultobj
;
20657 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20658 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20659 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20660 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20661 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20663 bool temp2
= False
;
20664 bool temp3
= False
;
20665 PyObject
* obj0
= 0 ;
20666 PyObject
* obj1
= 0 ;
20667 PyObject
* obj2
= 0 ;
20668 char *kwnames
[] = {
20669 (char *) "self",(char *) "format",(char *) "tz", NULL
20672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20676 arg2
= wxString_in_helper(obj1
);
20677 if (arg2
== NULL
) SWIG_fail
;
20683 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20689 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20691 wxPyEndAllowThreads(__tstate
);
20692 if (PyErr_Occurred()) SWIG_fail
;
20696 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20698 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20706 if (temp3
) delete arg3
;
20715 if (temp3
) delete arg3
;
20721 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20722 PyObject
*resultobj
;
20723 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20725 PyObject
* obj0
= 0 ;
20726 char *kwnames
[] = {
20727 (char *) "self", NULL
20730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
20731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 result
= ((wxDateTime
const *)arg1
)->FormatDate();
20736 wxPyEndAllowThreads(__tstate
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20741 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20743 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20752 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20753 PyObject
*resultobj
;
20754 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20756 PyObject
* obj0
= 0 ;
20757 char *kwnames
[] = {
20758 (char *) "self", NULL
20761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
20762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20765 result
= ((wxDateTime
const *)arg1
)->FormatTime();
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20772 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20774 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20783 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20784 PyObject
*resultobj
;
20785 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20787 PyObject
* obj0
= 0 ;
20788 char *kwnames
[] = {
20789 (char *) "self", NULL
20792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
20793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
20798 wxPyEndAllowThreads(__tstate
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20814 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20815 PyObject
*resultobj
;
20816 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20818 PyObject
* obj0
= 0 ;
20819 char *kwnames
[] = {
20820 (char *) "self", NULL
20823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
20824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20827 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20834 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20836 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20845 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
20847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20848 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
20850 return Py_BuildValue((char *)"");
20852 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20853 PyObject
*resultobj
;
20856 PyObject
* obj0
= 0 ;
20857 char *kwnames
[] = {
20858 (char *) "sec", NULL
20861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
20863 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 result
= wxTimeSpan::Seconds(arg1
);
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20874 wxTimeSpan
* resultptr
;
20875 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20876 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20884 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20885 PyObject
*resultobj
;
20887 char *kwnames
[] = {
20891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
20893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20894 result
= wxTimeSpan::Second();
20896 wxPyEndAllowThreads(__tstate
);
20897 if (PyErr_Occurred()) SWIG_fail
;
20900 wxTimeSpan
* resultptr
;
20901 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20902 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20910 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20911 PyObject
*resultobj
;
20914 PyObject
* obj0
= 0 ;
20915 char *kwnames
[] = {
20916 (char *) "min", NULL
20919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
20921 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 result
= wxTimeSpan::Minutes(arg1
);
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20932 wxTimeSpan
* resultptr
;
20933 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20934 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20942 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20943 PyObject
*resultobj
;
20945 char *kwnames
[] = {
20949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
20951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20952 result
= wxTimeSpan::Minute();
20954 wxPyEndAllowThreads(__tstate
);
20955 if (PyErr_Occurred()) SWIG_fail
;
20958 wxTimeSpan
* resultptr
;
20959 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20960 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20968 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20969 PyObject
*resultobj
;
20972 PyObject
* obj0
= 0 ;
20973 char *kwnames
[] = {
20974 (char *) "hours", NULL
20977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
20979 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
20980 if (PyErr_Occurred()) SWIG_fail
;
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 result
= wxTimeSpan::Hours(arg1
);
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20990 wxTimeSpan
* resultptr
;
20991 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20992 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21000 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
;
21003 char *kwnames
[] = {
21007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21010 result
= wxTimeSpan::Hour();
21012 wxPyEndAllowThreads(__tstate
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21016 wxTimeSpan
* resultptr
;
21017 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21018 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21026 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21027 PyObject
*resultobj
;
21030 PyObject
* obj0
= 0 ;
21031 char *kwnames
[] = {
21032 (char *) "days", NULL
21035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21037 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
21038 if (PyErr_Occurred()) SWIG_fail
;
21041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21042 result
= wxTimeSpan::Days(arg1
);
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21048 wxTimeSpan
* resultptr
;
21049 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21050 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21058 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21059 PyObject
*resultobj
;
21061 char *kwnames
[] = {
21065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 result
= wxTimeSpan::Day();
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21074 wxTimeSpan
* resultptr
;
21075 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21076 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21084 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21085 PyObject
*resultobj
;
21088 PyObject
* obj0
= 0 ;
21089 char *kwnames
[] = {
21090 (char *) "days", NULL
21093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21095 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21100 result
= wxTimeSpan::Weeks(arg1
);
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21106 wxTimeSpan
* resultptr
;
21107 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21108 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21116 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21117 PyObject
*resultobj
;
21119 char *kwnames
[] = {
21123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21126 result
= wxTimeSpan::Week();
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21132 wxTimeSpan
* resultptr
;
21133 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21134 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21142 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21143 PyObject
*resultobj
;
21144 long arg1
= (long) 0 ;
21145 long arg2
= (long) 0 ;
21146 long arg3
= (long) 0 ;
21147 long arg4
= (long) 0 ;
21148 wxTimeSpan
*result
;
21149 PyObject
* obj0
= 0 ;
21150 PyObject
* obj1
= 0 ;
21151 PyObject
* obj2
= 0 ;
21152 PyObject
* obj3
= 0 ;
21153 char *kwnames
[] = {
21154 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21160 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21166 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21172 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21173 if (PyErr_Occurred()) SWIG_fail
;
21178 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21184 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21186 wxPyEndAllowThreads(__tstate
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21189 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 1);
21196 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21197 PyObject
*resultobj
;
21198 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21199 PyObject
* obj0
= 0 ;
21200 char *kwnames
[] = {
21201 (char *) "self", NULL
21204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21213 Py_INCREF(Py_None
); resultobj
= Py_None
;
21220 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21221 PyObject
*resultobj
;
21222 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21223 wxTimeSpan
*arg2
= 0 ;
21224 wxTimeSpan
*result
;
21225 PyObject
* obj0
= 0 ;
21226 PyObject
* obj1
= 0 ;
21227 char *kwnames
[] = {
21228 (char *) "self",(char *) "diff", NULL
21231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21233 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21234 if (arg2
== NULL
) {
21235 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21241 result
= (wxTimeSpan
*) &_result_ref
;
21244 wxPyEndAllowThreads(__tstate
);
21245 if (PyErr_Occurred()) SWIG_fail
;
21247 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21254 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21255 PyObject
*resultobj
;
21256 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21257 wxTimeSpan
*arg2
= 0 ;
21258 wxTimeSpan
*result
;
21259 PyObject
* obj0
= 0 ;
21260 PyObject
* obj1
= 0 ;
21261 char *kwnames
[] = {
21262 (char *) "self",(char *) "diff", NULL
21265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21267 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21268 if (arg2
== NULL
) {
21269 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21274 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21275 result
= (wxTimeSpan
*) &_result_ref
;
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21281 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21288 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21289 PyObject
*resultobj
;
21290 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21292 wxTimeSpan
*result
;
21293 PyObject
* obj0
= 0 ;
21294 PyObject
* obj1
= 0 ;
21295 char *kwnames
[] = {
21296 (char *) "self",(char *) "n", NULL
21299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21302 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21308 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21309 result
= (wxTimeSpan
*) &_result_ref
;
21312 wxPyEndAllowThreads(__tstate
);
21313 if (PyErr_Occurred()) SWIG_fail
;
21315 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21322 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21323 PyObject
*resultobj
;
21324 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21325 wxTimeSpan
*result
;
21326 PyObject
* obj0
= 0 ;
21327 char *kwnames
[] = {
21328 (char *) "self", NULL
21331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21336 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21337 result
= (wxTimeSpan
*) &_result_ref
;
21340 wxPyEndAllowThreads(__tstate
);
21341 if (PyErr_Occurred()) SWIG_fail
;
21343 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21350 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21351 PyObject
*resultobj
;
21352 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21354 PyObject
* obj0
= 0 ;
21355 char *kwnames
[] = {
21356 (char *) "self", NULL
21359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21363 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21365 wxPyEndAllowThreads(__tstate
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21369 wxTimeSpan
* resultptr
;
21370 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21371 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21379 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21380 PyObject
*resultobj
;
21381 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21382 wxTimeSpan
*arg2
= 0 ;
21383 wxTimeSpan
*result
;
21384 PyObject
* obj0
= 0 ;
21385 PyObject
* obj1
= 0 ;
21386 char *kwnames
[] = {
21387 (char *) "self",(char *) "diff", NULL
21390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21392 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21393 if (arg2
== NULL
) {
21394 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21400 result
= (wxTimeSpan
*) &_result_ref
;
21403 wxPyEndAllowThreads(__tstate
);
21404 if (PyErr_Occurred()) SWIG_fail
;
21406 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21413 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21414 PyObject
*resultobj
;
21415 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21416 wxTimeSpan
*arg2
= 0 ;
21417 wxTimeSpan
*result
;
21418 PyObject
* obj0
= 0 ;
21419 PyObject
* obj1
= 0 ;
21420 char *kwnames
[] = {
21421 (char *) "self",(char *) "diff", NULL
21424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21426 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21427 if (arg2
== NULL
) {
21428 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21433 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21434 result
= (wxTimeSpan
*) &_result_ref
;
21437 wxPyEndAllowThreads(__tstate
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21440 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21447 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21448 PyObject
*resultobj
;
21449 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21451 wxTimeSpan
*result
;
21452 PyObject
* obj0
= 0 ;
21453 PyObject
* obj1
= 0 ;
21454 char *kwnames
[] = {
21455 (char *) "self",(char *) "n", NULL
21458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21461 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21462 if (PyErr_Occurred()) SWIG_fail
;
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21467 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21468 result
= (wxTimeSpan
*) &_result_ref
;
21471 wxPyEndAllowThreads(__tstate
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21474 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21481 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21482 PyObject
*resultobj
;
21483 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21484 wxTimeSpan
*result
;
21485 PyObject
* obj0
= 0 ;
21486 char *kwnames
[] = {
21487 (char *) "self", NULL
21490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21496 result
= (wxTimeSpan
*) &_result_ref
;
21499 wxPyEndAllowThreads(__tstate
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21502 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21509 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
;
21511 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21512 wxTimeSpan
*arg2
= 0 ;
21514 PyObject
* obj0
= 0 ;
21515 PyObject
* obj1
= 0 ;
21516 char *kwnames
[] = {
21517 (char *) "self",(char *) "other", NULL
21520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21522 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21523 if (arg2
== NULL
) {
21524 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21528 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21530 wxPyEndAllowThreads(__tstate
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21534 wxTimeSpan
* resultptr
;
21535 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21536 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21544 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21545 PyObject
*resultobj
;
21546 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21547 wxTimeSpan
*arg2
= 0 ;
21549 PyObject
* obj0
= 0 ;
21550 PyObject
* obj1
= 0 ;
21551 char *kwnames
[] = {
21552 (char *) "self",(char *) "other", NULL
21555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21557 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21558 if (arg2
== NULL
) {
21559 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21563 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21565 wxPyEndAllowThreads(__tstate
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21569 wxTimeSpan
* resultptr
;
21570 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21571 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21579 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21580 PyObject
*resultobj
;
21581 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21584 PyObject
* obj0
= 0 ;
21585 PyObject
* obj1
= 0 ;
21586 char *kwnames
[] = {
21587 (char *) "self",(char *) "n", NULL
21590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21593 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21598 result
= wxTimeSpan___mul__(arg1
,arg2
);
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21604 wxTimeSpan
* resultptr
;
21605 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21606 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21614 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21615 PyObject
*resultobj
;
21616 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21619 PyObject
* obj0
= 0 ;
21620 PyObject
* obj1
= 0 ;
21621 char *kwnames
[] = {
21622 (char *) "self",(char *) "n", NULL
21625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21628 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21633 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21635 wxPyEndAllowThreads(__tstate
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21639 wxTimeSpan
* resultptr
;
21640 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21641 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21649 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21650 PyObject
*resultobj
;
21651 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21652 wxTimeSpan
*arg2
= 0 ;
21654 PyObject
* obj0
= 0 ;
21655 PyObject
* obj1
= 0 ;
21656 char *kwnames
[] = {
21657 (char *) "self",(char *) "other", NULL
21660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21662 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21663 if (arg2
== NULL
) {
21664 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21668 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const &)*arg2
);
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21680 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21681 PyObject
*resultobj
;
21682 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21683 wxTimeSpan
*arg2
= 0 ;
21685 PyObject
* obj0
= 0 ;
21686 PyObject
* obj1
= 0 ;
21687 char *kwnames
[] = {
21688 (char *) "self",(char *) "other", NULL
21691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
21692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21693 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21694 if (arg2
== NULL
) {
21695 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21699 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const &)*arg2
);
21701 wxPyEndAllowThreads(__tstate
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21711 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21712 PyObject
*resultobj
;
21713 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21714 wxTimeSpan
*arg2
= 0 ;
21716 PyObject
* obj0
= 0 ;
21717 PyObject
* obj1
= 0 ;
21718 char *kwnames
[] = {
21719 (char *) "self",(char *) "other", NULL
21722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21724 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21725 if (arg2
== NULL
) {
21726 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const &)*arg2
);
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21742 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21743 PyObject
*resultobj
;
21744 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21745 wxTimeSpan
*arg2
= 0 ;
21747 PyObject
* obj0
= 0 ;
21748 PyObject
* obj1
= 0 ;
21749 char *kwnames
[] = {
21750 (char *) "self",(char *) "other", NULL
21753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
21754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21755 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21756 if (arg2
== NULL
) {
21757 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21761 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const &)*arg2
);
21763 wxPyEndAllowThreads(__tstate
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21773 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21774 PyObject
*resultobj
;
21775 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21776 wxTimeSpan
*arg2
= 0 ;
21778 PyObject
* obj0
= 0 ;
21779 PyObject
* obj1
= 0 ;
21780 char *kwnames
[] = {
21781 (char *) "self",(char *) "other", NULL
21784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
21785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21786 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21787 if (arg2
== NULL
) {
21788 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21792 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const &)*arg2
);
21794 wxPyEndAllowThreads(__tstate
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21804 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21805 PyObject
*resultobj
;
21806 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21807 wxTimeSpan
*arg2
= 0 ;
21809 PyObject
* obj0
= 0 ;
21810 PyObject
* obj1
= 0 ;
21811 char *kwnames
[] = {
21812 (char *) "self",(char *) "other", NULL
21815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
21816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21817 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21818 if (arg2
== NULL
) {
21819 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21823 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const &)*arg2
);
21825 wxPyEndAllowThreads(__tstate
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21835 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21836 PyObject
*resultobj
;
21837 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21839 PyObject
* obj0
= 0 ;
21840 char *kwnames
[] = {
21841 (char *) "self", NULL
21844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
21845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21848 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
21850 wxPyEndAllowThreads(__tstate
);
21851 if (PyErr_Occurred()) SWIG_fail
;
21853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21860 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21861 PyObject
*resultobj
;
21862 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21864 PyObject
* obj0
= 0 ;
21865 char *kwnames
[] = {
21866 (char *) "self", NULL
21869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
21870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21873 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
21875 wxPyEndAllowThreads(__tstate
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21885 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21886 PyObject
*resultobj
;
21887 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21889 PyObject
* obj0
= 0 ;
21890 char *kwnames
[] = {
21891 (char *) "self", NULL
21894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
21895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
21900 wxPyEndAllowThreads(__tstate
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21910 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21913 wxTimeSpan
*arg2
= 0 ;
21915 PyObject
* obj0
= 0 ;
21916 PyObject
* obj1
= 0 ;
21917 char *kwnames
[] = {
21918 (char *) "self",(char *) "ts", NULL
21921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21923 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21924 if (arg2
== NULL
) {
21925 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21941 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21942 PyObject
*resultobj
;
21943 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21944 wxTimeSpan
*arg2
= 0 ;
21946 PyObject
* obj0
= 0 ;
21947 PyObject
* obj1
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self",(char *) "ts", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21954 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21955 if (arg2
== NULL
) {
21956 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21960 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
21962 wxPyEndAllowThreads(__tstate
);
21963 if (PyErr_Occurred()) SWIG_fail
;
21965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21972 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21973 PyObject
*resultobj
;
21974 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21975 wxTimeSpan
*arg2
= 0 ;
21977 PyObject
* obj0
= 0 ;
21978 PyObject
* obj1
= 0 ;
21979 char *kwnames
[] = {
21980 (char *) "self",(char *) "t", NULL
21983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21985 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21986 if (arg2
== NULL
) {
21987 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21991 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
21993 wxPyEndAllowThreads(__tstate
);
21994 if (PyErr_Occurred()) SWIG_fail
;
21996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22003 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22004 PyObject
*resultobj
;
22005 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22007 PyObject
* obj0
= 0 ;
22008 char *kwnames
[] = {
22009 (char *) "self", NULL
22012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22016 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22018 wxPyEndAllowThreads(__tstate
);
22019 if (PyErr_Occurred()) SWIG_fail
;
22021 resultobj
= SWIG_PyObj_FromInt((int)result
);
22028 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22029 PyObject
*resultobj
;
22030 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22032 PyObject
* obj0
= 0 ;
22033 char *kwnames
[] = {
22034 (char *) "self", NULL
22037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22046 resultobj
= SWIG_PyObj_FromInt((int)result
);
22053 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
;
22055 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22057 PyObject
* obj0
= 0 ;
22058 char *kwnames
[] = {
22059 (char *) "self", NULL
22062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22068 wxPyEndAllowThreads(__tstate
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22071 resultobj
= SWIG_PyObj_FromInt((int)result
);
22078 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22079 PyObject
*resultobj
;
22080 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22082 PyObject
* obj0
= 0 ;
22083 char *kwnames
[] = {
22084 (char *) "self", NULL
22087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22091 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22093 wxPyEndAllowThreads(__tstate
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22096 resultobj
= SWIG_PyObj_FromInt((int)result
);
22103 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22104 PyObject
*resultobj
;
22105 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22107 PyObject
* obj0
= 0 ;
22108 char *kwnames
[] = {
22109 (char *) "self", NULL
22112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22116 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22118 wxPyEndAllowThreads(__tstate
);
22119 if (PyErr_Occurred()) SWIG_fail
;
22122 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22123 hi
= PyLong_FromLong( (&result
)->GetHi() );
22124 lo
= PyLong_FromLong( (&result
)->GetLo() );
22125 shifter
= PyLong_FromLong(32);
22126 shifted
= PyNumber_Lshift(hi
, shifter
);
22127 resultobj
= PyNumber_Or(shifted
, lo
);
22130 Py_DECREF(shifter
);
22131 Py_DECREF(shifted
);
22139 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
;
22141 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22143 PyObject
* obj0
= 0 ;
22144 char *kwnames
[] = {
22145 (char *) "self", NULL
22148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22152 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22154 wxPyEndAllowThreads(__tstate
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22158 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22159 hi
= PyLong_FromLong( (&result
)->GetHi() );
22160 lo
= PyLong_FromLong( (&result
)->GetLo() );
22161 shifter
= PyLong_FromLong(32);
22162 shifted
= PyNumber_Lshift(hi
, shifter
);
22163 resultobj
= PyNumber_Or(shifted
, lo
);
22166 Py_DECREF(shifter
);
22167 Py_DECREF(shifted
);
22175 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
;
22177 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22178 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22179 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22181 bool temp2
= False
;
22182 PyObject
* obj0
= 0 ;
22183 PyObject
* obj1
= 0 ;
22184 char *kwnames
[] = {
22185 (char *) "self",(char *) "format", NULL
22188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22192 arg2
= wxString_in_helper(obj1
);
22193 if (arg2
== NULL
) SWIG_fail
;
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22225 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22228 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22230 return Py_BuildValue((char *)"");
22232 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
;
22234 int arg1
= (int) 0 ;
22235 int arg2
= (int) 0 ;
22236 int arg3
= (int) 0 ;
22237 int arg4
= (int) 0 ;
22238 wxDateSpan
*result
;
22239 PyObject
* obj0
= 0 ;
22240 PyObject
* obj1
= 0 ;
22241 PyObject
* obj2
= 0 ;
22242 PyObject
* obj3
= 0 ;
22243 char *kwnames
[] = {
22244 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22250 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22256 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22262 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22268 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22274 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22276 wxPyEndAllowThreads(__tstate
);
22277 if (PyErr_Occurred()) SWIG_fail
;
22279 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 1);
22286 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22287 PyObject
*resultobj
;
22288 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22289 PyObject
* obj0
= 0 ;
22290 char *kwnames
[] = {
22291 (char *) "self", NULL
22294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22303 Py_INCREF(Py_None
); resultobj
= Py_None
;
22310 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22311 PyObject
*resultobj
;
22314 PyObject
* obj0
= 0 ;
22315 char *kwnames
[] = {
22316 (char *) "days", NULL
22319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22321 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22326 result
= wxDateSpan::Days(arg1
);
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22332 wxDateSpan
* resultptr
;
22333 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22334 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22342 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22343 PyObject
*resultobj
;
22345 char *kwnames
[] = {
22349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22352 result
= wxDateSpan::Day();
22354 wxPyEndAllowThreads(__tstate
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22358 wxDateSpan
* resultptr
;
22359 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22360 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22368 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22369 PyObject
*resultobj
;
22372 PyObject
* obj0
= 0 ;
22373 char *kwnames
[] = {
22374 (char *) "weeks", NULL
22377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22379 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22384 result
= wxDateSpan::Weeks(arg1
);
22386 wxPyEndAllowThreads(__tstate
);
22387 if (PyErr_Occurred()) SWIG_fail
;
22390 wxDateSpan
* resultptr
;
22391 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22392 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22400 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22401 PyObject
*resultobj
;
22403 char *kwnames
[] = {
22407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22410 result
= wxDateSpan::Week();
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22416 wxDateSpan
* resultptr
;
22417 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22418 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22426 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22427 PyObject
*resultobj
;
22430 PyObject
* obj0
= 0 ;
22431 char *kwnames
[] = {
22432 (char *) "mon", NULL
22435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22437 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22442 result
= wxDateSpan::Months(arg1
);
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22448 wxDateSpan
* resultptr
;
22449 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22450 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22458 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22459 PyObject
*resultobj
;
22461 char *kwnames
[] = {
22465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22468 result
= wxDateSpan::Month();
22470 wxPyEndAllowThreads(__tstate
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22474 wxDateSpan
* resultptr
;
22475 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22476 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22484 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22485 PyObject
*resultobj
;
22488 PyObject
* obj0
= 0 ;
22489 char *kwnames
[] = {
22490 (char *) "years", NULL
22493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22495 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22496 if (PyErr_Occurred()) SWIG_fail
;
22499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22500 result
= wxDateSpan::Years(arg1
);
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22506 wxDateSpan
* resultptr
;
22507 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22508 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22516 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
;
22519 char *kwnames
[] = {
22523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 result
= wxDateSpan::Year();
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22532 wxDateSpan
* resultptr
;
22533 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22534 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22542 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22543 PyObject
*resultobj
;
22544 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22546 wxDateSpan
*result
;
22547 PyObject
* obj0
= 0 ;
22548 PyObject
* obj1
= 0 ;
22549 char *kwnames
[] = {
22550 (char *) "self",(char *) "n", NULL
22553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22556 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22557 if (PyErr_Occurred()) SWIG_fail
;
22560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22562 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22563 result
= (wxDateSpan
*) &_result_ref
;
22566 wxPyEndAllowThreads(__tstate
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22569 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22576 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22577 PyObject
*resultobj
;
22578 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22580 wxDateSpan
*result
;
22581 PyObject
* obj0
= 0 ;
22582 PyObject
* obj1
= 0 ;
22583 char *kwnames
[] = {
22584 (char *) "self",(char *) "n", NULL
22587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22590 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22596 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22597 result
= (wxDateSpan
*) &_result_ref
;
22600 wxPyEndAllowThreads(__tstate
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22603 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22610 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22611 PyObject
*resultobj
;
22612 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22614 wxDateSpan
*result
;
22615 PyObject
* obj0
= 0 ;
22616 PyObject
* obj1
= 0 ;
22617 char *kwnames
[] = {
22618 (char *) "self",(char *) "n", NULL
22621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22624 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22625 if (PyErr_Occurred()) SWIG_fail
;
22628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22630 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22631 result
= (wxDateSpan
*) &_result_ref
;
22634 wxPyEndAllowThreads(__tstate
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22637 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22644 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22645 PyObject
*resultobj
;
22646 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22648 wxDateSpan
*result
;
22649 PyObject
* obj0
= 0 ;
22650 PyObject
* obj1
= 0 ;
22651 char *kwnames
[] = {
22652 (char *) "self",(char *) "n", NULL
22655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
22656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22658 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22664 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
22665 result
= (wxDateSpan
*) &_result_ref
;
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22671 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22678 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22679 PyObject
*resultobj
;
22680 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22682 PyObject
* obj0
= 0 ;
22683 char *kwnames
[] = {
22684 (char *) "self", NULL
22687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
22688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22691 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
22693 wxPyEndAllowThreads(__tstate
);
22694 if (PyErr_Occurred()) SWIG_fail
;
22696 resultobj
= SWIG_PyObj_FromInt((int)result
);
22703 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22704 PyObject
*resultobj
;
22705 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22707 PyObject
* obj0
= 0 ;
22708 char *kwnames
[] = {
22709 (char *) "self", NULL
22712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
22713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22716 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
22718 wxPyEndAllowThreads(__tstate
);
22719 if (PyErr_Occurred()) SWIG_fail
;
22721 resultobj
= SWIG_PyObj_FromInt((int)result
);
22728 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22729 PyObject
*resultobj
;
22730 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22732 PyObject
* obj0
= 0 ;
22733 char *kwnames
[] = {
22734 (char *) "self", NULL
22737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22741 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= SWIG_PyObj_FromInt((int)result
);
22753 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
;
22755 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22757 PyObject
* obj0
= 0 ;
22758 char *kwnames
[] = {
22759 (char *) "self", NULL
22762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22766 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
22768 wxPyEndAllowThreads(__tstate
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22771 resultobj
= SWIG_PyObj_FromInt((int)result
);
22778 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22779 PyObject
*resultobj
;
22780 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22782 PyObject
* obj0
= 0 ;
22783 char *kwnames
[] = {
22784 (char *) "self", NULL
22787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
22788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22791 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
22793 wxPyEndAllowThreads(__tstate
);
22794 if (PyErr_Occurred()) SWIG_fail
;
22796 resultobj
= SWIG_PyObj_FromInt((int)result
);
22803 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22804 PyObject
*resultobj
;
22805 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22806 wxDateSpan
*arg2
= 0 ;
22807 wxDateSpan
*result
;
22808 PyObject
* obj0
= 0 ;
22809 PyObject
* obj1
= 0 ;
22810 char *kwnames
[] = {
22811 (char *) "self",(char *) "other", NULL
22814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22816 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22817 if (arg2
== NULL
) {
22818 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22823 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22824 result
= (wxDateSpan
*) &_result_ref
;
22827 wxPyEndAllowThreads(__tstate
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22830 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22837 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22838 PyObject
*resultobj
;
22839 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22840 wxDateSpan
*arg2
= 0 ;
22841 wxDateSpan
*result
;
22842 PyObject
* obj0
= 0 ;
22843 PyObject
* obj1
= 0 ;
22844 char *kwnames
[] = {
22845 (char *) "self",(char *) "other", NULL
22848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22850 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22851 if (arg2
== NULL
) {
22852 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22858 result
= (wxDateSpan
*) &_result_ref
;
22861 wxPyEndAllowThreads(__tstate
);
22862 if (PyErr_Occurred()) SWIG_fail
;
22864 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22871 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22872 PyObject
*resultobj
;
22873 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22874 wxDateSpan
*result
;
22875 PyObject
* obj0
= 0 ;
22876 char *kwnames
[] = {
22877 (char *) "self", NULL
22880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
22881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22885 wxDateSpan
&_result_ref
= (arg1
)->Neg();
22886 result
= (wxDateSpan
*) &_result_ref
;
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22892 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22899 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22900 PyObject
*resultobj
;
22901 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22903 wxDateSpan
*result
;
22904 PyObject
* obj0
= 0 ;
22905 PyObject
* obj1
= 0 ;
22906 char *kwnames
[] = {
22907 (char *) "self",(char *) "factor", NULL
22910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22913 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22919 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22920 result
= (wxDateSpan
*) &_result_ref
;
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22926 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22933 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22934 PyObject
*resultobj
;
22935 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22936 wxDateSpan
*arg2
= 0 ;
22937 wxDateSpan
*result
;
22938 PyObject
* obj0
= 0 ;
22939 PyObject
* obj1
= 0 ;
22940 char *kwnames
[] = {
22941 (char *) "self",(char *) "other", NULL
22944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22946 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22947 if (arg2
== NULL
) {
22948 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22953 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22954 result
= (wxDateSpan
*) &_result_ref
;
22957 wxPyEndAllowThreads(__tstate
);
22958 if (PyErr_Occurred()) SWIG_fail
;
22960 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22967 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22968 PyObject
*resultobj
;
22969 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22970 wxDateSpan
*arg2
= 0 ;
22971 wxDateSpan
*result
;
22972 PyObject
* obj0
= 0 ;
22973 PyObject
* obj1
= 0 ;
22974 char *kwnames
[] = {
22975 (char *) "self",(char *) "other", NULL
22978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22980 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22981 if (arg2
== NULL
) {
22982 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22987 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22988 result
= (wxDateSpan
*) &_result_ref
;
22991 wxPyEndAllowThreads(__tstate
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22994 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
23001 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23002 PyObject
*resultobj
;
23003 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23004 wxDateSpan
*result
;
23005 PyObject
* obj0
= 0 ;
23006 char *kwnames
[] = {
23007 (char *) "self", NULL
23010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23016 result
= (wxDateSpan
*) &_result_ref
;
23019 wxPyEndAllowThreads(__tstate
);
23020 if (PyErr_Occurred()) SWIG_fail
;
23022 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
23029 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23030 PyObject
*resultobj
;
23031 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23033 wxDateSpan
*result
;
23034 PyObject
* obj0
= 0 ;
23035 PyObject
* obj1
= 0 ;
23036 char *kwnames
[] = {
23037 (char *) "self",(char *) "factor", NULL
23040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23043 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23049 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23050 result
= (wxDateSpan
*) &_result_ref
;
23053 wxPyEndAllowThreads(__tstate
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23056 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
23063 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23064 PyObject
*resultobj
;
23065 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23066 wxDateSpan
*arg2
= 0 ;
23068 PyObject
* obj0
= 0 ;
23069 PyObject
* obj1
= 0 ;
23070 char *kwnames
[] = {
23071 (char *) "self",(char *) "other", NULL
23074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23076 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23077 if (arg2
== NULL
) {
23078 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23082 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23084 wxPyEndAllowThreads(__tstate
);
23085 if (PyErr_Occurred()) SWIG_fail
;
23088 wxDateSpan
* resultptr
;
23089 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23090 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
23098 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23099 PyObject
*resultobj
;
23100 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23101 wxDateSpan
*arg2
= 0 ;
23103 PyObject
* obj0
= 0 ;
23104 PyObject
* obj1
= 0 ;
23105 char *kwnames
[] = {
23106 (char *) "self",(char *) "other", NULL
23109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23111 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23112 if (arg2
== NULL
) {
23113 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23117 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23119 wxPyEndAllowThreads(__tstate
);
23120 if (PyErr_Occurred()) SWIG_fail
;
23123 wxDateSpan
* resultptr
;
23124 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23125 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
23133 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23134 PyObject
*resultobj
;
23135 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23138 PyObject
* obj0
= 0 ;
23139 PyObject
* obj1
= 0 ;
23140 char *kwnames
[] = {
23141 (char *) "self",(char *) "n", NULL
23144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23147 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23152 result
= wxDateSpan___mul__(arg1
,arg2
);
23154 wxPyEndAllowThreads(__tstate
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23158 wxDateSpan
* resultptr
;
23159 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23160 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
23168 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23169 PyObject
*resultobj
;
23170 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23173 PyObject
* obj0
= 0 ;
23174 PyObject
* obj1
= 0 ;
23175 char *kwnames
[] = {
23176 (char *) "self",(char *) "n", NULL
23179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23182 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23187 result
= wxDateSpan___rmul__(arg1
,arg2
);
23189 wxPyEndAllowThreads(__tstate
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23193 wxDateSpan
* resultptr
;
23194 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23195 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
23203 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23204 PyObject
*resultobj
;
23205 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23206 wxDateSpan
*arg2
= 0 ;
23208 PyObject
* obj0
= 0 ;
23209 PyObject
* obj1
= 0 ;
23210 char *kwnames
[] = {
23211 (char *) "self",(char *) "other", NULL
23214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23216 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23217 if (arg2
== NULL
) {
23218 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23222 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const &)*arg2
);
23224 wxPyEndAllowThreads(__tstate
);
23225 if (PyErr_Occurred()) SWIG_fail
;
23227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23234 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23235 PyObject
*resultobj
;
23236 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23237 wxDateSpan
*arg2
= 0 ;
23239 PyObject
* obj0
= 0 ;
23240 PyObject
* obj1
= 0 ;
23241 char *kwnames
[] = {
23242 (char *) "self",(char *) "other", NULL
23245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23247 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23248 if (arg2
== NULL
) {
23249 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const &)*arg2
);
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23265 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23268 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23270 return Py_BuildValue((char *)"");
23272 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23273 PyObject
*resultobj
;
23275 char *kwnames
[] = {
23279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23282 result
= (long)wxGetLocalTime();
23284 wxPyEndAllowThreads(__tstate
);
23285 if (PyErr_Occurred()) SWIG_fail
;
23287 resultobj
= SWIG_PyObj_FromLong((long)result
);
23294 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23295 PyObject
*resultobj
;
23297 char *kwnames
[] = {
23301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23304 result
= (long)wxGetUTCTime();
23306 wxPyEndAllowThreads(__tstate
);
23307 if (PyErr_Occurred()) SWIG_fail
;
23309 resultobj
= SWIG_PyObj_FromLong((long)result
);
23316 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23317 PyObject
*resultobj
;
23319 char *kwnames
[] = {
23323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 result
= (long)wxGetCurrentTime();
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 resultobj
= SWIG_PyObj_FromLong((long)result
);
23338 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23341 char *kwnames
[] = {
23345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 result
= wxGetLocalTimeMillis();
23350 wxPyEndAllowThreads(__tstate
);
23351 if (PyErr_Occurred()) SWIG_fail
;
23354 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23355 hi
= PyLong_FromLong( (&result
)->GetHi() );
23356 lo
= PyLong_FromLong( (&result
)->GetLo() );
23357 shifter
= PyLong_FromLong(32);
23358 shifted
= PyNumber_Lshift(hi
, shifter
);
23359 resultobj
= PyNumber_Or(shifted
, lo
);
23362 Py_DECREF(shifter
);
23363 Py_DECREF(shifted
);
23371 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
;
23374 wxDataFormat
*result
;
23375 PyObject
* obj0
= 0 ;
23376 char *kwnames
[] = {
23377 (char *) "type", NULL
23380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23382 arg1
= (wxDataFormatId
) SWIG_PyObj_AsInt(obj0
);
23383 if (PyErr_Occurred()) SWIG_fail
;
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23392 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
23399 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23400 PyObject
*resultobj
;
23401 wxString
*arg1
= 0 ;
23402 wxDataFormat
*result
;
23403 bool temp1
= False
;
23404 PyObject
* obj0
= 0 ;
23405 char *kwnames
[] = {
23406 (char *) "format", NULL
23409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23411 arg1
= wxString_in_helper(obj0
);
23412 if (arg1
== NULL
) SWIG_fail
;
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23419 wxPyEndAllowThreads(__tstate
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23422 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
23437 static 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
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
;
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23451 wxPyEndAllowThreads(__tstate
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23454 Py_INCREF(Py_None
); resultobj
= Py_None
;
23461 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23462 PyObject
*resultobj
;
23463 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23466 PyObject
* obj0
= 0 ;
23467 PyObject
* obj1
= 0 ;
23469 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23472 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23477 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
23479 wxPyEndAllowThreads(__tstate
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23489 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23490 PyObject
*resultobj
;
23491 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23494 PyObject
* obj0
= 0 ;
23495 PyObject
* obj1
= 0 ;
23497 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23500 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23501 if (PyErr_Occurred()) SWIG_fail
;
23504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23505 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
23507 wxPyEndAllowThreads(__tstate
);
23508 if (PyErr_Occurred()) SWIG_fail
;
23510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23517 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23518 PyObject
*resultobj
;
23519 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23520 wxDataFormat
*arg2
= 0 ;
23522 PyObject
* obj0
= 0 ;
23523 PyObject
* obj1
= 0 ;
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
;
23532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23533 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23535 wxPyEndAllowThreads(__tstate
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23545 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23550 argc
= PyObject_Length(args
);
23551 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23552 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23558 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23568 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23576 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23584 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23593 SWIG_PyObj_AsInt(argv
[1]);
23594 if (PyErr_Occurred()) {
23602 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
23607 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
23612 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
23613 PyObject
*resultobj
;
23614 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23615 wxDataFormat
*arg2
= 0 ;
23617 PyObject
* obj0
= 0 ;
23618 PyObject
* obj1
= 0 ;
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
;
23627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23628 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23640 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
23645 argc
= PyObject_Length(args
);
23646 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23647 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23653 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23663 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23671 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
23679 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23688 SWIG_PyObj_AsInt(argv
[1]);
23689 if (PyErr_Occurred()) {
23697 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
23702 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
23707 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23708 PyObject
*resultobj
;
23709 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23711 PyObject
* obj0
= 0 ;
23712 PyObject
* obj1
= 0 ;
23713 char *kwnames
[] = {
23714 (char *) "self",(char *) "format", NULL
23717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
23718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23720 arg2
= (wxDataFormatId
) SWIG_PyObj_AsInt(obj1
);
23721 if (PyErr_Occurred()) SWIG_fail
;
23724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23725 (arg1
)->SetType((wxDataFormatId
)arg2
);
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23730 Py_INCREF(Py_None
); resultobj
= Py_None
;
23737 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23738 PyObject
*resultobj
;
23739 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23741 PyObject
* obj0
= 0 ;
23742 char *kwnames
[] = {
23743 (char *) "self", NULL
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
;
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23755 resultobj
= SWIG_PyObj_FromInt((int)result
);
23762 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23763 PyObject
*resultobj
;
23764 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23766 PyObject
* obj0
= 0 ;
23767 char *kwnames
[] = {
23768 (char *) "self", NULL
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
;
23774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23775 result
= ((wxDataFormat
const *)arg1
)->GetId();
23777 wxPyEndAllowThreads(__tstate
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23784 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23793 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23794 PyObject
*resultobj
;
23795 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23796 wxString
*arg2
= 0 ;
23797 bool temp2
= False
;
23798 PyObject
* obj0
= 0 ;
23799 PyObject
* obj1
= 0 ;
23800 char *kwnames
[] = {
23801 (char *) "self",(char *) "format", NULL
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
;
23807 arg2
= wxString_in_helper(obj1
);
23808 if (arg2
== NULL
) SWIG_fail
;
23812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 (arg1
)->SetId((wxString
const &)*arg2
);
23815 wxPyEndAllowThreads(__tstate
);
23816 if (PyErr_Occurred()) SWIG_fail
;
23818 Py_INCREF(Py_None
); resultobj
= Py_None
;
23833 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
23835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23836 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
23838 return Py_BuildValue((char *)"");
23840 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
23841 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
23846 static PyObject
*_wrap_FormatInvalid_get() {
23849 pyobj
= SWIG_NewPointerObj((void *) &wxFormatInvalid
, SWIGTYPE_p_wxDataFormat
, 0);
23854 static 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
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
;
23865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23871 Py_INCREF(Py_None
); resultobj
= Py_None
;
23878 static 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 ;
23884 PyObject
* obj1
= 0 ;
23885 char *kwnames
[] = {
23886 (char *) "self",(char *) "dir", NULL
23889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
23890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23893 arg2
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj1
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23899 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
23901 wxPyEndAllowThreads(__tstate
);
23902 if (PyErr_Occurred()) SWIG_fail
;
23905 wxDataFormat
* resultptr
;
23906 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
23907 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDataFormat
, 1);
23915 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23916 PyObject
*resultobj
;
23917 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23918 int arg2
= (int) wxDataObject::Get
;
23920 PyObject
* obj0
= 0 ;
23921 PyObject
* obj1
= 0 ;
23922 char *kwnames
[] = {
23923 (char *) "self",(char *) "dir", NULL
23926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23930 arg2
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj1
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23936 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
23938 wxPyEndAllowThreads(__tstate
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23941 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
23948 static 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
;
23954 PyObject
* obj0
= 0 ;
23955 PyObject
* obj1
= 0 ;
23956 PyObject
* obj2
= 0 ;
23957 char *kwnames
[] = {
23958 (char *) "self",(char *) "format",(char *) "dir", NULL
23961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
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
;
23969 arg3
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj2
);
23970 if (PyErr_Occurred()) SWIG_fail
;
23974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23975 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
23977 wxPyEndAllowThreads(__tstate
);
23978 if (PyErr_Occurred()) SWIG_fail
;
23980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23987 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23988 PyObject
*resultobj
;
23989 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23990 wxDataFormat
*arg2
= 0 ;
23992 PyObject
* obj0
= 0 ;
23993 PyObject
* obj1
= 0 ;
23994 char *kwnames
[] = {
23995 (char *) "self",(char *) "format", NULL
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
;
24005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24006 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24008 wxPyEndAllowThreads(__tstate
);
24009 if (PyErr_Occurred()) SWIG_fail
;
24011 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24018 static 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 ;
24025 PyObject
* obj2
= 0 ;
24026 char *kwnames
[] = {
24027 (char *) "self",(char *) "formats",(char *) "dir", NULL
24030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
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
;
24035 arg3
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj2
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24041 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24043 wxPyEndAllowThreads(__tstate
);
24044 if (PyErr_Occurred()) SWIG_fail
;
24046 Py_INCREF(Py_None
); resultobj
= Py_None
;
24053 static 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 ;
24059 PyObject
* obj0
= 0 ;
24060 PyObject
* obj1
= 0 ;
24061 PyObject
* obj2
= 0 ;
24062 char *kwnames
[] = {
24063 (char *) "self",(char *) "format",(char *) "buf", NULL
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
;
24072 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24087 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24088 PyObject
*resultobj
;
24089 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24090 wxDataFormat
*arg2
= 0 ;
24092 void *arg4
= (void *) 0 ;
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
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
;
24109 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
24110 if (PyErr_Occurred()) SWIG_fail
;
24112 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24127 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24130 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24132 return Py_BuildValue((char *)"");
24134 static 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
24144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
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
;
24152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24153 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24155 wxPyEndAllowThreads(__tstate
);
24156 if (PyErr_Occurred()) SWIG_fail
;
24158 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectSimple
, 1);
24165 static 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
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
;
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24179 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24180 result
= (wxDataFormat
*) &_result_ref
;
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 0);
24193 static 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
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
;
24210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24211 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24213 wxPyEndAllowThreads(__tstate
);
24214 if (PyErr_Occurred()) SWIG_fail
;
24216 Py_INCREF(Py_None
); resultobj
= Py_None
;
24223 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24226 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24228 return Py_BuildValue((char *)"");
24230 static 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
24240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
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
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24261 static 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
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
;
24278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24279 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24281 wxPyEndAllowThreads(__tstate
);
24282 if (PyErr_Occurred()) SWIG_fail
;
24284 Py_INCREF(Py_None
); resultobj
= Py_None
;
24291 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24294 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24296 return Py_BuildValue((char *)"");
24298 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24299 PyObject
*resultobj
;
24300 wxDataObjectComposite
*result
;
24301 char *kwnames
[] = {
24305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24310 wxPyEndAllowThreads(__tstate
);
24311 if (PyErr_Occurred()) SWIG_fail
;
24313 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectComposite
, 1);
24320 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24321 PyObject
*resultobj
;
24322 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24323 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24324 int arg3
= (int) False
;
24325 PyObject
* obj0
= 0 ;
24326 PyObject
* obj1
= 0 ;
24327 PyObject
* obj2
= 0 ;
24328 char *kwnames
[] = {
24329 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectComposite
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24334 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24337 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24343 (arg1
)->Add(arg2
,arg3
);
24345 wxPyEndAllowThreads(__tstate
);
24346 if (PyErr_Occurred()) SWIG_fail
;
24348 Py_INCREF(Py_None
); resultobj
= Py_None
;
24355 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24358 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24360 return Py_BuildValue((char *)"");
24362 static 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
;
24367 bool temp1
= False
;
24368 PyObject
* obj0
= 0 ;
24369 char *kwnames
[] = {
24370 (char *) "text", NULL
24373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24376 arg1
= wxString_in_helper(obj0
);
24377 if (arg1
== NULL
) SWIG_fail
;
24382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24383 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24385 wxPyEndAllowThreads(__tstate
);
24386 if (PyErr_Occurred()) SWIG_fail
;
24388 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextDataObject
, 1);
24403 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
;
24405 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24407 PyObject
* obj0
= 0 ;
24408 char *kwnames
[] = {
24409 (char *) "self", NULL
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
;
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 result
= (size_t)(arg1
)->GetTextLength();
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24428 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24429 PyObject
*resultobj
;
24430 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24432 PyObject
* obj0
= 0 ;
24433 char *kwnames
[] = {
24434 (char *) "self", NULL
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
;
24440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24441 result
= (arg1
)->GetText();
24443 wxPyEndAllowThreads(__tstate
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24459 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24460 PyObject
*resultobj
;
24461 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24462 wxString
*arg2
= 0 ;
24463 bool temp2
= False
;
24464 PyObject
* obj0
= 0 ;
24465 PyObject
* obj1
= 0 ;
24466 char *kwnames
[] = {
24467 (char *) "self",(char *) "text", NULL
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
;
24473 arg2
= wxString_in_helper(obj1
);
24474 if (arg2
== NULL
) SWIG_fail
;
24478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24479 (arg1
)->SetText((wxString
const &)*arg2
);
24481 wxPyEndAllowThreads(__tstate
);
24482 if (PyErr_Occurred()) SWIG_fail
;
24484 Py_INCREF(Py_None
); resultobj
= Py_None
;
24499 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24502 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24504 return Py_BuildValue((char *)"");
24506 static 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
;
24511 bool temp1
= False
;
24512 PyObject
* obj0
= 0 ;
24513 char *kwnames
[] = {
24514 (char *) "text", NULL
24517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24520 arg1
= wxString_in_helper(obj0
);
24521 if (arg1
== NULL
) SWIG_fail
;
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24529 wxPyEndAllowThreads(__tstate
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24532 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDataObject
, 1);
24547 static 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
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
;
24564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24565 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24567 wxPyEndAllowThreads(__tstate
);
24568 if (PyErr_Occurred()) SWIG_fail
;
24570 Py_INCREF(Py_None
); resultobj
= Py_None
;
24577 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24580 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
24582 return Py_BuildValue((char *)"");
24584 static 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
24594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
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
;
24602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24603 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
24605 wxPyEndAllowThreads(__tstate
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24608 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmapDataObject
, 1);
24615 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24616 PyObject
*resultobj
;
24617 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24619 PyObject
* obj0
= 0 ;
24620 char *kwnames
[] = {
24621 (char *) "self", NULL
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
;
24627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24628 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24634 wxBitmap
* resultptr
;
24635 resultptr
= new wxBitmap((wxBitmap
&) result
);
24636 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
24644 static 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
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
;
24661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24662 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
24664 wxPyEndAllowThreads(__tstate
);
24665 if (PyErr_Occurred()) SWIG_fail
;
24667 Py_INCREF(Py_None
); resultobj
= Py_None
;
24674 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24677 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
24679 return Py_BuildValue((char *)"");
24681 static 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
24691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
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
;
24699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24700 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
24702 wxPyEndAllowThreads(__tstate
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24705 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyBitmapDataObject
, 1);
24712 static 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
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
;
24729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24730 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24732 wxPyEndAllowThreads(__tstate
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24735 Py_INCREF(Py_None
); resultobj
= Py_None
;
24742 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24745 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
24747 return Py_BuildValue((char *)"");
24749 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24750 PyObject
*resultobj
;
24751 wxFileDataObject
*result
;
24752 char *kwnames
[] = {
24756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 result
= (wxFileDataObject
*)new wxFileDataObject();
24761 wxPyEndAllowThreads(__tstate
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24764 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDataObject
, 1);
24771 static 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
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
;
24783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24785 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
24786 result
= (wxArrayString
*) &_result_ref
;
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24793 resultobj
= wxArrayString2PyList_helper(*result
);
24801 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24804 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
24806 return Py_BuildValue((char *)"");
24808 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24809 PyObject
*resultobj
;
24810 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24811 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24812 wxCustomDataObject
*result
;
24813 PyObject
* obj0
= 0 ;
24814 char *kwnames
[] = {
24815 (char *) "format", NULL
24818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
24820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24821 if (arg1
== NULL
) {
24822 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24832 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCustomDataObject
, 1);
24839 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
;
24841 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24842 PyObject
*arg2
= (PyObject
*) 0 ;
24843 PyObject
* obj0
= 0 ;
24844 PyObject
* obj1
= 0 ;
24845 char *kwnames
[] = {
24846 (char *) "self",(char *) "data", NULL
24849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
24850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24854 wxCustomDataObject_TakeData(arg1
,arg2
);
24856 wxPyEndAllowThreads(__tstate
);
24857 if (PyErr_Occurred()) SWIG_fail
;
24859 Py_INCREF(Py_None
); resultobj
= Py_None
;
24866 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24867 PyObject
*resultobj
;
24868 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24869 PyObject
*arg2
= (PyObject
*) 0 ;
24871 PyObject
* obj0
= 0 ;
24872 PyObject
* obj1
= 0 ;
24873 char *kwnames
[] = {
24874 (char *) "self",(char *) "data", NULL
24877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24882 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
24884 wxPyEndAllowThreads(__tstate
);
24885 if (PyErr_Occurred()) SWIG_fail
;
24887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24894 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24895 PyObject
*resultobj
;
24896 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24898 PyObject
* obj0
= 0 ;
24899 char *kwnames
[] = {
24900 (char *) "self", NULL
24903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
24904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 result
= (size_t)(arg1
)->GetSize();
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24912 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24919 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24920 PyObject
*resultobj
;
24921 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24923 PyObject
* obj0
= 0 ;
24924 char *kwnames
[] = {
24925 (char *) "self", NULL
24928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
24929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24932 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
24934 wxPyEndAllowThreads(__tstate
);
24935 if (PyErr_Occurred()) SWIG_fail
;
24937 resultobj
= result
;
24944 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24947 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
24949 return Py_BuildValue((char *)"");
24951 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24952 PyObject
*resultobj
;
24953 wxURLDataObject
*result
;
24954 char *kwnames
[] = {
24958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
24960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24961 result
= (wxURLDataObject
*)new wxURLDataObject();
24963 wxPyEndAllowThreads(__tstate
);
24964 if (PyErr_Occurred()) SWIG_fail
;
24966 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxURLDataObject
, 1);
24973 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24974 PyObject
*resultobj
;
24975 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
24977 PyObject
* obj0
= 0 ;
24978 char *kwnames
[] = {
24979 (char *) "self", NULL
24982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
24983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24986 result
= (arg1
)->GetURL();
24988 wxPyEndAllowThreads(__tstate
);
24989 if (PyErr_Occurred()) SWIG_fail
;
24993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25004 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25005 PyObject
*resultobj
;
25006 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25007 wxString
*arg2
= 0 ;
25008 bool temp2
= False
;
25009 PyObject
* obj0
= 0 ;
25010 PyObject
* obj1
= 0 ;
25011 char *kwnames
[] = {
25012 (char *) "self",(char *) "url", NULL
25015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25018 arg2
= wxString_in_helper(obj1
);
25019 if (arg2
== NULL
) SWIG_fail
;
25023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25024 (arg1
)->SetURL((wxString
const &)*arg2
);
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25029 Py_INCREF(Py_None
); resultobj
= Py_None
;
25044 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25047 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25049 return Py_BuildValue((char *)"");
25051 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25052 PyObject
*resultobj
;
25053 wxMetafileDataObject
*result
;
25054 char *kwnames
[] = {
25058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25061 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25063 wxPyEndAllowThreads(__tstate
);
25064 if (PyErr_Occurred()) SWIG_fail
;
25066 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetafileDataObject
, 1);
25073 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25076 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25078 return Py_BuildValue((char *)"");
25080 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25081 PyObject
*resultobj
;
25084 PyObject
* obj0
= 0 ;
25085 char *kwnames
[] = {
25086 (char *) "res", NULL
25089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25091 arg1
= (wxDragResult
) SWIG_PyObj_AsInt(obj0
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25096 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25098 wxPyEndAllowThreads(__tstate
);
25099 if (PyErr_Occurred()) SWIG_fail
;
25101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25108 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25109 PyObject
*resultobj
;
25110 wxWindow
*arg1
= (wxWindow
*) 0 ;
25111 wxIcon
const &arg2_defvalue
= wxNullIcon
;
25112 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
25113 wxIcon
const &arg3_defvalue
= wxNullIcon
;
25114 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
25115 wxIcon
const &arg4_defvalue
= wxNullIcon
;
25116 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
25117 wxPyDropSource
*result
;
25118 PyObject
* obj0
= 0 ;
25119 PyObject
* obj1
= 0 ;
25120 PyObject
* obj2
= 0 ;
25121 PyObject
* obj3
= 0 ;
25122 char *kwnames
[] = {
25123 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25129 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25130 if (arg2
== NULL
) {
25131 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25135 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25136 if (arg3
== NULL
) {
25137 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25141 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25142 if (arg4
== NULL
) {
25143 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
25150 wxPyEndAllowThreads(__tstate
);
25151 if (PyErr_Occurred()) SWIG_fail
;
25153 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropSource
, 1);
25160 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25161 PyObject
*resultobj
;
25162 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25163 PyObject
*arg2
= (PyObject
*) 0 ;
25164 PyObject
*arg3
= (PyObject
*) 0 ;
25166 PyObject
* obj0
= 0 ;
25167 PyObject
* obj1
= 0 ;
25168 PyObject
* obj2
= 0 ;
25169 PyObject
* obj3
= 0 ;
25170 char *kwnames
[] = {
25171 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25179 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25180 if (PyErr_Occurred()) SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25189 Py_INCREF(Py_None
); resultobj
= Py_None
;
25196 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25197 PyObject
*resultobj
;
25198 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25199 PyObject
* obj0
= 0 ;
25200 char *kwnames
[] = {
25201 (char *) "self", NULL
25204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25210 wxPyEndAllowThreads(__tstate
);
25211 if (PyErr_Occurred()) SWIG_fail
;
25213 Py_INCREF(Py_None
); resultobj
= Py_None
;
25220 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25221 PyObject
*resultobj
;
25222 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25223 wxDataObject
*arg2
= 0 ;
25224 PyObject
* obj0
= 0 ;
25225 PyObject
* obj1
= 0 ;
25226 char *kwnames
[] = {
25227 (char *) "self",(char *) "data", NULL
25230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25232 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25233 if (arg2
== NULL
) {
25234 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25238 (arg1
)->SetData(*arg2
);
25240 wxPyEndAllowThreads(__tstate
);
25241 if (PyErr_Occurred()) SWIG_fail
;
25243 Py_INCREF(Py_None
); resultobj
= Py_None
;
25250 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25251 PyObject
*resultobj
;
25252 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25253 wxDataObject
*result
;
25254 PyObject
* obj0
= 0 ;
25255 char *kwnames
[] = {
25256 (char *) "self", NULL
25259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25263 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25265 wxPyEndAllowThreads(__tstate
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25268 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
25275 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25276 PyObject
*resultobj
;
25277 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25279 wxCursor
*arg3
= 0 ;
25280 PyObject
* obj0
= 0 ;
25281 PyObject
* obj1
= 0 ;
25282 PyObject
* obj2
= 0 ;
25283 char *kwnames
[] = {
25284 (char *) "self",(char *) "res",(char *) "cursor", NULL
25287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25290 arg2
= (wxDragResult
) SWIG_PyObj_AsInt(obj1
);
25291 if (PyErr_Occurred()) SWIG_fail
;
25293 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25294 if (arg3
== NULL
) {
25295 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25299 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25301 wxPyEndAllowThreads(__tstate
);
25302 if (PyErr_Occurred()) SWIG_fail
;
25304 Py_INCREF(Py_None
); resultobj
= Py_None
;
25311 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25312 PyObject
*resultobj
;
25313 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25314 int arg2
= (int) wxDrag_CopyOnly
;
25316 PyObject
* obj0
= 0 ;
25317 PyObject
* obj1
= 0 ;
25318 char *kwnames
[] = {
25319 (char *) "self",(char *) "flags", NULL
25322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25326 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25327 if (PyErr_Occurred()) SWIG_fail
;
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 result
= (int)(arg1
)->DoDragDrop(arg2
);
25334 wxPyEndAllowThreads(__tstate
);
25335 if (PyErr_Occurred()) SWIG_fail
;
25337 resultobj
= SWIG_PyObj_FromInt((int)result
);
25344 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25345 PyObject
*resultobj
;
25346 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25349 PyObject
* obj0
= 0 ;
25350 PyObject
* obj1
= 0 ;
25351 char *kwnames
[] = {
25352 (char *) "self",(char *) "effect", NULL
25355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25358 arg2
= (wxDragResult
) SWIG_PyObj_AsInt(obj1
);
25359 if (PyErr_Occurred()) SWIG_fail
;
25362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25363 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25365 wxPyEndAllowThreads(__tstate
);
25366 if (PyErr_Occurred()) SWIG_fail
;
25368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25375 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25378 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25380 return Py_BuildValue((char *)"");
25382 static PyObject
*_wrap_new_PyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25383 PyObject
*resultobj
;
25384 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25385 wxPyDropTarget
*result
;
25386 PyObject
* obj0
= 0 ;
25387 char *kwnames
[] = {
25388 (char *) "dataObject", NULL
25391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDropTarget",kwnames
,&obj0
)) goto fail
;
25393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25397 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25402 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 1);
25409 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25410 PyObject
*resultobj
;
25411 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25412 PyObject
*arg2
= (PyObject
*) 0 ;
25413 PyObject
*arg3
= (PyObject
*) 0 ;
25414 PyObject
* obj0
= 0 ;
25415 PyObject
* obj1
= 0 ;
25416 PyObject
* obj2
= 0 ;
25417 char *kwnames
[] = {
25418 (char *) "self",(char *) "self",(char *) "_class", NULL
25421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25427 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25429 wxPyEndAllowThreads(__tstate
);
25430 if (PyErr_Occurred()) SWIG_fail
;
25432 Py_INCREF(Py_None
); resultobj
= Py_None
;
25439 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25440 PyObject
*resultobj
;
25441 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25442 PyObject
* obj0
= 0 ;
25443 char *kwnames
[] = {
25444 (char *) "self", NULL
25447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
25448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25456 Py_INCREF(Py_None
); resultobj
= Py_None
;
25463 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25464 PyObject
*resultobj
;
25465 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25466 wxDataObject
*result
;
25467 PyObject
* obj0
= 0 ;
25468 char *kwnames
[] = {
25469 (char *) "self", NULL
25472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
25473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25476 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25478 wxPyEndAllowThreads(__tstate
);
25479 if (PyErr_Occurred()) SWIG_fail
;
25481 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
25488 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25489 PyObject
*resultobj
;
25490 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25491 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
25492 PyObject
* obj0
= 0 ;
25493 PyObject
* obj1
= 0 ;
25494 char *kwnames
[] = {
25495 (char *) "self",(char *) "dataObject", NULL
25498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
25499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25500 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25503 (arg1
)->SetDataObject(arg2
);
25505 wxPyEndAllowThreads(__tstate
);
25506 if (PyErr_Occurred()) SWIG_fail
;
25508 Py_INCREF(Py_None
); resultobj
= Py_None
;
25515 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25516 PyObject
*resultobj
;
25517 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25522 PyObject
* obj0
= 0 ;
25523 PyObject
* obj1
= 0 ;
25524 PyObject
* obj2
= 0 ;
25525 PyObject
* obj3
= 0 ;
25526 char *kwnames
[] = {
25527 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25533 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25534 if (PyErr_Occurred()) SWIG_fail
;
25537 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25538 if (PyErr_Occurred()) SWIG_fail
;
25541 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25542 if (PyErr_Occurred()) SWIG_fail
;
25545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25546 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
25548 wxPyEndAllowThreads(__tstate
);
25549 if (PyErr_Occurred()) SWIG_fail
;
25551 resultobj
= SWIG_PyObj_FromInt((int)result
);
25558 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25559 PyObject
*resultobj
;
25560 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25565 PyObject
* obj0
= 0 ;
25566 PyObject
* obj1
= 0 ;
25567 PyObject
* obj2
= 0 ;
25568 PyObject
* obj3
= 0 ;
25569 char *kwnames
[] = {
25570 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25576 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25580 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25584 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25585 if (PyErr_Occurred()) SWIG_fail
;
25588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25589 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
25591 wxPyEndAllowThreads(__tstate
);
25592 if (PyErr_Occurred()) SWIG_fail
;
25594 resultobj
= SWIG_PyObj_FromInt((int)result
);
25601 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25602 PyObject
*resultobj
;
25603 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25604 PyObject
* obj0
= 0 ;
25605 char *kwnames
[] = {
25606 (char *) "self", NULL
25609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
25610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25613 (arg1
)->base_OnLeave();
25615 wxPyEndAllowThreads(__tstate
);
25616 if (PyErr_Occurred()) SWIG_fail
;
25618 Py_INCREF(Py_None
); resultobj
= Py_None
;
25625 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25626 PyObject
*resultobj
;
25627 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25631 PyObject
* obj0
= 0 ;
25632 PyObject
* obj1
= 0 ;
25633 PyObject
* obj2
= 0 ;
25634 char *kwnames
[] = {
25635 (char *) "self",(char *) "x",(char *) "y", NULL
25638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25641 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25642 if (PyErr_Occurred()) SWIG_fail
;
25645 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25646 if (PyErr_Occurred()) SWIG_fail
;
25649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25650 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25662 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25663 PyObject
*resultobj
;
25664 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25666 PyObject
* obj0
= 0 ;
25667 char *kwnames
[] = {
25668 (char *) "self", NULL
25671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
25672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25675 result
= (bool)(arg1
)->GetData();
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25687 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
25689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25690 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
25692 return Py_BuildValue((char *)"");
25694 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25695 PyObject
*resultobj
;
25696 wxPyTextDropTarget
*result
;
25697 char *kwnames
[] = {
25701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
25703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25704 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
25706 wxPyEndAllowThreads(__tstate
);
25707 if (PyErr_Occurred()) SWIG_fail
;
25709 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDropTarget
, 1);
25716 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25717 PyObject
*resultobj
;
25718 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25719 PyObject
*arg2
= (PyObject
*) 0 ;
25720 PyObject
*arg3
= (PyObject
*) 0 ;
25721 PyObject
* obj0
= 0 ;
25722 PyObject
* obj1
= 0 ;
25723 PyObject
* obj2
= 0 ;
25724 char *kwnames
[] = {
25725 (char *) "self",(char *) "self",(char *) "_class", NULL
25728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25734 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25736 wxPyEndAllowThreads(__tstate
);
25737 if (PyErr_Occurred()) SWIG_fail
;
25739 Py_INCREF(Py_None
); resultobj
= Py_None
;
25746 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25747 PyObject
*resultobj
;
25748 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25753 PyObject
* obj0
= 0 ;
25754 PyObject
* obj1
= 0 ;
25755 PyObject
* obj2
= 0 ;
25756 PyObject
* obj3
= 0 ;
25757 char *kwnames
[] = {
25758 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25764 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25768 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25772 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25773 if (PyErr_Occurred()) SWIG_fail
;
25776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25777 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
25779 wxPyEndAllowThreads(__tstate
);
25780 if (PyErr_Occurred()) SWIG_fail
;
25782 resultobj
= SWIG_PyObj_FromInt((int)result
);
25789 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25790 PyObject
*resultobj
;
25791 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25796 PyObject
* obj0
= 0 ;
25797 PyObject
* obj1
= 0 ;
25798 PyObject
* obj2
= 0 ;
25799 PyObject
* obj3
= 0 ;
25800 char *kwnames
[] = {
25801 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25807 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25808 if (PyErr_Occurred()) SWIG_fail
;
25811 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25815 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25820 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
25822 wxPyEndAllowThreads(__tstate
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25825 resultobj
= SWIG_PyObj_FromInt((int)result
);
25832 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25833 PyObject
*resultobj
;
25834 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25835 PyObject
* obj0
= 0 ;
25836 char *kwnames
[] = {
25837 (char *) "self", NULL
25840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
25841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25844 (arg1
)->base_OnLeave();
25846 wxPyEndAllowThreads(__tstate
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25849 Py_INCREF(Py_None
); resultobj
= Py_None
;
25856 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
;
25858 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25862 PyObject
* obj0
= 0 ;
25863 PyObject
* obj1
= 0 ;
25864 PyObject
* obj2
= 0 ;
25865 char *kwnames
[] = {
25866 (char *) "self",(char *) "x",(char *) "y", NULL
25869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25872 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25876 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25877 if (PyErr_Occurred()) SWIG_fail
;
25880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25881 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
25883 wxPyEndAllowThreads(__tstate
);
25884 if (PyErr_Occurred()) SWIG_fail
;
25886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25893 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25894 PyObject
*resultobj
;
25895 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25900 PyObject
* obj0
= 0 ;
25901 PyObject
* obj1
= 0 ;
25902 PyObject
* obj2
= 0 ;
25903 PyObject
* obj3
= 0 ;
25904 char *kwnames
[] = {
25905 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25911 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25912 if (PyErr_Occurred()) SWIG_fail
;
25915 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25916 if (PyErr_Occurred()) SWIG_fail
;
25919 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25920 if (PyErr_Occurred()) SWIG_fail
;
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25924 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
25926 wxPyEndAllowThreads(__tstate
);
25927 if (PyErr_Occurred()) SWIG_fail
;
25929 resultobj
= SWIG_PyObj_FromInt((int)result
);
25936 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
25938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25939 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
25941 return Py_BuildValue((char *)"");
25943 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25944 PyObject
*resultobj
;
25945 wxPyFileDropTarget
*result
;
25946 char *kwnames
[] = {
25950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
25952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25953 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileDropTarget
, 1);
25965 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25966 PyObject
*resultobj
;
25967 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
25968 PyObject
*arg2
= (PyObject
*) 0 ;
25969 PyObject
*arg3
= (PyObject
*) 0 ;
25970 PyObject
* obj0
= 0 ;
25971 PyObject
* obj1
= 0 ;
25972 PyObject
* obj2
= 0 ;
25973 char *kwnames
[] = {
25974 (char *) "self",(char *) "self",(char *) "_class", NULL
25977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25983 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25985 wxPyEndAllowThreads(__tstate
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25988 Py_INCREF(Py_None
); resultobj
= Py_None
;
25995 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25996 PyObject
*resultobj
;
25997 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26002 PyObject
* obj0
= 0 ;
26003 PyObject
* obj1
= 0 ;
26004 PyObject
* obj2
= 0 ;
26005 PyObject
* obj3
= 0 ;
26006 char *kwnames
[] = {
26007 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26013 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26014 if (PyErr_Occurred()) SWIG_fail
;
26017 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26018 if (PyErr_Occurred()) SWIG_fail
;
26021 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
26022 if (PyErr_Occurred()) SWIG_fail
;
26025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26026 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26028 wxPyEndAllowThreads(__tstate
);
26029 if (PyErr_Occurred()) SWIG_fail
;
26031 resultobj
= SWIG_PyObj_FromInt((int)result
);
26038 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26039 PyObject
*resultobj
;
26040 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26045 PyObject
* obj0
= 0 ;
26046 PyObject
* obj1
= 0 ;
26047 PyObject
* obj2
= 0 ;
26048 PyObject
* obj3
= 0 ;
26049 char *kwnames
[] = {
26050 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26056 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26057 if (PyErr_Occurred()) SWIG_fail
;
26060 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26061 if (PyErr_Occurred()) SWIG_fail
;
26064 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26069 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26071 wxPyEndAllowThreads(__tstate
);
26072 if (PyErr_Occurred()) SWIG_fail
;
26074 resultobj
= SWIG_PyObj_FromInt((int)result
);
26081 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26082 PyObject
*resultobj
;
26083 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26084 PyObject
* obj0
= 0 ;
26085 char *kwnames
[] = {
26086 (char *) "self", NULL
26089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26093 (arg1
)->base_OnLeave();
26095 wxPyEndAllowThreads(__tstate
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26098 Py_INCREF(Py_None
); resultobj
= Py_None
;
26105 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26106 PyObject
*resultobj
;
26107 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26111 PyObject
* obj0
= 0 ;
26112 PyObject
* obj1
= 0 ;
26113 PyObject
* obj2
= 0 ;
26114 char *kwnames
[] = {
26115 (char *) "self",(char *) "x",(char *) "y", NULL
26118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26121 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26125 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26126 if (PyErr_Occurred()) SWIG_fail
;
26129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26130 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26132 wxPyEndAllowThreads(__tstate
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26142 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26143 PyObject
*resultobj
;
26144 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26149 PyObject
* obj0
= 0 ;
26150 PyObject
* obj1
= 0 ;
26151 PyObject
* obj2
= 0 ;
26152 PyObject
* obj3
= 0 ;
26153 char *kwnames
[] = {
26154 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26160 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26161 if (PyErr_Occurred()) SWIG_fail
;
26164 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26168 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
26169 if (PyErr_Occurred()) SWIG_fail
;
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26175 wxPyEndAllowThreads(__tstate
);
26176 if (PyErr_Occurred()) SWIG_fail
;
26178 resultobj
= SWIG_PyObj_FromInt((int)result
);
26185 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26188 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26190 return Py_BuildValue((char *)"");
26192 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26193 PyObject
*resultobj
;
26194 wxClipboard
*result
;
26195 char *kwnames
[] = {
26199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 result
= (wxClipboard
*)new wxClipboard();
26204 wxPyEndAllowThreads(__tstate
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26207 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboard
, 1);
26214 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26215 PyObject
*resultobj
;
26216 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26217 PyObject
* obj0
= 0 ;
26218 char *kwnames
[] = {
26219 (char *) "self", NULL
26222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26228 wxPyEndAllowThreads(__tstate
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26231 Py_INCREF(Py_None
); resultobj
= Py_None
;
26238 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26239 PyObject
*resultobj
;
26240 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26242 PyObject
* obj0
= 0 ;
26243 char *kwnames
[] = {
26244 (char *) "self", NULL
26247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26251 result
= (bool)(arg1
)->Open();
26253 wxPyEndAllowThreads(__tstate
);
26254 if (PyErr_Occurred()) SWIG_fail
;
26256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26263 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26264 PyObject
*resultobj
;
26265 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26266 PyObject
* obj0
= 0 ;
26267 char *kwnames
[] = {
26268 (char *) "self", NULL
26271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26277 wxPyEndAllowThreads(__tstate
);
26278 if (PyErr_Occurred()) SWIG_fail
;
26280 Py_INCREF(Py_None
); resultobj
= Py_None
;
26287 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26288 PyObject
*resultobj
;
26289 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26291 PyObject
* obj0
= 0 ;
26292 char *kwnames
[] = {
26293 (char *) "self", NULL
26296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26300 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26302 wxPyEndAllowThreads(__tstate
);
26303 if (PyErr_Occurred()) SWIG_fail
;
26305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26312 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26313 PyObject
*resultobj
;
26314 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26315 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26317 PyObject
* obj0
= 0 ;
26318 PyObject
* obj1
= 0 ;
26319 char *kwnames
[] = {
26320 (char *) "self",(char *) "data", NULL
26323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26325 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26328 result
= (bool)(arg1
)->AddData(arg2
);
26330 wxPyEndAllowThreads(__tstate
);
26331 if (PyErr_Occurred()) SWIG_fail
;
26333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26340 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26341 PyObject
*resultobj
;
26342 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26343 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26345 PyObject
* obj0
= 0 ;
26346 PyObject
* obj1
= 0 ;
26347 char *kwnames
[] = {
26348 (char *) "self",(char *) "data", NULL
26351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26353 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26356 result
= (bool)(arg1
)->SetData(arg2
);
26358 wxPyEndAllowThreads(__tstate
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26368 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26369 PyObject
*resultobj
;
26370 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26371 wxDataFormat
*arg2
= 0 ;
26373 PyObject
* obj0
= 0 ;
26374 PyObject
* obj1
= 0 ;
26375 char *kwnames
[] = {
26376 (char *) "self",(char *) "format", NULL
26379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26381 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26382 if (arg2
== NULL
) {
26383 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26387 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26389 wxPyEndAllowThreads(__tstate
);
26390 if (PyErr_Occurred()) SWIG_fail
;
26392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26399 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26400 PyObject
*resultobj
;
26401 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26402 wxDataObject
*arg2
= 0 ;
26404 PyObject
* obj0
= 0 ;
26405 PyObject
* obj1
= 0 ;
26406 char *kwnames
[] = {
26407 (char *) "self",(char *) "data", NULL
26410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26412 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26413 if (arg2
== NULL
) {
26414 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26418 result
= (bool)(arg1
)->GetData(*arg2
);
26420 wxPyEndAllowThreads(__tstate
);
26421 if (PyErr_Occurred()) SWIG_fail
;
26423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26430 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26431 PyObject
*resultobj
;
26432 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26433 PyObject
* obj0
= 0 ;
26434 char *kwnames
[] = {
26435 (char *) "self", NULL
26438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
26439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26444 wxPyEndAllowThreads(__tstate
);
26445 if (PyErr_Occurred()) SWIG_fail
;
26447 Py_INCREF(Py_None
); resultobj
= Py_None
;
26454 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26455 PyObject
*resultobj
;
26456 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26458 PyObject
* obj0
= 0 ;
26459 char *kwnames
[] = {
26460 (char *) "self", NULL
26463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
26464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26467 result
= (bool)(arg1
)->Flush();
26469 wxPyEndAllowThreads(__tstate
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26479 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26480 PyObject
*resultobj
;
26481 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26482 bool arg2
= (bool) False
;
26483 PyObject
* obj0
= 0 ;
26484 PyObject
* obj1
= 0 ;
26485 char *kwnames
[] = {
26486 (char *) "self",(char *) "primary", NULL
26489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26493 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26494 if (PyErr_Occurred()) SWIG_fail
;
26498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26499 (arg1
)->UsePrimarySelection(arg2
);
26501 wxPyEndAllowThreads(__tstate
);
26502 if (PyErr_Occurred()) SWIG_fail
;
26504 Py_INCREF(Py_None
); resultobj
= Py_None
;
26511 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
26513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26514 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
26516 return Py_BuildValue((char *)"");
26518 static int _wrap_TheClipboard_set(PyObject
*_val
) {
26519 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
26524 static PyObject
*_wrap_TheClipboard_get() {
26527 pyobj
= SWIG_NewPointerObj((void *) wxTheClipboard
, SWIGTYPE_p_wxClipboard
, 0);
26532 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26533 PyObject
*resultobj
;
26534 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
26535 wxClipboardLocker
*result
;
26536 PyObject
* obj0
= 0 ;
26537 char *kwnames
[] = {
26538 (char *) "clipboard", NULL
26541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26552 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboardLocker
, 1);
26559 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
;
26561 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26562 PyObject
* obj0
= 0 ;
26563 char *kwnames
[] = {
26564 (char *) "self", NULL
26567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26573 wxPyEndAllowThreads(__tstate
);
26574 if (PyErr_Occurred()) SWIG_fail
;
26576 Py_INCREF(Py_None
); resultobj
= Py_None
;
26583 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26584 PyObject
*resultobj
;
26585 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26587 PyObject
* obj0
= 0 ;
26588 char *kwnames
[] = {
26589 (char *) "self", NULL
26592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
26593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26596 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
26598 wxPyEndAllowThreads(__tstate
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26608 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
26610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26611 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
26613 return Py_BuildValue((char *)"");
26615 static PyMethodDef SwigMethods
[] = {
26616 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
26617 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26618 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
26619 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
26620 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
26621 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
26622 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
26623 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
26624 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
26625 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
26626 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
26627 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
26628 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
26629 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
26630 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
26631 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
26632 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
26633 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
26634 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26635 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
26636 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
26637 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
26638 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
26639 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
26640 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
26641 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
26642 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
26643 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
26644 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
26645 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
26646 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
26647 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
26648 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
26649 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
26650 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
26651 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
26652 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
26653 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
26654 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
26655 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
26656 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
26657 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
26658 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26659 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26660 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26661 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
26662 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26663 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26664 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
26665 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
26666 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
26667 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26668 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
26669 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
26670 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
26671 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
26672 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
26673 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
26674 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
26675 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
26676 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
26677 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
26678 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26679 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
26680 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
26681 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
26682 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
26683 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
26684 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
26685 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
26686 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
26687 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
26688 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
26689 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
26690 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
26691 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
26692 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
26693 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
26694 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
26695 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
26696 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
26697 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
26698 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
26699 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
26700 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26701 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
26702 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26703 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
26704 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
26705 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
26706 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
26707 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
26708 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
26709 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
26710 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
26711 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
26712 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
26713 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
26714 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
26715 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
26716 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26717 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26718 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
26719 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
26720 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
26721 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
26722 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
26723 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
26724 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
26725 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
26726 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
26727 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
26728 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
26729 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
26730 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
26731 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
26732 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
26733 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
26734 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
26735 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
26736 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
26737 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
26738 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
26739 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
26740 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
26741 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
26742 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
26743 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26744 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
26745 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
26746 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
26747 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
26748 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
26749 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
26750 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
26751 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
26752 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
26753 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
26754 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
26755 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
26756 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
26757 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
26758 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26759 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
26760 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
26761 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
26762 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
26763 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
26764 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26765 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
26766 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
26767 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
26768 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
26769 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
26770 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
26771 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26772 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
26773 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
26774 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
26775 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
26776 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
26777 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
26778 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
26779 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
26780 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
26781 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26782 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
26783 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
26784 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
26785 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
26786 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
26787 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
26788 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
26789 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
26790 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
26791 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
26792 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
26793 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26794 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26795 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26796 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
26797 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
26798 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
26799 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
26800 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26801 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26802 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
26803 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
26804 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
26805 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26806 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
26807 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
26808 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
26809 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26810 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
26811 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
26812 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
26813 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
26814 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
26815 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
26816 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
26817 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
26818 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
26819 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
26820 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
26821 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
26822 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
26823 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
26824 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
26825 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
26826 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
26827 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
26828 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
26829 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
26830 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
26831 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
26832 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
26833 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
26834 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
26835 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
26836 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
26837 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
26838 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
26839 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
26840 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
26841 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
26842 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
26843 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
26844 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
26845 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26846 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
26847 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
26848 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
26849 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
26850 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
26851 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26852 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
26853 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
26854 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
26855 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
26856 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
26857 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
26858 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
26859 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
26860 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
26861 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
26862 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
26863 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
26864 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
26865 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
26866 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
26867 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
26868 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
26869 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
26870 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
26871 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
26872 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
26873 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
26874 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
26875 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26876 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
26877 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
26878 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
26879 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
26880 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
26881 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
26882 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
26883 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
26884 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
26885 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26886 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
26887 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
26888 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
26889 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
26890 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
26891 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
26892 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
26893 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
26894 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
26895 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
26896 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
26897 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
26898 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
26899 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
26900 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
26901 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
26902 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
26903 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
26904 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
26905 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
26906 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
26907 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
26908 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
26909 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
26910 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
26911 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
26912 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
26913 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
26914 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
26915 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
26916 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
26917 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
26918 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
26919 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
26920 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
26921 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
26922 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
26923 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
26924 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
26925 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
26926 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
26927 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
26928 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
26929 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26930 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
26931 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
26932 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
26933 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
26934 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
26935 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
26936 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
26937 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26938 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
26939 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
26940 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
26941 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
26942 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
26943 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
26944 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
26945 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
26946 { (char *)"new_Sound", _wrap_new_Sound
, METH_VARARGS
},
26947 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
26948 { (char *)"Sound_Create", _wrap_Sound_Create
, METH_VARARGS
},
26949 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26950 { (char *)"Sound_Play", _wrap_Sound_Play
, METH_VARARGS
},
26951 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound
, METH_VARARGS
},
26952 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
26953 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
26954 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
26955 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
26956 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
26957 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
26958 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
26959 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
26960 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
26961 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
26962 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
26963 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
26964 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
26965 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
26966 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
26967 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
26968 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
26969 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
26970 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
26971 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
26972 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
26973 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
26974 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
26975 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
26976 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
26977 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
26978 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
26979 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
26980 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
26981 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
26982 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
26983 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
26984 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
26985 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
26986 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
26987 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
26988 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
26989 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
26990 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
26991 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
26992 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
26993 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
26994 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
26995 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
26996 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
26997 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
26998 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
26999 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
27000 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
27001 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27002 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
27003 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
27004 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
27005 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27006 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
27007 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27008 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
27009 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
27010 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
27011 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
27012 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
27013 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
27014 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
27015 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
27016 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
27017 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
27018 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
27019 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
27020 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
27021 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
27022 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
27023 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
27024 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
27025 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
27026 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
27027 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
27028 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
27029 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
27030 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
27031 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
27032 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
27033 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
27034 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
27035 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
27036 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
27037 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
27038 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
27039 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
27040 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27041 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27042 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
27043 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
27044 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27045 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
27046 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
27047 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
27048 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
27049 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27050 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27051 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
27052 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
27053 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
27054 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
27055 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
27056 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
27057 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
27058 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
27059 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
27060 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
27061 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
27062 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27063 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
27064 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
27065 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
27066 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
27067 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
27068 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
27069 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
27070 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
27071 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
27072 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
27073 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
27074 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
27075 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
27076 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
27077 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
27078 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
27079 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
27080 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
27081 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
27082 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
27083 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
27084 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
27085 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
27086 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
27087 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
27088 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
27089 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
27090 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
27091 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
27092 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
27093 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
27094 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
27095 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
27096 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
27097 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
27098 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
27099 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
27100 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
27101 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
27102 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
27103 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27104 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27105 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27106 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27107 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27108 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27109 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27110 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
27111 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
27112 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
27113 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
27114 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
27115 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
27116 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
27117 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
27118 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
27119 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
27120 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
27121 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
27122 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
27123 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
27124 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
27125 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
27126 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
27127 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
27128 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
27129 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
27130 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
27131 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27132 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
27133 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
27134 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
27135 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
27136 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
27137 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
27138 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
27139 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
27140 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
27141 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
27142 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
27143 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
27144 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
27145 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
27146 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
27147 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
27148 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
27149 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
27150 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
27151 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
27152 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
27153 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
27154 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
27155 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
27156 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
27157 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
27158 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
27159 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
27160 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
27161 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
27162 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
27163 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
27164 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
27165 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
27166 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
27167 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
27168 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
27169 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
27170 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
27171 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
27172 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
27173 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
27174 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
27175 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
27176 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
27177 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
27178 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
27179 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
27180 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
27181 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
27182 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
27183 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
27184 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
27185 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
27186 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
27187 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
27188 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
27189 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
27190 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
27191 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
27192 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
27193 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
27194 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
27195 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
27196 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
27197 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
27198 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
27199 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
27200 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
27201 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
27202 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
27203 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
27204 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
27205 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
27206 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
27207 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
27208 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
27209 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
27210 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
27211 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
27212 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
27213 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
27214 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
27215 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
27216 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
27217 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
27218 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
27219 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
27220 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
27221 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
27222 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
27223 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
27224 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
27225 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
27226 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
27227 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
27228 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
27229 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
27230 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
27231 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
27232 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
27233 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
27234 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
27235 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
27236 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
27237 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
27238 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
27239 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
27240 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
27241 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
27242 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
27243 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
27244 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
27245 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
27246 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
27247 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
27248 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
27249 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
27250 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
27251 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
27252 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
27253 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
27254 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
27255 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
27256 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
27257 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
27258 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
27259 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
27260 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
27261 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
27262 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
27263 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
27264 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27265 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
27266 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
27267 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
27268 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
27269 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
27270 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
27271 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
27272 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
27273 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
27274 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27275 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
27276 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
27277 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
27278 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
27279 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
27280 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
27281 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27282 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
27283 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
27284 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
27285 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
27286 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27287 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
27288 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
27289 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
27290 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
27291 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27292 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27293 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
27294 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27295 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27296 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27297 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
27298 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27299 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27300 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
27301 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27302 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
27303 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
27304 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27305 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
27306 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27307 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
27308 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27309 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
27310 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27311 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
27312 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
27313 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
27314 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27315 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
27316 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
27317 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
27318 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27319 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
27320 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27321 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27322 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
27323 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
27324 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
27325 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
27326 { (char *)"new_PyDropTarget", (PyCFunction
) _wrap_new_PyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27327 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27328 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27329 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27330 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27331 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27332 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27333 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27334 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27335 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27336 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
27337 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27338 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27339 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27340 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27341 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27342 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27343 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
27344 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
27345 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27346 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27347 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27348 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27349 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27350 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27351 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
27352 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
27353 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
27354 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
27355 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
27356 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
27357 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
27358 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
27359 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27360 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
27361 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27362 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
27363 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
27364 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
27365 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
27366 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
27367 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
27368 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
27369 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
27374 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27376 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
27377 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27379 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
27380 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
27382 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
27383 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
27385 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
27386 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
27388 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
27389 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
27391 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
27392 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
27394 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
27395 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
27397 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
27398 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
27400 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
27401 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
27403 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
27404 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
27406 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
27407 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27409 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
27410 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
27412 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
27413 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
27415 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
27416 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27418 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
27419 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27421 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
27422 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
27424 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
27425 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
27427 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
27428 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
27430 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
27431 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
27433 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
27434 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
27436 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
27437 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
27439 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
27440 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
27442 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
27443 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27445 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
27446 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27448 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
27449 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27451 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
27452 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27454 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
27455 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27457 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
27458 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
27460 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
27461 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
27463 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
27464 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27466 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
27467 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
27469 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
27470 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
27472 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
27473 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
27475 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
27476 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27478 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
27479 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27481 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
27482 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27484 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
27485 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
27487 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
27488 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
27490 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
27491 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
27493 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
27494 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
27496 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
27497 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27499 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
27500 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27502 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
27503 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
27505 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
27506 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
27508 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
27509 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
27511 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
27512 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
27514 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
27515 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27517 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
27518 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
27520 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
27521 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27523 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
27524 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
27526 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
27527 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
27529 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
27530 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
27532 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
27533 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
27535 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
27536 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
27538 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
27539 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
27541 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
27542 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
27544 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
27545 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27547 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
27548 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
27550 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
27551 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27553 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
27554 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
27556 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
27557 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
27559 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
27560 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
27562 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27563 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27565 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27566 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27568 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27569 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27571 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27572 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27574 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
27575 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
27577 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27578 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27580 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27581 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27583 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27584 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27586 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27587 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27589 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
27590 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
27592 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
27593 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
27595 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27596 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27598 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27599 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27601 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27602 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27604 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27605 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27607 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27608 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27610 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27611 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27613 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27614 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27616 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27617 return (void *)((wxObject
*) ((wxSizer
*) x
));
27619 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27620 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27622 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
27623 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
27625 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27626 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27628 static void *_p_wxEventTo_p_wxObject(void *x
) {
27629 return (void *)((wxObject
*) ((wxEvent
*) x
));
27631 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27632 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27634 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27635 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27637 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27638 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27640 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27641 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27643 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27644 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27646 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27647 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27649 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27650 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27652 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27653 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27655 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27656 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27658 static void *_p_wxControlTo_p_wxObject(void *x
) {
27659 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
27661 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
27662 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
27664 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
27665 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
27667 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
27668 return (void *)((wxObject
*) ((wxFSFile
*) x
));
27670 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
27671 return (void *)((wxObject
*) ((wxClipboard
*) x
));
27673 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
27674 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
27676 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
27677 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
27679 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
27680 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27682 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27683 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27685 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
27686 return (void *)((wxObject
*) ((wxToolTip
*) x
));
27688 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27689 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27691 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27692 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27694 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27695 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27697 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27698 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27700 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27701 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27703 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27704 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27706 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27707 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27709 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27710 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27712 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27713 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27715 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27716 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27718 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27719 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27721 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27722 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
27724 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
27725 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
27727 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
27728 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
27730 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
27731 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
27733 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
27734 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
27736 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
27737 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
27739 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
27740 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
27742 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
27743 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
27745 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
27746 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
27748 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
27749 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
27751 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
27752 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
27754 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
27755 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
27757 static void *_p_wxImageTo_p_wxObject(void *x
) {
27758 return (void *)((wxObject
*) ((wxImage
*) x
));
27760 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
27761 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
27763 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
27764 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
27766 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
27767 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
27769 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
27770 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27772 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
27773 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27775 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
27776 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
27778 static void *_p_wxWindowTo_p_wxObject(void *x
) {
27779 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
27781 static void *_p_wxMenuTo_p_wxObject(void *x
) {
27782 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
27784 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
27785 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
27787 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
27788 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
27790 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
27791 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
27793 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
27794 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27796 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
27797 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
27799 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
27800 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
27802 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
27803 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
27805 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
27806 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
27808 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
27809 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
27811 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
27812 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
27814 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
27815 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27817 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
27818 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
27820 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
27821 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
27823 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
27824 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
27826 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
27827 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27829 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
27830 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
27832 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
27833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27835 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
27836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
27838 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
27839 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
27841 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
27842 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
27844 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
27845 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
27847 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
27848 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
27850 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
27851 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
27853 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
27854 return (void *)((wxLog
*) ((wxLogChain
*) x
));
27856 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
27857 return (void *)((wxLog
*) ((wxLogGui
*) x
));
27859 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
27860 return (void *)((wxLog
*) ((wxPyLog
*) x
));
27862 static void *_p_wxControlTo_p_wxWindow(void *x
) {
27863 return (void *)((wxWindow
*) ((wxControl
*) x
));
27865 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
27866 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
27868 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
27869 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
27871 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
27872 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
27874 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
27875 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
27877 static swig_type_info _swigt__p_wxLogChain
[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
27878 static swig_type_info _swigt__p_wxMutexGuiLocker
[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
27879 static swig_type_info _swigt__p_wxFileHistory
[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
27880 static swig_type_info _swigt__p_wxLog
[] = {{"_p_wxLog", 0, "wxLog *", 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog
},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog
},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog
},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog
},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog
},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog
},{"_p_wxLog"},{0}};
27881 static swig_type_info _swigt__p_wxDateTime__TimeZone
[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
27882 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
27883 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent
},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
},{0}};
27884 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxFileConfig", _p_wxFileConfigTo_p_wxConfigBase
},{"_p_wxConfigBase"},{"_p_wxConfig", _p_wxConfigTo_p_wxConfigBase
},{0}};
27885 static swig_type_info _swigt__p_wxFileType
[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
27886 static swig_type_info _swigt__p_wxLogGui
[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
27887 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27888 static swig_type_info _swigt__p_wxDataFormat
[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
27889 static swig_type_info _swigt__p_wxTimerEvent
[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
27890 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
27891 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27892 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27893 static swig_type_info _swigt__p_wxClipboard
[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
27894 static swig_type_info _swigt__p_wxStopWatch
[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
27895 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27896 static swig_type_info _swigt__p_wxClipboardLocker
[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
27897 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27898 static swig_type_info _swigt__p_wxLogStderr
[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
27899 static swig_type_info _swigt__p_wxLogTextCtrl
[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
27900 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27901 static swig_type_info _swigt__p_wxBusyCursor
[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
27902 static swig_type_info _swigt__p_wxPyTextDataObject
[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
27903 static swig_type_info _swigt__p_wxBitmapDataObject
[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject
},{0}};
27904 static swig_type_info _swigt__p_wxTextDataObject
[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject
},{0}};
27905 static swig_type_info _swigt__p_wxDataObject
[] = {{"_p_wxDataObject", 0, "wxDataObject *", 0},{"_p_wxDataObjectSimple", _p_wxDataObjectSimpleTo_p_wxDataObject
},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObject
},{"_p_wxDataObjectComposite", _p_wxDataObjectCompositeTo_p_wxDataObject
},{"_p_wxDataObject"},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObject
},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObject
},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObject
},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObject
},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObject
},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObject
},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObject
},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObject
},{0}};
27906 static swig_type_info _swigt__p_wxPyBitmapDataObject
[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
27907 static swig_type_info _swigt__p_wxFileDataObject
[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
27908 static swig_type_info _swigt__p_wxCustomDataObject
[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
27909 static swig_type_info _swigt__p_wxURLDataObject
[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
27910 static swig_type_info _swigt__p_wxMetafileDataObject
[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
27911 static swig_type_info _swigt__p_wxSound
[] = {{"_p_wxSound", 0, "wxSound *", 0},{"_p_wxSound"},{0}};
27912 static swig_type_info _swigt__p_wxTimerRunner
[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
27913 static swig_type_info _swigt__p_wxLogWindow
[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
27914 static swig_type_info _swigt__p_wxTimeSpan
[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
27915 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27916 static swig_type_info _swigt__p_wxWindowDisabler
[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
27917 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
27918 static swig_type_info _swigt__p_wxDataObjectComposite
[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite
},{0}};
27919 static swig_type_info _swigt__p_wxFileConfig
[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
27920 static swig_type_info _swigt__p_wxSystemSettings
[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
27921 static swig_type_info _swigt__p_wxPyDataObjectSimple
[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
27922 static swig_type_info _swigt__p_wxDataObjectSimple
[] = {{"_p_wxDataObjectSimple", 0, "wxDataObjectSimple *", 0},{"_p_wxDataObjectSimple"},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple
},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObjectSimple
},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObjectSimple
},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObjectSimple
},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple
},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObjectSimple
},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObjectSimple
},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObjectSimple
},{0}};
27923 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
},{"_p_wxEvtHandler"},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler
},{0}};
27924 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27925 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
27926 static swig_type_info _swigt__p_wxSingleInstanceChecker
[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
27927 static swig_type_info _swigt__p_wxFileTypeInfo
[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
27928 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
27929 static swig_type_info _swigt__p_wxTimer
[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
27930 static swig_type_info _swigt__p_wxMimeTypesManager
[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
27931 static swig_type_info _swigt__p_wxPyArtProvider
[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
27932 static swig_type_info _swigt__p_wxPyTipProvider
[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
27933 static swig_type_info _swigt__p_wxTipProvider
[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider
},{0}};
27934 static swig_type_info _swigt__p_wxJoystick
[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
27935 static swig_type_info _swigt__p_wxSystemOptions
[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
27936 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27937 static swig_type_info _swigt__p_wxJoystickEvent
[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
27938 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27939 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject
},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject
},{0}};
27940 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
27941 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
27942 static swig_type_info _swigt__p_wxPyDropSource
[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
27943 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{0}};
27944 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27945 static swig_type_info _swigt__p_wxPyProcess
[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
27946 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27947 static swig_type_info _swigt__p_wxConfig
[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
27948 static swig_type_info _swigt__p_wxChar
[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
27949 static swig_type_info _swigt__p_wxBusyInfo
[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
27950 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{"_p_wxPyTextDropTarget", _p_wxPyTextDropTargetTo_p_wxPyDropTarget
},{"_p_wxPyFileDropTarget", _p_wxPyFileDropTargetTo_p_wxPyDropTarget
},{0}};
27951 static swig_type_info _swigt__p_wxPyTextDropTarget
[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
27952 static swig_type_info _swigt__p_wxPyFileDropTarget
[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
27953 static swig_type_info _swigt__p_wxProcessEvent
[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
27954 static swig_type_info _swigt__p_wxPyLog
[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
27955 static swig_type_info _swigt__p_wxLogNull
[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
27956 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27957 static swig_type_info _swigt__p_wxByte
[] = {{"_p_wxByte", 0, "wxByte *", 0},{"_p_wxByte"},{0}};
27958 static swig_type_info _swigt__p_wxConfigPathChanger
[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
27959 static swig_type_info _swigt__p_wxPyTimer
[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
27960 static swig_type_info _swigt__p_wxDateSpan
[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
27962 static swig_type_info
*swig_types_initial
[] = {
27963 _swigt__p_wxLogChain
,
27964 _swigt__p_wxMutexGuiLocker
,
27965 _swigt__p_wxFileHistory
,
27967 _swigt__p_wxDateTime__TimeZone
,
27970 _swigt__p_wxConfigBase
,
27971 _swigt__p_wxFileType
,
27972 _swigt__p_wxLogGui
,
27974 _swigt__p_wxDataFormat
,
27975 _swigt__p_wxTimerEvent
,
27979 _swigt__p_wxClipboard
,
27980 _swigt__p_wxStopWatch
,
27982 _swigt__p_wxClipboardLocker
,
27984 _swigt__p_wxLogStderr
,
27985 _swigt__p_wxLogTextCtrl
,
27986 _swigt__p_wxTextCtrl
,
27987 _swigt__p_wxBusyCursor
,
27988 _swigt__p_wxPyTextDataObject
,
27989 _swigt__p_wxBitmapDataObject
,
27990 _swigt__p_wxTextDataObject
,
27991 _swigt__p_wxDataObject
,
27992 _swigt__p_wxPyBitmapDataObject
,
27993 _swigt__p_wxFileDataObject
,
27994 _swigt__p_wxCustomDataObject
,
27995 _swigt__p_wxURLDataObject
,
27996 _swigt__p_wxMetafileDataObject
,
27998 _swigt__p_wxTimerRunner
,
27999 _swigt__p_wxLogWindow
,
28000 _swigt__p_wxTimeSpan
,
28001 _swigt__p_wxArrayString
,
28002 _swigt__p_wxWindowDisabler
,
28003 _swigt__p_wxToolTip
,
28004 _swigt__p_wxDataObjectComposite
,
28005 _swigt__p_wxFileConfig
,
28006 _swigt__p_wxSystemSettings
,
28007 _swigt__p_wxPyDataObjectSimple
,
28008 _swigt__p_wxDataObjectSimple
,
28009 _swigt__p_wxEvtHandler
,
28012 _swigt__p_wxSingleInstanceChecker
,
28013 _swigt__p_wxFileTypeInfo
,
28016 _swigt__p_wxMimeTypesManager
,
28017 _swigt__p_wxPyArtProvider
,
28018 _swigt__p_wxPyTipProvider
,
28019 _swigt__p_wxTipProvider
,
28020 _swigt__p_wxJoystick
,
28021 _swigt__p_wxSystemOptions
,
28023 _swigt__p_wxJoystickEvent
,
28024 _swigt__p_wxCursor
,
28025 _swigt__p_wxObject
,
28026 _swigt__p_wxOutputStream
,
28027 _swigt__p_wxDateTime
,
28028 _swigt__p_wxPyDropSource
,
28029 _swigt__p_wxWindow
,
28030 _swigt__p_wxString
,
28031 _swigt__p_wxPyProcess
,
28032 _swigt__p_wxBitmap
,
28033 _swigt__p_wxConfig
,
28035 _swigt__p_wxBusyInfo
,
28036 _swigt__p_wxPyDropTarget
,
28037 _swigt__p_wxPyTextDropTarget
,
28038 _swigt__p_wxPyFileDropTarget
,
28039 _swigt__p_wxProcessEvent
,
28041 _swigt__p_wxLogNull
,
28042 _swigt__p_wxColour
,
28044 _swigt__p_wxConfigPathChanger
,
28045 _swigt__p_wxPyTimer
,
28046 _swigt__p_wxDateSpan
,
28051 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28053 static swig_const_info swig_const_table
[] = {
28054 { SWIG_PY_STRING
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
28055 { SWIG_PY_STRING
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
28056 { SWIG_PY_STRING
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
28057 { SWIG_PY_STRING
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
28058 { SWIG_PY_STRING
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
28068 SWIGEXPORT(void) SWIG_init(void) {
28069 static PyObject
*SWIG_globals
= 0;
28070 static int typeinit
= 0;
28073 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
28074 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
28075 d
= PyModule_GetDict(m
);
28078 for (i
= 0; swig_types_initial
[i
]; i
++) {
28079 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
28083 SWIG_InstallConstants(d
,swig_const_table
);
28085 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_OEM_FIXED_FONT
));
28086 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
28087 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_VAR_FONT
));
28088 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FONT
));
28089 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
28090 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_PALETTE
));
28091 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
28092 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
28093 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_PyObj_FromInt((int)wxSYS_ICONTITLE_FONT
));
28094 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
28095 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
28096 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_DESKTOP
));
28097 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
28098 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
28099 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENU
));
28100 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOW
));
28101 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
28102 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
28103 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
28104 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
28105 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
28106 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
28107 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
28108 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
28109 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
28110 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNFACE
));
28111 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DFACE
));
28112 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
28113 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
28114 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
28115 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
28116 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
28117 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
28118 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
28119 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
28120 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
28121 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
28122 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
28123 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
28124 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOBK
));
28125 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_LISTBOX
));
28126 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
28127 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
28128 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
28129 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
28130 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUBAR
));
28131 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MAX
));
28132 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_MOUSE_BUTTONS
));
28133 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_PyObj_FromInt((int)wxSYS_BORDER_X
));
28134 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_PyObj_FromInt((int)wxSYS_BORDER_Y
));
28135 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_X
));
28136 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_Y
));
28137 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_X
));
28138 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_Y
));
28139 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_PyObj_FromInt((int)wxSYS_DRAG_X
));
28140 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_PyObj_FromInt((int)wxSYS_DRAG_Y
));
28141 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_PyObj_FromInt((int)wxSYS_EDGE_X
));
28142 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_PyObj_FromInt((int)wxSYS_EDGE_Y
));
28143 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
28144 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
28145 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_PyObj_FromInt((int)wxSYS_HTHUMB_X
));
28146 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_PyObj_FromInt((int)wxSYS_ICON_X
));
28147 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_PyObj_FromInt((int)wxSYS_ICON_Y
));
28148 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_X
));
28149 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_Y
));
28150 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_X
));
28151 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_Y
));
28152 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_X
));
28153 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_Y
));
28154 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_X
));
28155 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_Y
));
28156 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_X
));
28157 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_Y
));
28158 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_Y
));
28159 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_X
));
28160 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
28161 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
28162 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_PyObj_FromInt((int)wxSYS_VTHUMB_Y
));
28163 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_PyObj_FromInt((int)wxSYS_CAPTION_Y
));
28164 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_PyObj_FromInt((int)wxSYS_MENU_Y
));
28165 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_NETWORK_PRESENT
));
28166 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
28167 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_PyObj_FromInt((int)wxSYS_SHOW_SOUNDS
));
28168 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_SWAP_BUTTONS
));
28169 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_PyObj_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
28170 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_PyObj_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
28171 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_NONE
));
28172 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_TINY
));
28173 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_PDA
));
28174 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_SMALL
));
28175 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_DESKTOP
));
28176 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
28177 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
28178 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
28179 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
28180 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_PyObj_FromInt((int)wxSHUTDOWN_POWEROFF
));
28181 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_PyObj_FromInt((int)wxSHUTDOWN_REBOOT
));
28182 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_PyObj_FromInt((int)wxTIMER_CONTINUOUS
));
28183 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_PyObj_FromInt((int)wxTIMER_ONE_SHOT
));
28184 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
28185 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_PyObj_FromInt((int)wxLOG_FatalError
));
28186 PyDict_SetItemString(d
,"LOG_Error", SWIG_PyObj_FromInt((int)wxLOG_Error
));
28187 PyDict_SetItemString(d
,"LOG_Warning", SWIG_PyObj_FromInt((int)wxLOG_Warning
));
28188 PyDict_SetItemString(d
,"LOG_Message", SWIG_PyObj_FromInt((int)wxLOG_Message
));
28189 PyDict_SetItemString(d
,"LOG_Status", SWIG_PyObj_FromInt((int)wxLOG_Status
));
28190 PyDict_SetItemString(d
,"LOG_Info", SWIG_PyObj_FromInt((int)wxLOG_Info
));
28191 PyDict_SetItemString(d
,"LOG_Debug", SWIG_PyObj_FromInt((int)wxLOG_Debug
));
28192 PyDict_SetItemString(d
,"LOG_Trace", SWIG_PyObj_FromInt((int)wxLOG_Trace
));
28193 PyDict_SetItemString(d
,"LOG_Progress", SWIG_PyObj_FromInt((int)wxLOG_Progress
));
28194 PyDict_SetItemString(d
,"LOG_User", SWIG_PyObj_FromInt((int)wxLOG_User
));
28195 PyDict_SetItemString(d
,"LOG_Max", SWIG_PyObj_FromInt((int)wxLOG_Max
));
28196 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_PyObj_FromInt((int)0x0001));
28197 PyDict_SetItemString(d
,"TraceMessages", SWIG_PyObj_FromInt((int)0x0002));
28198 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_PyObj_FromInt((int)0x0004));
28199 PyDict_SetItemString(d
,"TraceRefCount", SWIG_PyObj_FromInt((int)0x0008));
28200 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_PyObj_FromInt((int)0x0100));
28201 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_PyObj_FromInt((int)wxPROCESS_DEFAULT
));
28202 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_PyObj_FromInt((int)wxPROCESS_REDIRECT
));
28203 PyDict_SetItemString(d
,"KILL_OK", SWIG_PyObj_FromInt((int)wxKILL_OK
));
28204 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_PyObj_FromInt((int)wxKILL_BAD_SIGNAL
));
28205 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_PyObj_FromInt((int)wxKILL_ACCESS_DENIED
));
28206 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_PyObj_FromInt((int)wxKILL_NO_PROCESS
));
28207 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_PyObj_FromInt((int)wxKILL_ERROR
));
28208 PyDict_SetItemString(d
,"SIGNONE", SWIG_PyObj_FromInt((int)wxSIGNONE
));
28209 PyDict_SetItemString(d
,"SIGHUP", SWIG_PyObj_FromInt((int)wxSIGHUP
));
28210 PyDict_SetItemString(d
,"SIGINT", SWIG_PyObj_FromInt((int)wxSIGINT
));
28211 PyDict_SetItemString(d
,"SIGQUIT", SWIG_PyObj_FromInt((int)wxSIGQUIT
));
28212 PyDict_SetItemString(d
,"SIGILL", SWIG_PyObj_FromInt((int)wxSIGILL
));
28213 PyDict_SetItemString(d
,"SIGTRAP", SWIG_PyObj_FromInt((int)wxSIGTRAP
));
28214 PyDict_SetItemString(d
,"SIGABRT", SWIG_PyObj_FromInt((int)wxSIGABRT
));
28215 PyDict_SetItemString(d
,"SIGIOT", SWIG_PyObj_FromInt((int)wxSIGIOT
));
28216 PyDict_SetItemString(d
,"SIGEMT", SWIG_PyObj_FromInt((int)wxSIGEMT
));
28217 PyDict_SetItemString(d
,"SIGFPE", SWIG_PyObj_FromInt((int)wxSIGFPE
));
28218 PyDict_SetItemString(d
,"SIGKILL", SWIG_PyObj_FromInt((int)wxSIGKILL
));
28219 PyDict_SetItemString(d
,"SIGBUS", SWIG_PyObj_FromInt((int)wxSIGBUS
));
28220 PyDict_SetItemString(d
,"SIGSEGV", SWIG_PyObj_FromInt((int)wxSIGSEGV
));
28221 PyDict_SetItemString(d
,"SIGSYS", SWIG_PyObj_FromInt((int)wxSIGSYS
));
28222 PyDict_SetItemString(d
,"SIGPIPE", SWIG_PyObj_FromInt((int)wxSIGPIPE
));
28223 PyDict_SetItemString(d
,"SIGALRM", SWIG_PyObj_FromInt((int)wxSIGALRM
));
28224 PyDict_SetItemString(d
,"SIGTERM", SWIG_PyObj_FromInt((int)wxSIGTERM
));
28225 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
28226 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_PyObj_FromInt((int)wxEXEC_ASYNC
));
28227 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_PyObj_FromInt((int)wxEXEC_SYNC
));
28228 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_PyObj_FromInt((int)wxEXEC_NOHIDE
));
28229 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_PyObj_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
28231 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
28233 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_PyObj_FromInt((int)wxJOYSTICK1
));
28234 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_PyObj_FromInt((int)wxJOYSTICK2
));
28235 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_PyObj_FromInt((int)wxJOY_BUTTON_ANY
));
28236 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_PyObj_FromInt((int)wxJOY_BUTTON1
));
28237 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_PyObj_FromInt((int)wxJOY_BUTTON2
));
28238 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_PyObj_FromInt((int)wxJOY_BUTTON3
));
28239 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_PyObj_FromInt((int)wxJOY_BUTTON4
));
28240 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
28241 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
28242 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
28243 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
28244 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_PyObj_FromInt((int)wxSOUND_SYNC
));
28245 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_PyObj_FromInt((int)wxSOUND_ASYNC
));
28246 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_PyObj_FromInt((int)wxSOUND_LOOP
));
28247 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_PyObj_FromInt((int)wxMAILCAP_STANDARD
));
28248 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_PyObj_FromInt((int)wxMAILCAP_NETSCAPE
));
28249 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_PyObj_FromInt((int)wxMAILCAP_KDE
));
28250 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_PyObj_FromInt((int)wxMAILCAP_GNOME
));
28251 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_PyObj_FromInt((int)wxMAILCAP_ALL
));
28252 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
28253 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
28254 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
28255 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
28256 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
28257 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
28258 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
28259 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
28260 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
28261 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
28262 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
28263 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
28264 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
28265 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
28266 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
28267 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
28268 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
28269 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
28270 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
28271 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
28272 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
28273 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
28274 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
28275 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
28276 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
28277 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
28278 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
28279 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
28280 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
28281 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
28282 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
28283 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
28284 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
28285 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
28286 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
28287 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
28288 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
28289 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
28290 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
28292 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
28294 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
28295 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
28296 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_PyObj_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
28297 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_PyObj_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
28298 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Unknown
));
28299 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_PyObj_FromInt((int)wxConfigBase::Type_String
));
28300 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Boolean
));
28301 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Integer
));
28302 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Float
));
28303 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
28304 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
28305 PyDict_SetItemString(d
,"DateTime_Local", SWIG_PyObj_FromInt((int)wxDateTime::Local
));
28306 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_PyObj_FromInt((int)wxDateTime::GMT_12
));
28307 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_PyObj_FromInt((int)wxDateTime::GMT_11
));
28308 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_PyObj_FromInt((int)wxDateTime::GMT_10
));
28309 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_PyObj_FromInt((int)wxDateTime::GMT_9
));
28310 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_PyObj_FromInt((int)wxDateTime::GMT_8
));
28311 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_PyObj_FromInt((int)wxDateTime::GMT_7
));
28312 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_PyObj_FromInt((int)wxDateTime::GMT_6
));
28313 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_PyObj_FromInt((int)wxDateTime::GMT_5
));
28314 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_PyObj_FromInt((int)wxDateTime::GMT_4
));
28315 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_PyObj_FromInt((int)wxDateTime::GMT_3
));
28316 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_PyObj_FromInt((int)wxDateTime::GMT_2
));
28317 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_PyObj_FromInt((int)wxDateTime::GMT_1
));
28318 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_PyObj_FromInt((int)wxDateTime::GMT0
));
28319 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_PyObj_FromInt((int)wxDateTime::GMT1
));
28320 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_PyObj_FromInt((int)wxDateTime::GMT2
));
28321 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_PyObj_FromInt((int)wxDateTime::GMT3
));
28322 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_PyObj_FromInt((int)wxDateTime::GMT4
));
28323 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_PyObj_FromInt((int)wxDateTime::GMT5
));
28324 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_PyObj_FromInt((int)wxDateTime::GMT6
));
28325 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_PyObj_FromInt((int)wxDateTime::GMT7
));
28326 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_PyObj_FromInt((int)wxDateTime::GMT8
));
28327 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_PyObj_FromInt((int)wxDateTime::GMT9
));
28328 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_PyObj_FromInt((int)wxDateTime::GMT10
));
28329 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_PyObj_FromInt((int)wxDateTime::GMT11
));
28330 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_PyObj_FromInt((int)wxDateTime::GMT12
));
28331 PyDict_SetItemString(d
,"DateTime_WET", SWIG_PyObj_FromInt((int)wxDateTime::WET
));
28332 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_PyObj_FromInt((int)wxDateTime::WEST
));
28333 PyDict_SetItemString(d
,"DateTime_CET", SWIG_PyObj_FromInt((int)wxDateTime::CET
));
28334 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_PyObj_FromInt((int)wxDateTime::CEST
));
28335 PyDict_SetItemString(d
,"DateTime_EET", SWIG_PyObj_FromInt((int)wxDateTime::EET
));
28336 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_PyObj_FromInt((int)wxDateTime::EEST
));
28337 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_PyObj_FromInt((int)wxDateTime::MSK
));
28338 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_PyObj_FromInt((int)wxDateTime::MSD
));
28339 PyDict_SetItemString(d
,"DateTime_AST", SWIG_PyObj_FromInt((int)wxDateTime::AST
));
28340 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_PyObj_FromInt((int)wxDateTime::ADT
));
28341 PyDict_SetItemString(d
,"DateTime_EST", SWIG_PyObj_FromInt((int)wxDateTime::EST
));
28342 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_PyObj_FromInt((int)wxDateTime::EDT
));
28343 PyDict_SetItemString(d
,"DateTime_CST", SWIG_PyObj_FromInt((int)wxDateTime::CST
));
28344 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_PyObj_FromInt((int)wxDateTime::CDT
));
28345 PyDict_SetItemString(d
,"DateTime_MST", SWIG_PyObj_FromInt((int)wxDateTime::MST
));
28346 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_PyObj_FromInt((int)wxDateTime::MDT
));
28347 PyDict_SetItemString(d
,"DateTime_PST", SWIG_PyObj_FromInt((int)wxDateTime::PST
));
28348 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_PyObj_FromInt((int)wxDateTime::PDT
));
28349 PyDict_SetItemString(d
,"DateTime_HST", SWIG_PyObj_FromInt((int)wxDateTime::HST
));
28350 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_PyObj_FromInt((int)wxDateTime::AKST
));
28351 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_PyObj_FromInt((int)wxDateTime::AKDT
));
28352 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_PyObj_FromInt((int)wxDateTime::A_WST
));
28353 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_PyObj_FromInt((int)wxDateTime::A_CST
));
28354 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_PyObj_FromInt((int)wxDateTime::A_EST
));
28355 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_PyObj_FromInt((int)wxDateTime::A_ESST
));
28356 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_PyObj_FromInt((int)wxDateTime::UTC
));
28357 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_PyObj_FromInt((int)wxDateTime::Gregorian
));
28358 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_PyObj_FromInt((int)wxDateTime::Julian
));
28359 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Unknown
));
28360 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Standard
));
28361 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Alaska
));
28362 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Albania
));
28363 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria
));
28364 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
28365 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
28366 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
28367 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
28368 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Styria
));
28369 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Belgium
));
28370 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria
));
28371 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
28372 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
28373 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
28374 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Canada
));
28375 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China
));
28376 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_1
));
28377 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_2
));
28378 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
28379 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Denmark
));
28380 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Egypt
));
28381 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Estonia
));
28382 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Finland
));
28383 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France
));
28384 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Alsace
));
28385 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Lorraine
));
28386 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
28387 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany
));
28388 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
28389 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
28390 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
28391 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_GreatBritain
));
28392 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Greece
));
28393 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Hungary
));
28394 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Ireland
));
28395 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Italy
));
28396 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan
));
28397 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_1
));
28398 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_2
));
28399 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_3
));
28400 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Latvia
));
28401 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Lithuania
));
28402 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Luxemburg
));
28403 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands
));
28404 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
28405 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
28406 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
28407 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
28408 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Norway
));
28409 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Poland
));
28410 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Portugal
));
28411 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Romania
));
28412 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Russia
));
28413 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Scotland
));
28414 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Spain
));
28415 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Sweden
));
28416 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland
));
28417 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
28418 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
28419 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Turkey
));
28420 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_PyObj_FromInt((int)wxDateTime::Gr_USA
));
28421 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Wales
));
28422 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Yugoslavia
));
28423 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Country_Unknown
));
28424 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_PyObj_FromInt((int)wxDateTime::Country_Default
));
28425 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
28426 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_PyObj_FromInt((int)wxDateTime::Country_EEC
));
28427 PyDict_SetItemString(d
,"DateTime_France", SWIG_PyObj_FromInt((int)wxDateTime::France
));
28428 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Germany
));
28429 PyDict_SetItemString(d
,"DateTime_UK", SWIG_PyObj_FromInt((int)wxDateTime::UK
));
28430 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_End
));
28431 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Russia
));
28432 PyDict_SetItemString(d
,"DateTime_USA", SWIG_PyObj_FromInt((int)wxDateTime::USA
));
28433 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_PyObj_FromInt((int)wxDateTime::Jan
));
28434 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_PyObj_FromInt((int)wxDateTime::Feb
));
28435 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_PyObj_FromInt((int)wxDateTime::Mar
));
28436 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_PyObj_FromInt((int)wxDateTime::Apr
));
28437 PyDict_SetItemString(d
,"DateTime_May", SWIG_PyObj_FromInt((int)wxDateTime::May
));
28438 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_PyObj_FromInt((int)wxDateTime::Jun
));
28439 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_PyObj_FromInt((int)wxDateTime::Jul
));
28440 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_PyObj_FromInt((int)wxDateTime::Aug
));
28441 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_PyObj_FromInt((int)wxDateTime::Sep
));
28442 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_PyObj_FromInt((int)wxDateTime::Oct
));
28443 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_PyObj_FromInt((int)wxDateTime::Nov
));
28444 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_PyObj_FromInt((int)wxDateTime::Dec
));
28445 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Month
));
28446 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_PyObj_FromInt((int)wxDateTime::Sun
));
28447 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_PyObj_FromInt((int)wxDateTime::Mon
));
28448 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_PyObj_FromInt((int)wxDateTime::Tue
));
28449 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_PyObj_FromInt((int)wxDateTime::Wed
));
28450 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_PyObj_FromInt((int)wxDateTime::Thu
));
28451 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_PyObj_FromInt((int)wxDateTime::Fri
));
28452 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_PyObj_FromInt((int)wxDateTime::Sat
));
28453 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_PyObj_FromInt((int)wxDateTime::Inv_WeekDay
));
28454 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Year
));
28455 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_PyObj_FromInt((int)wxDateTime::Name_Full
));
28456 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_PyObj_FromInt((int)wxDateTime::Name_Abbr
));
28457 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_PyObj_FromInt((int)wxDateTime::Default_First
));
28458 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_PyObj_FromInt((int)wxDateTime::Monday_First
));
28459 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_PyObj_FromInt((int)wxDateTime::Sunday_First
));
28460 PyDict_SetItemString(d
,"DF_INVALID", SWIG_PyObj_FromInt((int)wxDF_INVALID
));
28461 PyDict_SetItemString(d
,"DF_TEXT", SWIG_PyObj_FromInt((int)wxDF_TEXT
));
28462 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_PyObj_FromInt((int)wxDF_BITMAP
));
28463 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_PyObj_FromInt((int)wxDF_METAFILE
));
28464 PyDict_SetItemString(d
,"DF_SYLK", SWIG_PyObj_FromInt((int)wxDF_SYLK
));
28465 PyDict_SetItemString(d
,"DF_DIF", SWIG_PyObj_FromInt((int)wxDF_DIF
));
28466 PyDict_SetItemString(d
,"DF_TIFF", SWIG_PyObj_FromInt((int)wxDF_TIFF
));
28467 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_PyObj_FromInt((int)wxDF_OEMTEXT
));
28468 PyDict_SetItemString(d
,"DF_DIB", SWIG_PyObj_FromInt((int)wxDF_DIB
));
28469 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_PyObj_FromInt((int)wxDF_PALETTE
));
28470 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_PyObj_FromInt((int)wxDF_PENDATA
));
28471 PyDict_SetItemString(d
,"DF_RIFF", SWIG_PyObj_FromInt((int)wxDF_RIFF
));
28472 PyDict_SetItemString(d
,"DF_WAVE", SWIG_PyObj_FromInt((int)wxDF_WAVE
));
28473 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_PyObj_FromInt((int)wxDF_UNICODETEXT
));
28474 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_PyObj_FromInt((int)wxDF_ENHMETAFILE
));
28475 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_PyObj_FromInt((int)wxDF_FILENAME
));
28476 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_PyObj_FromInt((int)wxDF_LOCALE
));
28477 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_PyObj_FromInt((int)wxDF_PRIVATE
));
28478 PyDict_SetItemString(d
,"DF_HTML", SWIG_PyObj_FromInt((int)wxDF_HTML
));
28479 PyDict_SetItemString(d
,"DF_MAX", SWIG_PyObj_FromInt((int)wxDF_MAX
));
28480 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
28481 PyDict_SetItemString(d
,"DataObject_Get", SWIG_PyObj_FromInt((int)wxDataObject::Get
));
28482 PyDict_SetItemString(d
,"DataObject_Set", SWIG_PyObj_FromInt((int)wxDataObject::Set
));
28483 PyDict_SetItemString(d
,"DataObject_Both", SWIG_PyObj_FromInt((int)wxDataObject::Both
));
28484 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_PyObj_FromInt((int)wxDrag_CopyOnly
));
28485 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_PyObj_FromInt((int)wxDrag_AllowMove
));
28486 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_PyObj_FromInt((int)wxDrag_DefaultMove
));
28487 PyDict_SetItemString(d
,"DragError", SWIG_PyObj_FromInt((int)wxDragError
));
28488 PyDict_SetItemString(d
,"DragNone", SWIG_PyObj_FromInt((int)wxDragNone
));
28489 PyDict_SetItemString(d
,"DragCopy", SWIG_PyObj_FromInt((int)wxDragCopy
));
28490 PyDict_SetItemString(d
,"DragMove", SWIG_PyObj_FromInt((int)wxDragMove
));
28491 PyDict_SetItemString(d
,"DragLink", SWIG_PyObj_FromInt((int)wxDragLink
));
28492 PyDict_SetItemString(d
,"DragCancel", SWIG_PyObj_FromInt((int)wxDragCancel
));
28494 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
28495 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
28496 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
28497 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
28499 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);