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_wxMetafile swig_types[2]
236 #define SWIGTYPE_p_wxFileHistory swig_types[3]
237 #define SWIGTYPE_p_wxLog swig_types[4]
238 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
239 #define SWIGTYPE_p_wxMenu swig_types[6]
240 #define SWIGTYPE_p_wxEvent swig_types[7]
241 #define SWIGTYPE_p_wxConfigBase swig_types[8]
242 #define SWIGTYPE_p_wxFileType swig_types[9]
243 #define SWIGTYPE_p_wxLogGui swig_types[10]
244 #define SWIGTYPE_p_wxFont swig_types[11]
245 #define SWIGTYPE_p_wxDataFormat swig_types[12]
246 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
247 #define SWIGTYPE_p_wxCaret swig_types[14]
248 #define SWIGTYPE_p_int swig_types[15]
249 #define SWIGTYPE_p_wxSize swig_types[16]
250 #define SWIGTYPE_p_wxClipboard swig_types[17]
251 #define SWIGTYPE_p_wxStopWatch swig_types[18]
252 #define SWIGTYPE_p_wxDC swig_types[19]
253 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
254 #define SWIGTYPE_p_wxIcon swig_types[21]
255 #define SWIGTYPE_p_wxLogStderr swig_types[22]
256 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
257 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
258 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
259 #define SWIGTYPE_p_wxPyTextDataObject swig_types[26]
260 #define SWIGTYPE_p_wxBitmapDataObject swig_types[27]
261 #define SWIGTYPE_p_wxTextDataObject swig_types[28]
262 #define SWIGTYPE_p_wxDataObject swig_types[29]
263 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[30]
264 #define SWIGTYPE_p_wxFileDataObject swig_types[31]
265 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
266 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
267 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
268 #define SWIGTYPE_p_wxSound swig_types[35]
269 #define SWIGTYPE_p_wxTimerRunner swig_types[36]
270 #define SWIGTYPE_p_wxLogWindow swig_types[37]
271 #define SWIGTYPE_p_wxTimeSpan swig_types[38]
272 #define SWIGTYPE_p_wxArrayString swig_types[39]
273 #define SWIGTYPE_p_wxWindowDisabler swig_types[40]
274 #define SWIGTYPE_p_wxToolTip swig_types[41]
275 #define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
276 #define SWIGTYPE_p_wxFileConfig swig_types[43]
277 #define SWIGTYPE_p_wxSystemSettings swig_types[44]
278 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[45]
279 #define SWIGTYPE_p_wxDataObjectSimple swig_types[46]
280 #define SWIGTYPE_p_wxEvtHandler swig_types[47]
281 #define SWIGTYPE_p_wxRect swig_types[48]
282 #define SWIGTYPE_p_char swig_types[49]
283 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[50]
284 #define SWIGTYPE_p_wxFileTypeInfo swig_types[51]
285 #define SWIGTYPE_p_wxFrame swig_types[52]
286 #define SWIGTYPE_p_wxTimer swig_types[53]
287 #define SWIGTYPE_p_wxMimeTypesManager swig_types[54]
288 #define SWIGTYPE_p_wxPyArtProvider swig_types[55]
289 #define SWIGTYPE_p_wxPyTipProvider swig_types[56]
290 #define SWIGTYPE_p_wxTipProvider swig_types[57]
291 #define SWIGTYPE_p_wxJoystick swig_types[58]
292 #define SWIGTYPE_p_wxSystemOptions swig_types[59]
293 #define SWIGTYPE_p_wxPoint swig_types[60]
294 #define SWIGTYPE_p_wxJoystickEvent swig_types[61]
295 #define SWIGTYPE_p_wxCursor swig_types[62]
296 #define SWIGTYPE_p_wxObject swig_types[63]
297 #define SWIGTYPE_p_wxOutputStream swig_types[64]
298 #define SWIGTYPE_p_wxDateTime swig_types[65]
299 #define SWIGTYPE_p_wxPyDropSource swig_types[66]
300 #define SWIGTYPE_p_wxWindow swig_types[67]
301 #define SWIGTYPE_p_wxString swig_types[68]
302 #define SWIGTYPE_p_wxPyProcess swig_types[69]
303 #define SWIGTYPE_p_wxBitmap swig_types[70]
304 #define SWIGTYPE_p_wxConfig swig_types[71]
305 #define SWIGTYPE_p_wxChar swig_types[72]
306 #define SWIGTYPE_p_wxBusyInfo swig_types[73]
307 #define SWIGTYPE_p_wxPyDropTarget swig_types[74]
308 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[75]
309 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[76]
310 #define SWIGTYPE_p_wxProcessEvent swig_types[77]
311 #define SWIGTYPE_p_wxPyLog swig_types[78]
312 #define SWIGTYPE_p_wxLogNull swig_types[79]
313 #define SWIGTYPE_p_wxColour swig_types[80]
314 #define SWIGTYPE_p_wxByte swig_types[81]
315 #define SWIGTYPE_p_wxConfigPathChanger swig_types[82]
316 #define SWIGTYPE_p_wxPyTimer swig_types[83]
317 #define SWIGTYPE_p_wxDateSpan swig_types[84]
318 static swig_type_info
*swig_types
[86];
320 /* -------- TYPES TABLE (END) -------- */
323 /*-----------------------------------------------
325 ------------------------------------------------*/
326 #define SWIG_init init_misc
328 #define SWIG_name "_misc"
336 #define SWIGSTATIC(a) static inline a
338 #define SWIGSTATIC(a) static a
344 #ifdef HAVE_NUMERIC_CAST
345 #define numeric_cast(type,a) numeric_cast<type>(a)
347 #define numeric_cast(type,a) static_cast<type>(a)
350 #define numeric_cast(type,a) (type)(a)
356 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
357 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
358 #define SWIG_PyObj_FromShort PyInt_FromLong
359 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
360 #define SWIG_PyObj_FromInt PyInt_FromLong
361 #define SWIG_PyObj_FromLong PyInt_FromLong
362 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
363 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
364 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
365 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
368 #include "wx/wxPython/wxPython.h"
369 #include "wx/wxPython/pyclasses.h"
370 #include "wx/wxPython/pyistream.h"
373 static const wxString
wxPyEmptyString(wxEmptyString
);
378 SWIG_PyObj_AsInt(PyObject
*obj
)
380 return numeric_cast(int,
381 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
384 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
385 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
386 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
389 SWIG_PyObj_AsLong(PyObject
* obj
)
391 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
396 SWIG_PyObj_AsBool(PyObject
*obj
)
398 return PyObject_IsTrue(obj
) ? true : false;
402 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
408 } else if (target
== Py_None
) {
412 if (!PyTuple_Check(target
)) {
414 target
= PyTuple_New(1);
415 PyTuple_SetItem(target
, 0, o2
);
418 PyTuple_SetItem(o3
, 0, o
);
421 target
= PySequence_Concat(o2
, o3
);
429 SWIGSTATIC(PyObject
* )
430 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
432 return (value
> (unsigned long)(LONG_MAX
)) ?
433 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
437 bool wxThread_IsMain() {
438 #ifdef WXP_WITH_THREAD
439 return wxThread::IsMain();
446 int wxCaret_GetBlinkTime() {
447 return wxCaret::GetBlinkTime();
450 void wxCaret_SetBlinkTime(int milliseconds
) {
451 wxCaret::SetBlinkTime(milliseconds
);
455 #include <wx/snglinst.h>
459 #include <wx/msw/private.h>
460 #include <wx/dynload.h>
465 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
472 // This one only partially works. Appears to be an undocumented
473 // "standard" convention that not all widgets adhear to. For
474 // example, for some widgets backgrounds or non-client areas may
476 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
480 // This one works much better, except for on XP. On Win2k nearly
481 // all widgets and their children are captured correctly[**]. On
482 // XP with Themes activated most native widgets draw only
483 // partially, if at all. Without themes it works just like on
486 // ** For example the radio buttons in a wxRadioBox are not its
487 // children by default, but you can capture it via the panel
488 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
489 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
490 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
491 PRF_ERASEBKGND
| PRF_OWNED
);
495 // This one is only defined in the latest SDK and is only
496 // available on XP. MSDN says it is similar to sending WM_PRINT
497 // so I expect that it will work similar to the above. Since it
498 // is avaialble only on XP, it can't be compiled like this and
499 // will have to be loaded dynamically.
500 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
505 // Use PrintWindow if available, or fallback to WM_PRINT
506 // otherwise. Unfortunately using PrintWindow is even worse than
507 // WM_PRINT. For most native widgets nothing is drawn to the dc
508 // at all, with or without Themes.
509 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
510 static bool s_triedToLoad
= False
;
511 static PrintWindow_t pfnPrintWindow
= NULL
;
512 if ( !s_triedToLoad
)
515 s_triedToLoad
= True
;
516 wxDynamicLibrary
dllUser32(_T("user32.dll"));
517 if ( dllUser32
.IsLoaded() )
519 wxLogNull nolog
; // Don't report errors here
520 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
525 printf("Using PrintWindow\n");
526 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
530 printf("Using WM_PRINT\n");
531 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
532 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
540 #include <wx/tipdlg.h>
543 class wxPyTipProvider
: public wxTipProvider
{
545 wxPyTipProvider(size_t currentTip
)
546 : wxTipProvider(currentTip
) {}
548 DEC_PYCALLBACK_STRING__pure(GetTip
);
549 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
553 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
554 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
557 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
560 SWIGSTATIC(unsigned int)
561 SWIG_PyObj_AsUnsignedInt(PyObject
*obj
)
563 return numeric_cast(unsigned int,
564 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned int", UINT_MAX
));
567 wxString
Log_TimeStamp(){
569 wxLog::TimeStamp(&msg
);
572 void wxLog_Destroy(wxLog
*self
){ delete self
; }
574 // A wxLog class that can be derived from in wxPython
575 class wxPyLog
: public wxLog
{
577 wxPyLog() : wxLog() {}
579 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
581 wxPyBeginBlockThreads();
582 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
583 PyObject
* s
= wx2PyString(szString
);
584 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
587 wxPyEndBlockThreads();
589 wxLog::DoLog(level
, szString
, t
);
592 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
594 wxPyBeginBlockThreads();
595 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
596 PyObject
* s
= wx2PyString(szString
);
597 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
600 wxPyEndBlockThreads();
602 wxLog::DoLogString(szString
, t
);
611 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
614 #include <wx/joystick.h>
617 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
618 // A C++ stub class for wxJoystick for platforms that don't have it.
619 class wxJoystick
: public wxObject
{
621 wxJoystick(int joystick
= wxJOYSTICK1
) {
622 wxPyBeginBlockThreads();
623 PyErr_SetString(PyExc_NotImplementedError
,
624 "wxJoystick is not available on this platform.");
625 wxPyEndBlockThreads();
627 wxPoint
GetPosition() { return wxPoint(-1,-1); }
628 int GetZPosition() { return -1; }
629 int GetButtonState() { return -1; }
630 int GetPOVPosition() { return -1; }
631 int GetPOVCTSPosition() { return -1; }
632 int GetRudderPosition() { return -1; }
633 int GetUPosition() { return -1; }
634 int GetVPosition() { return -1; }
635 int GetMovementThreshold() { return -1; }
636 void SetMovementThreshold(int threshold
) {}
638 bool IsOk(void) { return False
; }
639 int GetNumberJoysticks() { return -1; }
640 int GetManufacturerId() { return -1; }
641 int GetProductId() { return -1; }
642 wxString
GetProductName() { return ""; }
643 int GetXMin() { return -1; }
644 int GetYMin() { return -1; }
645 int GetZMin() { return -1; }
646 int GetXMax() { return -1; }
647 int GetYMax() { return -1; }
648 int GetZMax() { return -1; }
649 int GetNumberButtons() { return -1; }
650 int GetNumberAxes() { return -1; }
651 int GetMaxButtons() { return -1; }
652 int GetMaxAxes() { return -1; }
653 int GetPollingMin() { return -1; }
654 int GetPollingMax() { return -1; }
655 int GetRudderMin() { return -1; }
656 int GetRudderMax() { return -1; }
657 int GetUMin() { return -1; }
658 int GetUMax() { return -1; }
659 int GetVMin() { return -1; }
660 int GetVMax() { return -1; }
662 bool HasRudder() { return False
; }
663 bool HasZ() { return False
; }
664 bool HasU() { return False
; }
665 bool HasV() { return False
; }
666 bool HasPOV() { return False
; }
667 bool HasPOV4Dir() { return False
; }
668 bool HasPOVCTS() { return False
; }
670 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
671 bool ReleaseCapture() { return False
; }
676 #include <wx/sound.h>
680 // A C++ stub class for wxWave for platforms that don't have it.
681 class wxSound
: public wxObject
685 wxPyBeginBlockThreads();
686 PyErr_SetString(PyExc_NotImplementedError
,
687 "wxSound is not available on this platform.");
688 wxPyEndBlockThreads();
690 wxSound(const wxString
&, bool) {
691 wxPyBeginBlockThreads();
692 PyErr_SetString(PyExc_NotImplementedError
,
693 "wxSound is not available on this platform.");
694 wxPyEndBlockThreads();
696 wxSound(int, const wxByte
*) {
697 wxPyBeginBlockThreads();
698 PyErr_SetString(PyExc_NotImplementedError
,
699 "wxSound is not available on this platform.");
700 wxPyEndBlockThreads();
705 bool Create(const wxString
&, bool) { return false; }
706 bool Create(int, const wxByte
*) { return false; };
707 bool IsOk() { return false; };
708 bool Play(unsigned) const { return false; }
709 static bool Play(const wxString
&, unsigned) { return false; }
710 static void Stop() {}
715 bool wxSound_Create__SWIG_1(wxSound
*self
,int size
,wxByte
const *data
){
716 wxPyBeginBlockThreads();
717 PyErr_SetString(PyExc_NotImplementedError
,
718 "Create from data is not available on this platform.");
719 wxPyEndBlockThreads();
723 #include <wx/mimetype.h>
725 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
727 if (self
->GetMimeType(&str
))
728 return wx2PyString(str
);
732 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
734 if (self
->GetMimeTypes(arr
))
735 return wxArrayString2PyList_helper(arr
);
739 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
741 if (self
->GetExtensions(arr
))
742 return wxArrayString2PyList_helper(arr
);
746 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
748 if (self
->GetIcon(&loc
))
749 return new wxIcon(loc
);
753 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
755 if (self
->GetIcon(&loc
)) {
756 wxString iconFile
= loc
.GetFileName();
761 // Make a tuple and put the values in it
762 wxPyBeginBlockThreads();
763 PyObject
* tuple
= PyTuple_New(3);
764 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
765 wxT("wxIcon"), True
));
766 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
767 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
768 wxPyEndBlockThreads();
774 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
776 if (self
->GetDescription(&str
))
777 return wx2PyString(str
);
781 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
783 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
784 return wx2PyString(str
);
788 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
790 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
791 return wx2PyString(str
);
795 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
797 wxArrayString commands
;
798 if (self
->GetAllCommands(&verbs
, &commands
,
799 wxFileType::MessageParameters(filename
, mimetype
))) {
800 wxPyBeginBlockThreads();
801 PyObject
* tuple
= PyTuple_New(2);
802 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
803 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
804 wxPyEndBlockThreads();
810 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
811 return wxFileType::ExpandCommand(command
,
812 wxFileType::MessageParameters(filename
, mimetype
));
814 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
816 self
->EnumAllFileTypes(arr
);
817 return wxArrayString2PyList_helper(arr
);
820 #include <wx/artprov.h>
822 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
823 static const wxString
wxPyART_MENU(wxART_MENU
);
824 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
825 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
826 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
827 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
828 static const wxString
wxPyART_OTHER(wxART_OTHER
);
829 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
830 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
831 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
832 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
833 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
834 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
835 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
836 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
837 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
838 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
839 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
840 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
841 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
842 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
843 static const wxString
wxPyART_PRINT(wxART_PRINT
);
844 static const wxString
wxPyART_HELP(wxART_HELP
);
845 static const wxString
wxPyART_TIP(wxART_TIP
);
846 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
847 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
848 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
849 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
850 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
851 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
852 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
853 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
854 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
855 static const wxString
wxPyART_ERROR(wxART_ERROR
);
856 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
857 static const wxString
wxPyART_WARNING(wxART_WARNING
);
858 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
859 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
860 // Python aware wxArtProvider
861 class wxPyArtProvider
: public wxArtProvider
{
864 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
865 const wxArtClient
& client
,
866 const wxSize
& size
) {
867 wxBitmap rval
= wxNullBitmap
;
868 wxPyBeginBlockThreads();
869 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
870 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
874 s1
= wx2PyString(id
);
875 s2
= wx2PyString(client
);
876 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
881 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
886 wxPyEndBlockThreads();
893 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
897 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
898 PyObject
* ret
= PyTuple_New(3);
900 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
901 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
902 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
907 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
912 cont
= self
->GetFirstGroup(value
, index
);
913 return __EnumerationHelper(cont
, value
, index
);
915 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
919 cont
= self
->GetNextGroup(value
, index
);
920 return __EnumerationHelper(cont
, value
, index
);
922 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
927 cont
= self
->GetFirstEntry(value
, index
);
928 return __EnumerationHelper(cont
, value
, index
);
930 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
934 cont
= self
->GetNextEntry(value
, index
);
935 return __EnumerationHelper(cont
, value
, index
);
937 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
939 self
->Read(key
, &rv
, defaultVal
);
944 SWIG_PyObj_AsDouble(PyObject
*obj
)
946 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
948 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
950 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
952 if (PyErr_Occurred()) {
954 PyErr_SetString(PyExc_TypeError
, "a double is expected");
958 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
960 self
->Read(key
, &rv
, defaultVal
);
963 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
965 self
->Read(key
, &rv
, defaultVal
);
969 #include <wx/datetime.h>
972 static const wxString
wxPyDateFormatStr(wxT("%c"));
973 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
975 #define LOCAL_TZ wxDateTime::Local
978 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
980 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
981 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
982 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
983 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
984 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
985 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
< other
; }
986 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
<= other
; }
987 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
> other
; }
988 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
>= other
; }
989 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
== other
; }
990 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
!= other
; }
991 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
993 const wxChar
* _date
= date
;
994 rv
= self
->ParseRfc822Date(_date
);
995 if (rv
== NULL
) return -1;
998 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1000 const wxChar
* _date
= date
;
1001 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1002 if (rv
== NULL
) return -1;
1005 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1007 const wxChar
* _datetime
= datetime
;
1008 rv
= self
->ParseDateTime(_datetime
);
1009 if (rv
== NULL
) return -1;
1010 return rv
- _datetime
;
1012 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1014 const wxChar
* _date
= date
;
1015 rv
= self
->ParseDate(_date
);
1016 if (rv
== NULL
) return -1;
1019 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1021 const wxChar
* _time
= time
;
1022 rv
= self
->ParseTime(_time
);
1023 if (rv
== NULL
) return -1;
1026 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1027 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1028 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1029 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1030 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
< other
; }
1031 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
<= other
; }
1032 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
> other
; }
1033 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
>= other
; }
1034 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
== other
; }
1035 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
!= other
; }
1036 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1037 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1038 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1039 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1040 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
== other
; }
1041 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
!= other
; }
1043 #include <wx/dataobj.h>
1045 // Create a new class for wxPython to use
1046 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1048 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1049 : wxDataObjectSimple(format
) {}
1051 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1052 bool GetDataHere(void *buf
) const;
1053 bool SetData(size_t len
, const void *buf
) const;
1057 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1059 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1060 // We need to get the data for this object and write it to buf. I think
1061 // the best way to do this for wxPython is to have the Python method
1062 // return either a string or None and then act appropriately with the
1066 wxPyBeginBlockThreads();
1067 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1069 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1071 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1073 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1077 wxPyEndBlockThreads();
1081 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1082 // For this one we simply need to make a string from buf and len
1083 // and send it to the Python method.
1085 wxPyBeginBlockThreads();
1086 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1087 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1088 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1091 wxPyEndBlockThreads();
1095 // Create a new class for wxPython to use
1096 class wxPyTextDataObject
: public wxTextDataObject
{
1098 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1099 : wxTextDataObject(text
) {}
1101 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1102 DEC_PYCALLBACK_STRING__const(GetText
);
1103 DEC_PYCALLBACK__STRING(SetText
);
1107 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1108 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1109 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1112 // Create a new class for wxPython to use
1113 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1115 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1116 : wxBitmapDataObject(bitmap
) {}
1118 wxBitmap
GetBitmap() const;
1119 void SetBitmap(const wxBitmap
& bitmap
);
1123 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1124 wxBitmap
* rval
= &wxNullBitmap
;
1125 wxPyBeginBlockThreads();
1126 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1129 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1131 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1136 wxPyEndBlockThreads();
1140 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1141 wxPyBeginBlockThreads();
1142 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1143 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1144 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1147 wxPyEndBlockThreads();
1150 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1151 if (PyString_Check(data
)) {
1152 // for Python we just call SetData here since we always need it to make a copy.
1153 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1156 // raise a TypeError if not a string
1157 PyErr_SetString(PyExc_TypeError
, "String expected.");
1160 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1161 if (PyString_Check(data
)) {
1162 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1165 // raise a TypeError if not a string
1166 PyErr_SetString(PyExc_TypeError
, "String expected.");
1170 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1171 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1174 #include <wx/metafile.h>
1177 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1180 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1181 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1182 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1183 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1184 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1187 class wxPyTextDropTarget
: public wxTextDropTarget
{
1189 wxPyTextDropTarget() {}
1191 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1193 DEC_PYCALLBACK__(OnLeave
);
1194 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1195 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1196 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1197 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1202 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1203 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1204 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1205 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1206 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1207 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1211 class wxPyFileDropTarget
: public wxFileDropTarget
{
1213 wxPyFileDropTarget() {}
1215 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1217 DEC_PYCALLBACK__(OnLeave
);
1218 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1219 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1220 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1221 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1226 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1227 const wxArrayString
& filenames
) {
1229 wxPyBeginBlockThreads();
1230 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1231 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1232 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1235 wxPyEndBlockThreads();
1241 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1242 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1243 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1244 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1245 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1250 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1254 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1255 PyObject
*resultobj
;
1258 PyObject
* obj0
= 0 ;
1260 (char *) "index", NULL
1263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1265 arg1
= (wxSystemColour
) SWIG_PyObj_AsInt(obj0
);
1266 if (PyErr_Occurred()) SWIG_fail
;
1269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1270 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1272 wxPyEndAllowThreads(__tstate
);
1273 if (PyErr_Occurred()) SWIG_fail
;
1276 wxColour
* resultptr
;
1277 resultptr
= new wxColour((wxColour
&) result
);
1278 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1286 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1287 PyObject
*resultobj
;
1290 PyObject
* obj0
= 0 ;
1292 (char *) "index", NULL
1295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1297 arg1
= (wxSystemFont
) SWIG_PyObj_AsInt(obj0
);
1298 if (PyErr_Occurred()) SWIG_fail
;
1301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1302 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1304 wxPyEndAllowThreads(__tstate
);
1305 if (PyErr_Occurred()) SWIG_fail
;
1309 resultptr
= new wxFont((wxFont
&) result
);
1310 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
1318 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1319 PyObject
*resultobj
;
1322 PyObject
* obj0
= 0 ;
1324 (char *) "index", NULL
1327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1329 arg1
= (wxSystemMetric
) SWIG_PyObj_AsInt(obj0
);
1330 if (PyErr_Occurred()) SWIG_fail
;
1333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1334 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1336 wxPyEndAllowThreads(__tstate
);
1337 if (PyErr_Occurred()) SWIG_fail
;
1339 resultobj
= SWIG_PyObj_FromInt((int)result
);
1346 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1347 PyObject
*resultobj
;
1350 PyObject
* obj0
= 0 ;
1352 (char *) "index", NULL
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1357 arg1
= (wxSystemFeature
) SWIG_PyObj_AsInt(obj0
);
1358 if (PyErr_Occurred()) SWIG_fail
;
1361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1362 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1364 wxPyEndAllowThreads(__tstate
);
1365 if (PyErr_Occurred()) SWIG_fail
;
1367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1374 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
*resultobj
;
1381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1384 result
= (int)wxSystemSettings::GetScreenType();
1386 wxPyEndAllowThreads(__tstate
);
1387 if (PyErr_Occurred()) SWIG_fail
;
1389 resultobj
= SWIG_PyObj_FromInt((int)result
);
1396 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1397 PyObject
*resultobj
;
1399 PyObject
* obj0
= 0 ;
1401 (char *) "screen", NULL
1404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1406 arg1
= (wxSystemScreenType
) SWIG_PyObj_AsInt(obj0
);
1407 if (PyErr_Occurred()) SWIG_fail
;
1410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1411 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1413 wxPyEndAllowThreads(__tstate
);
1414 if (PyErr_Occurred()) SWIG_fail
;
1416 Py_INCREF(Py_None
); resultobj
= Py_None
;
1423 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1426 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1428 return Py_BuildValue((char *)"");
1430 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
*resultobj
;
1432 wxSystemOptions
*result
;
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1440 result
= (wxSystemOptions
*)new wxSystemOptions();
1442 wxPyEndAllowThreads(__tstate
);
1443 if (PyErr_Occurred()) SWIG_fail
;
1445 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSystemOptions
, 1);
1452 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1453 PyObject
*resultobj
;
1454 wxString
*arg1
= 0 ;
1455 wxString
*arg2
= 0 ;
1456 bool temp1
= False
;
1457 bool temp2
= False
;
1458 PyObject
* obj0
= 0 ;
1459 PyObject
* obj1
= 0 ;
1461 (char *) "name",(char *) "value", NULL
1464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1466 arg1
= wxString_in_helper(obj0
);
1467 if (arg1
== NULL
) SWIG_fail
;
1471 arg2
= wxString_in_helper(obj1
);
1472 if (arg2
== NULL
) SWIG_fail
;
1476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1477 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1479 wxPyEndAllowThreads(__tstate
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1482 Py_INCREF(Py_None
); resultobj
= Py_None
;
1505 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
*resultobj
;
1507 wxString
*arg1
= 0 ;
1509 bool temp1
= False
;
1510 PyObject
* obj0
= 0 ;
1511 PyObject
* obj1
= 0 ;
1513 (char *) "name",(char *) "value", NULL
1516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1518 arg1
= wxString_in_helper(obj0
);
1519 if (arg1
== NULL
) SWIG_fail
;
1523 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1524 if (PyErr_Occurred()) SWIG_fail
;
1527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1528 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1530 wxPyEndAllowThreads(__tstate
);
1531 if (PyErr_Occurred()) SWIG_fail
;
1533 Py_INCREF(Py_None
); resultobj
= Py_None
;
1548 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
*resultobj
;
1550 wxString
*arg1
= 0 ;
1552 bool temp1
= False
;
1553 PyObject
* obj0
= 0 ;
1555 (char *) "name", NULL
1558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1560 arg1
= wxString_in_helper(obj0
);
1561 if (arg1
== NULL
) SWIG_fail
;
1565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1566 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1568 wxPyEndAllowThreads(__tstate
);
1569 if (PyErr_Occurred()) SWIG_fail
;
1573 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1575 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1592 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
*resultobj
;
1594 wxString
*arg1
= 0 ;
1596 bool temp1
= False
;
1597 PyObject
* obj0
= 0 ;
1599 (char *) "name", NULL
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1604 arg1
= wxString_in_helper(obj0
);
1605 if (arg1
== NULL
) SWIG_fail
;
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) SWIG_fail
;
1615 resultobj
= SWIG_PyObj_FromInt((int)result
);
1630 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1631 PyObject
*resultobj
;
1632 wxString
*arg1
= 0 ;
1634 bool temp1
= False
;
1635 PyObject
* obj0
= 0 ;
1637 (char *) "name", NULL
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1642 arg1
= wxString_in_helper(obj0
);
1643 if (arg1
== NULL
) SWIG_fail
;
1647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1648 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1650 wxPyEndAllowThreads(__tstate
);
1651 if (PyErr_Occurred()) SWIG_fail
;
1653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1668 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1671 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1673 return Py_BuildValue((char *)"");
1675 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
1676 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1681 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1686 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1688 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1695 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
1696 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1701 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1706 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1708 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1715 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
1716 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1721 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1726 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1728 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1735 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
*resultobj
;
1742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1745 result
= (long)wxNewId();
1747 wxPyEndAllowThreads(__tstate
);
1748 if (PyErr_Occurred()) SWIG_fail
;
1750 resultobj
= SWIG_PyObj_FromLong((long)result
);
1757 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1758 PyObject
*resultobj
;
1760 PyObject
* obj0
= 0 ;
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
1767 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
1768 if (PyErr_Occurred()) SWIG_fail
;
1771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1774 wxPyEndAllowThreads(__tstate
);
1775 if (PyErr_Occurred()) SWIG_fail
;
1777 Py_INCREF(Py_None
); resultobj
= Py_None
;
1784 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
*resultobj
;
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1794 result
= (long)wxGetCurrentId();
1796 wxPyEndAllowThreads(__tstate
);
1797 if (PyErr_Occurred()) SWIG_fail
;
1799 resultobj
= SWIG_PyObj_FromLong((long)result
);
1806 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1807 PyObject
*resultobj
;
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1817 wxPyEndAllowThreads(__tstate
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1820 Py_INCREF(Py_None
); resultobj
= Py_None
;
1827 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1828 PyObject
*resultobj
;
1833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
1835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1838 wxPyEndAllowThreads(__tstate
);
1839 if (PyErr_Occurred()) SWIG_fail
;
1841 Py_INCREF(Py_None
); resultobj
= Py_None
;
1848 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
*resultobj
;
1850 bool arg1
= (bool) True
;
1852 PyObject
* obj0
= 0 ;
1854 (char *) "resetTimer", NULL
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
1860 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
1861 if (PyErr_Occurred()) SWIG_fail
;
1865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1866 result
= (long)wxGetElapsedTime(arg1
);
1868 wxPyEndAllowThreads(__tstate
);
1869 if (PyErr_Occurred()) SWIG_fail
;
1871 resultobj
= SWIG_PyObj_FromLong((long)result
);
1878 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
*resultobj
;
1880 int *arg1
= (int *) 0 ;
1881 int *arg2
= (int *) 0 ;
1890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
1892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1893 wxGetMousePosition(arg1
,arg2
);
1895 wxPyEndAllowThreads(__tstate
);
1896 if (PyErr_Occurred()) SWIG_fail
;
1898 Py_INCREF(Py_None
); resultobj
= Py_None
;
1900 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1901 resultobj
= t_output_helper(resultobj
,o
);
1904 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1905 resultobj
= t_output_helper(resultobj
,o
);
1913 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
*resultobj
;
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
1922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1923 result
= (bool)wxIsBusy();
1925 wxPyEndAllowThreads(__tstate
);
1926 if (PyErr_Occurred()) SWIG_fail
;
1928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1935 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
*resultobj
;
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
1944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1947 wxPyEndAllowThreads(__tstate
);
1948 if (PyErr_Occurred()) SWIG_fail
;
1952 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1954 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1963 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1964 PyObject
*resultobj
;
1965 wxString
const &arg1_defvalue
= wxPyEmptyString
;
1966 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
1968 bool temp1
= False
;
1969 PyObject
* obj0
= 0 ;
1971 (char *) "command", NULL
1974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
1977 arg1
= wxString_in_helper(obj0
);
1978 if (arg1
== NULL
) SWIG_fail
;
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1984 result
= (bool)wxShell((wxString
const &)*arg1
);
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) SWIG_fail
;
1989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2004 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2005 PyObject
*resultobj
;
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2018 Py_INCREF(Py_None
); resultobj
= Py_None
;
2025 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
*resultobj
;
2027 int *arg1
= (int *) 0 ;
2028 int *arg2
= (int *) 0 ;
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2041 result
= (int)wxGetOsVersion(arg1
,arg2
);
2043 wxPyEndAllowThreads(__tstate
);
2044 if (PyErr_Occurred()) SWIG_fail
;
2046 resultobj
= SWIG_PyObj_FromInt((int)result
);
2048 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2049 resultobj
= t_output_helper(resultobj
,o
);
2052 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2053 resultobj
= t_output_helper(resultobj
,o
);
2061 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2062 PyObject
*resultobj
;
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2071 result
= wxGetOsDescription();
2073 wxPyEndAllowThreads(__tstate
);
2074 if (PyErr_Occurred()) SWIG_fail
;
2078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2089 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2090 PyObject
*resultobj
;
2096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2099 result
= (long)wxGetFreeMemory();
2101 wxPyEndAllowThreads(__tstate
);
2102 if (PyErr_Occurred()) SWIG_fail
;
2104 resultobj
= SWIG_PyObj_FromLong((long)result
);
2111 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
*resultobj
;
2115 PyObject
* obj0
= 0 ;
2117 (char *) "wFlags", NULL
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2122 arg1
= (wxShutdownFlags
) SWIG_PyObj_AsInt(obj0
);
2123 if (PyErr_Occurred()) SWIG_fail
;
2126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2127 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2129 wxPyEndAllowThreads(__tstate
);
2130 if (PyErr_Occurred()) SWIG_fail
;
2132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2139 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
*resultobj
;
2142 PyObject
* obj0
= 0 ;
2144 (char *) "secs", NULL
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2149 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2150 if (PyErr_Occurred()) SWIG_fail
;
2153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2156 wxPyEndAllowThreads(__tstate
);
2157 if (PyErr_Occurred()) SWIG_fail
;
2159 Py_INCREF(Py_None
); resultobj
= Py_None
;
2166 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
*resultobj
;
2168 unsigned long arg1
;
2169 PyObject
* obj0
= 0 ;
2171 (char *) "milliseconds", NULL
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2176 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
2177 if (PyErr_Occurred()) SWIG_fail
;
2180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2183 wxPyEndAllowThreads(__tstate
);
2184 if (PyErr_Occurred()) SWIG_fail
;
2186 Py_INCREF(Py_None
); resultobj
= Py_None
;
2193 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
*resultobj
;
2196 PyObject
* obj0
= 0 ;
2198 (char *) "enable", NULL
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2203 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
2204 if (PyErr_Occurred()) SWIG_fail
;
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 wxEnableTopLevelWindows(arg1
);
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2213 Py_INCREF(Py_None
); resultobj
= Py_None
;
2220 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
*resultobj
;
2222 wxString
*arg1
= 0 ;
2224 bool temp1
= False
;
2225 PyObject
* obj0
= 0 ;
2230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2232 arg1
= wxString_in_helper(obj0
);
2233 if (arg1
== NULL
) SWIG_fail
;
2237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2238 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2240 wxPyEndAllowThreads(__tstate
);
2241 if (PyErr_Occurred()) SWIG_fail
;
2245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2264 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
*resultobj
;
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 result
= wxGetEmailAddress();
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) SWIG_fail
;
2281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2292 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2293 PyObject
*resultobj
;
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2302 result
= wxGetHostName();
2304 wxPyEndAllowThreads(__tstate
);
2305 if (PyErr_Occurred()) SWIG_fail
;
2309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2320 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2321 PyObject
*resultobj
;
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 result
= wxGetFullHostName();
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) SWIG_fail
;
2337 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2339 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2348 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
*resultobj
;
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 result
= wxGetUserId();
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) SWIG_fail
;
2365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2376 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
*resultobj
;
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2386 result
= wxGetUserName();
2388 wxPyEndAllowThreads(__tstate
);
2389 if (PyErr_Occurred()) SWIG_fail
;
2393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2404 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
*resultobj
;
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 result
= wxGetHomeDir();
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) SWIG_fail
;
2421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2432 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
*resultobj
;
2434 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2435 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2437 bool temp1
= False
;
2438 PyObject
* obj0
= 0 ;
2440 (char *) "user", NULL
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2446 arg1
= wxString_in_helper(obj0
);
2447 if (arg1
== NULL
) SWIG_fail
;
2452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2453 result
= wxGetUserHome((wxString
const &)*arg1
);
2455 wxPyEndAllowThreads(__tstate
);
2456 if (PyErr_Occurred()) SWIG_fail
;
2460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2479 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 unsigned long result
;
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2489 result
= (unsigned long)wxGetProcessId();
2491 wxPyEndAllowThreads(__tstate
);
2492 if (PyErr_Occurred()) SWIG_fail
;
2494 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
2501 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
*resultobj
;
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 wxPyEndAllowThreads(__tstate
);
2513 if (PyErr_Occurred()) SWIG_fail
;
2515 Py_INCREF(Py_None
); resultobj
= Py_None
;
2522 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
*resultobj
;
2524 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2525 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2526 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2527 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2528 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2529 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2530 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2531 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2532 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2533 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2534 int arg6
= (int) 0 ;
2535 wxWindow
*arg7
= (wxWindow
*) NULL
;
2536 int arg8
= (int) -1 ;
2537 int arg9
= (int) -1 ;
2539 bool temp1
= False
;
2540 bool temp2
= False
;
2541 bool temp3
= False
;
2542 bool temp4
= False
;
2543 bool temp5
= False
;
2544 PyObject
* obj0
= 0 ;
2545 PyObject
* obj1
= 0 ;
2546 PyObject
* obj2
= 0 ;
2547 PyObject
* obj3
= 0 ;
2548 PyObject
* obj4
= 0 ;
2549 PyObject
* obj5
= 0 ;
2550 PyObject
* obj6
= 0 ;
2551 PyObject
* obj7
= 0 ;
2552 PyObject
* obj8
= 0 ;
2554 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2560 arg1
= wxString_in_helper(obj0
);
2561 if (arg1
== NULL
) SWIG_fail
;
2567 arg2
= wxString_in_helper(obj1
);
2568 if (arg2
== NULL
) SWIG_fail
;
2574 arg3
= wxString_in_helper(obj2
);
2575 if (arg3
== NULL
) SWIG_fail
;
2581 arg4
= wxString_in_helper(obj3
);
2582 if (arg4
== NULL
) SWIG_fail
;
2588 arg5
= wxString_in_helper(obj4
);
2589 if (arg5
== NULL
) SWIG_fail
;
2595 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
2596 if (PyErr_Occurred()) SWIG_fail
;
2600 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2604 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
2605 if (PyErr_Occurred()) SWIG_fail
;
2610 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
2611 if (PyErr_Occurred()) SWIG_fail
;
2615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2616 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2618 wxPyEndAllowThreads(__tstate
);
2619 if (PyErr_Occurred()) SWIG_fail
;
2623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2674 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
*resultobj
;
2676 wxString
*arg1
= 0 ;
2677 wxString
*arg2
= 0 ;
2678 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2679 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2680 wxWindow
*arg4
= (wxWindow
*) NULL
;
2682 bool temp1
= False
;
2683 bool temp2
= False
;
2684 bool temp3
= False
;
2685 PyObject
* obj0
= 0 ;
2686 PyObject
* obj1
= 0 ;
2687 PyObject
* obj2
= 0 ;
2688 PyObject
* obj3
= 0 ;
2690 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2695 arg1
= wxString_in_helper(obj0
);
2696 if (arg1
== NULL
) SWIG_fail
;
2700 arg2
= wxString_in_helper(obj1
);
2701 if (arg2
== NULL
) SWIG_fail
;
2706 arg3
= wxString_in_helper(obj2
);
2707 if (arg3
== NULL
) SWIG_fail
;
2712 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2716 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2718 wxPyEndAllowThreads(__tstate
);
2719 if (PyErr_Occurred()) SWIG_fail
;
2723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2758 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2759 PyObject
*resultobj
;
2760 wxString
*arg1
= 0 ;
2761 wxString
*arg2
= 0 ;
2762 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2763 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2764 wxWindow
*arg4
= (wxWindow
*) NULL
;
2766 bool temp1
= False
;
2767 bool temp2
= False
;
2768 bool temp3
= False
;
2769 PyObject
* obj0
= 0 ;
2770 PyObject
* obj1
= 0 ;
2771 PyObject
* obj2
= 0 ;
2772 PyObject
* obj3
= 0 ;
2774 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2779 arg1
= wxString_in_helper(obj0
);
2780 if (arg1
== NULL
) SWIG_fail
;
2784 arg2
= wxString_in_helper(obj1
);
2785 if (arg2
== NULL
) SWIG_fail
;
2790 arg3
= wxString_in_helper(obj2
);
2791 if (arg3
== NULL
) SWIG_fail
;
2796 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2800 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2802 wxPyEndAllowThreads(__tstate
);
2803 if (PyErr_Occurred()) SWIG_fail
;
2807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2842 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
*resultobj
;
2844 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
2845 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2846 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2847 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2848 long arg3
= (long) wxDD_DEFAULT_STYLE
;
2849 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2850 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2851 wxWindow
*arg5
= (wxWindow
*) NULL
;
2853 bool temp1
= False
;
2854 bool temp2
= False
;
2856 PyObject
* obj0
= 0 ;
2857 PyObject
* obj1
= 0 ;
2858 PyObject
* obj2
= 0 ;
2859 PyObject
* obj3
= 0 ;
2860 PyObject
* obj4
= 0 ;
2862 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2868 arg1
= wxString_in_helper(obj0
);
2869 if (arg1
== NULL
) SWIG_fail
;
2875 arg2
= wxString_in_helper(obj1
);
2876 if (arg2
== NULL
) SWIG_fail
;
2882 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
2883 if (PyErr_Occurred()) SWIG_fail
;
2889 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2893 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) SWIG_fail
;
2904 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2906 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2931 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
*resultobj
;
2933 wxString
*arg1
= 0 ;
2934 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2935 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2936 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2937 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2938 wxWindow
*arg4
= (wxWindow
*) NULL
;
2939 int arg5
= (int) -1 ;
2940 int arg6
= (int) -1 ;
2941 bool arg7
= (bool) True
;
2943 bool temp1
= False
;
2944 bool temp2
= False
;
2945 bool temp3
= False
;
2946 PyObject
* obj0
= 0 ;
2947 PyObject
* obj1
= 0 ;
2948 PyObject
* obj2
= 0 ;
2949 PyObject
* obj3
= 0 ;
2950 PyObject
* obj4
= 0 ;
2951 PyObject
* obj5
= 0 ;
2952 PyObject
* obj6
= 0 ;
2954 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2959 arg1
= wxString_in_helper(obj0
);
2960 if (arg1
== NULL
) SWIG_fail
;
2965 arg2
= wxString_in_helper(obj1
);
2966 if (arg2
== NULL
) SWIG_fail
;
2972 arg3
= wxString_in_helper(obj2
);
2973 if (arg3
== NULL
) SWIG_fail
;
2978 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2982 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2983 if (PyErr_Occurred()) SWIG_fail
;
2988 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
2989 if (PyErr_Occurred()) SWIG_fail
;
2994 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
2995 if (PyErr_Occurred()) SWIG_fail
;
2999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3000 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3002 wxPyEndAllowThreads(__tstate
);
3003 if (PyErr_Occurred()) SWIG_fail
;
3007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3042 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3043 PyObject
*resultobj
;
3044 wxString
*arg1
= 0 ;
3045 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3046 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3047 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3048 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3049 wxWindow
*arg4
= (wxWindow
*) NULL
;
3051 bool temp1
= False
;
3052 bool temp2
= False
;
3053 bool temp3
= False
;
3054 PyObject
* obj0
= 0 ;
3055 PyObject
* obj1
= 0 ;
3056 PyObject
* obj2
= 0 ;
3057 PyObject
* obj3
= 0 ;
3059 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3064 arg1
= wxString_in_helper(obj0
);
3065 if (arg1
== NULL
) SWIG_fail
;
3070 arg2
= wxString_in_helper(obj1
);
3071 if (arg2
== NULL
) SWIG_fail
;
3077 arg3
= wxString_in_helper(obj2
);
3078 if (arg3
== NULL
) SWIG_fail
;
3083 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3087 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3089 wxPyEndAllowThreads(__tstate
);
3090 if (PyErr_Occurred()) SWIG_fail
;
3094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3129 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
*resultobj
;
3131 wxString
*arg1
= 0 ;
3132 wxString
*arg2
= 0 ;
3134 wxString
*arg4
= (wxString
*) 0 ;
3135 wxWindow
*arg5
= (wxWindow
*) NULL
;
3136 int arg6
= (int) -1 ;
3137 int arg7
= (int) -1 ;
3138 bool arg8
= (bool) True
;
3139 int arg9
= (int) 150 ;
3140 int arg10
= (int) 200 ;
3142 bool temp1
= False
;
3143 bool temp2
= False
;
3144 PyObject
* obj0
= 0 ;
3145 PyObject
* obj1
= 0 ;
3146 PyObject
* obj2
= 0 ;
3147 PyObject
* obj3
= 0 ;
3148 PyObject
* obj4
= 0 ;
3149 PyObject
* obj5
= 0 ;
3150 PyObject
* obj6
= 0 ;
3151 PyObject
* obj7
= 0 ;
3152 PyObject
* obj8
= 0 ;
3154 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3159 arg1
= wxString_in_helper(obj0
);
3160 if (arg1
== NULL
) SWIG_fail
;
3164 arg2
= wxString_in_helper(obj1
);
3165 if (arg2
== NULL
) SWIG_fail
;
3169 arg3
= PyList_Size(obj2
);
3170 arg4
= wxString_LIST_helper(obj2
);
3171 if (arg4
== NULL
) SWIG_fail
;
3174 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3178 arg6
= (int) SWIG_PyObj_AsInt(obj4
);
3179 if (PyErr_Occurred()) SWIG_fail
;
3184 arg7
= (int) SWIG_PyObj_AsInt(obj5
);
3185 if (PyErr_Occurred()) SWIG_fail
;
3190 arg8
= (bool) SWIG_PyObj_AsBool(obj6
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3196 arg9
= (int) SWIG_PyObj_AsInt(obj7
);
3197 if (PyErr_Occurred()) SWIG_fail
;
3202 arg10
= (int) SWIG_PyObj_AsInt(obj8
);
3203 if (PyErr_Occurred()) SWIG_fail
;
3207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3208 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3210 wxPyEndAllowThreads(__tstate
);
3211 if (PyErr_Occurred()) SWIG_fail
;
3215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3229 if (arg4
) delete [] arg4
;
3242 if (arg4
) delete [] arg4
;
3248 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
*resultobj
;
3250 wxString
*arg1
= 0 ;
3251 wxString
*arg2
= 0 ;
3253 wxString
*arg4
= (wxString
*) 0 ;
3254 wxWindow
*arg5
= (wxWindow
*) NULL
;
3255 int arg6
= (int) -1 ;
3256 int arg7
= (int) -1 ;
3257 bool arg8
= (bool) True
;
3258 int arg9
= (int) 150 ;
3259 int arg10
= (int) 200 ;
3261 bool temp1
= False
;
3262 bool temp2
= False
;
3263 PyObject
* obj0
= 0 ;
3264 PyObject
* obj1
= 0 ;
3265 PyObject
* obj2
= 0 ;
3266 PyObject
* obj3
= 0 ;
3267 PyObject
* obj4
= 0 ;
3268 PyObject
* obj5
= 0 ;
3269 PyObject
* obj6
= 0 ;
3270 PyObject
* obj7
= 0 ;
3271 PyObject
* obj8
= 0 ;
3273 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3278 arg1
= wxString_in_helper(obj0
);
3279 if (arg1
== NULL
) SWIG_fail
;
3283 arg2
= wxString_in_helper(obj1
);
3284 if (arg2
== NULL
) SWIG_fail
;
3288 arg3
= PyList_Size(obj2
);
3289 arg4
= wxString_LIST_helper(obj2
);
3290 if (arg4
== NULL
) SWIG_fail
;
3293 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3297 arg6
= (int) SWIG_PyObj_AsInt(obj4
);
3298 if (PyErr_Occurred()) SWIG_fail
;
3303 arg7
= (int) SWIG_PyObj_AsInt(obj5
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3309 arg8
= (bool) SWIG_PyObj_AsBool(obj6
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3315 arg9
= (int) SWIG_PyObj_AsInt(obj7
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3321 arg10
= (int) SWIG_PyObj_AsInt(obj8
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3327 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3329 wxPyEndAllowThreads(__tstate
);
3330 if (PyErr_Occurred()) SWIG_fail
;
3332 resultobj
= SWIG_PyObj_FromInt((int)result
);
3342 if (arg4
) delete [] arg4
;
3355 if (arg4
) delete [] arg4
;
3361 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
*resultobj
;
3363 wxString
*arg1
= 0 ;
3364 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3365 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3366 int arg3
= (int) wxOK
|wxCENTRE
;
3367 wxWindow
*arg4
= (wxWindow
*) NULL
;
3368 int arg5
= (int) -1 ;
3369 int arg6
= (int) -1 ;
3371 bool temp1
= False
;
3372 bool temp2
= False
;
3373 PyObject
* obj0
= 0 ;
3374 PyObject
* obj1
= 0 ;
3375 PyObject
* obj2
= 0 ;
3376 PyObject
* obj3
= 0 ;
3377 PyObject
* obj4
= 0 ;
3378 PyObject
* obj5
= 0 ;
3380 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3385 arg1
= wxString_in_helper(obj0
);
3386 if (arg1
== NULL
) SWIG_fail
;
3391 arg2
= wxString_in_helper(obj1
);
3392 if (arg2
== NULL
) SWIG_fail
;
3398 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3403 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3407 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3413 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
3414 if (PyErr_Occurred()) SWIG_fail
;
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3424 resultobj
= SWIG_PyObj_FromInt((int)result
);
3447 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3448 PyObject
*resultobj
;
3449 wxString
*arg1
= 0 ;
3450 wxString
*arg2
= 0 ;
3451 wxString
*arg3
= 0 ;
3453 long arg5
= (long) 0 ;
3454 long arg6
= (long) 100 ;
3455 wxWindow
*arg7
= (wxWindow
*) NULL
;
3456 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3457 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3459 bool temp1
= False
;
3460 bool temp2
= False
;
3461 bool temp3
= False
;
3463 PyObject
* obj0
= 0 ;
3464 PyObject
* obj1
= 0 ;
3465 PyObject
* obj2
= 0 ;
3466 PyObject
* obj3
= 0 ;
3467 PyObject
* obj4
= 0 ;
3468 PyObject
* obj5
= 0 ;
3469 PyObject
* obj6
= 0 ;
3470 PyObject
* obj7
= 0 ;
3472 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3477 arg1
= wxString_in_helper(obj0
);
3478 if (arg1
== NULL
) SWIG_fail
;
3482 arg2
= wxString_in_helper(obj1
);
3483 if (arg2
== NULL
) SWIG_fail
;
3487 arg3
= wxString_in_helper(obj2
);
3488 if (arg3
== NULL
) SWIG_fail
;
3492 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3497 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3503 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3508 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3513 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3518 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3520 wxPyEndAllowThreads(__tstate
);
3521 if (PyErr_Occurred()) SWIG_fail
;
3523 resultobj
= SWIG_PyObj_FromLong((long)result
);
3554 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
*resultobj
;
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 result
= (bool)wxColourDisplay();
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3576 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3577 PyObject
*resultobj
;
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 result
= (int)wxDisplayDepth();
3588 wxPyEndAllowThreads(__tstate
);
3589 if (PyErr_Occurred()) SWIG_fail
;
3591 resultobj
= SWIG_PyObj_FromInt((int)result
);
3598 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3599 PyObject
*resultobj
;
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 result
= (int)wxGetDisplayDepth();
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3613 resultobj
= SWIG_PyObj_FromInt((int)result
);
3620 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
*resultobj
;
3622 int *arg1
= (int *) 0 ;
3623 int *arg2
= (int *) 0 ;
3632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3635 wxDisplaySize(arg1
,arg2
);
3637 wxPyEndAllowThreads(__tstate
);
3638 if (PyErr_Occurred()) SWIG_fail
;
3640 Py_INCREF(Py_None
); resultobj
= Py_None
;
3642 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3643 resultobj
= t_output_helper(resultobj
,o
);
3646 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3647 resultobj
= t_output_helper(resultobj
,o
);
3655 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
*resultobj
;
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 result
= wxGetDisplaySize();
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3672 resultptr
= new wxSize((wxSize
&) result
);
3673 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3681 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3682 PyObject
*resultobj
;
3683 int *arg1
= (int *) 0 ;
3684 int *arg2
= (int *) 0 ;
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3696 wxDisplaySizeMM(arg1
,arg2
);
3698 wxPyEndAllowThreads(__tstate
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3701 Py_INCREF(Py_None
); resultobj
= Py_None
;
3703 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3704 resultobj
= t_output_helper(resultobj
,o
);
3707 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3708 resultobj
= t_output_helper(resultobj
,o
);
3716 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
*resultobj
;
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 result
= wxGetDisplaySizeMM();
3728 wxPyEndAllowThreads(__tstate
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3733 resultptr
= new wxSize((wxSize
&) result
);
3734 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3742 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
*resultobj
;
3744 int *arg1
= (int *) 0 ;
3745 int *arg2
= (int *) 0 ;
3746 int *arg3
= (int *) 0 ;
3747 int *arg4
= (int *) 0 ;
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3768 Py_INCREF(Py_None
); resultobj
= Py_None
;
3770 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3771 resultobj
= t_output_helper(resultobj
,o
);
3774 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3775 resultobj
= t_output_helper(resultobj
,o
);
3778 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3779 resultobj
= t_output_helper(resultobj
,o
);
3782 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3783 resultobj
= t_output_helper(resultobj
,o
);
3791 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
;
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 result
= wxGetClientDisplayRect();
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3808 resultptr
= new wxRect((wxRect
&) result
);
3809 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3817 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
;
3819 wxCursor
*arg1
= 0 ;
3820 PyObject
* obj0
= 0 ;
3822 (char *) "cursor", NULL
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3828 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 wxPyEndAllowThreads(__tstate
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3837 Py_INCREF(Py_None
); resultobj
= Py_None
;
3844 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
*resultobj
;
3846 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3847 PyObject
* obj0
= 0 ;
3849 (char *) "cursor", NULL
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 wxBeginBusyCursor(arg1
);
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3863 Py_INCREF(Py_None
); resultobj
= Py_None
;
3870 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
;
3877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 result
= (wxWindow
*)wxGetActiveWindow();
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3886 resultobj
= wxPyMake_wxObject(result
);
3894 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
;
3899 PyObject
* obj0
= 0 ;
3904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3907 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3911 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
3913 wxPyEndAllowThreads(__tstate
);
3914 if (PyErr_Occurred()) SWIG_fail
;
3917 resultobj
= wxPyMake_wxObject(result
);
3925 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3926 PyObject
*resultobj
;
3930 PyObject
* obj0
= 0 ;
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3938 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3948 resultobj
= wxPyMake_wxObject(result
);
3956 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
*resultobj
;
3958 wxWindow
*arg1
= (wxWindow
*) 0 ;
3960 PyObject
* obj0
= 0 ;
3962 (char *) "win", NULL
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
3966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3969 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
3971 wxPyEndAllowThreads(__tstate
);
3972 if (PyErr_Occurred()) SWIG_fail
;
3975 resultobj
= wxPyMake_wxObject(result
);
3983 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
*resultobj
;
3987 PyObject
* obj0
= 0 ;
3989 (char *) "key", NULL
3992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
3994 arg1
= (wxKeyCode
) SWIG_PyObj_AsInt(obj0
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3999 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) SWIG_fail
;
4004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4011 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
*resultobj
;
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 wxWakeUpMainThread();
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4025 Py_INCREF(Py_None
); resultobj
= Py_None
;
4032 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
;
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4043 wxPyEndAllowThreads(__tstate
);
4044 if (PyErr_Occurred()) SWIG_fail
;
4046 Py_INCREF(Py_None
); resultobj
= Py_None
;
4053 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
*resultobj
;
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4067 Py_INCREF(Py_None
); resultobj
= Py_None
;
4074 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4075 PyObject
*resultobj
;
4076 wxMutexGuiLocker
*result
;
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4089 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMutexGuiLocker
, 1);
4096 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
*resultobj
;
4098 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4099 PyObject
* obj0
= 0 ;
4101 (char *) "self", NULL
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMutexGuiLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 Py_INCREF(Py_None
); resultobj
= Py_None
;
4120 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4123 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4125 return Py_BuildValue((char *)"");
4127 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
;
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 result
= (bool)wxThread_IsMain();
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4149 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
;
4151 wxString
*arg1
= 0 ;
4153 bool temp1
= False
;
4154 PyObject
* obj0
= 0 ;
4156 (char *) "tip", NULL
4159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4161 arg1
= wxString_in_helper(obj0
);
4162 if (arg1
== NULL
) SWIG_fail
;
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4167 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4173 resultobj
= wxPyMake_wxObject(result
);
4189 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4191 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4192 wxString
*arg2
= 0 ;
4193 bool temp2
= False
;
4194 PyObject
* obj0
= 0 ;
4195 PyObject
* obj1
= 0 ;
4197 (char *) "self",(char *) "tip", NULL
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4203 arg2
= wxString_in_helper(obj1
);
4204 if (arg2
== NULL
) SWIG_fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 (arg1
)->SetTip((wxString
const &)*arg2
);
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4214 Py_INCREF(Py_None
); resultobj
= Py_None
;
4229 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
*resultobj
;
4231 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4233 PyObject
* obj0
= 0 ;
4235 (char *) "self", NULL
4238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 result
= (arg1
)->GetTip();
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4249 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4251 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4260 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
;
4262 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4264 PyObject
* obj0
= 0 ;
4266 (char *) "self", NULL
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 result
= (wxWindow
*)(arg1
)->GetWindow();
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4279 resultobj
= wxPyMake_wxObject(result
);
4287 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
;
4290 PyObject
* obj0
= 0 ;
4292 (char *) "flag", NULL
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4297 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4302 wxToolTip::Enable(arg1
);
4304 wxPyEndAllowThreads(__tstate
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4307 Py_INCREF(Py_None
); resultobj
= Py_None
;
4314 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
*resultobj
;
4317 PyObject
* obj0
= 0 ;
4319 (char *) "milliseconds", NULL
4322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4324 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 wxToolTip::SetDelay(arg1
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 Py_INCREF(Py_None
); resultobj
= Py_None
;
4341 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4344 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4346 return Py_BuildValue((char *)"");
4348 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
;
4350 wxWindow
*arg1
= (wxWindow
*) 0 ;
4354 PyObject
* obj0
= 0 ;
4355 PyObject
* obj1
= 0 ;
4357 (char *) "window",(char *) "size", NULL
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4364 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4368 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4370 wxPyEndAllowThreads(__tstate
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4373 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 1);
4380 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
*resultobj
;
4382 wxCaret
*arg1
= (wxCaret
*) 0 ;
4383 PyObject
* obj0
= 0 ;
4385 (char *) "self", NULL
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 wxPyEndAllowThreads(__tstate
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4397 Py_INCREF(Py_None
); resultobj
= Py_None
;
4404 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
*resultobj
;
4406 wxCaret
*arg1
= (wxCaret
*) 0 ;
4408 PyObject
* obj0
= 0 ;
4410 (char *) "self", NULL
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 result
= (bool)(arg1
)->IsOk();
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4429 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
*resultobj
;
4431 wxCaret
*arg1
= (wxCaret
*) 0 ;
4433 PyObject
* obj0
= 0 ;
4435 (char *) "self", NULL
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 result
= (bool)(arg1
)->IsVisible();
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4454 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
;
4456 wxCaret
*arg1
= (wxCaret
*) 0 ;
4458 PyObject
* obj0
= 0 ;
4460 (char *) "self", NULL
4463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 result
= (arg1
)->GetPosition();
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4473 wxPoint
* resultptr
;
4474 resultptr
= new wxPoint((wxPoint
&) result
);
4475 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
4483 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
;
4485 wxCaret
*arg1
= (wxCaret
*) 0 ;
4486 int *arg2
= (int *) 0 ;
4487 int *arg3
= (int *) 0 ;
4490 PyObject
* obj0
= 0 ;
4492 (char *) "self", NULL
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 (arg1
)->GetPosition(arg2
,arg3
);
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 Py_INCREF(Py_None
); resultobj
= Py_None
;
4508 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4509 resultobj
= t_output_helper(resultobj
,o
);
4512 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4513 resultobj
= t_output_helper(resultobj
,o
);
4521 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
*resultobj
;
4523 wxCaret
*arg1
= (wxCaret
*) 0 ;
4525 PyObject
* obj0
= 0 ;
4527 (char *) "self", NULL
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= (arg1
)->GetSize();
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4541 resultptr
= new wxSize((wxSize
&) result
);
4542 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
4550 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
*resultobj
;
4552 wxCaret
*arg1
= (wxCaret
*) 0 ;
4553 int *arg2
= (int *) 0 ;
4554 int *arg3
= (int *) 0 ;
4557 PyObject
* obj0
= 0 ;
4559 (char *) "self", NULL
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 (arg1
)->GetSize(arg2
,arg3
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4573 Py_INCREF(Py_None
); resultobj
= Py_None
;
4575 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4576 resultobj
= t_output_helper(resultobj
,o
);
4579 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4580 resultobj
= t_output_helper(resultobj
,o
);
4588 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
;
4590 wxCaret
*arg1
= (wxCaret
*) 0 ;
4592 PyObject
* obj0
= 0 ;
4594 (char *) "self", NULL
4597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 result
= (wxWindow
*)(arg1
)->GetWindow();
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4607 resultobj
= wxPyMake_wxObject(result
);
4615 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
;
4617 wxCaret
*arg1
= (wxCaret
*) 0 ;
4620 PyObject
* obj0
= 0 ;
4621 PyObject
* obj1
= 0 ;
4622 PyObject
* obj2
= 0 ;
4624 (char *) "self",(char *) "x",(char *) "y", NULL
4627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4630 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4631 if (PyErr_Occurred()) SWIG_fail
;
4634 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4635 if (PyErr_Occurred()) SWIG_fail
;
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4639 (arg1
)->Move(arg2
,arg3
);
4641 wxPyEndAllowThreads(__tstate
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4644 Py_INCREF(Py_None
); resultobj
= Py_None
;
4651 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4652 PyObject
*resultobj
;
4653 wxCaret
*arg1
= (wxCaret
*) 0 ;
4656 PyObject
* obj0
= 0 ;
4657 PyObject
* obj1
= 0 ;
4659 (char *) "self",(char *) "pt", NULL
4662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4666 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 (arg1
)->Move((wxPoint
const &)*arg2
);
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 Py_INCREF(Py_None
); resultobj
= Py_None
;
4682 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
*resultobj
;
4684 wxCaret
*arg1
= (wxCaret
*) 0 ;
4687 PyObject
* obj0
= 0 ;
4688 PyObject
* obj1
= 0 ;
4689 PyObject
* obj2
= 0 ;
4691 (char *) "self",(char *) "width",(char *) "height", NULL
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4697 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4701 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4706 (arg1
)->SetSize(arg2
,arg3
);
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4711 Py_INCREF(Py_None
); resultobj
= Py_None
;
4718 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
*resultobj
;
4720 wxCaret
*arg1
= (wxCaret
*) 0 ;
4723 PyObject
* obj0
= 0 ;
4724 PyObject
* obj1
= 0 ;
4726 (char *) "self",(char *) "size", NULL
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4733 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4737 (arg1
)->SetSize((wxSize
const &)*arg2
);
4739 wxPyEndAllowThreads(__tstate
);
4740 if (PyErr_Occurred()) SWIG_fail
;
4742 Py_INCREF(Py_None
); resultobj
= Py_None
;
4749 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4750 PyObject
*resultobj
;
4751 wxCaret
*arg1
= (wxCaret
*) 0 ;
4752 int arg2
= (int) True
;
4753 PyObject
* obj0
= 0 ;
4754 PyObject
* obj1
= 0 ;
4756 (char *) "self",(char *) "show", NULL
4759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4763 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 wxPyEndAllowThreads(__tstate
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4774 Py_INCREF(Py_None
); resultobj
= Py_None
;
4781 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
*resultobj
;
4783 wxCaret
*arg1
= (wxCaret
*) 0 ;
4784 PyObject
* obj0
= 0 ;
4786 (char *) "self", NULL
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4795 wxPyEndAllowThreads(__tstate
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4798 Py_INCREF(Py_None
); resultobj
= Py_None
;
4805 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4808 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4810 return Py_BuildValue((char *)"");
4812 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
*resultobj
;
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (int)wxCaret_GetBlinkTime();
4824 wxPyEndAllowThreads(__tstate
);
4825 if (PyErr_Occurred()) SWIG_fail
;
4827 resultobj
= SWIG_PyObj_FromInt((int)result
);
4834 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
*resultobj
;
4837 PyObject
* obj0
= 0 ;
4839 (char *) "milliseconds", NULL
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
4844 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
4845 if (PyErr_Occurred()) SWIG_fail
;
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4849 wxCaret_SetBlinkTime(arg1
);
4851 wxPyEndAllowThreads(__tstate
);
4852 if (PyErr_Occurred()) SWIG_fail
;
4854 Py_INCREF(Py_None
); resultobj
= Py_None
;
4861 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
;
4863 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4864 wxBusyCursor
*result
;
4865 PyObject
* obj0
= 0 ;
4867 (char *) "cursor", NULL
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
4872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4881 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyCursor
, 1);
4888 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
*resultobj
;
4890 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
4891 PyObject
* obj0
= 0 ;
4893 (char *) "self", NULL
4896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
4897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4905 Py_INCREF(Py_None
); resultobj
= Py_None
;
4912 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
4914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4915 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
4917 return Py_BuildValue((char *)"");
4919 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
;
4921 wxWindow
*arg1
= (wxWindow
*) NULL
;
4922 wxWindowDisabler
*result
;
4923 PyObject
* obj0
= 0 ;
4925 (char *) "winToSkip", NULL
4928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4939 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDisabler
, 1);
4946 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
*resultobj
;
4948 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
4949 PyObject
* obj0
= 0 ;
4951 (char *) "self", NULL
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 Py_INCREF(Py_None
); resultobj
= Py_None
;
4970 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
4972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4973 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
4975 return Py_BuildValue((char *)"");
4977 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
*resultobj
;
4979 wxString
*arg1
= 0 ;
4981 bool temp1
= False
;
4982 PyObject
* obj0
= 0 ;
4984 (char *) "message", NULL
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
4989 arg1
= wxString_in_helper(obj0
);
4990 if (arg1
== NULL
) SWIG_fail
;
4994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4995 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
4997 wxPyEndAllowThreads(__tstate
);
4998 if (PyErr_Occurred()) SWIG_fail
;
5000 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyInfo
, 1);
5015 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
;
5017 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5018 PyObject
* obj0
= 0 ;
5020 (char *) "self", NULL
5023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5032 Py_INCREF(Py_None
); resultobj
= Py_None
;
5039 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5042 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5044 return Py_BuildValue((char *)"");
5046 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5048 wxStopWatch
*result
;
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5056 result
= (wxStopWatch
*)new wxStopWatch();
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5061 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStopWatch
, 1);
5068 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
*resultobj
;
5070 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5071 long arg2
= (long) 0 ;
5072 PyObject
* obj0
= 0 ;
5073 PyObject
* obj1
= 0 ;
5075 (char *) "self",(char *) "t0", NULL
5078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5082 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
5083 if (PyErr_Occurred()) SWIG_fail
;
5087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5088 (arg1
)->Start(arg2
);
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 Py_INCREF(Py_None
); resultobj
= Py_None
;
5100 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
*resultobj
;
5102 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5103 PyObject
* obj0
= 0 ;
5105 (char *) "self", NULL
5108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 Py_INCREF(Py_None
); resultobj
= Py_None
;
5124 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
;
5126 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5127 PyObject
* obj0
= 0 ;
5129 (char *) "self", NULL
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5141 Py_INCREF(Py_None
); resultobj
= Py_None
;
5148 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
;
5150 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5152 PyObject
* obj0
= 0 ;
5154 (char *) "self", NULL
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5166 resultobj
= SWIG_PyObj_FromLong((long)result
);
5173 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5176 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5178 return Py_BuildValue((char *)"");
5180 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
*resultobj
;
5182 int arg1
= (int) 9 ;
5183 wxFileHistory
*result
;
5184 PyObject
* obj0
= 0 ;
5186 (char *) "maxFiles", NULL
5189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5192 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5203 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileHistory
, 1);
5210 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
*resultobj
;
5212 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5213 PyObject
* obj0
= 0 ;
5215 (char *) "self", NULL
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5227 Py_INCREF(Py_None
); resultobj
= Py_None
;
5234 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
*resultobj
;
5236 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5237 wxString
*arg2
= 0 ;
5238 bool temp2
= False
;
5239 PyObject
* obj0
= 0 ;
5240 PyObject
* obj1
= 0 ;
5242 (char *) "self",(char *) "file", NULL
5245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5248 arg2
= wxString_in_helper(obj1
);
5249 if (arg2
== NULL
) SWIG_fail
;
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) SWIG_fail
;
5259 Py_INCREF(Py_None
); resultobj
= Py_None
;
5274 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
*resultobj
;
5276 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5278 PyObject
* obj0
= 0 ;
5279 PyObject
* obj1
= 0 ;
5281 (char *) "self",(char *) "i", NULL
5284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5287 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 (arg1
)->RemoveFileFromHistory(arg2
);
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5297 Py_INCREF(Py_None
); resultobj
= Py_None
;
5304 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
;
5306 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5308 PyObject
* obj0
= 0 ;
5310 (char *) "self", NULL
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5322 resultobj
= SWIG_PyObj_FromInt((int)result
);
5329 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
*resultobj
;
5331 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5332 wxMenu
*arg2
= (wxMenu
*) 0 ;
5333 PyObject
* obj0
= 0 ;
5334 PyObject
* obj1
= 0 ;
5336 (char *) "self",(char *) "menu", NULL
5339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5341 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5344 (arg1
)->UseMenu(arg2
);
5346 wxPyEndAllowThreads(__tstate
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5349 Py_INCREF(Py_None
); resultobj
= Py_None
;
5356 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
*resultobj
;
5358 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5359 wxMenu
*arg2
= (wxMenu
*) 0 ;
5360 PyObject
* obj0
= 0 ;
5361 PyObject
* obj1
= 0 ;
5363 (char *) "self",(char *) "menu", NULL
5366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5368 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 (arg1
)->RemoveMenu(arg2
);
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5376 Py_INCREF(Py_None
); resultobj
= Py_None
;
5383 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
*resultobj
;
5385 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5386 wxConfigBase
*arg2
= 0 ;
5387 PyObject
* obj0
= 0 ;
5388 PyObject
* obj1
= 0 ;
5390 (char *) "self",(char *) "config", NULL
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5395 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5397 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5401 (arg1
)->Load(*arg2
);
5403 wxPyEndAllowThreads(__tstate
);
5404 if (PyErr_Occurred()) SWIG_fail
;
5406 Py_INCREF(Py_None
); resultobj
= Py_None
;
5413 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
*resultobj
;
5415 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5416 wxConfigBase
*arg2
= 0 ;
5417 PyObject
* obj0
= 0 ;
5418 PyObject
* obj1
= 0 ;
5420 (char *) "self",(char *) "config", NULL
5423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5425 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5427 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 (arg1
)->Save(*arg2
);
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5436 Py_INCREF(Py_None
); resultobj
= Py_None
;
5443 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
*resultobj
;
5445 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5446 PyObject
* obj0
= 0 ;
5448 (char *) "self", NULL
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 (arg1
)->AddFilesToMenu();
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) SWIG_fail
;
5460 Py_INCREF(Py_None
); resultobj
= Py_None
;
5467 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
*resultobj
;
5469 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5470 wxMenu
*arg2
= (wxMenu
*) 0 ;
5471 PyObject
* obj0
= 0 ;
5472 PyObject
* obj1
= 0 ;
5474 (char *) "self",(char *) "menu", NULL
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5479 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 (arg1
)->AddFilesToMenu(arg2
);
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5487 Py_INCREF(Py_None
); resultobj
= Py_None
;
5494 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
*resultobj
;
5496 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5499 PyObject
* obj0
= 0 ;
5500 PyObject
* obj1
= 0 ;
5502 (char *) "self",(char *) "i", NULL
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5508 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5513 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5531 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
*resultobj
;
5533 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5535 PyObject
* obj0
= 0 ;
5537 (char *) "self", NULL
5540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5549 resultobj
= SWIG_PyObj_FromInt((int)result
);
5556 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5559 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5561 return Py_BuildValue((char *)"");
5563 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
;
5565 wxString
*arg1
= 0 ;
5566 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5567 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5568 wxSingleInstanceChecker
*result
;
5569 bool temp1
= False
;
5570 bool temp2
= False
;
5571 PyObject
* obj0
= 0 ;
5572 PyObject
* obj1
= 0 ;
5574 (char *) "name",(char *) "path", NULL
5577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5579 arg1
= wxString_in_helper(obj0
);
5580 if (arg1
== NULL
) SWIG_fail
;
5585 arg2
= wxString_in_helper(obj1
);
5586 if (arg2
== NULL
) SWIG_fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5620 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
*resultobj
;
5622 wxSingleInstanceChecker
*result
;
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5635 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5642 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
*resultobj
;
5644 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5645 PyObject
* obj0
= 0 ;
5647 (char *) "self", NULL
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5659 Py_INCREF(Py_None
); resultobj
= Py_None
;
5666 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
;
5668 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5669 wxString
*arg2
= 0 ;
5670 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5671 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5673 bool temp2
= False
;
5674 bool temp3
= False
;
5675 PyObject
* obj0
= 0 ;
5676 PyObject
* obj1
= 0 ;
5677 PyObject
* obj2
= 0 ;
5679 (char *) "self",(char *) "name",(char *) "path", NULL
5682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5685 arg2
= wxString_in_helper(obj1
);
5686 if (arg2
== NULL
) SWIG_fail
;
5691 arg3
= wxString_in_helper(obj2
);
5692 if (arg3
== NULL
) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5726 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5727 PyObject
*resultobj
;
5728 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5730 PyObject
* obj0
= 0 ;
5732 (char *) "self", NULL
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5751 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5754 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5756 return Py_BuildValue((char *)"");
5758 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
*resultobj
;
5760 wxWindow
*arg1
= (wxWindow
*) 0 ;
5763 PyObject
* obj0
= 0 ;
5764 PyObject
* obj1
= 0 ;
5765 PyObject
* obj2
= 0 ;
5767 (char *) "window",(char *) "dc",(char *) "method", NULL
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5772 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5774 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5777 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5787 Py_INCREF(Py_None
); resultobj
= Py_None
;
5794 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
*resultobj
;
5796 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5797 PyObject
* obj0
= 0 ;
5799 (char *) "self", NULL
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5811 Py_INCREF(Py_None
); resultobj
= Py_None
;
5818 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5820 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5822 PyObject
* obj0
= 0 ;
5824 (char *) "self", NULL
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
5828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 result
= (arg1
)->GetTip();
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5849 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
;
5851 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5853 PyObject
* obj0
= 0 ;
5855 (char *) "self", NULL
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
5859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 result
= (size_t)(arg1
)->GetCurrentTip();
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
5874 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
;
5876 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5877 wxString
*arg2
= 0 ;
5879 bool temp2
= False
;
5880 PyObject
* obj0
= 0 ;
5881 PyObject
* obj1
= 0 ;
5883 (char *) "self",(char *) "tip", NULL
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
5887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5889 arg2
= wxString_in_helper(obj1
);
5890 if (arg2
== NULL
) SWIG_fail
;
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5902 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5904 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5921 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5924 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
5926 return Py_BuildValue((char *)"");
5928 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
*resultobj
;
5931 wxPyTipProvider
*result
;
5932 PyObject
* obj0
= 0 ;
5934 (char *) "currentTip", NULL
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
5939 arg1
= (size_t) SWIG_PyObj_AsUnsignedLong(obj0
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5949 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTipProvider
, 1);
5956 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
;
5958 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
5959 PyObject
*arg2
= (PyObject
*) 0 ;
5960 PyObject
*arg3
= (PyObject
*) 0 ;
5961 PyObject
* obj0
= 0 ;
5962 PyObject
* obj1
= 0 ;
5963 PyObject
* obj2
= 0 ;
5965 (char *) "self",(char *) "self",(char *) "_class", NULL
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5979 Py_INCREF(Py_None
); resultobj
= Py_None
;
5986 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5989 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
5991 return Py_BuildValue((char *)"");
5993 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
*resultobj
;
5995 wxWindow
*arg1
= (wxWindow
*) 0 ;
5996 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
5997 bool arg3
= (bool) True
;
5999 PyObject
* obj0
= 0 ;
6000 PyObject
* obj1
= 0 ;
6001 PyObject
* obj2
= 0 ;
6003 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6008 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6011 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6012 if (PyErr_Occurred()) SWIG_fail
;
6016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6017 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6019 wxPyEndAllowThreads(__tstate
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6029 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
*resultobj
;
6031 wxString
*arg1
= 0 ;
6033 wxTipProvider
*result
;
6034 bool temp1
= False
;
6035 PyObject
* obj0
= 0 ;
6036 PyObject
* obj1
= 0 ;
6038 (char *) "filename",(char *) "currentTip", NULL
6041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6043 arg1
= wxString_in_helper(obj0
);
6044 if (arg1
== NULL
) SWIG_fail
;
6048 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6053 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6055 wxPyEndAllowThreads(__tstate
);
6056 if (PyErr_Occurred()) SWIG_fail
;
6058 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipProvider
, 1);
6073 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
*resultobj
;
6075 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6076 int arg2
= (int) -1 ;
6078 PyObject
* obj0
= 0 ;
6079 PyObject
* obj1
= 0 ;
6081 (char *) "owner",(char *) "id", NULL
6084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6090 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6101 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTimer
, 1);
6108 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
*resultobj
;
6110 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6111 PyObject
* obj0
= 0 ;
6113 (char *) "self", NULL
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6125 Py_INCREF(Py_None
); resultobj
= Py_None
;
6132 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6135 PyObject
*arg2
= (PyObject
*) 0 ;
6136 PyObject
*arg3
= (PyObject
*) 0 ;
6137 PyObject
* obj0
= 0 ;
6138 PyObject
* obj1
= 0 ;
6139 PyObject
* obj2
= 0 ;
6141 (char *) "self",(char *) "self",(char *) "_class", NULL
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6155 Py_INCREF(Py_None
); resultobj
= Py_None
;
6162 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
;
6164 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6165 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6166 int arg3
= (int) -1 ;
6167 PyObject
* obj0
= 0 ;
6168 PyObject
* obj1
= 0 ;
6169 PyObject
* obj2
= 0 ;
6171 (char *) "self",(char *) "owner",(char *) "id", NULL
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6176 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6179 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6185 (arg1
)->SetOwner(arg2
,arg3
);
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6190 Py_INCREF(Py_None
); resultobj
= Py_None
;
6197 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
*resultobj
;
6199 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6200 int arg2
= (int) -1 ;
6201 bool arg3
= (bool) False
;
6203 PyObject
* obj0
= 0 ;
6204 PyObject
* obj1
= 0 ;
6205 PyObject
* obj2
= 0 ;
6207 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6214 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6220 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6226 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6228 wxPyEndAllowThreads(__tstate
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6238 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
;
6240 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6241 PyObject
* obj0
= 0 ;
6243 (char *) "self", NULL
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6255 Py_INCREF(Py_None
); resultobj
= Py_None
;
6262 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6263 PyObject
*resultobj
;
6264 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6266 PyObject
* obj0
= 0 ;
6268 (char *) "self", NULL
6271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6287 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
*resultobj
;
6289 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6291 PyObject
* obj0
= 0 ;
6293 (char *) "self", NULL
6296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6300 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6302 wxPyEndAllowThreads(__tstate
);
6303 if (PyErr_Occurred()) SWIG_fail
;
6305 resultobj
= SWIG_PyObj_FromInt((int)result
);
6312 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
*resultobj
;
6314 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6316 PyObject
* obj0
= 0 ;
6318 (char *) "self", NULL
6321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6325 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6327 wxPyEndAllowThreads(__tstate
);
6328 if (PyErr_Occurred()) SWIG_fail
;
6330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6337 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
*resultobj
;
6339 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6341 PyObject
* obj0
= 0 ;
6343 (char *) "self", NULL
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6350 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6352 wxPyEndAllowThreads(__tstate
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6355 resultobj
= SWIG_PyObj_FromInt((int)result
);
6362 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6365 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6367 return Py_BuildValue((char *)"");
6369 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
;
6371 int arg1
= (int) 0 ;
6372 int arg2
= (int) 0 ;
6373 wxTimerEvent
*result
;
6374 PyObject
* obj0
= 0 ;
6375 PyObject
* obj1
= 0 ;
6377 (char *) "timerid",(char *) "interval", NULL
6380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6383 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
6384 if (PyErr_Occurred()) SWIG_fail
;
6389 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6400 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerEvent
, 1);
6407 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6408 PyObject
*resultobj
;
6409 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6411 PyObject
* obj0
= 0 ;
6413 (char *) "self", NULL
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6425 resultobj
= SWIG_PyObj_FromInt((int)result
);
6432 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6435 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6437 return Py_BuildValue((char *)"");
6439 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6440 PyObject
*resultobj
;
6442 wxTimerRunner
*result
;
6443 PyObject
* obj0
= 0 ;
6445 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6448 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6457 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
6464 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6465 PyObject
*resultobj
;
6468 bool arg3
= (bool) False
;
6469 wxTimerRunner
*result
;
6470 PyObject
* obj0
= 0 ;
6471 PyObject
* obj1
= 0 ;
6472 PyObject
* obj2
= 0 ;
6474 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6477 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6480 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6485 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
6503 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6508 argc
= PyObject_Length(args
);
6509 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6510 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6516 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6524 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6527 if ((argc
>= 2) && (argc
<= 3)) {
6531 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6540 SWIG_PyObj_AsInt(argv
[1]);
6541 if (PyErr_Occurred()) {
6550 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6553 SWIG_PyObj_AsBool(argv
[2]);
6554 if (PyErr_Occurred()) {
6562 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6568 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6573 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6574 PyObject
*resultobj
;
6575 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6576 PyObject
* obj0
= 0 ;
6578 (char *) "self", NULL
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 Py_INCREF(Py_None
); resultobj
= Py_None
;
6597 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
;
6599 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6601 bool arg3
= (bool) False
;
6602 PyObject
* obj0
= 0 ;
6603 PyObject
* obj1
= 0 ;
6604 PyObject
* obj2
= 0 ;
6606 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6612 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6617 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 (arg1
)->Start(arg2
,arg3
);
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6628 Py_INCREF(Py_None
); resultobj
= Py_None
;
6635 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6638 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6640 return Py_BuildValue((char *)"");
6642 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
;
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 result
= (wxLog
*)new wxLog();
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6657 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 1);
6664 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
*resultobj
;
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6674 result
= (bool)wxLog::IsEnabled();
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6686 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
*resultobj
;
6688 bool arg1
= (bool) True
;
6690 PyObject
* obj0
= 0 ;
6692 (char *) "doIt", NULL
6695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6698 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6704 result
= (bool)wxLog::EnableLogging(arg1
);
6706 wxPyEndAllowThreads(__tstate
);
6707 if (PyErr_Occurred()) SWIG_fail
;
6709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6716 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
*resultobj
;
6719 wxChar
*arg2
= (wxChar
*) 0 ;
6721 PyObject
* obj0
= 0 ;
6722 PyObject
* obj1
= 0 ;
6723 PyObject
* obj2
= 0 ;
6725 (char *) "level",(char *) "szString",(char *) "t", NULL
6728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6730 arg1
= (wxLogLevel
) SWIG_PyObj_AsUnsignedLong(obj0
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6735 arg3
= (time_t) SWIG_PyObj_AsUnsignedInt(obj2
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6745 Py_INCREF(Py_None
); resultobj
= Py_None
;
6752 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
;
6754 wxLog
*arg1
= (wxLog
*) 0 ;
6755 PyObject
* obj0
= 0 ;
6757 (char *) "self", NULL
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6769 Py_INCREF(Py_None
); resultobj
= Py_None
;
6776 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
;
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6785 wxLog::FlushActive();
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6790 Py_INCREF(Py_None
); resultobj
= Py_None
;
6797 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
;
6804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6807 result
= (wxLog
*)wxLog::GetActiveTarget();
6809 wxPyEndAllowThreads(__tstate
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6819 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
*resultobj
;
6821 wxLog
*arg1
= (wxLog
*) 0 ;
6823 PyObject
* obj0
= 0 ;
6825 (char *) "pLogger", NULL
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
6829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) SWIG_fail
;
6837 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6844 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
;
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6858 Py_INCREF(Py_None
); resultobj
= Py_None
;
6865 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
*resultobj
;
6871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
6873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6876 wxPyEndAllowThreads(__tstate
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6879 Py_INCREF(Py_None
); resultobj
= Py_None
;
6886 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
*resultobj
;
6888 bool arg1
= (bool) True
;
6889 PyObject
* obj0
= 0 ;
6891 (char *) "bVerbose", NULL
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
6897 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 wxLog::SetVerbose(arg1
);
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6908 Py_INCREF(Py_None
); resultobj
= Py_None
;
6915 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
*resultobj
;
6918 PyObject
* obj0
= 0 ;
6920 (char *) "logLevel", NULL
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
6925 arg1
= (wxLogLevel
) SWIG_PyObj_AsUnsignedLong(obj0
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 wxLog::SetLogLevel(arg1
);
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 Py_INCREF(Py_None
); resultobj
= Py_None
;
6942 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
*resultobj
;
6948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6951 wxLog::DontCreateOnDemand();
6953 wxPyEndAllowThreads(__tstate
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6956 Py_INCREF(Py_None
); resultobj
= Py_None
;
6963 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
;
6966 PyObject
* obj0
= 0 ;
6968 (char *) "ulMask", NULL
6971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
6973 arg1
= (wxTraceMask
) SWIG_PyObj_AsUnsignedLong(obj0
);
6974 if (PyErr_Occurred()) SWIG_fail
;
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 wxLog::SetTraceMask(arg1
);
6980 wxPyEndAllowThreads(__tstate
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6983 Py_INCREF(Py_None
); resultobj
= Py_None
;
6990 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
;
6992 wxString
*arg1
= 0 ;
6993 bool temp1
= False
;
6994 PyObject
* obj0
= 0 ;
6996 (char *) "str", NULL
6999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7001 arg1
= wxString_in_helper(obj0
);
7002 if (arg1
== NULL
) SWIG_fail
;
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7007 wxLog::AddTraceMask((wxString
const &)*arg1
);
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7012 Py_INCREF(Py_None
); resultobj
= Py_None
;
7027 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7029 wxString
*arg1
= 0 ;
7030 bool temp1
= False
;
7031 PyObject
* obj0
= 0 ;
7033 (char *) "str", NULL
7036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7038 arg1
= wxString_in_helper(obj0
);
7039 if (arg1
== NULL
) SWIG_fail
;
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 Py_INCREF(Py_None
); resultobj
= Py_None
;
7064 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
;
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 wxLog::ClearTraceMasks();
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 Py_INCREF(Py_None
); resultobj
= Py_None
;
7085 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
;
7087 wxArrayString
*result
;
7092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7097 result
= (wxArrayString
*) &_result_ref
;
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= wxArrayString2PyList_helper(*result
);
7112 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
;
7114 wxChar
*arg1
= (wxChar
*) 0 ;
7115 PyObject
* obj0
= 0 ;
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 wxLog::SetTimestamp((wxChar
const *)arg1
);
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7129 Py_INCREF(Py_None
); resultobj
= Py_None
;
7136 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
;
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 result
= (bool)wxLog::GetVerbose();
7148 wxPyEndAllowThreads(__tstate
);
7149 if (PyErr_Occurred()) SWIG_fail
;
7151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7158 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
*resultobj
;
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 result
= (wxTraceMask
)wxLog::GetTraceMask();
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7173 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
7180 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
*resultobj
;
7182 wxChar
*arg1
= (wxChar
*) 0 ;
7184 PyObject
* obj0
= 0 ;
7186 (char *) "mask", NULL
7189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7193 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7195 wxPyEndAllowThreads(__tstate
);
7196 if (PyErr_Occurred()) SWIG_fail
;
7198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7205 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7206 PyObject
*resultobj
;
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 result
= (wxLogLevel
)wxLog::GetLogLevel();
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7220 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
7227 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
*resultobj
;
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 result
= (wxChar
*)wxLog::GetTimestamp();
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7242 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChar
, 0);
7249 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
;
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 result
= Log_TimeStamp();
7261 wxPyEndAllowThreads(__tstate
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7277 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
;
7279 wxLog
*arg1
= (wxLog
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7282 (char *) "self", NULL
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 wxLog_Destroy(arg1
);
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 Py_INCREF(Py_None
); resultobj
= Py_None
;
7301 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7304 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7306 return Py_BuildValue((char *)"");
7308 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
;
7310 wxLogStderr
*result
;
7315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7318 result
= (wxLogStderr
*)new wxLogStderr();
7320 wxPyEndAllowThreads(__tstate
);
7321 if (PyErr_Occurred()) SWIG_fail
;
7323 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogStderr
, 1);
7330 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7333 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7335 return Py_BuildValue((char *)"");
7337 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
;
7339 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7340 wxLogTextCtrl
*result
;
7341 PyObject
* obj0
= 0 ;
7343 (char *) "pTextCtrl", NULL
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7350 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7352 wxPyEndAllowThreads(__tstate
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7355 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogTextCtrl
, 1);
7362 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7365 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7367 return Py_BuildValue((char *)"");
7369 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
*resultobj
;
7376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 result
= (wxLogGui
*)new wxLogGui();
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogGui
, 1);
7391 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7394 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7396 return Py_BuildValue((char *)"");
7398 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7399 PyObject
*resultobj
;
7400 wxFrame
*arg1
= (wxFrame
*) 0 ;
7401 wxString
*arg2
= 0 ;
7402 bool arg3
= (bool) True
;
7403 bool arg4
= (bool) True
;
7404 wxLogWindow
*result
;
7405 bool temp2
= False
;
7406 PyObject
* obj0
= 0 ;
7407 PyObject
* obj1
= 0 ;
7408 PyObject
* obj2
= 0 ;
7409 PyObject
* obj3
= 0 ;
7411 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7417 arg2
= wxString_in_helper(obj1
);
7418 if (arg2
== NULL
) SWIG_fail
;
7423 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7429 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogWindow
, 1);
7455 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
*resultobj
;
7457 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7458 bool arg2
= (bool) True
;
7459 PyObject
* obj0
= 0 ;
7460 PyObject
* obj1
= 0 ;
7462 (char *) "self",(char *) "bShow", NULL
7465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7469 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7477 wxPyEndAllowThreads(__tstate
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7480 Py_INCREF(Py_None
); resultobj
= Py_None
;
7487 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
*resultobj
;
7489 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7491 PyObject
* obj0
= 0 ;
7493 (char *) "self", NULL
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7506 resultobj
= wxPyMake_wxObject(result
);
7514 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
*resultobj
;
7516 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7518 PyObject
* obj0
= 0 ;
7520 (char *) "self", NULL
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7527 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7529 wxPyEndAllowThreads(__tstate
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7532 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7539 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
*resultobj
;
7541 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7543 PyObject
* obj0
= 0 ;
7545 (char *) "self", NULL
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7552 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7554 wxPyEndAllowThreads(__tstate
);
7555 if (PyErr_Occurred()) SWIG_fail
;
7557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7564 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7565 PyObject
*resultobj
;
7566 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7568 PyObject
* obj0
= 0 ;
7569 PyObject
* obj1
= 0 ;
7571 (char *) "self",(char *) "bDoPass", NULL
7574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7577 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 (arg1
)->PassMessages(arg2
);
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 Py_INCREF(Py_None
); resultobj
= Py_None
;
7594 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7597 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7599 return Py_BuildValue((char *)"");
7601 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
*resultobj
;
7603 wxLog
*arg1
= (wxLog
*) 0 ;
7605 PyObject
* obj0
= 0 ;
7607 (char *) "logger", NULL
7610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 result
= (wxLogChain
*)new wxLogChain(arg1
);
7616 wxPyEndAllowThreads(__tstate
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogChain
, 1);
7626 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
*resultobj
;
7628 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7629 wxLog
*arg2
= (wxLog
*) 0 ;
7630 PyObject
* obj0
= 0 ;
7631 PyObject
* obj1
= 0 ;
7633 (char *) "self",(char *) "logger", NULL
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7638 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 (arg1
)->SetLog(arg2
);
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7646 Py_INCREF(Py_None
); resultobj
= Py_None
;
7653 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
*resultobj
;
7655 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7657 PyObject
* obj0
= 0 ;
7658 PyObject
* obj1
= 0 ;
7660 (char *) "self",(char *) "bDoPass", NULL
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7666 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 (arg1
)->PassMessages(arg2
);
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7676 Py_INCREF(Py_None
); resultobj
= Py_None
;
7683 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
*resultobj
;
7685 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7687 PyObject
* obj0
= 0 ;
7689 (char *) "self", NULL
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 result
= (bool)(arg1
)->IsPassingMessages();
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7708 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
;
7710 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7712 PyObject
* obj0
= 0 ;
7714 (char *) "self", NULL
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7721 result
= (wxLog
*)(arg1
)->GetOldLog();
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7726 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7733 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7736 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7738 return Py_BuildValue((char *)"");
7740 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
*resultobj
;
7742 unsigned long result
;
7747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 result
= (unsigned long)wxSysErrorCode();
7752 wxPyEndAllowThreads(__tstate
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7755 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
7762 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
;
7764 unsigned long arg1
= (unsigned long) 0 ;
7766 PyObject
* obj0
= 0 ;
7768 (char *) "nErrCode", NULL
7771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7774 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7780 result
= wxSysErrorMsg(arg1
);
7782 wxPyEndAllowThreads(__tstate
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7787 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7789 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7798 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
*resultobj
;
7800 wxString
*arg1
= 0 ;
7801 bool temp1
= False
;
7802 PyObject
* obj0
= 0 ;
7804 (char *) "msg", NULL
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7809 arg1
= wxString_in_helper(obj0
);
7810 if (arg1
== NULL
) SWIG_fail
;
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 wxLogFatalError((wxString
const &)*arg1
);
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7820 Py_INCREF(Py_None
); resultobj
= Py_None
;
7835 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
*resultobj
;
7837 wxString
*arg1
= 0 ;
7838 bool temp1
= False
;
7839 PyObject
* obj0
= 0 ;
7841 (char *) "msg", NULL
7844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
7846 arg1
= wxString_in_helper(obj0
);
7847 if (arg1
== NULL
) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 wxLogError((wxString
const &)*arg1
);
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 Py_INCREF(Py_None
); resultobj
= Py_None
;
7872 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
*resultobj
;
7874 wxString
*arg1
= 0 ;
7875 bool temp1
= False
;
7876 PyObject
* obj0
= 0 ;
7878 (char *) "msg", NULL
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
7883 arg1
= wxString_in_helper(obj0
);
7884 if (arg1
== NULL
) SWIG_fail
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 wxLogWarning((wxString
const &)*arg1
);
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7894 Py_INCREF(Py_None
); resultobj
= Py_None
;
7909 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7910 PyObject
*resultobj
;
7911 wxString
*arg1
= 0 ;
7912 bool temp1
= False
;
7913 PyObject
* obj0
= 0 ;
7915 (char *) "msg", NULL
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
7920 arg1
= wxString_in_helper(obj0
);
7921 if (arg1
== NULL
) SWIG_fail
;
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 wxLogMessage((wxString
const &)*arg1
);
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7931 Py_INCREF(Py_None
); resultobj
= Py_None
;
7946 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
*resultobj
;
7948 wxString
*arg1
= 0 ;
7949 bool temp1
= False
;
7950 PyObject
* obj0
= 0 ;
7952 (char *) "msg", NULL
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
7957 arg1
= wxString_in_helper(obj0
);
7958 if (arg1
== NULL
) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 wxLogInfo((wxString
const &)*arg1
);
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7968 Py_INCREF(Py_None
); resultobj
= Py_None
;
7983 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
*resultobj
;
7985 wxString
*arg1
= 0 ;
7986 bool temp1
= False
;
7987 PyObject
* obj0
= 0 ;
7989 (char *) "msg", NULL
7992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
7994 arg1
= wxString_in_helper(obj0
);
7995 if (arg1
== NULL
) SWIG_fail
;
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 wxLogDebug((wxString
const &)*arg1
);
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8005 Py_INCREF(Py_None
); resultobj
= Py_None
;
8020 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
;
8022 wxString
*arg1
= 0 ;
8023 bool temp1
= False
;
8024 PyObject
* obj0
= 0 ;
8026 (char *) "msg", NULL
8029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8031 arg1
= wxString_in_helper(obj0
);
8032 if (arg1
== NULL
) SWIG_fail
;
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 wxLogVerbose((wxString
const &)*arg1
);
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 Py_INCREF(Py_None
); resultobj
= Py_None
;
8057 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
*resultobj
;
8059 wxString
*arg1
= 0 ;
8060 bool temp1
= False
;
8061 PyObject
* obj0
= 0 ;
8063 (char *) "msg", NULL
8066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8068 arg1
= wxString_in_helper(obj0
);
8069 if (arg1
== NULL
) SWIG_fail
;
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 wxLogStatus((wxString
const &)*arg1
);
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8079 Py_INCREF(Py_None
); resultobj
= Py_None
;
8094 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
*resultobj
;
8096 wxFrame
*arg1
= (wxFrame
*) 0 ;
8097 wxString
*arg2
= 0 ;
8098 bool temp2
= False
;
8099 PyObject
* obj0
= 0 ;
8100 PyObject
* obj1
= 0 ;
8102 (char *) "pFrame",(char *) "msg", NULL
8105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8108 arg2
= wxString_in_helper(obj1
);
8109 if (arg2
== NULL
) SWIG_fail
;
8113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8114 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8116 wxPyEndAllowThreads(__tstate
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8119 Py_INCREF(Py_None
); resultobj
= Py_None
;
8134 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
;
8136 wxString
*arg1
= 0 ;
8137 bool temp1
= False
;
8138 PyObject
* obj0
= 0 ;
8140 (char *) "msg", NULL
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8145 arg1
= wxString_in_helper(obj0
);
8146 if (arg1
== NULL
) SWIG_fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 wxLogSysError((wxString
const &)*arg1
);
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8156 Py_INCREF(Py_None
); resultobj
= Py_None
;
8171 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8172 PyObject
*resultobj
;
8173 unsigned long arg1
;
8174 wxString
*arg2
= 0 ;
8175 bool temp2
= False
;
8176 PyObject
* obj0
= 0 ;
8177 PyObject
* obj1
= 0 ;
8179 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8181 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8185 arg2
= wxString_in_helper(obj1
);
8186 if (arg2
== NULL
) SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 Py_INCREF(Py_None
); resultobj
= Py_None
;
8211 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8212 PyObject
*resultobj
;
8213 wxString
*arg1
= 0 ;
8214 wxString
*arg2
= 0 ;
8215 bool temp1
= False
;
8216 bool temp2
= False
;
8217 PyObject
* obj0
= 0 ;
8218 PyObject
* obj1
= 0 ;
8220 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8222 arg1
= wxString_in_helper(obj0
);
8223 if (arg1
== NULL
) SWIG_fail
;
8227 arg2
= wxString_in_helper(obj1
);
8228 if (arg2
== NULL
) SWIG_fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8238 Py_INCREF(Py_None
); resultobj
= Py_None
;
8261 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8266 argc
= PyObject_Length(args
);
8267 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8268 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8273 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8277 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8280 return _wrap_LogTrace__SWIG_1(self
,args
);
8287 SWIG_PyObj_AsUnsignedLong(argv
[0]);
8288 if (PyErr_Occurred()) {
8297 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8300 return _wrap_LogTrace__SWIG_0(self
,args
);
8305 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8310 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
*resultobj
;
8312 unsigned long arg1
;
8313 wxString
*arg2
= 0 ;
8314 bool temp2
= False
;
8315 PyObject
* obj0
= 0 ;
8316 PyObject
* obj1
= 0 ;
8318 (char *) "level",(char *) "msg", NULL
8321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8323 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8327 arg2
= wxString_in_helper(obj1
);
8328 if (arg2
== NULL
) SWIG_fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8338 Py_INCREF(Py_None
); resultobj
= Py_None
;
8353 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
;
8355 wxString
*arg1
= 0 ;
8356 wxString
*arg2
= 0 ;
8357 bool temp1
= False
;
8358 bool temp2
= False
;
8359 PyObject
* obj0
= 0 ;
8360 PyObject
* obj1
= 0 ;
8362 (char *) "title",(char *) "text", NULL
8365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8367 arg1
= wxString_in_helper(obj0
);
8368 if (arg1
== NULL
) SWIG_fail
;
8372 arg2
= wxString_in_helper(obj1
);
8373 if (arg2
== NULL
) SWIG_fail
;
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 Py_INCREF(Py_None
); resultobj
= Py_None
;
8406 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
*resultobj
;
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8416 result
= (wxLogNull
*)new wxLogNull();
8418 wxPyEndAllowThreads(__tstate
);
8419 if (PyErr_Occurred()) SWIG_fail
;
8421 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogNull
, 1);
8428 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
;
8430 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8431 PyObject
* obj0
= 0 ;
8433 (char *) "self", NULL
8436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogNull
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8445 Py_INCREF(Py_None
); resultobj
= Py_None
;
8452 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8455 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8457 return Py_BuildValue((char *)"");
8459 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
;
8466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8469 result
= (wxPyLog
*)new wxPyLog();
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8474 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyLog
, 1);
8481 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
*resultobj
;
8483 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8484 PyObject
*arg2
= (PyObject
*) 0 ;
8485 PyObject
*arg3
= (PyObject
*) 0 ;
8486 PyObject
* obj0
= 0 ;
8487 PyObject
* obj1
= 0 ;
8488 PyObject
* obj2
= 0 ;
8490 (char *) "self",(char *) "self",(char *) "_class", NULL
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 Py_INCREF(Py_None
); resultobj
= Py_None
;
8511 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8514 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8516 return Py_BuildValue((char *)"");
8518 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8519 PyObject
*resultobj
;
8521 int arg2
= (int) wxSIGTERM
;
8523 PyObject
* obj0
= 0 ;
8524 PyObject
* obj1
= 0 ;
8526 (char *) "pid",(char *) "sig", NULL
8529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8531 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8536 arg2
= (wxSignal
) SWIG_PyObj_AsInt(obj1
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8542 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8544 wxPyEndAllowThreads(__tstate
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8547 resultobj
= SWIG_PyObj_FromInt((int)result
);
8554 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8555 PyObject
*resultobj
;
8558 PyObject
* obj0
= 0 ;
8560 (char *) "pid", NULL
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8565 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 result
= (bool)wxPyProcess::Exists(arg1
);
8572 wxPyEndAllowThreads(__tstate
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8582 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
*resultobj
;
8584 wxString
*arg1
= 0 ;
8585 int arg2
= (int) wxEXEC_ASYNC
;
8586 wxPyProcess
*result
;
8587 bool temp1
= False
;
8588 PyObject
* obj0
= 0 ;
8589 PyObject
* obj1
= 0 ;
8591 (char *) "cmd",(char *) "flags", NULL
8594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8596 arg1
= wxString_in_helper(obj0
);
8597 if (arg1
== NULL
) SWIG_fail
;
8602 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8603 if (PyErr_Occurred()) SWIG_fail
;
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8613 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 0);
8628 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8629 PyObject
*resultobj
;
8630 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8631 int arg2
= (int) -1 ;
8632 wxPyProcess
*result
;
8633 PyObject
* obj0
= 0 ;
8634 PyObject
* obj1
= 0 ;
8636 (char *) "parent",(char *) "id", NULL
8639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8645 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 1);
8663 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
;
8665 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8666 PyObject
*arg2
= (PyObject
*) 0 ;
8667 PyObject
*arg3
= (PyObject
*) 0 ;
8668 PyObject
* obj0
= 0 ;
8669 PyObject
* obj1
= 0 ;
8670 PyObject
* obj2
= 0 ;
8672 (char *) "self",(char *) "self",(char *) "_class", NULL
8675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 Py_INCREF(Py_None
); resultobj
= Py_None
;
8693 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
;
8695 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8698 PyObject
* obj0
= 0 ;
8699 PyObject
* obj1
= 0 ;
8700 PyObject
* obj2
= 0 ;
8702 (char *) "self",(char *) "pid",(char *) "status", NULL
8705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8708 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8712 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 (arg1
)->base_OnTerminate(arg2
,arg3
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 Py_INCREF(Py_None
); resultobj
= Py_None
;
8729 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
;
8731 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8732 PyObject
* obj0
= 0 ;
8734 (char *) "self", NULL
8737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 wxPyEndAllowThreads(__tstate
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 Py_INCREF(Py_None
); resultobj
= Py_None
;
8753 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
;
8755 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8757 PyObject
* obj0
= 0 ;
8759 (char *) "self", NULL
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 result
= (bool)(arg1
)->IsRedirected();
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8778 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
;
8780 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8781 PyObject
* obj0
= 0 ;
8783 (char *) "self", NULL
8786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 Py_INCREF(Py_None
); resultobj
= Py_None
;
8802 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
*resultobj
;
8804 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8805 wxInputStream
*result
;
8806 PyObject
* obj0
= 0 ;
8808 (char *) "self", NULL
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8821 wxPyInputStream
* _ptr
= NULL
;
8824 _ptr
= new wxPyInputStream(result
);
8826 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8834 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8835 PyObject
*resultobj
;
8836 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8837 wxInputStream
*result
;
8838 PyObject
* obj0
= 0 ;
8840 (char *) "self", NULL
8843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
8844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8853 wxPyInputStream
* _ptr
= NULL
;
8856 _ptr
= new wxPyInputStream(result
);
8858 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8866 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
;
8868 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8869 wxOutputStream
*result
;
8870 PyObject
* obj0
= 0 ;
8872 (char *) "self", NULL
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
8876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8879 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8884 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxOutputStream
, 0);
8891 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
*resultobj
;
8893 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8894 PyObject
* obj0
= 0 ;
8896 (char *) "self", NULL
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
8900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 (arg1
)->CloseOutput();
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8908 Py_INCREF(Py_None
); resultobj
= Py_None
;
8915 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8917 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8919 PyObject
* obj0
= 0 ;
8921 (char *) "self", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
8925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8940 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
*resultobj
;
8942 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8944 PyObject
* obj0
= 0 ;
8946 (char *) "self", NULL
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
8950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8965 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
*resultobj
;
8967 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8969 PyObject
* obj0
= 0 ;
8971 (char *) "self", NULL
8974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
8975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8990 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
8992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8993 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
8995 return Py_BuildValue((char *)"");
8997 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
;
8999 int arg1
= (int) 0 ;
9000 int arg2
= (int) 0 ;
9001 int arg3
= (int) 0 ;
9002 wxProcessEvent
*result
;
9003 PyObject
* obj0
= 0 ;
9004 PyObject
* obj1
= 0 ;
9005 PyObject
* obj2
= 0 ;
9007 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9013 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9019 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9025 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProcessEvent
, 1);
9043 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
;
9045 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9047 PyObject
* obj0
= 0 ;
9049 (char *) "self", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 result
= (int)(arg1
)->GetPid();
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9061 resultobj
= SWIG_PyObj_FromInt((int)result
);
9068 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9070 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9072 PyObject
* obj0
= 0 ;
9074 (char *) "self", NULL
9077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9081 result
= (int)(arg1
)->GetExitCode();
9083 wxPyEndAllowThreads(__tstate
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9086 resultobj
= SWIG_PyObj_FromInt((int)result
);
9093 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9094 PyObject
*resultobj
;
9095 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9097 PyObject
* obj0
= 0 ;
9098 PyObject
* obj1
= 0 ;
9100 (char *) "self",(char *) "m_pid", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9106 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9109 if (arg1
) (arg1
)->m_pid
= arg2
;
9111 Py_INCREF(Py_None
); resultobj
= Py_None
;
9118 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9119 PyObject
*resultobj
;
9120 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9122 PyObject
* obj0
= 0 ;
9124 (char *) "self", NULL
9127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9129 result
= (int) ((arg1
)->m_pid
);
9131 resultobj
= SWIG_PyObj_FromInt((int)result
);
9138 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9139 PyObject
*resultobj
;
9140 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9142 PyObject
* obj0
= 0 ;
9143 PyObject
* obj1
= 0 ;
9145 (char *) "self",(char *) "m_exitcode", NULL
9148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9151 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9156 Py_INCREF(Py_None
); resultobj
= Py_None
;
9163 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
*resultobj
;
9165 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9167 PyObject
* obj0
= 0 ;
9169 (char *) "self", NULL
9172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9174 result
= (int) ((arg1
)->m_exitcode
);
9176 resultobj
= SWIG_PyObj_FromInt((int)result
);
9183 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9186 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9188 return Py_BuildValue((char *)"");
9190 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9191 PyObject
*resultobj
;
9192 wxString
*arg1
= 0 ;
9193 int arg2
= (int) wxEXEC_ASYNC
;
9194 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9196 bool temp1
= False
;
9197 PyObject
* obj0
= 0 ;
9198 PyObject
* obj1
= 0 ;
9199 PyObject
* obj2
= 0 ;
9201 (char *) "command",(char *) "flags",(char *) "process", NULL
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9206 arg1
= wxString_in_helper(obj0
);
9207 if (arg1
== NULL
) SWIG_fail
;
9212 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9217 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 resultobj
= SWIG_PyObj_FromLong((long)result
);
9241 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9242 PyObject
*resultobj
;
9243 int arg1
= (int) wxJOYSTICK1
;
9245 PyObject
* obj0
= 0 ;
9247 (char *) "joystick", NULL
9250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9253 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 result
= (wxJoystick
*)new wxJoystick(arg1
);
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystick
, 1);
9271 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
;
9273 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9274 PyObject
* obj0
= 0 ;
9276 (char *) "self", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 Py_INCREF(Py_None
); resultobj
= Py_None
;
9295 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9299 PyObject
* obj0
= 0 ;
9301 (char *) "self", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 result
= (arg1
)->GetPosition();
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9314 wxPoint
* resultptr
;
9315 resultptr
= new wxPoint((wxPoint
&) result
);
9316 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
9324 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9326 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9328 PyObject
* obj0
= 0 ;
9330 (char *) "self", NULL
9333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 result
= (int)(arg1
)->GetZPosition();
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) SWIG_fail
;
9342 resultobj
= SWIG_PyObj_FromInt((int)result
);
9349 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9350 PyObject
*resultobj
;
9351 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9353 PyObject
* obj0
= 0 ;
9355 (char *) "self", NULL
9358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 result
= (int)(arg1
)->GetButtonState();
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9367 resultobj
= SWIG_PyObj_FromInt((int)result
);
9374 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
*resultobj
;
9376 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9378 PyObject
* obj0
= 0 ;
9380 (char *) "self", NULL
9383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 result
= (int)(arg1
)->GetPOVPosition();
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9392 resultobj
= SWIG_PyObj_FromInt((int)result
);
9399 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
;
9401 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9403 PyObject
* obj0
= 0 ;
9405 (char *) "self", NULL
9408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 result
= (int)(arg1
)->GetPOVCTSPosition();
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9417 resultobj
= SWIG_PyObj_FromInt((int)result
);
9424 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
;
9426 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9428 PyObject
* obj0
= 0 ;
9430 (char *) "self", NULL
9433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 result
= (int)(arg1
)->GetRudderPosition();
9439 wxPyEndAllowThreads(__tstate
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9442 resultobj
= SWIG_PyObj_FromInt((int)result
);
9449 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
*resultobj
;
9451 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9453 PyObject
* obj0
= 0 ;
9455 (char *) "self", NULL
9458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 result
= (int)(arg1
)->GetUPosition();
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= SWIG_PyObj_FromInt((int)result
);
9474 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
;
9476 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9478 PyObject
* obj0
= 0 ;
9480 (char *) "self", NULL
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 result
= (int)(arg1
)->GetVPosition();
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9492 resultobj
= SWIG_PyObj_FromInt((int)result
);
9499 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
;
9501 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9503 PyObject
* obj0
= 0 ;
9505 (char *) "self", NULL
9508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 result
= (int)(arg1
)->GetMovementThreshold();
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= SWIG_PyObj_FromInt((int)result
);
9524 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9525 PyObject
*resultobj
;
9526 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9528 PyObject
* obj0
= 0 ;
9529 PyObject
* obj1
= 0 ;
9531 (char *) "self",(char *) "threshold", NULL
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9537 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9542 (arg1
)->SetMovementThreshold(arg2
);
9544 wxPyEndAllowThreads(__tstate
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9547 Py_INCREF(Py_None
); resultobj
= Py_None
;
9554 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9555 PyObject
*resultobj
;
9556 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9558 PyObject
* obj0
= 0 ;
9560 (char *) "self", NULL
9563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 result
= (bool)(arg1
)->IsOk();
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9579 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
*resultobj
;
9581 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9583 PyObject
* obj0
= 0 ;
9585 (char *) "self", NULL
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9592 result
= (int)(arg1
)->GetNumberJoysticks();
9594 wxPyEndAllowThreads(__tstate
);
9595 if (PyErr_Occurred()) SWIG_fail
;
9597 resultobj
= SWIG_PyObj_FromInt((int)result
);
9604 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9605 PyObject
*resultobj
;
9606 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9608 PyObject
* obj0
= 0 ;
9610 (char *) "self", NULL
9613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 result
= (int)(arg1
)->GetManufacturerId();
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= SWIG_PyObj_FromInt((int)result
);
9629 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
*resultobj
;
9631 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9633 PyObject
* obj0
= 0 ;
9635 (char *) "self", NULL
9638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 result
= (int)(arg1
)->GetProductId();
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9647 resultobj
= SWIG_PyObj_FromInt((int)result
);
9654 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9655 PyObject
*resultobj
;
9656 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9658 PyObject
* obj0
= 0 ;
9660 (char *) "self", NULL
9663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 result
= (arg1
)->GetProductName();
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9685 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
;
9687 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9689 PyObject
* obj0
= 0 ;
9691 (char *) "self", NULL
9694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 result
= (int)(arg1
)->GetXMin();
9700 wxPyEndAllowThreads(__tstate
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9703 resultobj
= SWIG_PyObj_FromInt((int)result
);
9710 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
*resultobj
;
9712 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9714 PyObject
* obj0
= 0 ;
9716 (char *) "self", NULL
9719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 result
= (int)(arg1
)->GetYMin();
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= SWIG_PyObj_FromInt((int)result
);
9735 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
;
9737 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9739 PyObject
* obj0
= 0 ;
9741 (char *) "self", NULL
9744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9748 result
= (int)(arg1
)->GetZMin();
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9753 resultobj
= SWIG_PyObj_FromInt((int)result
);
9760 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
;
9762 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9764 PyObject
* obj0
= 0 ;
9766 (char *) "self", NULL
9769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 result
= (int)(arg1
)->GetXMax();
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9778 resultobj
= SWIG_PyObj_FromInt((int)result
);
9785 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
;
9787 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9789 PyObject
* obj0
= 0 ;
9791 (char *) "self", NULL
9794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9798 result
= (int)(arg1
)->GetYMax();
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9803 resultobj
= SWIG_PyObj_FromInt((int)result
);
9810 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
;
9812 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9814 PyObject
* obj0
= 0 ;
9816 (char *) "self", NULL
9819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
9820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9823 result
= (int)(arg1
)->GetZMax();
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= SWIG_PyObj_FromInt((int)result
);
9835 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
;
9837 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9839 PyObject
* obj0
= 0 ;
9841 (char *) "self", NULL
9844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
9845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= (int)(arg1
)->GetNumberButtons();
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= SWIG_PyObj_FromInt((int)result
);
9860 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
;
9862 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9864 PyObject
* obj0
= 0 ;
9866 (char *) "self", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
9870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 result
= (int)(arg1
)->GetNumberAxes();
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9878 resultobj
= SWIG_PyObj_FromInt((int)result
);
9885 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
*resultobj
;
9887 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9889 PyObject
* obj0
= 0 ;
9891 (char *) "self", NULL
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
9895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 result
= (int)(arg1
)->GetMaxButtons();
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= SWIG_PyObj_FromInt((int)result
);
9910 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
;
9912 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9914 PyObject
* obj0
= 0 ;
9916 (char *) "self", NULL
9919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
9920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 result
= (int)(arg1
)->GetMaxAxes();
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9928 resultobj
= SWIG_PyObj_FromInt((int)result
);
9935 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9936 PyObject
*resultobj
;
9937 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9939 PyObject
* obj0
= 0 ;
9941 (char *) "self", NULL
9944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
9945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 result
= (int)(arg1
)->GetPollingMin();
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9953 resultobj
= SWIG_PyObj_FromInt((int)result
);
9960 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
;
9962 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9964 PyObject
* obj0
= 0 ;
9966 (char *) "self", NULL
9969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
9970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 result
= (int)(arg1
)->GetPollingMax();
9975 wxPyEndAllowThreads(__tstate
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9978 resultobj
= SWIG_PyObj_FromInt((int)result
);
9985 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9986 PyObject
*resultobj
;
9987 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9989 PyObject
* obj0
= 0 ;
9991 (char *) "self", NULL
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
9995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 result
= (int)(arg1
)->GetRudderMin();
10000 wxPyEndAllowThreads(__tstate
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10003 resultobj
= SWIG_PyObj_FromInt((int)result
);
10010 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
*resultobj
;
10012 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10014 PyObject
* obj0
= 0 ;
10015 char *kwnames
[] = {
10016 (char *) "self", NULL
10019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 result
= (int)(arg1
)->GetRudderMax();
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10028 resultobj
= SWIG_PyObj_FromInt((int)result
);
10035 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10036 PyObject
*resultobj
;
10037 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10039 PyObject
* obj0
= 0 ;
10040 char *kwnames
[] = {
10041 (char *) "self", NULL
10044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10048 result
= (int)(arg1
)->GetUMin();
10050 wxPyEndAllowThreads(__tstate
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10053 resultobj
= SWIG_PyObj_FromInt((int)result
);
10060 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10062 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10064 PyObject
* obj0
= 0 ;
10065 char *kwnames
[] = {
10066 (char *) "self", NULL
10069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 result
= (int)(arg1
)->GetUMax();
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10078 resultobj
= SWIG_PyObj_FromInt((int)result
);
10085 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
*resultobj
;
10087 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10089 PyObject
* obj0
= 0 ;
10090 char *kwnames
[] = {
10091 (char *) "self", NULL
10094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 result
= (int)(arg1
)->GetVMin();
10100 wxPyEndAllowThreads(__tstate
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10103 resultobj
= SWIG_PyObj_FromInt((int)result
);
10110 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10111 PyObject
*resultobj
;
10112 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10114 PyObject
* obj0
= 0 ;
10115 char *kwnames
[] = {
10116 (char *) "self", NULL
10119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 result
= (int)(arg1
)->GetVMax();
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 resultobj
= SWIG_PyObj_FromInt((int)result
);
10135 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10136 PyObject
*resultobj
;
10137 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10139 PyObject
* obj0
= 0 ;
10140 char *kwnames
[] = {
10141 (char *) "self", NULL
10144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 result
= (bool)(arg1
)->HasRudder();
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10160 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10161 PyObject
*resultobj
;
10162 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10164 PyObject
* obj0
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "self", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 result
= (bool)(arg1
)->HasZ();
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10185 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10186 PyObject
*resultobj
;
10187 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10189 PyObject
* obj0
= 0 ;
10190 char *kwnames
[] = {
10191 (char *) "self", NULL
10194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 result
= (bool)(arg1
)->HasU();
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10210 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
;
10212 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10214 PyObject
* obj0
= 0 ;
10215 char *kwnames
[] = {
10216 (char *) "self", NULL
10219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10223 result
= (bool)(arg1
)->HasV();
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10235 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10236 PyObject
*resultobj
;
10237 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10239 PyObject
* obj0
= 0 ;
10240 char *kwnames
[] = {
10241 (char *) "self", NULL
10244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= (bool)(arg1
)->HasPOV();
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10260 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10261 PyObject
*resultobj
;
10262 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10264 PyObject
* obj0
= 0 ;
10265 char *kwnames
[] = {
10266 (char *) "self", NULL
10269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 result
= (bool)(arg1
)->HasPOV4Dir();
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10285 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10286 PyObject
*resultobj
;
10287 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10289 PyObject
* obj0
= 0 ;
10290 char *kwnames
[] = {
10291 (char *) "self", NULL
10294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 result
= (bool)(arg1
)->HasPOVCTS();
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10310 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
*resultobj
;
10312 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10313 wxWindow
*arg2
= (wxWindow
*) 0 ;
10314 int arg3
= (int) 0 ;
10316 PyObject
* obj0
= 0 ;
10317 PyObject
* obj1
= 0 ;
10318 PyObject
* obj2
= 0 ;
10319 char *kwnames
[] = {
10320 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10325 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10328 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10336 wxPyEndAllowThreads(__tstate
);
10337 if (PyErr_Occurred()) SWIG_fail
;
10339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10346 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10347 PyObject
*resultobj
;
10348 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10350 PyObject
* obj0
= 0 ;
10351 char *kwnames
[] = {
10352 (char *) "self", NULL
10355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 result
= (bool)(arg1
)->ReleaseCapture();
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10371 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10374 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10376 return Py_BuildValue((char *)"");
10378 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
*resultobj
;
10380 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10381 wxPoint
*arg2
= (wxPoint
*) 0 ;
10382 PyObject
* obj0
= 0 ;
10383 PyObject
* obj1
= 0 ;
10384 char *kwnames
[] = {
10385 (char *) "self",(char *) "m_pos", NULL
10388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10390 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10391 if (arg1
) (arg1
)->m_pos
= *arg2
;
10393 Py_INCREF(Py_None
); resultobj
= Py_None
;
10400 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
;
10402 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10404 PyObject
* obj0
= 0 ;
10405 char *kwnames
[] = {
10406 (char *) "self", NULL
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10411 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10413 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
10420 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
;
10422 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10424 PyObject
* obj0
= 0 ;
10425 PyObject
* obj1
= 0 ;
10426 char *kwnames
[] = {
10427 (char *) "self",(char *) "m_zPosition", NULL
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10433 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10436 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10438 Py_INCREF(Py_None
); resultobj
= Py_None
;
10445 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
;
10447 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10449 PyObject
* obj0
= 0 ;
10450 char *kwnames
[] = {
10451 (char *) "self", NULL
10454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10456 result
= (int) ((arg1
)->m_zPosition
);
10458 resultobj
= SWIG_PyObj_FromInt((int)result
);
10465 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
*resultobj
;
10467 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10469 PyObject
* obj0
= 0 ;
10470 PyObject
* obj1
= 0 ;
10471 char *kwnames
[] = {
10472 (char *) "self",(char *) "m_buttonChange", NULL
10475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10478 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10481 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10483 Py_INCREF(Py_None
); resultobj
= Py_None
;
10490 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10491 PyObject
*resultobj
;
10492 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10494 PyObject
* obj0
= 0 ;
10495 char *kwnames
[] = {
10496 (char *) "self", NULL
10499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10501 result
= (int) ((arg1
)->m_buttonChange
);
10503 resultobj
= SWIG_PyObj_FromInt((int)result
);
10510 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10511 PyObject
*resultobj
;
10512 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10514 PyObject
* obj0
= 0 ;
10515 PyObject
* obj1
= 0 ;
10516 char *kwnames
[] = {
10517 (char *) "self",(char *) "m_buttonState", NULL
10520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10523 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10526 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10528 Py_INCREF(Py_None
); resultobj
= Py_None
;
10535 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
*resultobj
;
10537 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10539 PyObject
* obj0
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10546 result
= (int) ((arg1
)->m_buttonState
);
10548 resultobj
= SWIG_PyObj_FromInt((int)result
);
10555 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10556 PyObject
*resultobj
;
10557 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10559 PyObject
* obj0
= 0 ;
10560 PyObject
* obj1
= 0 ;
10561 char *kwnames
[] = {
10562 (char *) "self",(char *) "m_joyStick", NULL
10565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10568 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10573 Py_INCREF(Py_None
); resultobj
= Py_None
;
10580 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10581 PyObject
*resultobj
;
10582 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10584 PyObject
* obj0
= 0 ;
10585 char *kwnames
[] = {
10586 (char *) "self", NULL
10589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10591 result
= (int) ((arg1
)->m_joyStick
);
10593 resultobj
= SWIG_PyObj_FromInt((int)result
);
10600 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
*resultobj
;
10602 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10603 int arg2
= (int) 0 ;
10604 int arg3
= (int) wxJOYSTICK1
;
10605 int arg4
= (int) 0 ;
10606 wxJoystickEvent
*result
;
10607 PyObject
* obj0
= 0 ;
10608 PyObject
* obj1
= 0 ;
10609 PyObject
* obj2
= 0 ;
10610 PyObject
* obj3
= 0 ;
10611 char *kwnames
[] = {
10612 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10618 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10624 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10630 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10636 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystickEvent
, 1);
10654 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10655 PyObject
*resultobj
;
10656 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10658 PyObject
* obj0
= 0 ;
10659 char *kwnames
[] = {
10660 (char *) "self", NULL
10663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10673 wxPoint
* resultptr
;
10674 resultptr
= new wxPoint((wxPoint
&) result
);
10675 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
10683 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
;
10685 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10687 PyObject
* obj0
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "self", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10701 resultobj
= SWIG_PyObj_FromInt((int)result
);
10708 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
*resultobj
;
10710 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10712 PyObject
* obj0
= 0 ;
10713 char *kwnames
[] = {
10714 (char *) "self", NULL
10717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= SWIG_PyObj_FromInt((int)result
);
10733 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
;
10735 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10737 PyObject
* obj0
= 0 ;
10738 char *kwnames
[] = {
10739 (char *) "self", NULL
10742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10751 resultobj
= SWIG_PyObj_FromInt((int)result
);
10758 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
;
10760 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10762 PyObject
* obj0
= 0 ;
10763 char *kwnames
[] = {
10764 (char *) "self", NULL
10767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
10768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
10773 wxPyEndAllowThreads(__tstate
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10776 resultobj
= SWIG_PyObj_FromInt((int)result
);
10783 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10784 PyObject
*resultobj
;
10785 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10787 PyObject
* obj0
= 0 ;
10788 PyObject
* obj1
= 0 ;
10789 char *kwnames
[] = {
10790 (char *) "self",(char *) "stick", NULL
10793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
10794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10796 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 (arg1
)->SetJoystick(arg2
);
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10806 Py_INCREF(Py_None
); resultobj
= Py_None
;
10813 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10814 PyObject
*resultobj
;
10815 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10817 PyObject
* obj0
= 0 ;
10818 PyObject
* obj1
= 0 ;
10819 char *kwnames
[] = {
10820 (char *) "self",(char *) "state", NULL
10823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
10824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10826 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 (arg1
)->SetButtonState(arg2
);
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 Py_INCREF(Py_None
); resultobj
= Py_None
;
10843 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
*resultobj
;
10845 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10847 PyObject
* obj0
= 0 ;
10848 PyObject
* obj1
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "self",(char *) "change", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
10854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10856 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 (arg1
)->SetButtonChange(arg2
);
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 Py_INCREF(Py_None
); resultobj
= Py_None
;
10873 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
;
10875 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10876 wxPoint
*arg2
= 0 ;
10878 PyObject
* obj0
= 0 ;
10879 PyObject
* obj1
= 0 ;
10880 char *kwnames
[] = {
10881 (char *) "self",(char *) "pos", NULL
10884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10888 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10892 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
10894 wxPyEndAllowThreads(__tstate
);
10895 if (PyErr_Occurred()) SWIG_fail
;
10897 Py_INCREF(Py_None
); resultobj
= Py_None
;
10904 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10905 PyObject
*resultobj
;
10906 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10908 PyObject
* obj0
= 0 ;
10909 PyObject
* obj1
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self",(char *) "zPos", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10917 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 (arg1
)->SetZPosition(arg2
);
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10927 Py_INCREF(Py_None
); resultobj
= Py_None
;
10934 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10935 PyObject
*resultobj
;
10936 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10938 PyObject
* obj0
= 0 ;
10939 char *kwnames
[] = {
10940 (char *) "self", NULL
10943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
10944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10959 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
;
10961 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10963 PyObject
* obj0
= 0 ;
10964 char *kwnames
[] = {
10965 (char *) "self", NULL
10968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
10969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
10974 wxPyEndAllowThreads(__tstate
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10984 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10985 PyObject
*resultobj
;
10986 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10988 PyObject
* obj0
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "self", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
10994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11009 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11010 PyObject
*resultobj
;
11011 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11012 int arg2
= (int) wxJOY_BUTTON_ANY
;
11014 PyObject
* obj0
= 0 ;
11015 PyObject
* obj1
= 0 ;
11016 char *kwnames
[] = {
11017 (char *) "self",(char *) "but", NULL
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11024 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11042 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
;
11044 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11045 int arg2
= (int) wxJOY_BUTTON_ANY
;
11047 PyObject
* obj0
= 0 ;
11048 PyObject
* obj1
= 0 ;
11049 char *kwnames
[] = {
11050 (char *) "self",(char *) "but", NULL
11053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11057 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11065 wxPyEndAllowThreads(__tstate
);
11066 if (PyErr_Occurred()) SWIG_fail
;
11068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11075 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11076 PyObject
*resultobj
;
11077 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11078 int arg2
= (int) wxJOY_BUTTON_ANY
;
11080 PyObject
* obj0
= 0 ;
11081 PyObject
* obj1
= 0 ;
11082 char *kwnames
[] = {
11083 (char *) "self",(char *) "but", NULL
11086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11090 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11096 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11098 wxPyEndAllowThreads(__tstate
);
11099 if (PyErr_Occurred()) SWIG_fail
;
11101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11108 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11111 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11113 return Py_BuildValue((char *)"");
11115 static PyObject
*_wrap_new_Sound__SWIG_0(PyObject
*self
, PyObject
*args
) {
11116 PyObject
*resultobj
;
11119 if(!PyArg_ParseTuple(args
,(char *)":new_Sound")) goto fail
;
11121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 result
= (wxSound
*)new wxSound();
11124 wxPyEndAllowThreads(__tstate
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11127 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSound
, 1);
11134 static PyObject
*_wrap_new_Sound__SWIG_1(PyObject
*self
, PyObject
*args
) {
11135 PyObject
*resultobj
;
11136 wxString
*arg1
= 0 ;
11137 bool arg2
= (bool) false ;
11139 bool temp1
= False
;
11140 PyObject
* obj0
= 0 ;
11141 PyObject
* obj1
= 0 ;
11143 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_Sound",&obj0
,&obj1
)) goto fail
;
11145 arg1
= wxString_in_helper(obj0
);
11146 if (arg1
== NULL
) SWIG_fail
;
11151 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11157 result
= (wxSound
*)new wxSound((wxString
const &)*arg1
,arg2
);
11159 wxPyEndAllowThreads(__tstate
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11162 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSound
, 1);
11177 static PyObject
*_wrap_new_Sound__SWIG_2(PyObject
*self
, PyObject
*args
) {
11178 PyObject
*resultobj
;
11180 wxByte
*arg2
= (wxByte
*) 0 ;
11182 PyObject
* obj0
= 0 ;
11183 PyObject
* obj1
= 0 ;
11185 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Sound",&obj0
,&obj1
)) goto fail
;
11187 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxByte
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11193 result
= (wxSound
*)new wxSound(arg1
,(wxByte
const *)arg2
);
11195 wxPyEndAllowThreads(__tstate
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11198 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSound
, 1);
11205 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
) {
11210 argc
= PyObject_Length(args
);
11211 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11212 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11215 return _wrap_new_Sound__SWIG_0(self
,args
);
11217 if ((argc
>= 1) && (argc
<= 2)) {
11220 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11224 return _wrap_new_Sound__SWIG_1(self
,args
);
11227 SWIG_PyObj_AsBool(argv
[1]);
11228 if (PyErr_Occurred()) {
11236 return _wrap_new_Sound__SWIG_1(self
,args
);
11243 SWIG_PyObj_AsInt(argv
[0]);
11244 if (PyErr_Occurred()) {
11254 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11262 return _wrap_new_Sound__SWIG_2(self
,args
);
11267 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Sound'");
11272 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11273 PyObject
*resultobj
;
11274 wxSound
*arg1
= (wxSound
*) 0 ;
11275 PyObject
* obj0
= 0 ;
11276 char *kwnames
[] = {
11277 (char *) "self", NULL
11280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSound
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11289 Py_INCREF(Py_None
); resultobj
= Py_None
;
11296 static PyObject
*_wrap_Sound_Create__SWIG_0(PyObject
*self
, PyObject
*args
) {
11297 PyObject
*resultobj
;
11298 wxSound
*arg1
= (wxSound
*) 0 ;
11299 wxString
*arg2
= 0 ;
11300 bool arg3
= (bool) false ;
11302 bool temp2
= False
;
11303 PyObject
* obj0
= 0 ;
11304 PyObject
* obj1
= 0 ;
11305 PyObject
* obj2
= 0 ;
11307 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSound
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11310 arg2
= wxString_in_helper(obj1
);
11311 if (arg2
== NULL
) SWIG_fail
;
11316 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,arg3
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11342 static PyObject
*_wrap_Sound_Create__SWIG_1(PyObject
*self
, PyObject
*args
) {
11343 PyObject
*resultobj
;
11344 wxSound
*arg1
= (wxSound
*) 0 ;
11346 wxByte
*arg3
= (wxByte
*) 0 ;
11348 PyObject
* obj0
= 0 ;
11349 PyObject
* obj1
= 0 ;
11350 PyObject
* obj2
= 0 ;
11352 if(!PyArg_ParseTuple(args
,(char *)"OOO:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSound
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11355 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxByte
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11361 result
= (bool)wxSound_Create__SWIG_1(arg1
,arg2
,(wxByte
const *)arg3
);
11363 wxPyEndAllowThreads(__tstate
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11373 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
) {
11378 argc
= PyObject_Length(args
);
11379 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11380 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11382 if ((argc
>= 2) && (argc
<= 3)) {
11386 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11395 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11399 return _wrap_Sound_Create__SWIG_0(self
,args
);
11402 SWIG_PyObj_AsBool(argv
[2]);
11403 if (PyErr_Occurred()) {
11411 return _wrap_Sound_Create__SWIG_0(self
,args
);
11420 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11429 SWIG_PyObj_AsInt(argv
[1]);
11430 if (PyErr_Occurred()) {
11440 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11448 return _wrap_Sound_Create__SWIG_1(self
,args
);
11454 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Sound_Create'");
11459 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11460 PyObject
*resultobj
;
11461 wxSound
*arg1
= (wxSound
*) 0 ;
11463 PyObject
* obj0
= 0 ;
11464 char *kwnames
[] = {
11465 (char *) "self", NULL
11468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSound
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 result
= (bool)(arg1
)->IsOk();
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11484 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
) {
11485 PyObject
*resultobj
;
11486 wxSound
*arg1
= (wxSound
*) 0 ;
11487 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11489 PyObject
* obj0
= 0 ;
11490 PyObject
* obj1
= 0 ;
11492 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_Play",&obj0
,&obj1
)) goto fail
;
11493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSound
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11496 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11514 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
) {
11515 PyObject
*resultobj
;
11516 wxString
*arg1
= 0 ;
11517 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11519 bool temp1
= False
;
11520 PyObject
* obj0
= 0 ;
11521 PyObject
* obj1
= 0 ;
11523 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_PlaySound",&obj0
,&obj1
)) goto fail
;
11525 arg1
= wxString_in_helper(obj0
);
11526 if (arg1
== NULL
) SWIG_fail
;
11531 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11537 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11557 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11558 PyObject
*resultobj
;
11559 char *kwnames
[] = {
11563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 wxPyEndAllowThreads(__tstate
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11571 Py_INCREF(Py_None
); resultobj
= Py_None
;
11578 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11581 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11583 return Py_BuildValue((char *)"");
11585 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
;
11587 wxString
*arg1
= 0 ;
11588 wxString
*arg2
= 0 ;
11589 wxString
*arg3
= 0 ;
11590 wxString
*arg4
= 0 ;
11591 wxFileTypeInfo
*result
;
11592 bool temp1
= False
;
11593 bool temp2
= False
;
11594 bool temp3
= False
;
11595 bool temp4
= False
;
11596 PyObject
* obj0
= 0 ;
11597 PyObject
* obj1
= 0 ;
11598 PyObject
* obj2
= 0 ;
11599 PyObject
* obj3
= 0 ;
11600 char *kwnames
[] = {
11601 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11606 arg1
= wxString_in_helper(obj0
);
11607 if (arg1
== NULL
) SWIG_fail
;
11611 arg2
= wxString_in_helper(obj1
);
11612 if (arg2
== NULL
) SWIG_fail
;
11616 arg3
= wxString_in_helper(obj2
);
11617 if (arg3
== NULL
) SWIG_fail
;
11621 arg4
= wxString_in_helper(obj3
);
11622 if (arg4
== NULL
) SWIG_fail
;
11626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11627 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11629 wxPyEndAllowThreads(__tstate
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11632 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
11671 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
;
11673 wxArrayString
*arg1
= 0 ;
11674 wxFileTypeInfo
*result
;
11675 PyObject
* obj0
= 0 ;
11676 char *kwnames
[] = {
11677 (char *) "sArray", NULL
11680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11682 if (! PySequence_Check(obj0
)) {
11683 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11686 arg1
= new wxArrayString
;
11687 int i
, len
=PySequence_Length(obj0
);
11688 for (i
=0; i
<len
; i
++) {
11689 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11691 PyObject
* str
= PyObject_Unicode(item
);
11693 PyObject
* str
= PyObject_Str(item
);
11695 arg1
->Add(Py2wxString(str
));
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11707 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
11709 if (arg1
) delete arg1
;
11714 if (arg1
) delete arg1
;
11720 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11721 PyObject
*resultobj
;
11722 wxFileTypeInfo
*result
;
11723 char *kwnames
[] = {
11727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11730 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11735 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
11742 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11743 PyObject
*resultobj
;
11744 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11746 PyObject
* obj0
= 0 ;
11747 char *kwnames
[] = {
11748 (char *) "self", NULL
11751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11767 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
;
11769 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11770 wxString
*arg2
= 0 ;
11771 int arg3
= (int) 0 ;
11772 bool temp2
= False
;
11773 PyObject
* obj0
= 0 ;
11774 PyObject
* obj1
= 0 ;
11775 PyObject
* obj2
= 0 ;
11776 char *kwnames
[] = {
11777 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11783 arg2
= wxString_in_helper(obj1
);
11784 if (arg2
== NULL
) SWIG_fail
;
11789 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11795 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
11797 wxPyEndAllowThreads(__tstate
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11800 Py_INCREF(Py_None
); resultobj
= Py_None
;
11815 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11816 PyObject
*resultobj
;
11817 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11818 wxString
*arg2
= 0 ;
11819 bool temp2
= False
;
11820 PyObject
* obj0
= 0 ;
11821 PyObject
* obj1
= 0 ;
11822 char *kwnames
[] = {
11823 (char *) "self",(char *) "shortDesc", NULL
11826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
11827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11829 arg2
= wxString_in_helper(obj1
);
11830 if (arg2
== NULL
) SWIG_fail
;
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11840 Py_INCREF(Py_None
); resultobj
= Py_None
;
11855 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11856 PyObject
*resultobj
;
11857 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11859 PyObject
* obj0
= 0 ;
11860 char *kwnames
[] = {
11861 (char *) "self", NULL
11864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
11865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
11870 result
= (wxString
*) &_result_ref
;
11873 wxPyEndAllowThreads(__tstate
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11878 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11880 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11889 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
;
11891 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11893 PyObject
* obj0
= 0 ;
11894 char *kwnames
[] = {
11895 (char *) "self", NULL
11898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
11899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
11904 result
= (wxString
*) &_result_ref
;
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11912 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11914 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11923 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
;
11925 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11927 PyObject
* obj0
= 0 ;
11928 char *kwnames
[] = {
11929 (char *) "self", NULL
11932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
11933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11937 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
11938 result
= (wxString
*) &_result_ref
;
11941 wxPyEndAllowThreads(__tstate
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11948 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11957 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11958 PyObject
*resultobj
;
11959 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11961 PyObject
* obj0
= 0 ;
11962 char *kwnames
[] = {
11963 (char *) "self", NULL
11966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
11967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11971 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
11972 result
= (wxString
*) &_result_ref
;
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11980 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11982 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11991 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
;
11993 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11995 PyObject
* obj0
= 0 ;
11996 char *kwnames
[] = {
11997 (char *) "self", NULL
12000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12005 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12006 result
= (wxString
*) &_result_ref
;
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12014 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12016 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12025 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
;
12027 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12028 wxArrayString
*result
;
12029 PyObject
* obj0
= 0 ;
12030 char *kwnames
[] = {
12031 (char *) "self", NULL
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12040 result
= (wxArrayString
*) &_result_ref
;
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= wxArrayString2PyList_helper(*result
);
12055 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12056 PyObject
*resultobj
;
12057 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12059 PyObject
* obj0
= 0 ;
12060 char *kwnames
[] = {
12061 (char *) "self", NULL
12064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12073 resultobj
= SWIG_PyObj_FromInt((int)result
);
12080 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12081 PyObject
*resultobj
;
12082 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12084 PyObject
* obj0
= 0 ;
12085 char *kwnames
[] = {
12086 (char *) "self", NULL
12089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12094 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12095 result
= (wxString
*) &_result_ref
;
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12103 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12105 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12114 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
;
12116 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12118 PyObject
* obj0
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "self", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12127 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12129 wxPyEndAllowThreads(__tstate
);
12130 if (PyErr_Occurred()) SWIG_fail
;
12132 resultobj
= SWIG_PyObj_FromInt((int)result
);
12139 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12142 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12144 return Py_BuildValue((char *)"");
12146 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12147 PyObject
*resultobj
;
12148 wxFileTypeInfo
*arg1
= 0 ;
12149 wxFileType
*result
;
12150 PyObject
* obj0
= 0 ;
12151 char *kwnames
[] = {
12152 (char *) "ftInfo", NULL
12155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12157 if (arg1
== NULL
) {
12158 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12167 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12174 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12175 PyObject
*resultobj
;
12176 wxFileType
*arg1
= (wxFileType
*) 0 ;
12177 PyObject
* obj0
= 0 ;
12178 char *kwnames
[] = {
12179 (char *) "self", NULL
12182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12191 Py_INCREF(Py_None
); resultobj
= Py_None
;
12198 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12199 PyObject
*resultobj
;
12200 wxFileType
*arg1
= (wxFileType
*) 0 ;
12202 PyObject
* obj0
= 0 ;
12203 char *kwnames
[] = {
12204 (char *) "self", NULL
12207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12211 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12213 wxPyEndAllowThreads(__tstate
);
12214 if (PyErr_Occurred()) SWIG_fail
;
12216 resultobj
= result
;
12223 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
*resultobj
;
12225 wxFileType
*arg1
= (wxFileType
*) 0 ;
12227 PyObject
* obj0
= 0 ;
12228 char *kwnames
[] = {
12229 (char *) "self", NULL
12232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12236 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12238 wxPyEndAllowThreads(__tstate
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12241 resultobj
= result
;
12248 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12249 PyObject
*resultobj
;
12250 wxFileType
*arg1
= (wxFileType
*) 0 ;
12252 PyObject
* obj0
= 0 ;
12253 char *kwnames
[] = {
12254 (char *) "self", NULL
12257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12266 resultobj
= result
;
12273 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12274 PyObject
*resultobj
;
12275 wxFileType
*arg1
= (wxFileType
*) 0 ;
12277 PyObject
* obj0
= 0 ;
12278 char *kwnames
[] = {
12279 (char *) "self", NULL
12282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12288 wxPyEndAllowThreads(__tstate
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
12298 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12299 PyObject
*resultobj
;
12300 wxFileType
*arg1
= (wxFileType
*) 0 ;
12302 PyObject
* obj0
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12313 wxPyEndAllowThreads(__tstate
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12316 resultobj
= result
;
12323 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12324 PyObject
*resultobj
;
12325 wxFileType
*arg1
= (wxFileType
*) 0 ;
12327 PyObject
* obj0
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12341 resultobj
= result
;
12348 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12349 PyObject
*resultobj
;
12350 wxFileType
*arg1
= (wxFileType
*) 0 ;
12351 wxString
*arg2
= 0 ;
12352 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12353 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12355 bool temp2
= False
;
12356 bool temp3
= False
;
12357 PyObject
* obj0
= 0 ;
12358 PyObject
* obj1
= 0 ;
12359 PyObject
* obj2
= 0 ;
12360 char *kwnames
[] = {
12361 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12367 arg2
= wxString_in_helper(obj1
);
12368 if (arg2
== NULL
) SWIG_fail
;
12373 arg3
= wxString_in_helper(obj2
);
12374 if (arg3
== NULL
) SWIG_fail
;
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 resultobj
= result
;
12408 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
;
12410 wxFileType
*arg1
= (wxFileType
*) 0 ;
12411 wxString
*arg2
= 0 ;
12412 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12413 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12415 bool temp2
= False
;
12416 bool temp3
= False
;
12417 PyObject
* obj0
= 0 ;
12418 PyObject
* obj1
= 0 ;
12419 PyObject
* obj2
= 0 ;
12420 char *kwnames
[] = {
12421 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12427 arg2
= wxString_in_helper(obj1
);
12428 if (arg2
== NULL
) SWIG_fail
;
12433 arg3
= wxString_in_helper(obj2
);
12434 if (arg3
== NULL
) SWIG_fail
;
12439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12440 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12442 wxPyEndAllowThreads(__tstate
);
12443 if (PyErr_Occurred()) SWIG_fail
;
12445 resultobj
= result
;
12468 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
*resultobj
;
12470 wxFileType
*arg1
= (wxFileType
*) 0 ;
12471 wxString
*arg2
= 0 ;
12472 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12473 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12475 bool temp2
= False
;
12476 bool temp3
= False
;
12477 PyObject
* obj0
= 0 ;
12478 PyObject
* obj1
= 0 ;
12479 PyObject
* obj2
= 0 ;
12480 char *kwnames
[] = {
12481 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12487 arg2
= wxString_in_helper(obj1
);
12488 if (arg2
== NULL
) SWIG_fail
;
12493 arg3
= wxString_in_helper(obj2
);
12494 if (arg3
== NULL
) SWIG_fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12505 resultobj
= result
;
12528 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
;
12530 wxFileType
*arg1
= (wxFileType
*) 0 ;
12531 wxString
*arg2
= 0 ;
12532 wxString
*arg3
= 0 ;
12533 bool arg4
= (bool) True
;
12535 bool temp2
= False
;
12536 bool temp3
= False
;
12537 PyObject
* obj0
= 0 ;
12538 PyObject
* obj1
= 0 ;
12539 PyObject
* obj2
= 0 ;
12540 PyObject
* obj3
= 0 ;
12541 char *kwnames
[] = {
12542 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12548 arg2
= wxString_in_helper(obj1
);
12549 if (arg2
== NULL
) SWIG_fail
;
12553 arg3
= wxString_in_helper(obj2
);
12554 if (arg3
== NULL
) SWIG_fail
;
12559 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12593 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
;
12595 wxFileType
*arg1
= (wxFileType
*) 0 ;
12596 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12597 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12598 int arg3
= (int) 0 ;
12600 bool temp2
= False
;
12601 PyObject
* obj0
= 0 ;
12602 PyObject
* obj1
= 0 ;
12603 PyObject
* obj2
= 0 ;
12604 char *kwnames
[] = {
12605 (char *) "self",(char *) "cmd",(char *) "index", NULL
12608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12612 arg2
= wxString_in_helper(obj1
);
12613 if (arg2
== NULL
) SWIG_fail
;
12619 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12645 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12646 PyObject
*resultobj
;
12647 wxFileType
*arg1
= (wxFileType
*) 0 ;
12649 PyObject
* obj0
= 0 ;
12650 char *kwnames
[] = {
12651 (char *) "self", NULL
12654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 result
= (bool)(arg1
)->Unassociate();
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12670 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12671 PyObject
*resultobj
;
12672 wxString
*arg1
= 0 ;
12673 wxString
*arg2
= 0 ;
12674 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12675 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12677 bool temp1
= False
;
12678 bool temp2
= False
;
12679 bool temp3
= False
;
12680 PyObject
* obj0
= 0 ;
12681 PyObject
* obj1
= 0 ;
12682 PyObject
* obj2
= 0 ;
12683 char *kwnames
[] = {
12684 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12689 arg1
= wxString_in_helper(obj0
);
12690 if (arg1
== NULL
) SWIG_fail
;
12694 arg2
= wxString_in_helper(obj1
);
12695 if (arg2
== NULL
) SWIG_fail
;
12700 arg3
= wxString_in_helper(obj2
);
12701 if (arg3
== NULL
) SWIG_fail
;
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12749 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
12751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12752 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
12754 return Py_BuildValue((char *)"");
12756 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
12757 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
12762 static PyObject
*_wrap_TheMimeTypesManager_get() {
12765 pyobj
= SWIG_NewPointerObj((void *) wxTheMimeTypesManager
, SWIGTYPE_p_wxMimeTypesManager
, 0);
12770 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12771 PyObject
*resultobj
;
12772 wxString
*arg1
= 0 ;
12773 wxString
*arg2
= 0 ;
12775 bool temp1
= False
;
12776 bool temp2
= False
;
12777 PyObject
* obj0
= 0 ;
12778 PyObject
* obj1
= 0 ;
12779 char *kwnames
[] = {
12780 (char *) "mimeType",(char *) "wildcard", NULL
12783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
12785 arg1
= wxString_in_helper(obj0
);
12786 if (arg1
== NULL
) SWIG_fail
;
12790 arg2
= wxString_in_helper(obj1
);
12791 if (arg2
== NULL
) SWIG_fail
;
12795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12796 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12798 wxPyEndAllowThreads(__tstate
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12824 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12825 PyObject
*resultobj
;
12826 wxMimeTypesManager
*result
;
12827 char *kwnames
[] = {
12831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12839 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMimeTypesManager
, 1);
12846 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12847 PyObject
*resultobj
;
12848 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12849 int arg2
= (int) wxMAILCAP_ALL
;
12850 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12851 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12852 bool temp3
= False
;
12853 PyObject
* obj0
= 0 ;
12854 PyObject
* obj1
= 0 ;
12855 PyObject
* obj2
= 0 ;
12856 char *kwnames
[] = {
12857 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
12860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12864 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12865 if (PyErr_Occurred()) SWIG_fail
;
12870 arg3
= wxString_in_helper(obj2
);
12871 if (arg3
== NULL
) SWIG_fail
;
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12877 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12882 Py_INCREF(Py_None
); resultobj
= Py_None
;
12897 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
;
12899 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12900 PyObject
* obj0
= 0 ;
12901 char *kwnames
[] = {
12902 (char *) "self", NULL
12905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
12906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 (arg1
)->ClearData();
12911 wxPyEndAllowThreads(__tstate
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12914 Py_INCREF(Py_None
); resultobj
= Py_None
;
12921 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12922 PyObject
*resultobj
;
12923 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12924 wxString
*arg2
= 0 ;
12925 wxFileType
*result
;
12926 bool temp2
= False
;
12927 PyObject
* obj0
= 0 ;
12928 PyObject
* obj1
= 0 ;
12929 char *kwnames
[] = {
12930 (char *) "self",(char *) "ext", NULL
12933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
12934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12936 arg2
= wxString_in_helper(obj1
);
12937 if (arg2
== NULL
) SWIG_fail
;
12941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12942 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
12944 wxPyEndAllowThreads(__tstate
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12947 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12962 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12963 PyObject
*resultobj
;
12964 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12965 wxString
*arg2
= 0 ;
12966 wxFileType
*result
;
12967 bool temp2
= False
;
12968 PyObject
* obj0
= 0 ;
12969 PyObject
* obj1
= 0 ;
12970 char *kwnames
[] = {
12971 (char *) "self",(char *) "mimeType", NULL
12974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
12975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12977 arg2
= wxString_in_helper(obj1
);
12978 if (arg2
== NULL
) SWIG_fail
;
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12988 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
13003 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13004 PyObject
*resultobj
;
13005 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13006 wxString
*arg2
= 0 ;
13007 bool arg3
= (bool) False
;
13009 bool temp2
= False
;
13010 PyObject
* obj0
= 0 ;
13011 PyObject
* obj1
= 0 ;
13012 PyObject
* obj2
= 0 ;
13013 char *kwnames
[] = {
13014 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13020 arg2
= wxString_in_helper(obj1
);
13021 if (arg2
== NULL
) SWIG_fail
;
13026 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13052 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
;
13054 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13055 wxString
*arg2
= 0 ;
13057 bool temp2
= False
;
13058 PyObject
* obj0
= 0 ;
13059 PyObject
* obj1
= 0 ;
13060 char *kwnames
[] = {
13061 (char *) "self",(char *) "filename", NULL
13064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13067 arg2
= wxString_in_helper(obj1
);
13068 if (arg2
== NULL
) SWIG_fail
;
13072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13073 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13075 wxPyEndAllowThreads(__tstate
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13093 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13094 PyObject
*resultobj
;
13095 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13097 PyObject
* obj0
= 0 ;
13098 char *kwnames
[] = {
13099 (char *) "self", NULL
13102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13108 wxPyEndAllowThreads(__tstate
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13111 resultobj
= result
;
13118 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
;
13120 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13121 wxFileTypeInfo
*arg2
= 0 ;
13122 PyObject
* obj0
= 0 ;
13123 PyObject
* obj1
= 0 ;
13124 char *kwnames
[] = {
13125 (char *) "self",(char *) "ft", NULL
13128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13130 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13131 if (arg2
== NULL
) {
13132 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13141 Py_INCREF(Py_None
); resultobj
= Py_None
;
13148 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13149 PyObject
*resultobj
;
13150 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13151 wxFileTypeInfo
*arg2
= 0 ;
13152 wxFileType
*result
;
13153 PyObject
* obj0
= 0 ;
13154 PyObject
* obj1
= 0 ;
13155 char *kwnames
[] = {
13156 (char *) "self",(char *) "ftInfo", NULL
13159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13161 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13162 if (arg2
== NULL
) {
13163 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13172 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
13179 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13180 PyObject
*resultobj
;
13181 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13182 wxFileType
*arg2
= (wxFileType
*) 0 ;
13184 PyObject
* obj0
= 0 ;
13185 PyObject
* obj1
= 0 ;
13186 char *kwnames
[] = {
13187 (char *) "self",(char *) "ft", NULL
13190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13192 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 result
= (bool)(arg1
)->Unassociate(arg2
);
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13207 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13208 PyObject
*resultobj
;
13209 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13210 PyObject
* obj0
= 0 ;
13211 char *kwnames
[] = {
13212 (char *) "self", NULL
13215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 wxPyEndAllowThreads(__tstate
);
13222 if (PyErr_Occurred()) SWIG_fail
;
13224 Py_INCREF(Py_None
); resultobj
= Py_None
;
13231 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13234 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13236 return Py_BuildValue((char *)"");
13238 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
13239 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13244 static PyObject
*_wrap_ART_TOOLBAR_get() {
13249 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13251 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13258 static int _wrap_ART_MENU_set(PyObject
*) {
13259 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13264 static PyObject
*_wrap_ART_MENU_get() {
13269 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13271 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13278 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
13279 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13284 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13289 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13291 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13298 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
13299 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13304 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13309 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13311 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13318 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
13319 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13324 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13329 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13331 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13338 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
13339 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13344 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13349 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13351 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13358 static int _wrap_ART_OTHER_set(PyObject
*) {
13359 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13364 static PyObject
*_wrap_ART_OTHER_get() {
13369 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13371 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13378 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
13379 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13384 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13389 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13391 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13398 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
13399 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13404 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13409 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13411 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13418 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
13419 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13424 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13429 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13431 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13438 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
13439 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13444 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13449 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13451 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13458 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
13459 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13464 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13469 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13471 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13478 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
13479 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13484 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13489 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13491 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13498 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
13499 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13504 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13509 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13511 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13518 static int _wrap_ART_GO_BACK_set(PyObject
*) {
13519 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13524 static PyObject
*_wrap_ART_GO_BACK_get() {
13529 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13531 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13538 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
13539 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13544 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13549 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13551 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13558 static int _wrap_ART_GO_UP_set(PyObject
*) {
13559 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13564 static PyObject
*_wrap_ART_GO_UP_get() {
13569 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13571 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13578 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
13579 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13584 static PyObject
*_wrap_ART_GO_DOWN_get() {
13589 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13591 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13598 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
13599 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13604 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13609 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13611 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13618 static int _wrap_ART_GO_HOME_set(PyObject
*) {
13619 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13624 static PyObject
*_wrap_ART_GO_HOME_get() {
13629 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13631 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13638 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
13639 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13644 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13649 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13651 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13658 static int _wrap_ART_PRINT_set(PyObject
*) {
13659 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13664 static PyObject
*_wrap_ART_PRINT_get() {
13669 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13671 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13678 static int _wrap_ART_HELP_set(PyObject
*) {
13679 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13684 static PyObject
*_wrap_ART_HELP_get() {
13689 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13691 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13698 static int _wrap_ART_TIP_set(PyObject
*) {
13699 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13704 static PyObject
*_wrap_ART_TIP_get() {
13709 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13711 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13718 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
13719 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
13724 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
13729 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13731 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13738 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
13739 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
13744 static PyObject
*_wrap_ART_LIST_VIEW_get() {
13749 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13751 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13758 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
13759 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
13764 static PyObject
*_wrap_ART_NEW_DIR_get() {
13769 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13771 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13778 static int _wrap_ART_FOLDER_set(PyObject
*) {
13779 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
13784 static PyObject
*_wrap_ART_FOLDER_get() {
13789 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13791 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13798 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
13799 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
13804 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
13809 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13811 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13818 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
13819 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
13824 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
13829 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
13831 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
13838 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
13839 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
13844 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
13849 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
13851 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
13858 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
13859 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
13864 static PyObject
*_wrap_ART_TICK_MARK_get() {
13869 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
13871 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
13878 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
13879 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
13884 static PyObject
*_wrap_ART_CROSS_MARK_get() {
13889 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
13891 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
13898 static int _wrap_ART_ERROR_set(PyObject
*) {
13899 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
13904 static PyObject
*_wrap_ART_ERROR_get() {
13909 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
13911 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
13918 static int _wrap_ART_QUESTION_set(PyObject
*) {
13919 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
13924 static PyObject
*_wrap_ART_QUESTION_get() {
13929 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
13931 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
13938 static int _wrap_ART_WARNING_set(PyObject
*) {
13939 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
13944 static PyObject
*_wrap_ART_WARNING_get() {
13949 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
13951 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
13958 static int _wrap_ART_INFORMATION_set(PyObject
*) {
13959 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
13964 static PyObject
*_wrap_ART_INFORMATION_get() {
13969 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
13971 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
13978 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
13979 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
13984 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
13989 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
13991 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
13998 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
;
14000 wxPyArtProvider
*result
;
14001 char *kwnames
[] = {
14005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14008 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14010 wxPyEndAllowThreads(__tstate
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14013 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyArtProvider
, 1);
14020 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14021 PyObject
*resultobj
;
14022 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14023 PyObject
*arg2
= (PyObject
*) 0 ;
14024 PyObject
*arg3
= (PyObject
*) 0 ;
14025 PyObject
* obj0
= 0 ;
14026 PyObject
* obj1
= 0 ;
14027 PyObject
* obj2
= 0 ;
14028 char *kwnames
[] = {
14029 (char *) "self",(char *) "self",(char *) "_class", NULL
14032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14038 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14043 Py_INCREF(Py_None
); resultobj
= Py_None
;
14050 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14051 PyObject
*resultobj
;
14052 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14053 PyObject
* obj0
= 0 ;
14054 char *kwnames
[] = {
14055 (char *) "provider", NULL
14058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 wxPyArtProvider::PushProvider(arg1
);
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14067 Py_INCREF(Py_None
); resultobj
= Py_None
;
14074 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
;
14077 char *kwnames
[] = {
14081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 result
= (bool)wxPyArtProvider::PopProvider();
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14096 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
;
14098 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14100 PyObject
* obj0
= 0 ;
14101 char *kwnames
[] = {
14102 (char *) "provider", NULL
14105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14111 wxPyEndAllowThreads(__tstate
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14121 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14122 PyObject
*resultobj
;
14123 wxString
*arg1
= 0 ;
14124 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14125 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14126 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14127 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14129 bool temp1
= False
;
14130 bool temp2
= False
;
14132 PyObject
* obj0
= 0 ;
14133 PyObject
* obj1
= 0 ;
14134 PyObject
* obj2
= 0 ;
14135 char *kwnames
[] = {
14136 (char *) "id",(char *) "client",(char *) "size", NULL
14139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14141 arg1
= wxString_in_helper(obj0
);
14142 if (arg1
== NULL
) SWIG_fail
;
14147 arg2
= wxString_in_helper(obj1
);
14148 if (arg2
== NULL
) SWIG_fail
;
14155 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14166 wxBitmap
* resultptr
;
14167 resultptr
= new wxBitmap((wxBitmap
&) result
);
14168 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
14192 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14193 PyObject
*resultobj
;
14194 wxString
*arg1
= 0 ;
14195 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14196 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14197 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14198 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14200 bool temp1
= False
;
14201 bool temp2
= False
;
14203 PyObject
* obj0
= 0 ;
14204 PyObject
* obj1
= 0 ;
14205 PyObject
* obj2
= 0 ;
14206 char *kwnames
[] = {
14207 (char *) "id",(char *) "client",(char *) "size", NULL
14210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14212 arg1
= wxString_in_helper(obj0
);
14213 if (arg1
== NULL
) SWIG_fail
;
14218 arg2
= wxString_in_helper(obj1
);
14219 if (arg2
== NULL
) SWIG_fail
;
14226 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14231 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14233 wxPyEndAllowThreads(__tstate
);
14234 if (PyErr_Occurred()) SWIG_fail
;
14237 wxIcon
* resultptr
;
14238 resultptr
= new wxIcon((wxIcon
&) result
);
14239 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
14263 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
;
14265 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14266 PyObject
* obj0
= 0 ;
14267 char *kwnames
[] = {
14268 (char *) "self", NULL
14271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 wxPyArtProvider_Destroy(arg1
);
14277 wxPyEndAllowThreads(__tstate
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14280 Py_INCREF(Py_None
); resultobj
= Py_None
;
14287 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14290 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14292 return Py_BuildValue((char *)"");
14294 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
;
14296 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14297 PyObject
* obj0
= 0 ;
14298 char *kwnames
[] = {
14299 (char *) "self", NULL
14302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14311 Py_INCREF(Py_None
); resultobj
= Py_None
;
14318 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14319 PyObject
*resultobj
;
14320 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14321 wxConfigBase
*result
;
14322 PyObject
* obj0
= 0 ;
14323 char *kwnames
[] = {
14324 (char *) "pConfig", NULL
14327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14331 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14333 wxPyEndAllowThreads(__tstate
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14336 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
14343 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14344 PyObject
*resultobj
;
14345 bool arg1
= (bool) True
;
14346 wxConfigBase
*result
;
14347 PyObject
* obj0
= 0 ;
14348 char *kwnames
[] = {
14349 (char *) "createOnDemand", NULL
14352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14355 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14366 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
14373 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14374 PyObject
*resultobj
;
14375 wxConfigBase
*result
;
14376 char *kwnames
[] = {
14380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 result
= (wxConfigBase
*)wxConfigBase::Create();
14385 wxPyEndAllowThreads(__tstate
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14388 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
14395 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14396 PyObject
*resultobj
;
14397 char *kwnames
[] = {
14401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 wxConfigBase::DontCreateOnDemand();
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14409 Py_INCREF(Py_None
); resultobj
= Py_None
;
14416 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
;
14418 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14419 wxString
*arg2
= 0 ;
14420 bool temp2
= False
;
14421 PyObject
* obj0
= 0 ;
14422 PyObject
* obj1
= 0 ;
14423 char *kwnames
[] = {
14424 (char *) "self",(char *) "strPath", NULL
14427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14430 arg2
= wxString_in_helper(obj1
);
14431 if (arg2
== NULL
) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 (arg1
)->SetPath((wxString
const &)*arg2
);
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14441 Py_INCREF(Py_None
); resultobj
= Py_None
;
14456 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
;
14458 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14460 PyObject
* obj0
= 0 ;
14461 char *kwnames
[] = {
14462 (char *) "self", NULL
14465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14470 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14471 result
= (wxString
*) &_result_ref
;
14474 wxPyEndAllowThreads(__tstate
);
14475 if (PyErr_Occurred()) SWIG_fail
;
14479 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14481 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14490 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14491 PyObject
*resultobj
;
14492 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14494 PyObject
* obj0
= 0 ;
14495 char *kwnames
[] = {
14496 (char *) "self", NULL
14499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14508 resultobj
= result
;
14515 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14516 PyObject
*resultobj
;
14517 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14520 PyObject
* obj0
= 0 ;
14521 PyObject
* obj1
= 0 ;
14522 char *kwnames
[] = {
14523 (char *) "self",(char *) "index", NULL
14526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14529 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14539 resultobj
= result
;
14546 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14550 PyObject
* obj0
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "self", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14559 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14561 wxPyEndAllowThreads(__tstate
);
14562 if (PyErr_Occurred()) SWIG_fail
;
14564 resultobj
= result
;
14571 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14572 PyObject
*resultobj
;
14573 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14576 PyObject
* obj0
= 0 ;
14577 PyObject
* obj1
= 0 ;
14578 char *kwnames
[] = {
14579 (char *) "self",(char *) "index", NULL
14582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14585 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
14586 if (PyErr_Occurred()) SWIG_fail
;
14589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14590 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14592 wxPyEndAllowThreads(__tstate
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14595 resultobj
= result
;
14602 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14603 PyObject
*resultobj
;
14604 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14605 bool arg2
= (bool) False
;
14607 PyObject
* obj0
= 0 ;
14608 PyObject
* obj1
= 0 ;
14609 char *kwnames
[] = {
14610 (char *) "self",(char *) "bRecursive", NULL
14613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14617 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14623 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14625 wxPyEndAllowThreads(__tstate
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14628 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
14635 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14636 PyObject
*resultobj
;
14637 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14638 bool arg2
= (bool) False
;
14640 PyObject
* obj0
= 0 ;
14641 PyObject
* obj1
= 0 ;
14642 char *kwnames
[] = {
14643 (char *) "self",(char *) "bRecursive", NULL
14646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14650 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14656 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14658 wxPyEndAllowThreads(__tstate
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14661 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
14668 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14669 PyObject
*resultobj
;
14670 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14671 wxString
*arg2
= 0 ;
14673 bool temp2
= False
;
14674 PyObject
* obj0
= 0 ;
14675 PyObject
* obj1
= 0 ;
14676 char *kwnames
[] = {
14677 (char *) "self",(char *) "strName", NULL
14680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14683 arg2
= wxString_in_helper(obj1
);
14684 if (arg2
== NULL
) SWIG_fail
;
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14691 wxPyEndAllowThreads(__tstate
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14709 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14710 PyObject
*resultobj
;
14711 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14712 wxString
*arg2
= 0 ;
14714 bool temp2
= False
;
14715 PyObject
* obj0
= 0 ;
14716 PyObject
* obj1
= 0 ;
14717 char *kwnames
[] = {
14718 (char *) "self",(char *) "strName", NULL
14721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14724 arg2
= wxString_in_helper(obj1
);
14725 if (arg2
== NULL
) SWIG_fail
;
14729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14730 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
14732 wxPyEndAllowThreads(__tstate
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14750 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14753 wxString
*arg2
= 0 ;
14755 bool temp2
= False
;
14756 PyObject
* obj0
= 0 ;
14757 PyObject
* obj1
= 0 ;
14758 char *kwnames
[] = {
14759 (char *) "self",(char *) "strName", NULL
14762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
14763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14765 arg2
= wxString_in_helper(obj1
);
14766 if (arg2
== NULL
) SWIG_fail
;
14770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14771 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14791 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14794 wxString
*arg2
= 0 ;
14796 bool temp2
= False
;
14797 PyObject
* obj0
= 0 ;
14798 PyObject
* obj1
= 0 ;
14799 char *kwnames
[] = {
14800 (char *) "self",(char *) "name", NULL
14803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
14804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14806 arg2
= wxString_in_helper(obj1
);
14807 if (arg2
== NULL
) SWIG_fail
;
14811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14812 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
14814 wxPyEndAllowThreads(__tstate
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14817 resultobj
= SWIG_PyObj_FromInt((int)result
);
14832 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14833 PyObject
*resultobj
;
14834 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14835 wxString
*arg2
= 0 ;
14836 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14837 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14839 bool temp2
= False
;
14840 bool temp3
= False
;
14841 PyObject
* obj0
= 0 ;
14842 PyObject
* obj1
= 0 ;
14843 PyObject
* obj2
= 0 ;
14844 char *kwnames
[] = {
14845 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14851 arg2
= wxString_in_helper(obj1
);
14852 if (arg2
== NULL
) SWIG_fail
;
14857 arg3
= wxString_in_helper(obj2
);
14858 if (arg3
== NULL
) SWIG_fail
;
14863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14866 wxPyEndAllowThreads(__tstate
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14871 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14873 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14898 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14899 PyObject
*resultobj
;
14900 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14901 wxString
*arg2
= 0 ;
14902 long arg3
= (long) 0 ;
14904 bool temp2
= False
;
14905 PyObject
* obj0
= 0 ;
14906 PyObject
* obj1
= 0 ;
14907 PyObject
* obj2
= 0 ;
14908 char *kwnames
[] = {
14909 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14915 arg2
= wxString_in_helper(obj1
);
14916 if (arg2
== NULL
) SWIG_fail
;
14921 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
14922 if (PyErr_Occurred()) SWIG_fail
;
14926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14932 resultobj
= SWIG_PyObj_FromLong((long)result
);
14947 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14948 PyObject
*resultobj
;
14949 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14950 wxString
*arg2
= 0 ;
14951 double arg3
= (double) 0.0 ;
14953 bool temp2
= False
;
14954 PyObject
* obj0
= 0 ;
14955 PyObject
* obj1
= 0 ;
14956 PyObject
* obj2
= 0 ;
14957 char *kwnames
[] = {
14958 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14964 arg2
= wxString_in_helper(obj1
);
14965 if (arg2
== NULL
) SWIG_fail
;
14970 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14971 if (PyErr_Occurred()) SWIG_fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14981 resultobj
= SWIG_PyObj_FromDouble((double)result
);
14996 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
;
14998 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14999 wxString
*arg2
= 0 ;
15000 bool arg3
= (bool) False
;
15002 bool temp2
= False
;
15003 PyObject
* obj0
= 0 ;
15004 PyObject
* obj1
= 0 ;
15005 PyObject
* obj2
= 0 ;
15006 char *kwnames
[] = {
15007 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15013 arg2
= wxString_in_helper(obj1
);
15014 if (arg2
== NULL
) SWIG_fail
;
15019 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15020 if (PyErr_Occurred()) SWIG_fail
;
15024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15025 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15027 wxPyEndAllowThreads(__tstate
);
15028 if (PyErr_Occurred()) SWIG_fail
;
15030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15045 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15046 PyObject
*resultobj
;
15047 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15048 wxString
*arg2
= 0 ;
15049 wxString
*arg3
= 0 ;
15051 bool temp2
= False
;
15052 bool temp3
= False
;
15053 PyObject
* obj0
= 0 ;
15054 PyObject
* obj1
= 0 ;
15055 PyObject
* obj2
= 0 ;
15056 char *kwnames
[] = {
15057 (char *) "self",(char *) "key",(char *) "value", NULL
15060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15063 arg2
= wxString_in_helper(obj1
);
15064 if (arg2
== NULL
) SWIG_fail
;
15068 arg3
= wxString_in_helper(obj2
);
15069 if (arg3
== NULL
) SWIG_fail
;
15073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15102 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15103 PyObject
*resultobj
;
15104 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15105 wxString
*arg2
= 0 ;
15108 bool temp2
= False
;
15109 PyObject
* obj0
= 0 ;
15110 PyObject
* obj1
= 0 ;
15111 PyObject
* obj2
= 0 ;
15112 char *kwnames
[] = {
15113 (char *) "self",(char *) "key",(char *) "value", NULL
15116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15119 arg2
= wxString_in_helper(obj1
);
15120 if (arg2
== NULL
) SWIG_fail
;
15124 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
15125 if (PyErr_Occurred()) SWIG_fail
;
15128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15129 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15131 wxPyEndAllowThreads(__tstate
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15149 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15150 PyObject
*resultobj
;
15151 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15152 wxString
*arg2
= 0 ;
15155 bool temp2
= False
;
15156 PyObject
* obj0
= 0 ;
15157 PyObject
* obj1
= 0 ;
15158 PyObject
* obj2
= 0 ;
15159 char *kwnames
[] = {
15160 (char *) "self",(char *) "key",(char *) "value", NULL
15163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15166 arg2
= wxString_in_helper(obj1
);
15167 if (arg2
== NULL
) SWIG_fail
;
15171 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15176 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15178 wxPyEndAllowThreads(__tstate
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15196 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15197 PyObject
*resultobj
;
15198 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15199 wxString
*arg2
= 0 ;
15202 bool temp2
= False
;
15203 PyObject
* obj0
= 0 ;
15204 PyObject
* obj1
= 0 ;
15205 PyObject
* obj2
= 0 ;
15206 char *kwnames
[] = {
15207 (char *) "self",(char *) "key",(char *) "value", NULL
15210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15213 arg2
= wxString_in_helper(obj1
);
15214 if (arg2
== NULL
) SWIG_fail
;
15218 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15223 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15225 wxPyEndAllowThreads(__tstate
);
15226 if (PyErr_Occurred()) SWIG_fail
;
15228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15243 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15244 PyObject
*resultobj
;
15245 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15246 bool arg2
= (bool) False
;
15248 PyObject
* obj0
= 0 ;
15249 PyObject
* obj1
= 0 ;
15250 char *kwnames
[] = {
15251 (char *) "self",(char *) "bCurrentOnly", NULL
15254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15258 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 result
= (bool)(arg1
)->Flush(arg2
);
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15276 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15277 PyObject
*resultobj
;
15278 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15279 wxString
*arg2
= 0 ;
15280 wxString
*arg3
= 0 ;
15282 bool temp2
= False
;
15283 bool temp3
= False
;
15284 PyObject
* obj0
= 0 ;
15285 PyObject
* obj1
= 0 ;
15286 PyObject
* obj2
= 0 ;
15287 char *kwnames
[] = {
15288 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15294 arg2
= wxString_in_helper(obj1
);
15295 if (arg2
== NULL
) SWIG_fail
;
15299 arg3
= wxString_in_helper(obj2
);
15300 if (arg3
== NULL
) SWIG_fail
;
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15305 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15307 wxPyEndAllowThreads(__tstate
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15333 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15334 PyObject
*resultobj
;
15335 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15336 wxString
*arg2
= 0 ;
15337 wxString
*arg3
= 0 ;
15339 bool temp2
= False
;
15340 bool temp3
= False
;
15341 PyObject
* obj0
= 0 ;
15342 PyObject
* obj1
= 0 ;
15343 PyObject
* obj2
= 0 ;
15344 char *kwnames
[] = {
15345 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15351 arg2
= wxString_in_helper(obj1
);
15352 if (arg2
== NULL
) SWIG_fail
;
15356 arg3
= wxString_in_helper(obj2
);
15357 if (arg3
== NULL
) SWIG_fail
;
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15390 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15392 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15393 wxString
*arg2
= 0 ;
15394 bool arg3
= (bool) True
;
15396 bool temp2
= False
;
15397 PyObject
* obj0
= 0 ;
15398 PyObject
* obj1
= 0 ;
15399 PyObject
* obj2
= 0 ;
15400 char *kwnames
[] = {
15401 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
15404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15407 arg2
= wxString_in_helper(obj1
);
15408 if (arg2
== NULL
) SWIG_fail
;
15413 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15439 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15440 PyObject
*resultobj
;
15441 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15442 wxString
*arg2
= 0 ;
15444 bool temp2
= False
;
15445 PyObject
* obj0
= 0 ;
15446 PyObject
* obj1
= 0 ;
15447 char *kwnames
[] = {
15448 (char *) "self",(char *) "key", NULL
15451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15454 arg2
= wxString_in_helper(obj1
);
15455 if (arg2
== NULL
) SWIG_fail
;
15459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15460 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15462 wxPyEndAllowThreads(__tstate
);
15463 if (PyErr_Occurred()) SWIG_fail
;
15465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15480 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15481 PyObject
*resultobj
;
15482 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15484 PyObject
* obj0
= 0 ;
15485 char *kwnames
[] = {
15486 (char *) "self", NULL
15489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 result
= (bool)(arg1
)->DeleteAll();
15495 wxPyEndAllowThreads(__tstate
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15505 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
;
15507 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15509 PyObject
* obj0
= 0 ;
15510 char *kwnames
[] = {
15511 (char *) "self", NULL
15514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15518 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15520 wxPyEndAllowThreads(__tstate
);
15521 if (PyErr_Occurred()) SWIG_fail
;
15523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15530 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15531 PyObject
*resultobj
;
15532 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15533 bool arg2
= (bool) True
;
15534 PyObject
* obj0
= 0 ;
15535 PyObject
* obj1
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "self",(char *) "bDoIt", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15544 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 (arg1
)->SetExpandEnvVars(arg2
);
15552 wxPyEndAllowThreads(__tstate
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15555 Py_INCREF(Py_None
); resultobj
= Py_None
;
15562 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
;
15564 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15565 bool arg2
= (bool) True
;
15566 PyObject
* obj0
= 0 ;
15567 PyObject
* obj1
= 0 ;
15568 char *kwnames
[] = {
15569 (char *) "self",(char *) "bDoIt", NULL
15572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15576 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15577 if (PyErr_Occurred()) SWIG_fail
;
15581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15582 (arg1
)->SetRecordDefaults(arg2
);
15584 wxPyEndAllowThreads(__tstate
);
15585 if (PyErr_Occurred()) SWIG_fail
;
15587 Py_INCREF(Py_None
); resultobj
= Py_None
;
15594 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15595 PyObject
*resultobj
;
15596 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15598 PyObject
* obj0
= 0 ;
15599 char *kwnames
[] = {
15600 (char *) "self", NULL
15603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15607 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15609 wxPyEndAllowThreads(__tstate
);
15610 if (PyErr_Occurred()) SWIG_fail
;
15612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15619 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15620 PyObject
*resultobj
;
15621 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15622 wxString
*arg2
= 0 ;
15624 bool temp2
= False
;
15625 PyObject
* obj0
= 0 ;
15626 PyObject
* obj1
= 0 ;
15627 char *kwnames
[] = {
15628 (char *) "self",(char *) "str", NULL
15631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15634 arg2
= wxString_in_helper(obj1
);
15635 if (arg2
== NULL
) SWIG_fail
;
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15666 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15667 PyObject
*resultobj
;
15668 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15670 PyObject
* obj0
= 0 ;
15671 char *kwnames
[] = {
15672 (char *) "self", NULL
15675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15679 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
15681 wxPyEndAllowThreads(__tstate
);
15682 if (PyErr_Occurred()) SWIG_fail
;
15686 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15688 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15697 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
;
15699 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15701 PyObject
* obj0
= 0 ;
15702 char *kwnames
[] = {
15703 (char *) "self", NULL
15706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
15707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
15712 wxPyEndAllowThreads(__tstate
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15728 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15729 PyObject
*resultobj
;
15730 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15731 wxString
*arg2
= 0 ;
15732 bool temp2
= False
;
15733 PyObject
* obj0
= 0 ;
15734 PyObject
* obj1
= 0 ;
15735 char *kwnames
[] = {
15736 (char *) "self",(char *) "appName", NULL
15739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
15740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15742 arg2
= wxString_in_helper(obj1
);
15743 if (arg2
== NULL
) SWIG_fail
;
15747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15748 (arg1
)->SetAppName((wxString
const &)*arg2
);
15750 wxPyEndAllowThreads(__tstate
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15753 Py_INCREF(Py_None
); resultobj
= Py_None
;
15768 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15769 PyObject
*resultobj
;
15770 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15771 wxString
*arg2
= 0 ;
15772 bool temp2
= False
;
15773 PyObject
* obj0
= 0 ;
15774 PyObject
* obj1
= 0 ;
15775 char *kwnames
[] = {
15776 (char *) "self",(char *) "vendorName", NULL
15779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
15780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15782 arg2
= wxString_in_helper(obj1
);
15783 if (arg2
== NULL
) SWIG_fail
;
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 (arg1
)->SetVendorName((wxString
const &)*arg2
);
15790 wxPyEndAllowThreads(__tstate
);
15791 if (PyErr_Occurred()) SWIG_fail
;
15793 Py_INCREF(Py_None
); resultobj
= Py_None
;
15808 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
;
15810 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15812 PyObject
* obj0
= 0 ;
15813 PyObject
* obj1
= 0 ;
15814 char *kwnames
[] = {
15815 (char *) "self",(char *) "style", NULL
15818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
15819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15821 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 (arg1
)->SetStyle(arg2
);
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15831 Py_INCREF(Py_None
); resultobj
= Py_None
;
15838 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
;
15840 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15842 PyObject
* obj0
= 0 ;
15843 char *kwnames
[] = {
15844 (char *) "self", NULL
15847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15856 resultobj
= SWIG_PyObj_FromLong((long)result
);
15863 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
15865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15866 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
15868 return Py_BuildValue((char *)"");
15870 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
;
15872 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15873 wxString
*arg2
= 0 ;
15874 wxConfigPathChanger
*result
;
15875 bool temp2
= False
;
15876 PyObject
* obj0
= 0 ;
15877 PyObject
* obj1
= 0 ;
15878 char *kwnames
[] = {
15879 (char *) "pContainer",(char *) "strEntry", NULL
15882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
15883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15885 arg2
= wxString_in_helper(obj1
);
15886 if (arg2
== NULL
) SWIG_fail
;
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15896 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigPathChanger
, 1);
15911 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15912 PyObject
*resultobj
;
15913 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
15914 PyObject
* obj0
= 0 ;
15915 char *kwnames
[] = {
15916 (char *) "self", NULL
15919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
15920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 Py_INCREF(Py_None
); resultobj
= Py_None
;
15935 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15936 PyObject
*resultobj
;
15937 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
15939 PyObject
* obj0
= 0 ;
15940 char *kwnames
[] = {
15941 (char *) "self", NULL
15944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
15945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15949 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
15950 result
= (wxString
*) &_result_ref
;
15953 wxPyEndAllowThreads(__tstate
);
15954 if (PyErr_Occurred()) SWIG_fail
;
15958 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15960 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15969 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
15971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15972 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
15974 return Py_BuildValue((char *)"");
15976 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
;
15978 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15979 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15980 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15981 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15982 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15983 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15984 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15985 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15986 long arg5
= (long) 0 ;
15988 bool temp1
= False
;
15989 bool temp2
= False
;
15990 bool temp3
= False
;
15991 bool temp4
= False
;
15992 PyObject
* obj0
= 0 ;
15993 PyObject
* obj1
= 0 ;
15994 PyObject
* obj2
= 0 ;
15995 PyObject
* obj3
= 0 ;
15996 PyObject
* obj4
= 0 ;
15997 char *kwnames
[] = {
15998 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16004 arg1
= wxString_in_helper(obj0
);
16005 if (arg1
== NULL
) SWIG_fail
;
16011 arg2
= wxString_in_helper(obj1
);
16012 if (arg2
== NULL
) SWIG_fail
;
16018 arg3
= wxString_in_helper(obj2
);
16019 if (arg3
== NULL
) SWIG_fail
;
16025 arg4
= wxString_in_helper(obj3
);
16026 if (arg4
== NULL
) SWIG_fail
;
16032 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16038 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16040 wxPyEndAllowThreads(__tstate
);
16041 if (PyErr_Occurred()) SWIG_fail
;
16043 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfig
, 1);
16082 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16083 PyObject
*resultobj
;
16084 wxConfig
*arg1
= (wxConfig
*) 0 ;
16085 PyObject
* obj0
= 0 ;
16086 char *kwnames
[] = {
16087 (char *) "self", NULL
16090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16099 Py_INCREF(Py_None
); resultobj
= Py_None
;
16106 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16109 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16111 return Py_BuildValue((char *)"");
16113 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
;
16115 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16116 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16117 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16118 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16119 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16120 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16121 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16122 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16123 long arg5
= (long) 0 ;
16124 wxFileConfig
*result
;
16125 bool temp1
= False
;
16126 bool temp2
= False
;
16127 bool temp3
= False
;
16128 bool temp4
= False
;
16129 PyObject
* obj0
= 0 ;
16130 PyObject
* obj1
= 0 ;
16131 PyObject
* obj2
= 0 ;
16132 PyObject
* obj3
= 0 ;
16133 PyObject
* obj4
= 0 ;
16134 char *kwnames
[] = {
16135 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16141 arg1
= wxString_in_helper(obj0
);
16142 if (arg1
== NULL
) SWIG_fail
;
16148 arg2
= wxString_in_helper(obj1
);
16149 if (arg2
== NULL
) SWIG_fail
;
16155 arg3
= wxString_in_helper(obj2
);
16156 if (arg3
== NULL
) SWIG_fail
;
16162 arg4
= wxString_in_helper(obj3
);
16163 if (arg4
== NULL
) SWIG_fail
;
16169 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
16170 if (PyErr_Occurred()) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16180 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileConfig
, 1);
16219 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16220 PyObject
*resultobj
;
16221 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16222 PyObject
* obj0
= 0 ;
16223 char *kwnames
[] = {
16224 (char *) "self", NULL
16227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16233 wxPyEndAllowThreads(__tstate
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16236 Py_INCREF(Py_None
); resultobj
= Py_None
;
16243 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16246 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16248 return Py_BuildValue((char *)"");
16250 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16251 PyObject
*resultobj
;
16252 wxString
*arg1
= 0 ;
16254 bool temp1
= False
;
16255 PyObject
* obj0
= 0 ;
16256 char *kwnames
[] = {
16257 (char *) "sz", NULL
16260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16262 arg1
= wxString_in_helper(obj0
);
16263 if (arg1
== NULL
) SWIG_fail
;
16267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16268 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16270 wxPyEndAllowThreads(__tstate
);
16271 if (PyErr_Occurred()) SWIG_fail
;
16275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16294 static int _wrap_DateFormatStr_set(PyObject
*) {
16295 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16300 static PyObject
*_wrap_DateFormatStr_get() {
16305 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16307 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16314 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
16315 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16320 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16325 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16327 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16334 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16335 PyObject
*resultobj
;
16337 PyObject
* obj0
= 0 ;
16338 char *kwnames
[] = {
16339 (char *) "country", NULL
16342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16344 arg1
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj0
);
16345 if (PyErr_Occurred()) SWIG_fail
;
16348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16349 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16351 wxPyEndAllowThreads(__tstate
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16354 Py_INCREF(Py_None
); resultobj
= Py_None
;
16361 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16362 PyObject
*resultobj
;
16364 char *kwnames
[] = {
16368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 result
= (int)wxDateTime::GetCountry();
16373 wxPyEndAllowThreads(__tstate
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16376 resultobj
= SWIG_PyObj_FromInt((int)result
);
16383 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
;
16385 int arg1
= (int) wxDateTime::Country_Default
;
16387 PyObject
* obj0
= 0 ;
16388 char *kwnames
[] = {
16389 (char *) "country", NULL
16392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16395 arg1
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj0
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16401 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16403 wxPyEndAllowThreads(__tstate
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16413 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16414 PyObject
*resultobj
;
16415 int arg1
= (int) wxDateTime::Gregorian
;
16417 PyObject
* obj0
= 0 ;
16418 char *kwnames
[] = {
16419 (char *) "cal", NULL
16422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16425 arg1
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj0
);
16426 if (PyErr_Occurred()) SWIG_fail
;
16430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16431 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16433 wxPyEndAllowThreads(__tstate
);
16434 if (PyErr_Occurred()) SWIG_fail
;
16436 resultobj
= SWIG_PyObj_FromInt((int)result
);
16443 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16444 PyObject
*resultobj
;
16447 PyObject
* obj0
= 0 ;
16448 char *kwnames
[] = {
16449 (char *) "year", NULL
16452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16454 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16459 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16461 wxPyEndAllowThreads(__tstate
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16464 resultobj
= SWIG_PyObj_FromInt((int)result
);
16471 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16472 PyObject
*resultobj
;
16473 int arg1
= (int) wxDateTime::Gregorian
;
16475 PyObject
* obj0
= 0 ;
16476 char *kwnames
[] = {
16477 (char *) "cal", NULL
16480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16483 arg1
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj0
);
16484 if (PyErr_Occurred()) SWIG_fail
;
16488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16489 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16491 wxPyEndAllowThreads(__tstate
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16494 resultobj
= SWIG_PyObj_FromInt((int)result
);
16501 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16502 PyObject
*resultobj
;
16503 int arg1
= (int) wxDateTime::Inv_Year
;
16504 int arg2
= (int) wxDateTime::Gregorian
;
16506 PyObject
* obj0
= 0 ;
16507 PyObject
* obj1
= 0 ;
16508 char *kwnames
[] = {
16509 (char *) "year",(char *) "cal", NULL
16512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16515 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16521 arg2
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj1
);
16522 if (PyErr_Occurred()) SWIG_fail
;
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16539 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16540 PyObject
*resultobj
;
16541 int arg1
= (int) wxDateTime::Inv_Year
;
16543 PyObject
* obj0
= 0 ;
16544 char *kwnames
[] = {
16545 (char *) "year", NULL
16548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16551 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 result
= (int)wxDateTime::GetCentury(arg1
);
16559 wxPyEndAllowThreads(__tstate
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16562 resultobj
= SWIG_PyObj_FromInt((int)result
);
16569 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16570 PyObject
*resultobj
;
16572 int arg2
= (int) wxDateTime::Gregorian
;
16574 PyObject
* obj0
= 0 ;
16575 PyObject
* obj1
= 0 ;
16576 char *kwnames
[] = {
16577 (char *) "year",(char *) "cal", NULL
16580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16582 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16587 arg2
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj1
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16593 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16595 wxPyEndAllowThreads(__tstate
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16598 resultobj
= SWIG_PyObj_FromInt((int)result
);
16605 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
;
16608 int arg2
= (int) wxDateTime::Inv_Year
;
16609 int arg3
= (int) wxDateTime::Gregorian
;
16611 PyObject
* obj0
= 0 ;
16612 PyObject
* obj1
= 0 ;
16613 PyObject
* obj2
= 0 ;
16614 char *kwnames
[] = {
16615 (char *) "month",(char *) "year",(char *) "cal", NULL
16618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16620 arg1
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj0
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16625 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16626 if (PyErr_Occurred()) SWIG_fail
;
16631 arg3
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj2
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16642 resultobj
= SWIG_PyObj_FromInt((int)result
);
16649 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16650 PyObject
*resultobj
;
16652 int arg2
= (int) wxDateTime::Name_Full
;
16654 PyObject
* obj0
= 0 ;
16655 PyObject
* obj1
= 0 ;
16656 char *kwnames
[] = {
16657 (char *) "month",(char *) "flags", NULL
16660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16662 arg1
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj0
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16667 arg2
= (wxDateTime::NameFlags
) SWIG_PyObj_AsInt(obj1
);
16668 if (PyErr_Occurred()) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16691 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16692 PyObject
*resultobj
;
16694 int arg2
= (int) wxDateTime::Name_Full
;
16696 PyObject
* obj0
= 0 ;
16697 PyObject
* obj1
= 0 ;
16698 char *kwnames
[] = {
16699 (char *) "weekday",(char *) "flags", NULL
16702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
16704 arg1
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj0
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16709 arg2
= (wxDateTime::NameFlags
) SWIG_PyObj_AsInt(obj1
);
16710 if (PyErr_Occurred()) SWIG_fail
;
16714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16715 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
16717 wxPyEndAllowThreads(__tstate
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16733 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16734 PyObject
*resultobj
;
16735 wxString
*arg1
= (wxString
*) 0 ;
16736 wxString
*arg2
= (wxString
*) 0 ;
16737 bool temp1
= False
;
16738 bool temp2
= False
;
16739 PyObject
* obj0
= 0 ;
16740 PyObject
* obj1
= 0 ;
16741 char *kwnames
[] = {
16742 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
16747 arg1
= wxString_in_helper(obj0
);
16748 if (arg1
== NULL
) SWIG_fail
;
16752 arg2
= wxString_in_helper(obj1
);
16753 if (arg2
== NULL
) SWIG_fail
;
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 wxDateTime::GetAmPmStrings(arg1
,arg2
);
16760 wxPyEndAllowThreads(__tstate
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16763 Py_INCREF(Py_None
); resultobj
= Py_None
;
16786 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
;
16788 int arg1
= (int) wxDateTime::Inv_Year
;
16789 int arg2
= (int) wxDateTime::Country_Default
;
16791 PyObject
* obj0
= 0 ;
16792 PyObject
* obj1
= 0 ;
16793 char *kwnames
[] = {
16794 (char *) "year",(char *) "country", NULL
16797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
16800 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16806 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16812 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16824 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16825 PyObject
*resultobj
;
16826 int arg1
= (int) wxDateTime::Inv_Year
;
16827 int arg2
= (int) wxDateTime::Country_Default
;
16829 PyObject
* obj0
= 0 ;
16830 PyObject
* obj1
= 0 ;
16831 char *kwnames
[] = {
16832 (char *) "year",(char *) "country", NULL
16835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
16838 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16839 if (PyErr_Occurred()) SWIG_fail
;
16844 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16856 wxDateTime
* resultptr
;
16857 resultptr
= new wxDateTime((wxDateTime
&) result
);
16858 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16866 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16867 PyObject
*resultobj
;
16868 int arg1
= (int) wxDateTime::Inv_Year
;
16869 int arg2
= (int) wxDateTime::Country_Default
;
16871 PyObject
* obj0
= 0 ;
16872 PyObject
* obj1
= 0 ;
16873 char *kwnames
[] = {
16874 (char *) "year",(char *) "country", NULL
16877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
16880 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16886 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
16887 if (PyErr_Occurred()) SWIG_fail
;
16891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16892 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
16894 wxPyEndAllowThreads(__tstate
);
16895 if (PyErr_Occurred()) SWIG_fail
;
16898 wxDateTime
* resultptr
;
16899 resultptr
= new wxDateTime((wxDateTime
&) result
);
16900 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16908 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
;
16911 char *kwnames
[] = {
16915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
16917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16918 result
= wxDateTime::Now();
16920 wxPyEndAllowThreads(__tstate
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16924 wxDateTime
* resultptr
;
16925 resultptr
= new wxDateTime((wxDateTime
&) result
);
16926 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16934 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16935 PyObject
*resultobj
;
16937 char *kwnames
[] = {
16941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 result
= wxDateTime::UNow();
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16950 wxDateTime
* resultptr
;
16951 resultptr
= new wxDateTime((wxDateTime
&) result
);
16952 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16960 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16961 PyObject
*resultobj
;
16963 char *kwnames
[] = {
16967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
16969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16970 result
= wxDateTime::Today();
16972 wxPyEndAllowThreads(__tstate
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16976 wxDateTime
* resultptr
;
16977 resultptr
= new wxDateTime((wxDateTime
&) result
);
16978 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16986 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16988 wxDateTime
*result
;
16989 char *kwnames
[] = {
16993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
16995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16996 result
= (wxDateTime
*)new wxDateTime();
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17001 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17008 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
;
17011 wxDateTime
*result
;
17012 PyObject
* obj0
= 0 ;
17013 char *kwnames
[] = {
17014 (char *) "timet", NULL
17017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17019 arg1
= (time_t) SWIG_PyObj_AsUnsignedInt(obj0
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 result
= (wxDateTime
*)new wxDateTime(arg1
);
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17029 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17036 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17037 PyObject
*resultobj
;
17039 wxDateTime
*result
;
17040 PyObject
* obj0
= 0 ;
17041 char *kwnames
[] = {
17042 (char *) "jdn", NULL
17045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17047 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
17048 if (PyErr_Occurred()) SWIG_fail
;
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 result
= (wxDateTime
*)new wxDateTime(arg1
);
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17057 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17064 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
;
17067 int arg2
= (int) 0 ;
17068 int arg3
= (int) 0 ;
17069 int arg4
= (int) 0 ;
17070 wxDateTime
*result
;
17071 PyObject
* obj0
= 0 ;
17072 PyObject
* obj1
= 0 ;
17073 PyObject
* obj2
= 0 ;
17074 PyObject
* obj3
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17081 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17086 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17092 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17098 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17104 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17106 wxPyEndAllowThreads(__tstate
);
17107 if (PyErr_Occurred()) SWIG_fail
;
17109 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17116 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17117 PyObject
*resultobj
;
17119 int arg2
= (int) wxDateTime::Inv_Month
;
17120 int arg3
= (int) wxDateTime::Inv_Year
;
17121 int arg4
= (int) 0 ;
17122 int arg5
= (int) 0 ;
17123 int arg6
= (int) 0 ;
17124 int arg7
= (int) 0 ;
17125 wxDateTime
*result
;
17126 PyObject
* obj0
= 0 ;
17127 PyObject
* obj1
= 0 ;
17128 PyObject
* obj2
= 0 ;
17129 PyObject
* obj3
= 0 ;
17130 PyObject
* obj4
= 0 ;
17131 PyObject
* obj5
= 0 ;
17132 PyObject
* obj6
= 0 ;
17133 char *kwnames
[] = {
17134 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17139 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17144 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17150 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17156 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17162 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17168 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17174 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17180 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17182 wxPyEndAllowThreads(__tstate
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17185 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17192 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17193 PyObject
*resultobj
;
17194 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17195 PyObject
* obj0
= 0 ;
17196 char *kwnames
[] = {
17197 (char *) "self", NULL
17200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 wxPyEndAllowThreads(__tstate
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17209 Py_INCREF(Py_None
); resultobj
= Py_None
;
17216 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17217 PyObject
*resultobj
;
17218 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17219 wxDateTime
*result
;
17220 PyObject
* obj0
= 0 ;
17221 char *kwnames
[] = {
17222 (char *) "self", NULL
17225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17231 result
= (wxDateTime
*) &_result_ref
;
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17237 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17244 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17245 PyObject
*resultobj
;
17246 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17248 wxDateTime
*result
;
17249 PyObject
* obj0
= 0 ;
17250 PyObject
* obj1
= 0 ;
17251 char *kwnames
[] = {
17252 (char *) "self",(char *) "timet", NULL
17255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17258 arg2
= (time_t) SWIG_PyObj_AsUnsignedInt(obj1
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17265 result
= (wxDateTime
*) &_result_ref
;
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17271 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17278 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17279 PyObject
*resultobj
;
17280 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17282 wxDateTime
*result
;
17283 PyObject
* obj0
= 0 ;
17284 PyObject
* obj1
= 0 ;
17285 char *kwnames
[] = {
17286 (char *) "self",(char *) "jdn", NULL
17289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17292 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17299 result
= (wxDateTime
*) &_result_ref
;
17302 wxPyEndAllowThreads(__tstate
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17305 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17312 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17313 PyObject
*resultobj
;
17314 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17316 int arg3
= (int) 0 ;
17317 int arg4
= (int) 0 ;
17318 int arg5
= (int) 0 ;
17319 wxDateTime
*result
;
17320 PyObject
* obj0
= 0 ;
17321 PyObject
* obj1
= 0 ;
17322 PyObject
* obj2
= 0 ;
17323 PyObject
* obj3
= 0 ;
17324 PyObject
* obj4
= 0 ;
17325 char *kwnames
[] = {
17326 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17332 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17337 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17343 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17349 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17356 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17357 result
= (wxDateTime
*) &_result_ref
;
17360 wxPyEndAllowThreads(__tstate
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17363 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17370 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17371 PyObject
*resultobj
;
17372 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17374 int arg3
= (int) wxDateTime::Inv_Month
;
17375 int arg4
= (int) wxDateTime::Inv_Year
;
17376 int arg5
= (int) 0 ;
17377 int arg6
= (int) 0 ;
17378 int arg7
= (int) 0 ;
17379 int arg8
= (int) 0 ;
17380 wxDateTime
*result
;
17381 PyObject
* obj0
= 0 ;
17382 PyObject
* obj1
= 0 ;
17383 PyObject
* obj2
= 0 ;
17384 PyObject
* obj3
= 0 ;
17385 PyObject
* obj4
= 0 ;
17386 PyObject
* obj5
= 0 ;
17387 PyObject
* obj6
= 0 ;
17388 PyObject
* obj7
= 0 ;
17389 char *kwnames
[] = {
17390 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17396 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17401 arg3
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj2
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17407 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17413 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17419 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17425 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
17426 if (PyErr_Occurred()) SWIG_fail
;
17431 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17438 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17439 result
= (wxDateTime
*) &_result_ref
;
17442 wxPyEndAllowThreads(__tstate
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17445 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17452 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17453 PyObject
*resultobj
;
17454 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17455 wxDateTime
*result
;
17456 PyObject
* obj0
= 0 ;
17457 char *kwnames
[] = {
17458 (char *) "self", NULL
17461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17466 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17467 result
= (wxDateTime
*) &_result_ref
;
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17473 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17480 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17484 wxDateTime
*result
;
17485 PyObject
* obj0
= 0 ;
17486 PyObject
* obj1
= 0 ;
17487 char *kwnames
[] = {
17488 (char *) "self",(char *) "year", NULL
17491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17494 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17501 result
= (wxDateTime
*) &_result_ref
;
17504 wxPyEndAllowThreads(__tstate
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17507 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17514 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
;
17516 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17518 wxDateTime
*result
;
17519 PyObject
* obj0
= 0 ;
17520 PyObject
* obj1
= 0 ;
17521 char *kwnames
[] = {
17522 (char *) "self",(char *) "month", NULL
17525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17528 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17534 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17535 result
= (wxDateTime
*) &_result_ref
;
17538 wxPyEndAllowThreads(__tstate
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17541 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17548 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17549 PyObject
*resultobj
;
17550 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17552 wxDateTime
*result
;
17553 PyObject
* obj0
= 0 ;
17554 PyObject
* obj1
= 0 ;
17555 char *kwnames
[] = {
17556 (char *) "self",(char *) "day", NULL
17559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17562 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17568 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17569 result
= (wxDateTime
*) &_result_ref
;
17572 wxPyEndAllowThreads(__tstate
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17575 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17582 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17583 PyObject
*resultobj
;
17584 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17586 wxDateTime
*result
;
17587 PyObject
* obj0
= 0 ;
17588 PyObject
* obj1
= 0 ;
17589 char *kwnames
[] = {
17590 (char *) "self",(char *) "hour", NULL
17593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17596 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17602 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17603 result
= (wxDateTime
*) &_result_ref
;
17606 wxPyEndAllowThreads(__tstate
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17609 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17616 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17617 PyObject
*resultobj
;
17618 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17620 wxDateTime
*result
;
17621 PyObject
* obj0
= 0 ;
17622 PyObject
* obj1
= 0 ;
17623 char *kwnames
[] = {
17624 (char *) "self",(char *) "minute", NULL
17627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17630 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17636 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17637 result
= (wxDateTime
*) &_result_ref
;
17640 wxPyEndAllowThreads(__tstate
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17643 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17650 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17651 PyObject
*resultobj
;
17652 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17654 wxDateTime
*result
;
17655 PyObject
* obj0
= 0 ;
17656 PyObject
* obj1
= 0 ;
17657 char *kwnames
[] = {
17658 (char *) "self",(char *) "second", NULL
17661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17664 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17671 result
= (wxDateTime
*) &_result_ref
;
17674 wxPyEndAllowThreads(__tstate
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17677 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17684 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17685 PyObject
*resultobj
;
17686 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17688 wxDateTime
*result
;
17689 PyObject
* obj0
= 0 ;
17690 PyObject
* obj1
= 0 ;
17691 char *kwnames
[] = {
17692 (char *) "self",(char *) "millisecond", NULL
17695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17698 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17699 if (PyErr_Occurred()) SWIG_fail
;
17702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17705 result
= (wxDateTime
*) &_result_ref
;
17708 wxPyEndAllowThreads(__tstate
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17718 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17719 PyObject
*resultobj
;
17720 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17722 int arg3
= (int) wxDateTime::Monday_First
;
17723 wxDateTime
*result
;
17724 PyObject
* obj0
= 0 ;
17725 PyObject
* obj1
= 0 ;
17726 PyObject
* obj2
= 0 ;
17727 char *kwnames
[] = {
17728 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17734 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17739 arg3
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj2
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17746 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17747 result
= (wxDateTime
*) &_result_ref
;
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17760 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
;
17762 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17764 int arg3
= (int) wxDateTime::Monday_First
;
17766 PyObject
* obj0
= 0 ;
17767 PyObject
* obj1
= 0 ;
17768 PyObject
* obj2
= 0 ;
17769 char *kwnames
[] = {
17770 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17776 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17781 arg3
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj2
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17789 wxPyEndAllowThreads(__tstate
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17793 wxDateTime
* resultptr
;
17794 resultptr
= new wxDateTime((wxDateTime
&) result
);
17795 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17803 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17804 PyObject
*resultobj
;
17805 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17807 wxDateTime
*result
;
17808 PyObject
* obj0
= 0 ;
17809 PyObject
* obj1
= 0 ;
17810 char *kwnames
[] = {
17811 (char *) "self",(char *) "weekday", NULL
17814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17817 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
17824 result
= (wxDateTime
*) &_result_ref
;
17827 wxPyEndAllowThreads(__tstate
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17830 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17837 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17838 PyObject
*resultobj
;
17839 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17842 PyObject
* obj0
= 0 ;
17843 PyObject
* obj1
= 0 ;
17844 char *kwnames
[] = {
17845 (char *) "self",(char *) "weekday", NULL
17848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17851 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17862 wxDateTime
* resultptr
;
17863 resultptr
= new wxDateTime((wxDateTime
&) result
);
17864 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17872 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17873 PyObject
*resultobj
;
17874 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17876 wxDateTime
*result
;
17877 PyObject
* obj0
= 0 ;
17878 PyObject
* obj1
= 0 ;
17879 char *kwnames
[] = {
17880 (char *) "self",(char *) "weekday", NULL
17883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17886 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17893 result
= (wxDateTime
*) &_result_ref
;
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17899 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17906 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
;
17908 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17911 PyObject
* obj0
= 0 ;
17912 PyObject
* obj1
= 0 ;
17913 char *kwnames
[] = {
17914 (char *) "self",(char *) "weekday", NULL
17917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17920 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17931 wxDateTime
* resultptr
;
17932 resultptr
= new wxDateTime((wxDateTime
&) result
);
17933 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17941 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17942 PyObject
*resultobj
;
17943 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17945 int arg3
= (int) 1 ;
17946 int arg4
= (int) wxDateTime::Inv_Month
;
17947 int arg5
= (int) wxDateTime::Inv_Year
;
17949 PyObject
* obj0
= 0 ;
17950 PyObject
* obj1
= 0 ;
17951 PyObject
* obj2
= 0 ;
17952 PyObject
* obj3
= 0 ;
17953 PyObject
* obj4
= 0 ;
17954 char *kwnames
[] = {
17955 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
17958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17961 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17966 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17972 arg4
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj3
);
17973 if (PyErr_Occurred()) SWIG_fail
;
17978 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17984 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
17986 wxPyEndAllowThreads(__tstate
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17996 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17997 PyObject
*resultobj
;
17998 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18000 int arg3
= (int) wxDateTime::Inv_Month
;
18001 int arg4
= (int) wxDateTime::Inv_Year
;
18003 PyObject
* obj0
= 0 ;
18004 PyObject
* obj1
= 0 ;
18005 PyObject
* obj2
= 0 ;
18006 PyObject
* obj3
= 0 ;
18007 char *kwnames
[] = {
18008 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18014 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18019 arg3
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj2
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18025 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18031 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18043 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
;
18045 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18047 int arg3
= (int) wxDateTime::Inv_Month
;
18048 int arg4
= (int) wxDateTime::Inv_Year
;
18050 PyObject
* obj0
= 0 ;
18051 PyObject
* obj1
= 0 ;
18052 PyObject
* obj2
= 0 ;
18053 PyObject
* obj3
= 0 ;
18054 char *kwnames
[] = {
18055 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18061 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18066 arg3
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj2
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18072 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18078 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18084 wxDateTime
* resultptr
;
18085 resultptr
= new wxDateTime((wxDateTime
&) result
);
18086 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18094 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18095 PyObject
*resultobj
;
18096 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18098 int arg3
= (int) wxDateTime::Mon
;
18099 int arg4
= (int) wxDateTime::Monday_First
;
18101 PyObject
* obj0
= 0 ;
18102 PyObject
* obj1
= 0 ;
18103 PyObject
* obj2
= 0 ;
18104 PyObject
* obj3
= 0 ;
18105 char *kwnames
[] = {
18106 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18112 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18113 if (PyErr_Occurred()) SWIG_fail
;
18117 arg3
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj2
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18123 arg4
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj3
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18129 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18131 wxPyEndAllowThreads(__tstate
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18141 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
;
18143 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18145 int arg3
= (int) wxDateTime::Mon
;
18146 int arg4
= (int) wxDateTime::Monday_First
;
18148 PyObject
* obj0
= 0 ;
18149 PyObject
* obj1
= 0 ;
18150 PyObject
* obj2
= 0 ;
18151 PyObject
* obj3
= 0 ;
18152 char *kwnames
[] = {
18153 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18159 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18164 arg3
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj2
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18170 arg4
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj3
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18176 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18178 wxPyEndAllowThreads(__tstate
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18182 wxDateTime
* resultptr
;
18183 resultptr
= new wxDateTime((wxDateTime
&) result
);
18184 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18192 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
;
18194 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18195 int arg2
= (int) wxDateTime::Inv_Month
;
18196 int arg3
= (int) wxDateTime::Inv_Year
;
18197 wxDateTime
*result
;
18198 PyObject
* obj0
= 0 ;
18199 PyObject
* obj1
= 0 ;
18200 PyObject
* obj2
= 0 ;
18201 char *kwnames
[] = {
18202 (char *) "self",(char *) "month",(char *) "year", NULL
18205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18209 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18215 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
18216 if (PyErr_Occurred()) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18222 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18223 result
= (wxDateTime
*) &_result_ref
;
18226 wxPyEndAllowThreads(__tstate
);
18227 if (PyErr_Occurred()) SWIG_fail
;
18229 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18236 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18237 PyObject
*resultobj
;
18238 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18239 int arg2
= (int) wxDateTime::Inv_Month
;
18240 int arg3
= (int) wxDateTime::Inv_Year
;
18242 PyObject
* obj0
= 0 ;
18243 PyObject
* obj1
= 0 ;
18244 PyObject
* obj2
= 0 ;
18245 char *kwnames
[] = {
18246 (char *) "self",(char *) "month",(char *) "year", NULL
18249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18253 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18259 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18271 wxDateTime
* resultptr
;
18272 resultptr
= new wxDateTime((wxDateTime
&) result
);
18273 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18281 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
;
18283 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18285 wxDateTime
*result
;
18286 PyObject
* obj0
= 0 ;
18287 PyObject
* obj1
= 0 ;
18288 char *kwnames
[] = {
18289 (char *) "self",(char *) "yday", NULL
18292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18295 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18302 result
= (wxDateTime
*) &_result_ref
;
18305 wxPyEndAllowThreads(__tstate
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18308 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18315 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
;
18317 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18320 PyObject
* obj0
= 0 ;
18321 PyObject
* obj1
= 0 ;
18322 char *kwnames
[] = {
18323 (char *) "self",(char *) "yday", NULL
18326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18329 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 result
= (arg1
)->GetYearDay(arg2
);
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18340 wxDateTime
* resultptr
;
18341 resultptr
= new wxDateTime((wxDateTime
&) result
);
18342 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18350 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18351 PyObject
*resultobj
;
18352 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18354 PyObject
* obj0
= 0 ;
18355 char *kwnames
[] = {
18356 (char *) "self", NULL
18359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18363 result
= (double)(arg1
)->GetJulianDayNumber();
18365 wxPyEndAllowThreads(__tstate
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18368 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18375 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18376 PyObject
*resultobj
;
18377 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18379 PyObject
* obj0
= 0 ;
18380 char *kwnames
[] = {
18381 (char *) "self", NULL
18384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18388 result
= (double)(arg1
)->GetJDN();
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18393 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18400 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18401 PyObject
*resultobj
;
18402 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18404 PyObject
* obj0
= 0 ;
18405 char *kwnames
[] = {
18406 (char *) "self", NULL
18409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18415 wxPyEndAllowThreads(__tstate
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18418 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18425 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18426 PyObject
*resultobj
;
18427 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18429 PyObject
* obj0
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "self", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18438 result
= (double)(arg1
)->GetMJD();
18440 wxPyEndAllowThreads(__tstate
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18450 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18451 PyObject
*resultobj
;
18452 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18454 PyObject
* obj0
= 0 ;
18455 char *kwnames
[] = {
18456 (char *) "self", NULL
18459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 result
= (double)(arg1
)->GetRataDie();
18465 wxPyEndAllowThreads(__tstate
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18468 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18475 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18476 PyObject
*resultobj
;
18477 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18478 wxDateTime::TimeZone
*arg2
= 0 ;
18479 bool arg3
= (bool) False
;
18481 bool temp2
= False
;
18482 PyObject
* obj0
= 0 ;
18483 PyObject
* obj1
= 0 ;
18484 PyObject
* obj2
= 0 ;
18485 char *kwnames
[] = {
18486 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18492 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18497 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18503 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18505 wxPyEndAllowThreads(__tstate
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18509 wxDateTime
* resultptr
;
18510 resultptr
= new wxDateTime((wxDateTime
&) result
);
18511 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18514 if (temp2
) delete arg2
;
18519 if (temp2
) delete arg2
;
18525 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18526 PyObject
*resultobj
;
18527 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18528 wxDateTime::TimeZone
*arg2
= 0 ;
18529 bool arg3
= (bool) False
;
18530 wxDateTime
*result
;
18531 bool temp2
= False
;
18532 PyObject
* obj0
= 0 ;
18533 PyObject
* obj1
= 0 ;
18534 PyObject
* obj2
= 0 ;
18535 char *kwnames
[] = {
18536 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18542 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18547 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18554 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18555 result
= (wxDateTime
*) &_result_ref
;
18558 wxPyEndAllowThreads(__tstate
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18561 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18563 if (temp2
) delete arg2
;
18568 if (temp2
) delete arg2
;
18574 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18575 PyObject
*resultobj
;
18576 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18577 bool arg2
= (bool) False
;
18579 PyObject
* obj0
= 0 ;
18580 PyObject
* obj1
= 0 ;
18581 char *kwnames
[] = {
18582 (char *) "self",(char *) "noDST", NULL
18585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18589 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 result
= (arg1
)->ToGMT(arg2
);
18597 wxPyEndAllowThreads(__tstate
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18601 wxDateTime
* resultptr
;
18602 resultptr
= new wxDateTime((wxDateTime
&) result
);
18603 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18611 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18612 PyObject
*resultobj
;
18613 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18614 bool arg2
= (bool) False
;
18615 wxDateTime
*result
;
18616 PyObject
* obj0
= 0 ;
18617 PyObject
* obj1
= 0 ;
18618 char *kwnames
[] = {
18619 (char *) "self",(char *) "noDST", NULL
18622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18626 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18627 if (PyErr_Occurred()) SWIG_fail
;
18631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18633 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18634 result
= (wxDateTime
*) &_result_ref
;
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18647 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18648 PyObject
*resultobj
;
18649 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18650 int arg2
= (int) wxDateTime::Country_Default
;
18652 PyObject
* obj0
= 0 ;
18653 PyObject
* obj1
= 0 ;
18654 char *kwnames
[] = {
18655 (char *) "self",(char *) "country", NULL
18658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18662 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18668 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18670 wxPyEndAllowThreads(__tstate
);
18671 if (PyErr_Occurred()) SWIG_fail
;
18673 resultobj
= SWIG_PyObj_FromInt((int)result
);
18680 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18681 PyObject
*resultobj
;
18682 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18684 PyObject
* obj0
= 0 ;
18685 char *kwnames
[] = {
18686 (char *) "self", NULL
18689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18693 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18695 wxPyEndAllowThreads(__tstate
);
18696 if (PyErr_Occurred()) SWIG_fail
;
18698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18705 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18706 PyObject
*resultobj
;
18707 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18709 PyObject
* obj0
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
18730 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
;
18732 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18733 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18734 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18736 bool temp2
= False
;
18737 PyObject
* obj0
= 0 ;
18738 PyObject
* obj1
= 0 ;
18739 char *kwnames
[] = {
18740 (char *) "self",(char *) "tz", NULL
18743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18747 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18753 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18755 wxPyEndAllowThreads(__tstate
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18758 resultobj
= SWIG_PyObj_FromInt((int)result
);
18760 if (temp2
) delete arg2
;
18765 if (temp2
) delete arg2
;
18771 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18772 PyObject
*resultobj
;
18773 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18774 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18775 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18777 bool temp2
= False
;
18778 PyObject
* obj0
= 0 ;
18779 PyObject
* obj1
= 0 ;
18780 char *kwnames
[] = {
18781 (char *) "self",(char *) "tz", NULL
18784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18788 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18794 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18799 resultobj
= SWIG_PyObj_FromInt((int)result
);
18801 if (temp2
) delete arg2
;
18806 if (temp2
) delete arg2
;
18812 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18813 PyObject
*resultobj
;
18814 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18815 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18816 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18818 bool temp2
= False
;
18819 PyObject
* obj0
= 0 ;
18820 PyObject
* obj1
= 0 ;
18821 char *kwnames
[] = {
18822 (char *) "self",(char *) "tz", NULL
18825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18829 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18835 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
18837 wxPyEndAllowThreads(__tstate
);
18838 if (PyErr_Occurred()) SWIG_fail
;
18840 resultobj
= SWIG_PyObj_FromInt((int)result
);
18842 if (temp2
) delete arg2
;
18847 if (temp2
) delete arg2
;
18853 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18854 PyObject
*resultobj
;
18855 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18856 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18857 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18859 bool temp2
= False
;
18860 PyObject
* obj0
= 0 ;
18861 PyObject
* obj1
= 0 ;
18862 char *kwnames
[] = {
18863 (char *) "self",(char *) "tz", NULL
18866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18870 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18876 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
18878 wxPyEndAllowThreads(__tstate
);
18879 if (PyErr_Occurred()) SWIG_fail
;
18881 resultobj
= SWIG_PyObj_FromInt((int)result
);
18883 if (temp2
) delete arg2
;
18888 if (temp2
) delete arg2
;
18894 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18895 PyObject
*resultobj
;
18896 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18897 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18898 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18900 bool temp2
= False
;
18901 PyObject
* obj0
= 0 ;
18902 PyObject
* obj1
= 0 ;
18903 char *kwnames
[] = {
18904 (char *) "self",(char *) "tz", NULL
18907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18911 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 resultobj
= SWIG_PyObj_FromInt((int)result
);
18924 if (temp2
) delete arg2
;
18929 if (temp2
) delete arg2
;
18935 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18936 PyObject
*resultobj
;
18937 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18938 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18939 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18941 bool temp2
= False
;
18942 PyObject
* obj0
= 0 ;
18943 PyObject
* obj1
= 0 ;
18944 char *kwnames
[] = {
18945 (char *) "self",(char *) "tz", NULL
18948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18952 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18958 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
18960 wxPyEndAllowThreads(__tstate
);
18961 if (PyErr_Occurred()) SWIG_fail
;
18963 resultobj
= SWIG_PyObj_FromInt((int)result
);
18965 if (temp2
) delete arg2
;
18970 if (temp2
) delete arg2
;
18976 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
;
18978 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18979 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18980 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18982 bool temp2
= False
;
18983 PyObject
* obj0
= 0 ;
18984 PyObject
* obj1
= 0 ;
18985 char *kwnames
[] = {
18986 (char *) "self",(char *) "tz", NULL
18989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18993 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18999 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19001 wxPyEndAllowThreads(__tstate
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19004 resultobj
= SWIG_PyObj_FromInt((int)result
);
19006 if (temp2
) delete arg2
;
19011 if (temp2
) delete arg2
;
19017 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19018 PyObject
*resultobj
;
19019 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19020 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19021 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19023 bool temp2
= False
;
19024 PyObject
* obj0
= 0 ;
19025 PyObject
* obj1
= 0 ;
19026 char *kwnames
[] = {
19027 (char *) "self",(char *) "tz", NULL
19030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19034 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19040 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19042 wxPyEndAllowThreads(__tstate
);
19043 if (PyErr_Occurred()) SWIG_fail
;
19045 resultobj
= SWIG_PyObj_FromInt((int)result
);
19047 if (temp2
) delete arg2
;
19052 if (temp2
) delete arg2
;
19058 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19059 PyObject
*resultobj
;
19060 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19061 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19062 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19064 bool temp2
= False
;
19065 PyObject
* obj0
= 0 ;
19066 PyObject
* obj1
= 0 ;
19067 char *kwnames
[] = {
19068 (char *) "self",(char *) "tz", NULL
19071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19075 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19083 wxPyEndAllowThreads(__tstate
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19086 resultobj
= SWIG_PyObj_FromInt((int)result
);
19088 if (temp2
) delete arg2
;
19093 if (temp2
) delete arg2
;
19099 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
;
19101 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19102 int arg2
= (int) wxDateTime::Monday_First
;
19103 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19104 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19106 bool temp3
= False
;
19107 PyObject
* obj0
= 0 ;
19108 PyObject
* obj1
= 0 ;
19109 PyObject
* obj2
= 0 ;
19110 char *kwnames
[] = {
19111 (char *) "self",(char *) "flags",(char *) "tz", NULL
19114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19118 arg2
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj1
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19124 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19130 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19132 wxPyEndAllowThreads(__tstate
);
19133 if (PyErr_Occurred()) SWIG_fail
;
19135 resultobj
= SWIG_PyObj_FromInt((int)result
);
19137 if (temp3
) delete arg3
;
19142 if (temp3
) delete arg3
;
19148 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19149 PyObject
*resultobj
;
19150 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19151 int arg2
= (int) wxDateTime::Monday_First
;
19152 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19153 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19155 bool temp3
= False
;
19156 PyObject
* obj0
= 0 ;
19157 PyObject
* obj1
= 0 ;
19158 PyObject
* obj2
= 0 ;
19159 char *kwnames
[] = {
19160 (char *) "self",(char *) "flags",(char *) "tz", NULL
19163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19167 arg2
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj1
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19173 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19179 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19181 wxPyEndAllowThreads(__tstate
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19184 resultobj
= SWIG_PyObj_FromInt((int)result
);
19186 if (temp3
) delete arg3
;
19191 if (temp3
) delete arg3
;
19197 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19198 PyObject
*resultobj
;
19199 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19200 int arg2
= (int) wxDateTime::Country_Default
;
19202 PyObject
* obj0
= 0 ;
19203 PyObject
* obj1
= 0 ;
19204 char *kwnames
[] = {
19205 (char *) "self",(char *) "country", NULL
19208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19212 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
19213 if (PyErr_Occurred()) SWIG_fail
;
19217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19218 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19220 wxPyEndAllowThreads(__tstate
);
19221 if (PyErr_Occurred()) SWIG_fail
;
19223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19230 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19231 PyObject
*resultobj
;
19232 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19233 wxDateTime
*arg2
= 0 ;
19235 PyObject
* obj0
= 0 ;
19236 PyObject
* obj1
= 0 ;
19237 char *kwnames
[] = {
19238 (char *) "self",(char *) "datetime", NULL
19241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19243 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19244 if (arg2
== NULL
) {
19245 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19249 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19261 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19262 PyObject
*resultobj
;
19263 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19264 wxDateTime
*arg2
= 0 ;
19266 PyObject
* obj0
= 0 ;
19267 PyObject
* obj1
= 0 ;
19268 char *kwnames
[] = {
19269 (char *) "self",(char *) "datetime", NULL
19272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19274 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19275 if (arg2
== NULL
) {
19276 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19292 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19293 PyObject
*resultobj
;
19294 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19295 wxDateTime
*arg2
= 0 ;
19297 PyObject
* obj0
= 0 ;
19298 PyObject
* obj1
= 0 ;
19299 char *kwnames
[] = {
19300 (char *) "self",(char *) "datetime", NULL
19303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19305 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19306 if (arg2
== NULL
) {
19307 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19311 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19313 wxPyEndAllowThreads(__tstate
);
19314 if (PyErr_Occurred()) SWIG_fail
;
19316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19323 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19324 PyObject
*resultobj
;
19325 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19326 wxDateTime
*arg2
= 0 ;
19327 wxDateTime
*arg3
= 0 ;
19329 PyObject
* obj0
= 0 ;
19330 PyObject
* obj1
= 0 ;
19331 PyObject
* obj2
= 0 ;
19332 char *kwnames
[] = {
19333 (char *) "self",(char *) "t1",(char *) "t2", NULL
19336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19338 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19339 if (arg2
== NULL
) {
19340 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19342 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19343 if (arg3
== NULL
) {
19344 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19348 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19360 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19361 PyObject
*resultobj
;
19362 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19363 wxDateTime
*arg2
= 0 ;
19364 wxDateTime
*arg3
= 0 ;
19366 PyObject
* obj0
= 0 ;
19367 PyObject
* obj1
= 0 ;
19368 PyObject
* obj2
= 0 ;
19369 char *kwnames
[] = {
19370 (char *) "self",(char *) "t1",(char *) "t2", NULL
19373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19375 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19376 if (arg2
== NULL
) {
19377 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19379 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19380 if (arg3
== NULL
) {
19381 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19385 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19387 wxPyEndAllowThreads(__tstate
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19397 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19398 PyObject
*resultobj
;
19399 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19400 wxDateTime
*arg2
= 0 ;
19402 PyObject
* obj0
= 0 ;
19403 PyObject
* obj1
= 0 ;
19404 char *kwnames
[] = {
19405 (char *) "self",(char *) "dt", NULL
19408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19410 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19411 if (arg2
== NULL
) {
19412 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19416 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19418 wxPyEndAllowThreads(__tstate
);
19419 if (PyErr_Occurred()) SWIG_fail
;
19421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19428 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19429 PyObject
*resultobj
;
19430 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19431 wxDateTime
*arg2
= 0 ;
19433 PyObject
* obj0
= 0 ;
19434 PyObject
* obj1
= 0 ;
19435 char *kwnames
[] = {
19436 (char *) "self",(char *) "dt", NULL
19439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19441 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19442 if (arg2
== NULL
) {
19443 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19447 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19459 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
;
19461 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19462 wxDateTime
*arg2
= 0 ;
19463 wxTimeSpan
*arg3
= 0 ;
19465 PyObject
* obj0
= 0 ;
19466 PyObject
* obj1
= 0 ;
19467 PyObject
* obj2
= 0 ;
19468 char *kwnames
[] = {
19469 (char *) "self",(char *) "dt",(char *) "ts", NULL
19472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19474 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19475 if (arg2
== NULL
) {
19476 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19478 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19479 if (arg3
== NULL
) {
19480 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19484 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19486 wxPyEndAllowThreads(__tstate
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19496 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19497 PyObject
*resultobj
;
19498 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19499 wxTimeSpan
*arg2
= 0 ;
19500 wxDateTime
*result
;
19501 PyObject
* obj0
= 0 ;
19502 PyObject
* obj1
= 0 ;
19503 char *kwnames
[] = {
19504 (char *) "self",(char *) "diff", NULL
19507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19509 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19510 if (arg2
== NULL
) {
19511 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19516 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19517 result
= (wxDateTime
*) &_result_ref
;
19520 wxPyEndAllowThreads(__tstate
);
19521 if (PyErr_Occurred()) SWIG_fail
;
19523 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19530 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19531 PyObject
*resultobj
;
19532 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19533 wxDateSpan
*arg2
= 0 ;
19534 wxDateTime
*result
;
19535 PyObject
* obj0
= 0 ;
19536 PyObject
* obj1
= 0 ;
19537 char *kwnames
[] = {
19538 (char *) "self",(char *) "diff", NULL
19541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19543 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19544 if (arg2
== NULL
) {
19545 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19550 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19551 result
= (wxDateTime
*) &_result_ref
;
19554 wxPyEndAllowThreads(__tstate
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19557 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19564 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19565 PyObject
*resultobj
;
19566 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19567 wxTimeSpan
*arg2
= 0 ;
19568 wxDateTime
*result
;
19569 PyObject
* obj0
= 0 ;
19570 PyObject
* obj1
= 0 ;
19571 char *kwnames
[] = {
19572 (char *) "self",(char *) "diff", NULL
19575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19577 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19578 if (arg2
== NULL
) {
19579 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19585 result
= (wxDateTime
*) &_result_ref
;
19588 wxPyEndAllowThreads(__tstate
);
19589 if (PyErr_Occurred()) SWIG_fail
;
19591 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19598 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19599 PyObject
*resultobj
;
19600 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19601 wxDateSpan
*arg2
= 0 ;
19602 wxDateTime
*result
;
19603 PyObject
* obj0
= 0 ;
19604 PyObject
* obj1
= 0 ;
19605 char *kwnames
[] = {
19606 (char *) "self",(char *) "diff", NULL
19609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19611 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19612 if (arg2
== NULL
) {
19613 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19618 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19619 result
= (wxDateTime
*) &_result_ref
;
19622 wxPyEndAllowThreads(__tstate
);
19623 if (PyErr_Occurred()) SWIG_fail
;
19625 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19632 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19633 PyObject
*resultobj
;
19634 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19635 wxDateTime
*arg2
= 0 ;
19637 PyObject
* obj0
= 0 ;
19638 PyObject
* obj1
= 0 ;
19639 char *kwnames
[] = {
19640 (char *) "self",(char *) "dt", NULL
19643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19645 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19646 if (arg2
== NULL
) {
19647 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19657 wxTimeSpan
* resultptr
;
19658 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19659 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19667 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19668 PyObject
*resultobj
;
19669 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19670 wxTimeSpan
*arg2
= 0 ;
19671 wxDateTime
*result
;
19672 PyObject
* obj0
= 0 ;
19673 PyObject
* obj1
= 0 ;
19675 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19677 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19678 if (arg2
== NULL
) {
19679 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19684 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19685 result
= (wxDateTime
*) &_result_ref
;
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19691 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19698 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
19699 PyObject
*resultobj
;
19700 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19701 wxDateSpan
*arg2
= 0 ;
19702 wxDateTime
*result
;
19703 PyObject
* obj0
= 0 ;
19704 PyObject
* obj1
= 0 ;
19706 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19708 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19709 if (arg2
== NULL
) {
19710 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
19716 result
= (wxDateTime
*) &_result_ref
;
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19722 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19729 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
19734 argc
= PyObject_Length(args
);
19735 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19736 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19742 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19752 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19760 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
19768 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19778 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19786 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
19791 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
19796 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
19797 PyObject
*resultobj
;
19798 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19799 wxTimeSpan
*arg2
= 0 ;
19800 wxDateTime
*result
;
19801 PyObject
* obj0
= 0 ;
19802 PyObject
* obj1
= 0 ;
19804 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19806 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19807 if (arg2
== NULL
) {
19808 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
19814 result
= (wxDateTime
*) &_result_ref
;
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19820 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19827 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
19828 PyObject
*resultobj
;
19829 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19830 wxDateSpan
*arg2
= 0 ;
19831 wxDateTime
*result
;
19832 PyObject
* obj0
= 0 ;
19833 PyObject
* obj1
= 0 ;
19835 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19837 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19838 if (arg2
== NULL
) {
19839 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19844 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
19845 result
= (wxDateTime
*) &_result_ref
;
19848 wxPyEndAllowThreads(__tstate
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19851 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19858 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
19863 argc
= PyObject_Length(args
);
19864 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19865 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19871 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19881 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19889 return _wrap_DateTime___isub____SWIG_0(self
,args
);
19897 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19907 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19915 return _wrap_DateTime___isub____SWIG_1(self
,args
);
19920 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
19925 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
19926 PyObject
*resultobj
;
19927 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19928 wxTimeSpan
*arg2
= 0 ;
19930 PyObject
* obj0
= 0 ;
19931 PyObject
* obj1
= 0 ;
19933 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
19934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19935 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19936 if (arg2
== NULL
) {
19937 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19941 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
19943 wxPyEndAllowThreads(__tstate
);
19944 if (PyErr_Occurred()) SWIG_fail
;
19947 wxDateTime
* resultptr
;
19948 resultptr
= new wxDateTime((wxDateTime
&) result
);
19949 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
19957 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
19958 PyObject
*resultobj
;
19959 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19960 wxDateSpan
*arg2
= 0 ;
19962 PyObject
* obj0
= 0 ;
19963 PyObject
* obj1
= 0 ;
19965 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
19966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19967 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19968 if (arg2
== NULL
) {
19969 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19973 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19979 wxDateTime
* resultptr
;
19980 resultptr
= new wxDateTime((wxDateTime
&) result
);
19981 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
19989 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
19994 argc
= PyObject_Length(args
);
19995 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19996 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20002 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20012 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20020 return _wrap_DateTime___add____SWIG_0(self
,args
);
20028 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20038 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20046 return _wrap_DateTime___add____SWIG_1(self
,args
);
20051 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20056 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20057 PyObject
*resultobj
;
20058 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20059 wxDateTime
*arg2
= 0 ;
20061 PyObject
* obj0
= 0 ;
20062 PyObject
* obj1
= 0 ;
20064 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20066 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20067 if (arg2
== NULL
) {
20068 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20072 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20074 wxPyEndAllowThreads(__tstate
);
20075 if (PyErr_Occurred()) SWIG_fail
;
20078 wxTimeSpan
* resultptr
;
20079 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20080 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20088 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20089 PyObject
*resultobj
;
20090 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20091 wxTimeSpan
*arg2
= 0 ;
20093 PyObject
* obj0
= 0 ;
20094 PyObject
* obj1
= 0 ;
20096 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20098 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20099 if (arg2
== NULL
) {
20100 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20106 wxPyEndAllowThreads(__tstate
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20110 wxDateTime
* resultptr
;
20111 resultptr
= new wxDateTime((wxDateTime
&) result
);
20112 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
20120 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20121 PyObject
*resultobj
;
20122 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20123 wxDateSpan
*arg2
= 0 ;
20125 PyObject
* obj0
= 0 ;
20126 PyObject
* obj1
= 0 ;
20128 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20130 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20131 if (arg2
== NULL
) {
20132 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20136 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20138 wxPyEndAllowThreads(__tstate
);
20139 if (PyErr_Occurred()) SWIG_fail
;
20142 wxDateTime
* resultptr
;
20143 resultptr
= new wxDateTime((wxDateTime
&) result
);
20144 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
20152 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20157 argc
= PyObject_Length(args
);
20158 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20159 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20165 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20175 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20183 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20191 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20201 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20209 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20217 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20227 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20235 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20240 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20245 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20246 PyObject
*resultobj
;
20247 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20248 wxDateTime
*arg2
= 0 ;
20250 PyObject
* obj0
= 0 ;
20251 PyObject
* obj1
= 0 ;
20253 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20255 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20256 if (arg2
== NULL
) {
20257 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20261 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const &)*arg2
);
20263 wxPyEndAllowThreads(__tstate
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20273 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20274 PyObject
*resultobj
;
20275 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20276 wxDateTime
*arg2
= 0 ;
20278 PyObject
* obj0
= 0 ;
20279 PyObject
* obj1
= 0 ;
20281 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20283 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20284 if (arg2
== NULL
) {
20285 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20289 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const &)*arg2
);
20291 wxPyEndAllowThreads(__tstate
);
20292 if (PyErr_Occurred()) SWIG_fail
;
20294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20301 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20302 PyObject
*resultobj
;
20303 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20304 wxDateTime
*arg2
= 0 ;
20306 PyObject
* obj0
= 0 ;
20307 PyObject
* obj1
= 0 ;
20309 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20311 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20312 if (arg2
== NULL
) {
20313 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const &)*arg2
);
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20329 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20330 PyObject
*resultobj
;
20331 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20332 wxDateTime
*arg2
= 0 ;
20334 PyObject
* obj0
= 0 ;
20335 PyObject
* obj1
= 0 ;
20337 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20339 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20340 if (arg2
== NULL
) {
20341 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20345 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const &)*arg2
);
20347 wxPyEndAllowThreads(__tstate
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20357 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20358 PyObject
*resultobj
;
20359 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20360 wxDateTime
*arg2
= 0 ;
20362 PyObject
* obj0
= 0 ;
20363 PyObject
* obj1
= 0 ;
20365 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20367 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20368 if (arg2
== NULL
) {
20369 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20373 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const &)*arg2
);
20375 wxPyEndAllowThreads(__tstate
);
20376 if (PyErr_Occurred()) SWIG_fail
;
20378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20385 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20386 PyObject
*resultobj
;
20387 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20388 wxDateTime
*arg2
= 0 ;
20390 PyObject
* obj0
= 0 ;
20391 PyObject
* obj1
= 0 ;
20393 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20395 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20396 if (arg2
== NULL
) {
20397 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20401 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const &)*arg2
);
20403 wxPyEndAllowThreads(__tstate
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20413 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20414 PyObject
*resultobj
;
20415 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20416 wxString
*arg2
= 0 ;
20418 bool temp2
= False
;
20419 PyObject
* obj0
= 0 ;
20420 PyObject
* obj1
= 0 ;
20421 char *kwnames
[] = {
20422 (char *) "self",(char *) "date", NULL
20425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20428 arg2
= wxString_in_helper(obj1
);
20429 if (arg2
== NULL
) SWIG_fail
;
20433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20434 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20436 wxPyEndAllowThreads(__tstate
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20439 resultobj
= SWIG_PyObj_FromInt((int)result
);
20454 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20455 PyObject
*resultobj
;
20456 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20457 wxString
*arg2
= 0 ;
20458 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20459 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20460 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20461 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20463 bool temp2
= False
;
20464 bool temp3
= False
;
20465 PyObject
* obj0
= 0 ;
20466 PyObject
* obj1
= 0 ;
20467 PyObject
* obj2
= 0 ;
20468 PyObject
* obj3
= 0 ;
20469 char *kwnames
[] = {
20470 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20476 arg2
= wxString_in_helper(obj1
);
20477 if (arg2
== NULL
) SWIG_fail
;
20482 arg3
= wxString_in_helper(obj2
);
20483 if (arg3
== NULL
) SWIG_fail
;
20488 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20489 if (arg4
== NULL
) {
20490 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20495 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20500 resultobj
= SWIG_PyObj_FromInt((int)result
);
20523 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20524 PyObject
*resultobj
;
20525 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20526 wxString
*arg2
= 0 ;
20528 bool temp2
= False
;
20529 PyObject
* obj0
= 0 ;
20530 PyObject
* obj1
= 0 ;
20531 char *kwnames
[] = {
20532 (char *) "self",(char *) "datetime", NULL
20535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20538 arg2
= wxString_in_helper(obj1
);
20539 if (arg2
== NULL
) SWIG_fail
;
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20546 wxPyEndAllowThreads(__tstate
);
20547 if (PyErr_Occurred()) SWIG_fail
;
20549 resultobj
= SWIG_PyObj_FromInt((int)result
);
20564 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20565 PyObject
*resultobj
;
20566 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20567 wxString
*arg2
= 0 ;
20569 bool temp2
= False
;
20570 PyObject
* obj0
= 0 ;
20571 PyObject
* obj1
= 0 ;
20572 char *kwnames
[] = {
20573 (char *) "self",(char *) "date", NULL
20576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20579 arg2
= wxString_in_helper(obj1
);
20580 if (arg2
== NULL
) SWIG_fail
;
20584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20585 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20587 wxPyEndAllowThreads(__tstate
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20590 resultobj
= SWIG_PyObj_FromInt((int)result
);
20605 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20606 PyObject
*resultobj
;
20607 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20608 wxString
*arg2
= 0 ;
20610 bool temp2
= False
;
20611 PyObject
* obj0
= 0 ;
20612 PyObject
* obj1
= 0 ;
20613 char *kwnames
[] = {
20614 (char *) "self",(char *) "time", NULL
20617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20620 arg2
= wxString_in_helper(obj1
);
20621 if (arg2
== NULL
) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= SWIG_PyObj_FromInt((int)result
);
20646 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20647 PyObject
*resultobj
;
20648 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20649 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20650 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20651 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20652 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20654 bool temp2
= False
;
20655 bool temp3
= False
;
20656 PyObject
* obj0
= 0 ;
20657 PyObject
* obj1
= 0 ;
20658 PyObject
* obj2
= 0 ;
20659 char *kwnames
[] = {
20660 (char *) "self",(char *) "format",(char *) "tz", NULL
20663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20667 arg2
= wxString_in_helper(obj1
);
20668 if (arg2
== NULL
) SWIG_fail
;
20674 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20682 wxPyEndAllowThreads(__tstate
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20697 if (temp3
) delete arg3
;
20706 if (temp3
) delete arg3
;
20712 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20713 PyObject
*resultobj
;
20714 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20716 PyObject
* obj0
= 0 ;
20717 char *kwnames
[] = {
20718 (char *) "self", NULL
20721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
20722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20725 result
= ((wxDateTime
const *)arg1
)->FormatDate();
20727 wxPyEndAllowThreads(__tstate
);
20728 if (PyErr_Occurred()) SWIG_fail
;
20732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20743 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20744 PyObject
*resultobj
;
20745 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20747 PyObject
* obj0
= 0 ;
20748 char *kwnames
[] = {
20749 (char *) "self", NULL
20752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
20753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20756 result
= ((wxDateTime
const *)arg1
)->FormatTime();
20758 wxPyEndAllowThreads(__tstate
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20774 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20775 PyObject
*resultobj
;
20776 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20778 PyObject
* obj0
= 0 ;
20779 char *kwnames
[] = {
20780 (char *) "self", NULL
20783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
20784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
20789 wxPyEndAllowThreads(__tstate
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20794 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20796 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20805 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20806 PyObject
*resultobj
;
20807 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20809 PyObject
* obj0
= 0 ;
20810 char *kwnames
[] = {
20811 (char *) "self", NULL
20814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
20815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
20820 wxPyEndAllowThreads(__tstate
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20836 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
20838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20839 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
20841 return Py_BuildValue((char *)"");
20843 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20844 PyObject
*resultobj
;
20847 PyObject
* obj0
= 0 ;
20848 char *kwnames
[] = {
20849 (char *) "sec", NULL
20852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
20854 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 result
= wxTimeSpan::Seconds(arg1
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20865 wxTimeSpan
* resultptr
;
20866 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20867 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20875 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20876 PyObject
*resultobj
;
20878 char *kwnames
[] = {
20882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 result
= wxTimeSpan::Second();
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20891 wxTimeSpan
* resultptr
;
20892 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20893 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20901 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20902 PyObject
*resultobj
;
20905 PyObject
* obj0
= 0 ;
20906 char *kwnames
[] = {
20907 (char *) "min", NULL
20910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
20912 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20917 result
= wxTimeSpan::Minutes(arg1
);
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20923 wxTimeSpan
* resultptr
;
20924 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20925 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20933 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20934 PyObject
*resultobj
;
20936 char *kwnames
[] = {
20940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 result
= wxTimeSpan::Minute();
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20949 wxTimeSpan
* resultptr
;
20950 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20951 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20959 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20960 PyObject
*resultobj
;
20963 PyObject
* obj0
= 0 ;
20964 char *kwnames
[] = {
20965 (char *) "hours", NULL
20968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
20970 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
20971 if (PyErr_Occurred()) SWIG_fail
;
20974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20975 result
= wxTimeSpan::Hours(arg1
);
20977 wxPyEndAllowThreads(__tstate
);
20978 if (PyErr_Occurred()) SWIG_fail
;
20981 wxTimeSpan
* resultptr
;
20982 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20983 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20991 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20992 PyObject
*resultobj
;
20994 char *kwnames
[] = {
20998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21001 result
= wxTimeSpan::Hour();
21003 wxPyEndAllowThreads(__tstate
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21007 wxTimeSpan
* resultptr
;
21008 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21009 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21017 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21018 PyObject
*resultobj
;
21021 PyObject
* obj0
= 0 ;
21022 char *kwnames
[] = {
21023 (char *) "days", NULL
21026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21028 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
21029 if (PyErr_Occurred()) SWIG_fail
;
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 result
= wxTimeSpan::Days(arg1
);
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21039 wxTimeSpan
* resultptr
;
21040 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21041 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21049 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21050 PyObject
*resultobj
;
21052 char *kwnames
[] = {
21056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21059 result
= wxTimeSpan::Day();
21061 wxPyEndAllowThreads(__tstate
);
21062 if (PyErr_Occurred()) SWIG_fail
;
21065 wxTimeSpan
* resultptr
;
21066 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21067 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21075 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21076 PyObject
*resultobj
;
21079 PyObject
* obj0
= 0 ;
21080 char *kwnames
[] = {
21081 (char *) "days", NULL
21084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21086 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 result
= wxTimeSpan::Weeks(arg1
);
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21097 wxTimeSpan
* resultptr
;
21098 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21099 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21107 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21108 PyObject
*resultobj
;
21110 char *kwnames
[] = {
21114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21117 result
= wxTimeSpan::Week();
21119 wxPyEndAllowThreads(__tstate
);
21120 if (PyErr_Occurred()) SWIG_fail
;
21123 wxTimeSpan
* resultptr
;
21124 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21125 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21133 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21134 PyObject
*resultobj
;
21135 long arg1
= (long) 0 ;
21136 long arg2
= (long) 0 ;
21137 long arg3
= (long) 0 ;
21138 long arg4
= (long) 0 ;
21139 wxTimeSpan
*result
;
21140 PyObject
* obj0
= 0 ;
21141 PyObject
* obj1
= 0 ;
21142 PyObject
* obj2
= 0 ;
21143 PyObject
* obj3
= 0 ;
21144 char *kwnames
[] = {
21145 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21151 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21157 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21163 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21169 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21180 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 1);
21187 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
;
21189 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21190 PyObject
* obj0
= 0 ;
21191 char *kwnames
[] = {
21192 (char *) "self", NULL
21195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21201 wxPyEndAllowThreads(__tstate
);
21202 if (PyErr_Occurred()) SWIG_fail
;
21204 Py_INCREF(Py_None
); resultobj
= Py_None
;
21211 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21212 PyObject
*resultobj
;
21213 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21214 wxTimeSpan
*arg2
= 0 ;
21215 wxTimeSpan
*result
;
21216 PyObject
* obj0
= 0 ;
21217 PyObject
* obj1
= 0 ;
21218 char *kwnames
[] = {
21219 (char *) "self",(char *) "diff", NULL
21222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21224 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21225 if (arg2
== NULL
) {
21226 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21231 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21232 result
= (wxTimeSpan
*) &_result_ref
;
21235 wxPyEndAllowThreads(__tstate
);
21236 if (PyErr_Occurred()) SWIG_fail
;
21238 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21245 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21246 PyObject
*resultobj
;
21247 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21248 wxTimeSpan
*arg2
= 0 ;
21249 wxTimeSpan
*result
;
21250 PyObject
* obj0
= 0 ;
21251 PyObject
* obj1
= 0 ;
21252 char *kwnames
[] = {
21253 (char *) "self",(char *) "diff", NULL
21256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21258 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21259 if (arg2
== NULL
) {
21260 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21266 result
= (wxTimeSpan
*) &_result_ref
;
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21272 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21279 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21280 PyObject
*resultobj
;
21281 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21283 wxTimeSpan
*result
;
21284 PyObject
* obj0
= 0 ;
21285 PyObject
* obj1
= 0 ;
21286 char *kwnames
[] = {
21287 (char *) "self",(char *) "n", NULL
21290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21293 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21300 result
= (wxTimeSpan
*) &_result_ref
;
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21313 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
;
21315 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21316 wxTimeSpan
*result
;
21317 PyObject
* obj0
= 0 ;
21318 char *kwnames
[] = {
21319 (char *) "self", NULL
21322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21328 result
= (wxTimeSpan
*) &_result_ref
;
21331 wxPyEndAllowThreads(__tstate
);
21332 if (PyErr_Occurred()) SWIG_fail
;
21334 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21341 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21342 PyObject
*resultobj
;
21343 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21345 PyObject
* obj0
= 0 ;
21346 char *kwnames
[] = {
21347 (char *) "self", NULL
21350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21354 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21356 wxPyEndAllowThreads(__tstate
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21360 wxTimeSpan
* resultptr
;
21361 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21362 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21370 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21371 PyObject
*resultobj
;
21372 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21373 wxTimeSpan
*arg2
= 0 ;
21374 wxTimeSpan
*result
;
21375 PyObject
* obj0
= 0 ;
21376 PyObject
* obj1
= 0 ;
21377 char *kwnames
[] = {
21378 (char *) "self",(char *) "diff", NULL
21381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21383 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21384 if (arg2
== NULL
) {
21385 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21391 result
= (wxTimeSpan
*) &_result_ref
;
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21397 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21404 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21405 PyObject
*resultobj
;
21406 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21407 wxTimeSpan
*arg2
= 0 ;
21408 wxTimeSpan
*result
;
21409 PyObject
* obj0
= 0 ;
21410 PyObject
* obj1
= 0 ;
21411 char *kwnames
[] = {
21412 (char *) "self",(char *) "diff", NULL
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21417 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21418 if (arg2
== NULL
) {
21419 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21424 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21425 result
= (wxTimeSpan
*) &_result_ref
;
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21431 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21438 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
;
21440 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21442 wxTimeSpan
*result
;
21443 PyObject
* obj0
= 0 ;
21444 PyObject
* obj1
= 0 ;
21445 char *kwnames
[] = {
21446 (char *) "self",(char *) "n", NULL
21449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21452 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21459 result
= (wxTimeSpan
*) &_result_ref
;
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21465 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21472 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21473 PyObject
*resultobj
;
21474 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21475 wxTimeSpan
*result
;
21476 PyObject
* obj0
= 0 ;
21477 char *kwnames
[] = {
21478 (char *) "self", NULL
21481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21486 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21487 result
= (wxTimeSpan
*) &_result_ref
;
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21493 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21500 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
;
21502 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21503 wxTimeSpan
*arg2
= 0 ;
21505 PyObject
* obj0
= 0 ;
21506 PyObject
* obj1
= 0 ;
21507 char *kwnames
[] = {
21508 (char *) "self",(char *) "other", NULL
21511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21513 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21514 if (arg2
== NULL
) {
21515 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21519 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21521 wxPyEndAllowThreads(__tstate
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21525 wxTimeSpan
* resultptr
;
21526 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21527 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21535 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21536 PyObject
*resultobj
;
21537 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21538 wxTimeSpan
*arg2
= 0 ;
21540 PyObject
* obj0
= 0 ;
21541 PyObject
* obj1
= 0 ;
21542 char *kwnames
[] = {
21543 (char *) "self",(char *) "other", NULL
21546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21548 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21549 if (arg2
== NULL
) {
21550 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21554 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21556 wxPyEndAllowThreads(__tstate
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21560 wxTimeSpan
* resultptr
;
21561 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21562 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21570 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21571 PyObject
*resultobj
;
21572 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21575 PyObject
* obj0
= 0 ;
21576 PyObject
* obj1
= 0 ;
21577 char *kwnames
[] = {
21578 (char *) "self",(char *) "n", NULL
21581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21584 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 result
= wxTimeSpan___mul__(arg1
,arg2
);
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21595 wxTimeSpan
* resultptr
;
21596 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21597 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21605 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21606 PyObject
*resultobj
;
21607 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21610 PyObject
* obj0
= 0 ;
21611 PyObject
* obj1
= 0 ;
21612 char *kwnames
[] = {
21613 (char *) "self",(char *) "n", NULL
21616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21619 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21630 wxTimeSpan
* resultptr
;
21631 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21632 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21640 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21641 PyObject
*resultobj
;
21642 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21643 wxTimeSpan
*arg2
= 0 ;
21645 PyObject
* obj0
= 0 ;
21646 PyObject
* obj1
= 0 ;
21647 char *kwnames
[] = {
21648 (char *) "self",(char *) "other", NULL
21651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21653 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21654 if (arg2
== NULL
) {
21655 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const &)*arg2
);
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21671 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21672 PyObject
*resultobj
;
21673 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21674 wxTimeSpan
*arg2
= 0 ;
21676 PyObject
* obj0
= 0 ;
21677 PyObject
* obj1
= 0 ;
21678 char *kwnames
[] = {
21679 (char *) "self",(char *) "other", NULL
21682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
21683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21684 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21685 if (arg2
== NULL
) {
21686 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21690 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const &)*arg2
);
21692 wxPyEndAllowThreads(__tstate
);
21693 if (PyErr_Occurred()) SWIG_fail
;
21695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21702 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21703 PyObject
*resultobj
;
21704 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21705 wxTimeSpan
*arg2
= 0 ;
21707 PyObject
* obj0
= 0 ;
21708 PyObject
* obj1
= 0 ;
21709 char *kwnames
[] = {
21710 (char *) "self",(char *) "other", NULL
21713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21715 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21716 if (arg2
== NULL
) {
21717 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21721 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const &)*arg2
);
21723 wxPyEndAllowThreads(__tstate
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21733 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21734 PyObject
*resultobj
;
21735 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21736 wxTimeSpan
*arg2
= 0 ;
21738 PyObject
* obj0
= 0 ;
21739 PyObject
* obj1
= 0 ;
21740 char *kwnames
[] = {
21741 (char *) "self",(char *) "other", NULL
21744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
21745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21746 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21747 if (arg2
== NULL
) {
21748 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21752 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const &)*arg2
);
21754 wxPyEndAllowThreads(__tstate
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21764 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21765 PyObject
*resultobj
;
21766 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21767 wxTimeSpan
*arg2
= 0 ;
21769 PyObject
* obj0
= 0 ;
21770 PyObject
* obj1
= 0 ;
21771 char *kwnames
[] = {
21772 (char *) "self",(char *) "other", NULL
21775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
21776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21777 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21778 if (arg2
== NULL
) {
21779 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21783 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const &)*arg2
);
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21795 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21796 PyObject
*resultobj
;
21797 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21798 wxTimeSpan
*arg2
= 0 ;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 char *kwnames
[] = {
21803 (char *) "self",(char *) "other", NULL
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
21807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21808 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21809 if (arg2
== NULL
) {
21810 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const &)*arg2
);
21816 wxPyEndAllowThreads(__tstate
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21826 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21827 PyObject
*resultobj
;
21828 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21830 PyObject
* obj0
= 0 ;
21831 char *kwnames
[] = {
21832 (char *) "self", NULL
21835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
21836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21839 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
21841 wxPyEndAllowThreads(__tstate
);
21842 if (PyErr_Occurred()) SWIG_fail
;
21844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21851 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21852 PyObject
*resultobj
;
21853 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21855 PyObject
* obj0
= 0 ;
21856 char *kwnames
[] = {
21857 (char *) "self", NULL
21860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
21861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21864 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
21866 wxPyEndAllowThreads(__tstate
);
21867 if (PyErr_Occurred()) SWIG_fail
;
21869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21876 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21877 PyObject
*resultobj
;
21878 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21880 PyObject
* obj0
= 0 ;
21881 char *kwnames
[] = {
21882 (char *) "self", NULL
21885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
21886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
21891 wxPyEndAllowThreads(__tstate
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21901 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21902 PyObject
*resultobj
;
21903 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21904 wxTimeSpan
*arg2
= 0 ;
21906 PyObject
* obj0
= 0 ;
21907 PyObject
* obj1
= 0 ;
21908 char *kwnames
[] = {
21909 (char *) "self",(char *) "ts", NULL
21912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21914 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21915 if (arg2
== NULL
) {
21916 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21920 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
21922 wxPyEndAllowThreads(__tstate
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21932 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
;
21934 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21935 wxTimeSpan
*arg2
= 0 ;
21937 PyObject
* obj0
= 0 ;
21938 PyObject
* obj1
= 0 ;
21939 char *kwnames
[] = {
21940 (char *) "self",(char *) "ts", NULL
21943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21945 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21946 if (arg2
== NULL
) {
21947 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21951 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
21953 wxPyEndAllowThreads(__tstate
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21963 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
;
21965 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21966 wxTimeSpan
*arg2
= 0 ;
21968 PyObject
* obj0
= 0 ;
21969 PyObject
* obj1
= 0 ;
21970 char *kwnames
[] = {
21971 (char *) "self",(char *) "t", NULL
21974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21976 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21977 if (arg2
== NULL
) {
21978 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21982 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21994 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21995 PyObject
*resultobj
;
21996 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21998 PyObject
* obj0
= 0 ;
21999 char *kwnames
[] = {
22000 (char *) "self", NULL
22003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22007 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22009 wxPyEndAllowThreads(__tstate
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22012 resultobj
= SWIG_PyObj_FromInt((int)result
);
22019 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22020 PyObject
*resultobj
;
22021 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22023 PyObject
* obj0
= 0 ;
22024 char *kwnames
[] = {
22025 (char *) "self", NULL
22028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22037 resultobj
= SWIG_PyObj_FromInt((int)result
);
22044 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22048 PyObject
* obj0
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22057 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22059 wxPyEndAllowThreads(__tstate
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22062 resultobj
= SWIG_PyObj_FromInt((int)result
);
22069 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22070 PyObject
*resultobj
;
22071 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22073 PyObject
* obj0
= 0 ;
22074 char *kwnames
[] = {
22075 (char *) "self", NULL
22078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22082 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22084 wxPyEndAllowThreads(__tstate
);
22085 if (PyErr_Occurred()) SWIG_fail
;
22087 resultobj
= SWIG_PyObj_FromInt((int)result
);
22094 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
;
22096 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22098 PyObject
* obj0
= 0 ;
22099 char *kwnames
[] = {
22100 (char *) "self", NULL
22103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22107 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22109 wxPyEndAllowThreads(__tstate
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22113 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22114 hi
= PyLong_FromLong( (&result
)->GetHi() );
22115 lo
= PyLong_FromLong( (&result
)->GetLo() );
22116 shifter
= PyLong_FromLong(32);
22117 shifted
= PyNumber_Lshift(hi
, shifter
);
22118 resultobj
= PyNumber_Or(shifted
, lo
);
22121 Py_DECREF(shifter
);
22122 Py_DECREF(shifted
);
22130 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22131 PyObject
*resultobj
;
22132 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22134 PyObject
* obj0
= 0 ;
22135 char *kwnames
[] = {
22136 (char *) "self", NULL
22139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22143 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22145 wxPyEndAllowThreads(__tstate
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22149 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22150 hi
= PyLong_FromLong( (&result
)->GetHi() );
22151 lo
= PyLong_FromLong( (&result
)->GetLo() );
22152 shifter
= PyLong_FromLong(32);
22153 shifted
= PyNumber_Lshift(hi
, shifter
);
22154 resultobj
= PyNumber_Or(shifted
, lo
);
22157 Py_DECREF(shifter
);
22158 Py_DECREF(shifted
);
22166 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22167 PyObject
*resultobj
;
22168 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22169 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22170 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22172 bool temp2
= False
;
22173 PyObject
* obj0
= 0 ;
22174 PyObject
* obj1
= 0 ;
22175 char *kwnames
[] = {
22176 (char *) "self",(char *) "format", NULL
22179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22183 arg2
= wxString_in_helper(obj1
);
22184 if (arg2
== NULL
) SWIG_fail
;
22189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22216 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22219 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22221 return Py_BuildValue((char *)"");
22223 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22224 PyObject
*resultobj
;
22225 int arg1
= (int) 0 ;
22226 int arg2
= (int) 0 ;
22227 int arg3
= (int) 0 ;
22228 int arg4
= (int) 0 ;
22229 wxDateSpan
*result
;
22230 PyObject
* obj0
= 0 ;
22231 PyObject
* obj1
= 0 ;
22232 PyObject
* obj2
= 0 ;
22233 PyObject
* obj3
= 0 ;
22234 char *kwnames
[] = {
22235 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22241 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22247 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22253 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22259 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22260 if (PyErr_Occurred()) SWIG_fail
;
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22270 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 1);
22277 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22278 PyObject
*resultobj
;
22279 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22280 PyObject
* obj0
= 0 ;
22281 char *kwnames
[] = {
22282 (char *) "self", NULL
22285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 wxPyEndAllowThreads(__tstate
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22294 Py_INCREF(Py_None
); resultobj
= Py_None
;
22301 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22302 PyObject
*resultobj
;
22305 PyObject
* obj0
= 0 ;
22306 char *kwnames
[] = {
22307 (char *) "days", NULL
22310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22312 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22317 result
= wxDateSpan::Days(arg1
);
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22323 wxDateSpan
* resultptr
;
22324 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22325 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22333 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22334 PyObject
*resultobj
;
22336 char *kwnames
[] = {
22340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 result
= wxDateSpan::Day();
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22349 wxDateSpan
* resultptr
;
22350 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22351 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22359 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22360 PyObject
*resultobj
;
22363 PyObject
* obj0
= 0 ;
22364 char *kwnames
[] = {
22365 (char *) "weeks", NULL
22368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22370 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22375 result
= wxDateSpan::Weeks(arg1
);
22377 wxPyEndAllowThreads(__tstate
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22381 wxDateSpan
* resultptr
;
22382 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22383 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22391 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22392 PyObject
*resultobj
;
22394 char *kwnames
[] = {
22398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22401 result
= wxDateSpan::Week();
22403 wxPyEndAllowThreads(__tstate
);
22404 if (PyErr_Occurred()) SWIG_fail
;
22407 wxDateSpan
* resultptr
;
22408 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22409 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22417 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22418 PyObject
*resultobj
;
22421 PyObject
* obj0
= 0 ;
22422 char *kwnames
[] = {
22423 (char *) "mon", NULL
22426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22428 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22429 if (PyErr_Occurred()) SWIG_fail
;
22432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22433 result
= wxDateSpan::Months(arg1
);
22435 wxPyEndAllowThreads(__tstate
);
22436 if (PyErr_Occurred()) SWIG_fail
;
22439 wxDateSpan
* resultptr
;
22440 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22441 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22449 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22450 PyObject
*resultobj
;
22452 char *kwnames
[] = {
22456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22459 result
= wxDateSpan::Month();
22461 wxPyEndAllowThreads(__tstate
);
22462 if (PyErr_Occurred()) SWIG_fail
;
22465 wxDateSpan
* resultptr
;
22466 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22467 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22475 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22476 PyObject
*resultobj
;
22479 PyObject
* obj0
= 0 ;
22480 char *kwnames
[] = {
22481 (char *) "years", NULL
22484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22486 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22487 if (PyErr_Occurred()) SWIG_fail
;
22490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22491 result
= wxDateSpan::Years(arg1
);
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22497 wxDateSpan
* resultptr
;
22498 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22499 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22507 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22508 PyObject
*resultobj
;
22510 char *kwnames
[] = {
22514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22517 result
= wxDateSpan::Year();
22519 wxPyEndAllowThreads(__tstate
);
22520 if (PyErr_Occurred()) SWIG_fail
;
22523 wxDateSpan
* resultptr
;
22524 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22525 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22533 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22534 PyObject
*resultobj
;
22535 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22537 wxDateSpan
*result
;
22538 PyObject
* obj0
= 0 ;
22539 PyObject
* obj1
= 0 ;
22540 char *kwnames
[] = {
22541 (char *) "self",(char *) "n", NULL
22544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22547 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22553 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22554 result
= (wxDateSpan
*) &_result_ref
;
22557 wxPyEndAllowThreads(__tstate
);
22558 if (PyErr_Occurred()) SWIG_fail
;
22560 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22567 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22568 PyObject
*resultobj
;
22569 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22571 wxDateSpan
*result
;
22572 PyObject
* obj0
= 0 ;
22573 PyObject
* obj1
= 0 ;
22574 char *kwnames
[] = {
22575 (char *) "self",(char *) "n", NULL
22578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22581 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22588 result
= (wxDateSpan
*) &_result_ref
;
22591 wxPyEndAllowThreads(__tstate
);
22592 if (PyErr_Occurred()) SWIG_fail
;
22594 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22601 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22602 PyObject
*resultobj
;
22603 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22605 wxDateSpan
*result
;
22606 PyObject
* obj0
= 0 ;
22607 PyObject
* obj1
= 0 ;
22608 char *kwnames
[] = {
22609 (char *) "self",(char *) "n", NULL
22612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22615 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22616 if (PyErr_Occurred()) SWIG_fail
;
22619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22622 result
= (wxDateSpan
*) &_result_ref
;
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22628 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22635 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22636 PyObject
*resultobj
;
22637 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22639 wxDateSpan
*result
;
22640 PyObject
* obj0
= 0 ;
22641 PyObject
* obj1
= 0 ;
22642 char *kwnames
[] = {
22643 (char *) "self",(char *) "n", NULL
22646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
22647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22649 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22655 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
22656 result
= (wxDateSpan
*) &_result_ref
;
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22662 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22669 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22670 PyObject
*resultobj
;
22671 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22673 PyObject
* obj0
= 0 ;
22674 char *kwnames
[] = {
22675 (char *) "self", NULL
22678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
22679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22687 resultobj
= SWIG_PyObj_FromInt((int)result
);
22694 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22695 PyObject
*resultobj
;
22696 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22698 PyObject
* obj0
= 0 ;
22699 char *kwnames
[] = {
22700 (char *) "self", NULL
22703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
22704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22712 resultobj
= SWIG_PyObj_FromInt((int)result
);
22719 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22720 PyObject
*resultobj
;
22721 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22723 PyObject
* obj0
= 0 ;
22724 char *kwnames
[] = {
22725 (char *) "self", NULL
22728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 resultobj
= SWIG_PyObj_FromInt((int)result
);
22744 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22745 PyObject
*resultobj
;
22746 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22748 PyObject
* obj0
= 0 ;
22749 char *kwnames
[] = {
22750 (char *) "self", NULL
22753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
22759 wxPyEndAllowThreads(__tstate
);
22760 if (PyErr_Occurred()) SWIG_fail
;
22762 resultobj
= SWIG_PyObj_FromInt((int)result
);
22769 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22770 PyObject
*resultobj
;
22771 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22773 PyObject
* obj0
= 0 ;
22774 char *kwnames
[] = {
22775 (char *) "self", NULL
22778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
22779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22787 resultobj
= SWIG_PyObj_FromInt((int)result
);
22794 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22796 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22797 wxDateSpan
*arg2
= 0 ;
22798 wxDateSpan
*result
;
22799 PyObject
* obj0
= 0 ;
22800 PyObject
* obj1
= 0 ;
22801 char *kwnames
[] = {
22802 (char *) "self",(char *) "other", NULL
22805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22807 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22808 if (arg2
== NULL
) {
22809 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22815 result
= (wxDateSpan
*) &_result_ref
;
22818 wxPyEndAllowThreads(__tstate
);
22819 if (PyErr_Occurred()) SWIG_fail
;
22821 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22828 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22829 PyObject
*resultobj
;
22830 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22831 wxDateSpan
*arg2
= 0 ;
22832 wxDateSpan
*result
;
22833 PyObject
* obj0
= 0 ;
22834 PyObject
* obj1
= 0 ;
22835 char *kwnames
[] = {
22836 (char *) "self",(char *) "other", NULL
22839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22841 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22842 if (arg2
== NULL
) {
22843 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22848 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22849 result
= (wxDateSpan
*) &_result_ref
;
22852 wxPyEndAllowThreads(__tstate
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22855 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22862 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22863 PyObject
*resultobj
;
22864 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22865 wxDateSpan
*result
;
22866 PyObject
* obj0
= 0 ;
22867 char *kwnames
[] = {
22868 (char *) "self", NULL
22871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
22872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22876 wxDateSpan
&_result_ref
= (arg1
)->Neg();
22877 result
= (wxDateSpan
*) &_result_ref
;
22880 wxPyEndAllowThreads(__tstate
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22883 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22890 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22891 PyObject
*resultobj
;
22892 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22894 wxDateSpan
*result
;
22895 PyObject
* obj0
= 0 ;
22896 PyObject
* obj1
= 0 ;
22897 char *kwnames
[] = {
22898 (char *) "self",(char *) "factor", NULL
22901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22904 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22911 result
= (wxDateSpan
*) &_result_ref
;
22914 wxPyEndAllowThreads(__tstate
);
22915 if (PyErr_Occurred()) SWIG_fail
;
22917 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22924 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22925 PyObject
*resultobj
;
22926 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22927 wxDateSpan
*arg2
= 0 ;
22928 wxDateSpan
*result
;
22929 PyObject
* obj0
= 0 ;
22930 PyObject
* obj1
= 0 ;
22931 char *kwnames
[] = {
22932 (char *) "self",(char *) "other", NULL
22935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22937 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22938 if (arg2
== NULL
) {
22939 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22944 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22945 result
= (wxDateSpan
*) &_result_ref
;
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22951 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22958 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22959 PyObject
*resultobj
;
22960 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22961 wxDateSpan
*arg2
= 0 ;
22962 wxDateSpan
*result
;
22963 PyObject
* obj0
= 0 ;
22964 PyObject
* obj1
= 0 ;
22965 char *kwnames
[] = {
22966 (char *) "self",(char *) "other", NULL
22969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22971 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22972 if (arg2
== NULL
) {
22973 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22978 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22979 result
= (wxDateSpan
*) &_result_ref
;
22982 wxPyEndAllowThreads(__tstate
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22985 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22992 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22993 PyObject
*resultobj
;
22994 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22995 wxDateSpan
*result
;
22996 PyObject
* obj0
= 0 ;
22997 char *kwnames
[] = {
22998 (char *) "self", NULL
23001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23007 result
= (wxDateSpan
*) &_result_ref
;
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23013 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
23020 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23021 PyObject
*resultobj
;
23022 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23024 wxDateSpan
*result
;
23025 PyObject
* obj0
= 0 ;
23026 PyObject
* obj1
= 0 ;
23027 char *kwnames
[] = {
23028 (char *) "self",(char *) "factor", NULL
23031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23034 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23040 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23041 result
= (wxDateSpan
*) &_result_ref
;
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
23054 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23055 PyObject
*resultobj
;
23056 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23057 wxDateSpan
*arg2
= 0 ;
23059 PyObject
* obj0
= 0 ;
23060 PyObject
* obj1
= 0 ;
23061 char *kwnames
[] = {
23062 (char *) "self",(char *) "other", NULL
23065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23067 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23068 if (arg2
== NULL
) {
23069 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23073 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23075 wxPyEndAllowThreads(__tstate
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23079 wxDateSpan
* resultptr
;
23080 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23081 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
23089 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23090 PyObject
*resultobj
;
23091 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23092 wxDateSpan
*arg2
= 0 ;
23094 PyObject
* obj0
= 0 ;
23095 PyObject
* obj1
= 0 ;
23096 char *kwnames
[] = {
23097 (char *) "self",(char *) "other", NULL
23100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23102 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23103 if (arg2
== NULL
) {
23104 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23110 wxPyEndAllowThreads(__tstate
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23114 wxDateSpan
* resultptr
;
23115 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23116 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
23124 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23125 PyObject
*resultobj
;
23126 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23129 PyObject
* obj0
= 0 ;
23130 PyObject
* obj1
= 0 ;
23131 char *kwnames
[] = {
23132 (char *) "self",(char *) "n", NULL
23135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23138 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23143 result
= wxDateSpan___mul__(arg1
,arg2
);
23145 wxPyEndAllowThreads(__tstate
);
23146 if (PyErr_Occurred()) SWIG_fail
;
23149 wxDateSpan
* resultptr
;
23150 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23151 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
23159 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23160 PyObject
*resultobj
;
23161 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23164 PyObject
* obj0
= 0 ;
23165 PyObject
* obj1
= 0 ;
23166 char *kwnames
[] = {
23167 (char *) "self",(char *) "n", NULL
23170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23173 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23174 if (PyErr_Occurred()) SWIG_fail
;
23177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23178 result
= wxDateSpan___rmul__(arg1
,arg2
);
23180 wxPyEndAllowThreads(__tstate
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23184 wxDateSpan
* resultptr
;
23185 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23186 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
23194 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23195 PyObject
*resultobj
;
23196 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23197 wxDateSpan
*arg2
= 0 ;
23199 PyObject
* obj0
= 0 ;
23200 PyObject
* obj1
= 0 ;
23201 char *kwnames
[] = {
23202 (char *) "self",(char *) "other", NULL
23205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23207 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23208 if (arg2
== NULL
) {
23209 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23213 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const &)*arg2
);
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23225 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23226 PyObject
*resultobj
;
23227 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23228 wxDateSpan
*arg2
= 0 ;
23230 PyObject
* obj0
= 0 ;
23231 PyObject
* obj1
= 0 ;
23232 char *kwnames
[] = {
23233 (char *) "self",(char *) "other", NULL
23236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23238 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23239 if (arg2
== NULL
) {
23240 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const &)*arg2
);
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23256 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23259 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23261 return Py_BuildValue((char *)"");
23263 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23264 PyObject
*resultobj
;
23266 char *kwnames
[] = {
23270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 result
= (long)wxGetLocalTime();
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23278 resultobj
= SWIG_PyObj_FromLong((long)result
);
23285 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
;
23288 char *kwnames
[] = {
23292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 result
= (long)wxGetUTCTime();
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23300 resultobj
= SWIG_PyObj_FromLong((long)result
);
23307 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23308 PyObject
*resultobj
;
23310 char *kwnames
[] = {
23314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23317 result
= (long)wxGetCurrentTime();
23319 wxPyEndAllowThreads(__tstate
);
23320 if (PyErr_Occurred()) SWIG_fail
;
23322 resultobj
= SWIG_PyObj_FromLong((long)result
);
23329 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23330 PyObject
*resultobj
;
23332 char *kwnames
[] = {
23336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23339 result
= wxGetLocalTimeMillis();
23341 wxPyEndAllowThreads(__tstate
);
23342 if (PyErr_Occurred()) SWIG_fail
;
23345 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23346 hi
= PyLong_FromLong( (&result
)->GetHi() );
23347 lo
= PyLong_FromLong( (&result
)->GetLo() );
23348 shifter
= PyLong_FromLong(32);
23349 shifted
= PyNumber_Lshift(hi
, shifter
);
23350 resultobj
= PyNumber_Or(shifted
, lo
);
23353 Py_DECREF(shifter
);
23354 Py_DECREF(shifted
);
23362 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23363 PyObject
*resultobj
;
23365 wxDataFormat
*result
;
23366 PyObject
* obj0
= 0 ;
23367 char *kwnames
[] = {
23368 (char *) "type", NULL
23371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23373 arg1
= (wxDataFormatId
) SWIG_PyObj_AsInt(obj0
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23378 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23380 wxPyEndAllowThreads(__tstate
);
23381 if (PyErr_Occurred()) SWIG_fail
;
23383 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
23390 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23391 PyObject
*resultobj
;
23392 wxString
*arg1
= 0 ;
23393 wxDataFormat
*result
;
23394 bool temp1
= False
;
23395 PyObject
* obj0
= 0 ;
23396 char *kwnames
[] = {
23397 (char *) "format", NULL
23400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23402 arg1
= wxString_in_helper(obj0
);
23403 if (arg1
== NULL
) SWIG_fail
;
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23413 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
23428 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23429 PyObject
*resultobj
;
23430 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23431 PyObject
* obj0
= 0 ;
23432 char *kwnames
[] = {
23433 (char *) "self", NULL
23436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 wxPyEndAllowThreads(__tstate
);
23443 if (PyErr_Occurred()) SWIG_fail
;
23445 Py_INCREF(Py_None
); resultobj
= Py_None
;
23452 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23453 PyObject
*resultobj
;
23454 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23457 PyObject
* obj0
= 0 ;
23458 PyObject
* obj1
= 0 ;
23460 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23463 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23464 if (PyErr_Occurred()) SWIG_fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23480 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23481 PyObject
*resultobj
;
23482 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23485 PyObject
* obj0
= 0 ;
23486 PyObject
* obj1
= 0 ;
23488 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23491 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23508 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23509 PyObject
*resultobj
;
23510 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23511 wxDataFormat
*arg2
= 0 ;
23513 PyObject
* obj0
= 0 ;
23514 PyObject
* obj1
= 0 ;
23516 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23518 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23519 if (arg2
== NULL
) {
23520 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23536 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23541 argc
= PyObject_Length(args
);
23542 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23543 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23549 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23559 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23567 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23575 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23584 SWIG_PyObj_AsInt(argv
[1]);
23585 if (PyErr_Occurred()) {
23593 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
23598 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
23603 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
23604 PyObject
*resultobj
;
23605 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23606 wxDataFormat
*arg2
= 0 ;
23608 PyObject
* obj0
= 0 ;
23609 PyObject
* obj1
= 0 ;
23611 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23613 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23614 if (arg2
== NULL
) {
23615 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23619 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
23621 wxPyEndAllowThreads(__tstate
);
23622 if (PyErr_Occurred()) SWIG_fail
;
23624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23631 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
23636 argc
= PyObject_Length(args
);
23637 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23638 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23644 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23654 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23662 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
23670 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23679 SWIG_PyObj_AsInt(argv
[1]);
23680 if (PyErr_Occurred()) {
23688 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
23693 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
23698 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23699 PyObject
*resultobj
;
23700 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23702 PyObject
* obj0
= 0 ;
23703 PyObject
* obj1
= 0 ;
23704 char *kwnames
[] = {
23705 (char *) "self",(char *) "format", NULL
23708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
23709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23711 arg2
= (wxDataFormatId
) SWIG_PyObj_AsInt(obj1
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 (arg1
)->SetType((wxDataFormatId
)arg2
);
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 Py_INCREF(Py_None
); resultobj
= Py_None
;
23728 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23729 PyObject
*resultobj
;
23730 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23732 PyObject
* obj0
= 0 ;
23733 char *kwnames
[] = {
23734 (char *) "self", NULL
23737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
23738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23746 resultobj
= SWIG_PyObj_FromInt((int)result
);
23753 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
;
23755 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23757 PyObject
* obj0
= 0 ;
23758 char *kwnames
[] = {
23759 (char *) "self", NULL
23762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
23763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23766 result
= ((wxDataFormat
const *)arg1
)->GetId();
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23773 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23775 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23784 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
;
23786 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23787 wxString
*arg2
= 0 ;
23788 bool temp2
= False
;
23789 PyObject
* obj0
= 0 ;
23790 PyObject
* obj1
= 0 ;
23791 char *kwnames
[] = {
23792 (char *) "self",(char *) "format", NULL
23795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23798 arg2
= wxString_in_helper(obj1
);
23799 if (arg2
== NULL
) SWIG_fail
;
23803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23804 (arg1
)->SetId((wxString
const &)*arg2
);
23806 wxPyEndAllowThreads(__tstate
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23809 Py_INCREF(Py_None
); resultobj
= Py_None
;
23824 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
23826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23827 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
23829 return Py_BuildValue((char *)"");
23831 static int _wrap_FormatInvalid_set(PyObject
*) {
23832 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
23837 static PyObject
*_wrap_FormatInvalid_get() {
23840 pyobj
= SWIG_NewPointerObj((void *) &wxFormatInvalid
, SWIGTYPE_p_wxDataFormat
, 0);
23845 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23846 PyObject
*resultobj
;
23847 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23848 PyObject
* obj0
= 0 ;
23849 char *kwnames
[] = {
23850 (char *) "self", NULL
23853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
23854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23859 wxPyEndAllowThreads(__tstate
);
23860 if (PyErr_Occurred()) SWIG_fail
;
23862 Py_INCREF(Py_None
); resultobj
= Py_None
;
23869 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23870 PyObject
*resultobj
;
23871 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23872 int arg2
= (int) wxDataObject::Get
;
23873 SwigValueWrapper
< wxDataFormat
> result
;
23874 PyObject
* obj0
= 0 ;
23875 PyObject
* obj1
= 0 ;
23876 char *kwnames
[] = {
23877 (char *) "self",(char *) "dir", NULL
23880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
23881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23884 arg2
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj1
);
23885 if (PyErr_Occurred()) SWIG_fail
;
23889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23890 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
23892 wxPyEndAllowThreads(__tstate
);
23893 if (PyErr_Occurred()) SWIG_fail
;
23896 wxDataFormat
* resultptr
;
23897 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
23898 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDataFormat
, 1);
23906 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
;
23908 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23909 int arg2
= (int) wxDataObject::Get
;
23911 PyObject
* obj0
= 0 ;
23912 PyObject
* obj1
= 0 ;
23913 char *kwnames
[] = {
23914 (char *) "self",(char *) "dir", NULL
23917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23921 arg2
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj1
);
23922 if (PyErr_Occurred()) SWIG_fail
;
23926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23927 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
23929 wxPyEndAllowThreads(__tstate
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23932 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
23939 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23940 PyObject
*resultobj
;
23941 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23942 wxDataFormat
*arg2
= 0 ;
23943 int arg3
= (int) wxDataObject::Get
;
23945 PyObject
* obj0
= 0 ;
23946 PyObject
* obj1
= 0 ;
23947 PyObject
* obj2
= 0 ;
23948 char *kwnames
[] = {
23949 (char *) "self",(char *) "format",(char *) "dir", NULL
23952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23954 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23955 if (arg2
== NULL
) {
23956 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23960 arg3
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj2
);
23961 if (PyErr_Occurred()) SWIG_fail
;
23965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23966 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
23968 wxPyEndAllowThreads(__tstate
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23978 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23979 PyObject
*resultobj
;
23980 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23981 wxDataFormat
*arg2
= 0 ;
23983 PyObject
* obj0
= 0 ;
23984 PyObject
* obj1
= 0 ;
23985 char *kwnames
[] = {
23986 (char *) "self",(char *) "format", NULL
23989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23991 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23992 if (arg2
== NULL
) {
23993 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23997 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
23999 wxPyEndAllowThreads(__tstate
);
24000 if (PyErr_Occurred()) SWIG_fail
;
24002 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24009 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24010 PyObject
*resultobj
;
24011 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24012 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24013 int arg3
= (int) wxDataObject::Get
;
24014 PyObject
* obj0
= 0 ;
24015 PyObject
* obj1
= 0 ;
24016 PyObject
* obj2
= 0 ;
24017 char *kwnames
[] = {
24018 (char *) "self",(char *) "formats",(char *) "dir", NULL
24021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24023 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24026 arg3
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj2
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24032 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24037 Py_INCREF(Py_None
); resultobj
= Py_None
;
24044 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24045 PyObject
*resultobj
;
24046 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24047 wxDataFormat
*arg2
= 0 ;
24048 void *arg3
= (void *) 0 ;
24050 PyObject
* obj0
= 0 ;
24051 PyObject
* obj1
= 0 ;
24052 PyObject
* obj2
= 0 ;
24053 char *kwnames
[] = {
24054 (char *) "self",(char *) "format",(char *) "buf", NULL
24057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24059 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24060 if (arg2
== NULL
) {
24061 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24063 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24066 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24068 wxPyEndAllowThreads(__tstate
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24078 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24079 PyObject
*resultobj
;
24080 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24081 wxDataFormat
*arg2
= 0 ;
24083 void *arg4
= (void *) 0 ;
24085 PyObject
* obj0
= 0 ;
24086 PyObject
* obj1
= 0 ;
24087 PyObject
* obj2
= 0 ;
24088 PyObject
* obj3
= 0 ;
24089 char *kwnames
[] = {
24090 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24095 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24096 if (arg2
== NULL
) {
24097 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24100 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
24101 if (PyErr_Occurred()) SWIG_fail
;
24103 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24108 wxPyEndAllowThreads(__tstate
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24118 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24121 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24123 return Py_BuildValue((char *)"");
24125 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24126 PyObject
*resultobj
;
24127 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24128 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24129 wxDataObjectSimple
*result
;
24130 PyObject
* obj0
= 0 ;
24131 char *kwnames
[] = {
24132 (char *) "format", NULL
24135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24138 if (arg1
== NULL
) {
24139 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24144 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24149 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectSimple
, 1);
24156 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24157 PyObject
*resultobj
;
24158 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24159 wxDataFormat
*result
;
24160 PyObject
* obj0
= 0 ;
24161 char *kwnames
[] = {
24162 (char *) "self", NULL
24165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24170 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24171 result
= (wxDataFormat
*) &_result_ref
;
24174 wxPyEndAllowThreads(__tstate
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24177 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 0);
24184 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24185 PyObject
*resultobj
;
24186 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24187 wxDataFormat
*arg2
= 0 ;
24188 PyObject
* obj0
= 0 ;
24189 PyObject
* obj1
= 0 ;
24190 char *kwnames
[] = {
24191 (char *) "self",(char *) "format", NULL
24194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24196 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24197 if (arg2
== NULL
) {
24198 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24202 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24204 wxPyEndAllowThreads(__tstate
);
24205 if (PyErr_Occurred()) SWIG_fail
;
24207 Py_INCREF(Py_None
); resultobj
= Py_None
;
24214 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24217 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24219 return Py_BuildValue((char *)"");
24221 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24222 PyObject
*resultobj
;
24223 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24224 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24225 wxPyDataObjectSimple
*result
;
24226 PyObject
* obj0
= 0 ;
24227 char *kwnames
[] = {
24228 (char *) "format", NULL
24231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24234 if (arg1
== NULL
) {
24235 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24240 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24242 wxPyEndAllowThreads(__tstate
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24245 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24252 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
;
24254 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24255 PyObject
*arg2
= (PyObject
*) 0 ;
24256 PyObject
*arg3
= (PyObject
*) 0 ;
24257 PyObject
* obj0
= 0 ;
24258 PyObject
* obj1
= 0 ;
24259 PyObject
* obj2
= 0 ;
24260 char *kwnames
[] = {
24261 (char *) "self",(char *) "self",(char *) "_class", NULL
24264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24270 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24272 wxPyEndAllowThreads(__tstate
);
24273 if (PyErr_Occurred()) SWIG_fail
;
24275 Py_INCREF(Py_None
); resultobj
= Py_None
;
24282 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24285 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24287 return Py_BuildValue((char *)"");
24289 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24290 PyObject
*resultobj
;
24291 wxDataObjectComposite
*result
;
24292 char *kwnames
[] = {
24296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24304 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectComposite
, 1);
24311 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24312 PyObject
*resultobj
;
24313 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24314 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24315 int arg3
= (int) False
;
24316 PyObject
* obj0
= 0 ;
24317 PyObject
* obj1
= 0 ;
24318 PyObject
* obj2
= 0 ;
24319 char *kwnames
[] = {
24320 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectComposite
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24325 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24328 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24334 (arg1
)->Add(arg2
,arg3
);
24336 wxPyEndAllowThreads(__tstate
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24339 Py_INCREF(Py_None
); resultobj
= Py_None
;
24346 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24349 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24351 return Py_BuildValue((char *)"");
24353 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24354 PyObject
*resultobj
;
24355 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24356 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24357 wxTextDataObject
*result
;
24358 bool temp1
= False
;
24359 PyObject
* obj0
= 0 ;
24360 char *kwnames
[] = {
24361 (char *) "text", NULL
24364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24367 arg1
= wxString_in_helper(obj0
);
24368 if (arg1
== NULL
) SWIG_fail
;
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24374 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24379 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextDataObject
, 1);
24394 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24395 PyObject
*resultobj
;
24396 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24398 PyObject
* obj0
= 0 ;
24399 char *kwnames
[] = {
24400 (char *) "self", NULL
24403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24407 result
= (size_t)(arg1
)->GetTextLength();
24409 wxPyEndAllowThreads(__tstate
);
24410 if (PyErr_Occurred()) SWIG_fail
;
24412 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24419 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24420 PyObject
*resultobj
;
24421 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24423 PyObject
* obj0
= 0 ;
24424 char *kwnames
[] = {
24425 (char *) "self", NULL
24428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24432 result
= (arg1
)->GetText();
24434 wxPyEndAllowThreads(__tstate
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24450 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24451 PyObject
*resultobj
;
24452 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24453 wxString
*arg2
= 0 ;
24454 bool temp2
= False
;
24455 PyObject
* obj0
= 0 ;
24456 PyObject
* obj1
= 0 ;
24457 char *kwnames
[] = {
24458 (char *) "self",(char *) "text", NULL
24461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24464 arg2
= wxString_in_helper(obj1
);
24465 if (arg2
== NULL
) SWIG_fail
;
24469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24470 (arg1
)->SetText((wxString
const &)*arg2
);
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24475 Py_INCREF(Py_None
); resultobj
= Py_None
;
24490 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24493 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24495 return Py_BuildValue((char *)"");
24497 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24498 PyObject
*resultobj
;
24499 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24500 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24501 wxPyTextDataObject
*result
;
24502 bool temp1
= False
;
24503 PyObject
* obj0
= 0 ;
24504 char *kwnames
[] = {
24505 (char *) "text", NULL
24508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24511 arg1
= wxString_in_helper(obj0
);
24512 if (arg1
== NULL
) SWIG_fail
;
24517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24518 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24523 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDataObject
, 1);
24538 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24539 PyObject
*resultobj
;
24540 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24541 PyObject
*arg2
= (PyObject
*) 0 ;
24542 PyObject
*arg3
= (PyObject
*) 0 ;
24543 PyObject
* obj0
= 0 ;
24544 PyObject
* obj1
= 0 ;
24545 PyObject
* obj2
= 0 ;
24546 char *kwnames
[] = {
24547 (char *) "self",(char *) "self",(char *) "_class", NULL
24550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24556 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24558 wxPyEndAllowThreads(__tstate
);
24559 if (PyErr_Occurred()) SWIG_fail
;
24561 Py_INCREF(Py_None
); resultobj
= Py_None
;
24568 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24571 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
24573 return Py_BuildValue((char *)"");
24575 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
;
24577 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24578 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24579 wxBitmapDataObject
*result
;
24580 PyObject
* obj0
= 0 ;
24581 char *kwnames
[] = {
24582 (char *) "bitmap", NULL
24585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
24587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24588 if (arg1
== NULL
) {
24589 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24594 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmapDataObject
, 1);
24606 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24607 PyObject
*resultobj
;
24608 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24610 PyObject
* obj0
= 0 ;
24611 char *kwnames
[] = {
24612 (char *) "self", NULL
24615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
24616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24619 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
24621 wxPyEndAllowThreads(__tstate
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24625 wxBitmap
* resultptr
;
24626 resultptr
= new wxBitmap((wxBitmap
&) result
);
24627 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
24635 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24636 PyObject
*resultobj
;
24637 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24638 wxBitmap
*arg2
= 0 ;
24639 PyObject
* obj0
= 0 ;
24640 PyObject
* obj1
= 0 ;
24641 char *kwnames
[] = {
24642 (char *) "self",(char *) "bitmap", NULL
24645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
24646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24647 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24648 if (arg2
== NULL
) {
24649 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24653 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
24655 wxPyEndAllowThreads(__tstate
);
24656 if (PyErr_Occurred()) SWIG_fail
;
24658 Py_INCREF(Py_None
); resultobj
= Py_None
;
24665 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24668 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
24670 return Py_BuildValue((char *)"");
24672 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24673 PyObject
*resultobj
;
24674 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24675 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24676 wxPyBitmapDataObject
*result
;
24677 PyObject
* obj0
= 0 ;
24678 char *kwnames
[] = {
24679 (char *) "bitmap", NULL
24682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
24684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24685 if (arg1
== NULL
) {
24686 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24696 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyBitmapDataObject
, 1);
24703 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24704 PyObject
*resultobj
;
24705 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
24706 PyObject
*arg2
= (PyObject
*) 0 ;
24707 PyObject
*arg3
= (PyObject
*) 0 ;
24708 PyObject
* obj0
= 0 ;
24709 PyObject
* obj1
= 0 ;
24710 PyObject
* obj2
= 0 ;
24711 char *kwnames
[] = {
24712 (char *) "self",(char *) "self",(char *) "_class", NULL
24715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24721 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24726 Py_INCREF(Py_None
); resultobj
= Py_None
;
24733 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24736 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
24738 return Py_BuildValue((char *)"");
24740 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24741 PyObject
*resultobj
;
24742 wxFileDataObject
*result
;
24743 char *kwnames
[] = {
24747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24750 result
= (wxFileDataObject
*)new wxFileDataObject();
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24755 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDataObject
, 1);
24762 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24763 PyObject
*resultobj
;
24764 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
24765 wxArrayString
*result
;
24766 PyObject
* obj0
= 0 ;
24767 char *kwnames
[] = {
24768 (char *) "self", NULL
24771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
24772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24776 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
24777 result
= (wxArrayString
*) &_result_ref
;
24780 wxPyEndAllowThreads(__tstate
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24784 resultobj
= wxArrayString2PyList_helper(*result
);
24792 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24795 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
24797 return Py_BuildValue((char *)"");
24799 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24800 PyObject
*resultobj
;
24801 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24802 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24803 wxCustomDataObject
*result
;
24804 PyObject
* obj0
= 0 ;
24805 char *kwnames
[] = {
24806 (char *) "format", NULL
24809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
24811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24812 if (arg1
== NULL
) {
24813 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24818 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24823 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCustomDataObject
, 1);
24830 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
;
24832 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24833 PyObject
*arg2
= (PyObject
*) 0 ;
24834 PyObject
* obj0
= 0 ;
24835 PyObject
* obj1
= 0 ;
24836 char *kwnames
[] = {
24837 (char *) "self",(char *) "data", NULL
24840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
24841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24845 wxCustomDataObject_TakeData(arg1
,arg2
);
24847 wxPyEndAllowThreads(__tstate
);
24848 if (PyErr_Occurred()) SWIG_fail
;
24850 Py_INCREF(Py_None
); resultobj
= Py_None
;
24857 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24858 PyObject
*resultobj
;
24859 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24860 PyObject
*arg2
= (PyObject
*) 0 ;
24862 PyObject
* obj0
= 0 ;
24863 PyObject
* obj1
= 0 ;
24864 char *kwnames
[] = {
24865 (char *) "self",(char *) "data", NULL
24868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
24875 wxPyEndAllowThreads(__tstate
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24885 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24886 PyObject
*resultobj
;
24887 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24889 PyObject
* obj0
= 0 ;
24890 char *kwnames
[] = {
24891 (char *) "self", NULL
24894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
24895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24898 result
= (size_t)(arg1
)->GetSize();
24900 wxPyEndAllowThreads(__tstate
);
24901 if (PyErr_Occurred()) SWIG_fail
;
24903 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24910 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24911 PyObject
*resultobj
;
24912 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24914 PyObject
* obj0
= 0 ;
24915 char *kwnames
[] = {
24916 (char *) "self", NULL
24919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
24920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24923 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
24925 wxPyEndAllowThreads(__tstate
);
24926 if (PyErr_Occurred()) SWIG_fail
;
24928 resultobj
= result
;
24935 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24938 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
24940 return Py_BuildValue((char *)"");
24942 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24943 PyObject
*resultobj
;
24944 wxURLDataObject
*result
;
24945 char *kwnames
[] = {
24949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
24951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24952 result
= (wxURLDataObject
*)new wxURLDataObject();
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24957 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxURLDataObject
, 1);
24964 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24965 PyObject
*resultobj
;
24966 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
24968 PyObject
* obj0
= 0 ;
24969 char *kwnames
[] = {
24970 (char *) "self", NULL
24973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
24974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24977 result
= (arg1
)->GetURL();
24979 wxPyEndAllowThreads(__tstate
);
24980 if (PyErr_Occurred()) SWIG_fail
;
24984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24995 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24996 PyObject
*resultobj
;
24997 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
24998 wxString
*arg2
= 0 ;
24999 bool temp2
= False
;
25000 PyObject
* obj0
= 0 ;
25001 PyObject
* obj1
= 0 ;
25002 char *kwnames
[] = {
25003 (char *) "self",(char *) "url", NULL
25006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25009 arg2
= wxString_in_helper(obj1
);
25010 if (arg2
== NULL
) SWIG_fail
;
25014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25015 (arg1
)->SetURL((wxString
const &)*arg2
);
25017 wxPyEndAllowThreads(__tstate
);
25018 if (PyErr_Occurred()) SWIG_fail
;
25020 Py_INCREF(Py_None
); resultobj
= Py_None
;
25035 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25038 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25040 return Py_BuildValue((char *)"");
25042 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25043 PyObject
*resultobj
;
25044 wxMetafileDataObject
*result
;
25045 char *kwnames
[] = {
25049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25057 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetafileDataObject
, 1);
25064 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25065 PyObject
*resultobj
;
25066 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25067 wxMetafile
*arg2
= 0 ;
25068 PyObject
* obj0
= 0 ;
25069 PyObject
* obj1
= 0 ;
25070 char *kwnames
[] = {
25071 (char *) "self",(char *) "metafile", NULL
25074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetafileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25076 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMetafile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25077 if (arg2
== NULL
) {
25078 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25082 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25084 wxPyEndAllowThreads(__tstate
);
25085 if (PyErr_Occurred()) SWIG_fail
;
25087 Py_INCREF(Py_None
); resultobj
= Py_None
;
25094 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25095 PyObject
*resultobj
;
25096 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25098 PyObject
* obj0
= 0 ;
25099 char *kwnames
[] = {
25100 (char *) "self", NULL
25103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetafileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25107 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25109 wxPyEndAllowThreads(__tstate
);
25110 if (PyErr_Occurred()) SWIG_fail
;
25113 wxMetafile
* resultptr
;
25114 resultptr
= new wxMetafile((wxMetafile
&) result
);
25115 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxMetafile
, 1);
25123 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25126 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25128 return Py_BuildValue((char *)"");
25130 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25131 PyObject
*resultobj
;
25134 PyObject
* obj0
= 0 ;
25135 char *kwnames
[] = {
25136 (char *) "res", NULL
25139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25141 arg1
= (wxDragResult
) SWIG_PyObj_AsInt(obj0
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25146 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25148 wxPyEndAllowThreads(__tstate
);
25149 if (PyErr_Occurred()) SWIG_fail
;
25151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25158 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25159 PyObject
*resultobj
;
25160 wxWindow
*arg1
= (wxWindow
*) 0 ;
25161 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25162 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25163 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25164 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25165 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25166 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25167 wxPyDropSource
*result
;
25168 PyObject
* obj0
= 0 ;
25169 PyObject
* obj1
= 0 ;
25170 PyObject
* obj2
= 0 ;
25171 PyObject
* obj3
= 0 ;
25172 char *kwnames
[] = {
25173 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25179 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25180 if (arg2
== NULL
) {
25181 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25185 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25186 if (arg3
== NULL
) {
25187 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25191 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25192 if (arg4
== NULL
) {
25193 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25198 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25200 wxPyEndAllowThreads(__tstate
);
25201 if (PyErr_Occurred()) SWIG_fail
;
25203 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropSource
, 1);
25210 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25211 PyObject
*resultobj
;
25212 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25213 PyObject
*arg2
= (PyObject
*) 0 ;
25214 PyObject
*arg3
= (PyObject
*) 0 ;
25216 PyObject
* obj0
= 0 ;
25217 PyObject
* obj1
= 0 ;
25218 PyObject
* obj2
= 0 ;
25219 PyObject
* obj3
= 0 ;
25220 char *kwnames
[] = {
25221 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25229 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25234 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25236 wxPyEndAllowThreads(__tstate
);
25237 if (PyErr_Occurred()) SWIG_fail
;
25239 Py_INCREF(Py_None
); resultobj
= Py_None
;
25246 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25247 PyObject
*resultobj
;
25248 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25249 PyObject
* obj0
= 0 ;
25250 char *kwnames
[] = {
25251 (char *) "self", NULL
25254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25263 Py_INCREF(Py_None
); resultobj
= Py_None
;
25270 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25271 PyObject
*resultobj
;
25272 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25273 wxDataObject
*arg2
= 0 ;
25274 PyObject
* obj0
= 0 ;
25275 PyObject
* obj1
= 0 ;
25276 char *kwnames
[] = {
25277 (char *) "self",(char *) "data", NULL
25280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25282 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25283 if (arg2
== NULL
) {
25284 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25288 (arg1
)->SetData(*arg2
);
25290 wxPyEndAllowThreads(__tstate
);
25291 if (PyErr_Occurred()) SWIG_fail
;
25293 Py_INCREF(Py_None
); resultobj
= Py_None
;
25300 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25301 PyObject
*resultobj
;
25302 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25303 wxDataObject
*result
;
25304 PyObject
* obj0
= 0 ;
25305 char *kwnames
[] = {
25306 (char *) "self", NULL
25309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25313 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25315 wxPyEndAllowThreads(__tstate
);
25316 if (PyErr_Occurred()) SWIG_fail
;
25318 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
25325 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25326 PyObject
*resultobj
;
25327 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25329 wxCursor
*arg3
= 0 ;
25330 PyObject
* obj0
= 0 ;
25331 PyObject
* obj1
= 0 ;
25332 PyObject
* obj2
= 0 ;
25333 char *kwnames
[] = {
25334 (char *) "self",(char *) "res",(char *) "cursor", NULL
25337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25340 arg2
= (wxDragResult
) SWIG_PyObj_AsInt(obj1
);
25341 if (PyErr_Occurred()) SWIG_fail
;
25343 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25344 if (arg3
== NULL
) {
25345 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25349 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25351 wxPyEndAllowThreads(__tstate
);
25352 if (PyErr_Occurred()) SWIG_fail
;
25354 Py_INCREF(Py_None
); resultobj
= Py_None
;
25361 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25362 PyObject
*resultobj
;
25363 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25364 int arg2
= (int) wxDrag_CopyOnly
;
25366 PyObject
* obj0
= 0 ;
25367 PyObject
* obj1
= 0 ;
25368 char *kwnames
[] = {
25369 (char *) "self",(char *) "flags", NULL
25372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25376 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 result
= (int)(arg1
)->DoDragDrop(arg2
);
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25387 resultobj
= SWIG_PyObj_FromInt((int)result
);
25394 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25395 PyObject
*resultobj
;
25396 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25399 PyObject
* obj0
= 0 ;
25400 PyObject
* obj1
= 0 ;
25401 char *kwnames
[] = {
25402 (char *) "self",(char *) "effect", NULL
25405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25408 arg2
= (wxDragResult
) SWIG_PyObj_AsInt(obj1
);
25409 if (PyErr_Occurred()) SWIG_fail
;
25412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25413 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25415 wxPyEndAllowThreads(__tstate
);
25416 if (PyErr_Occurred()) SWIG_fail
;
25418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25425 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25428 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25430 return Py_BuildValue((char *)"");
25432 static PyObject
*_wrap_new_PyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25433 PyObject
*resultobj
;
25434 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25435 wxPyDropTarget
*result
;
25436 PyObject
* obj0
= 0 ;
25437 char *kwnames
[] = {
25438 (char *) "dataObject", NULL
25441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDropTarget",kwnames
,&obj0
)) goto fail
;
25443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25447 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25449 wxPyEndAllowThreads(__tstate
);
25450 if (PyErr_Occurred()) SWIG_fail
;
25452 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 1);
25459 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25460 PyObject
*resultobj
;
25461 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25462 PyObject
*arg2
= (PyObject
*) 0 ;
25463 PyObject
*arg3
= (PyObject
*) 0 ;
25464 PyObject
* obj0
= 0 ;
25465 PyObject
* obj1
= 0 ;
25466 PyObject
* obj2
= 0 ;
25467 char *kwnames
[] = {
25468 (char *) "self",(char *) "self",(char *) "_class", NULL
25471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25477 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25479 wxPyEndAllowThreads(__tstate
);
25480 if (PyErr_Occurred()) SWIG_fail
;
25482 Py_INCREF(Py_None
); resultobj
= Py_None
;
25489 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25490 PyObject
*resultobj
;
25491 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25492 PyObject
* obj0
= 0 ;
25493 char *kwnames
[] = {
25494 (char *) "self", NULL
25497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
25498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25503 wxPyEndAllowThreads(__tstate
);
25504 if (PyErr_Occurred()) SWIG_fail
;
25506 Py_INCREF(Py_None
); resultobj
= Py_None
;
25513 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25514 PyObject
*resultobj
;
25515 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25516 wxDataObject
*result
;
25517 PyObject
* obj0
= 0 ;
25518 char *kwnames
[] = {
25519 (char *) "self", NULL
25522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
25523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25526 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25528 wxPyEndAllowThreads(__tstate
);
25529 if (PyErr_Occurred()) SWIG_fail
;
25531 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
25538 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25539 PyObject
*resultobj
;
25540 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25541 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
25542 PyObject
* obj0
= 0 ;
25543 PyObject
* obj1
= 0 ;
25544 char *kwnames
[] = {
25545 (char *) "self",(char *) "dataObject", NULL
25548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
25549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25550 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25553 (arg1
)->SetDataObject(arg2
);
25555 wxPyEndAllowThreads(__tstate
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25558 Py_INCREF(Py_None
); resultobj
= Py_None
;
25565 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25566 PyObject
*resultobj
;
25567 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25572 PyObject
* obj0
= 0 ;
25573 PyObject
* obj1
= 0 ;
25574 PyObject
* obj2
= 0 ;
25575 PyObject
* obj3
= 0 ;
25576 char *kwnames
[] = {
25577 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25583 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25584 if (PyErr_Occurred()) SWIG_fail
;
25587 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25588 if (PyErr_Occurred()) SWIG_fail
;
25591 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25592 if (PyErr_Occurred()) SWIG_fail
;
25595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25596 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
25598 wxPyEndAllowThreads(__tstate
);
25599 if (PyErr_Occurred()) SWIG_fail
;
25601 resultobj
= SWIG_PyObj_FromInt((int)result
);
25608 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25609 PyObject
*resultobj
;
25610 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25615 PyObject
* obj0
= 0 ;
25616 PyObject
* obj1
= 0 ;
25617 PyObject
* obj2
= 0 ;
25618 PyObject
* obj3
= 0 ;
25619 char *kwnames
[] = {
25620 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25626 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25630 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25631 if (PyErr_Occurred()) SWIG_fail
;
25634 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25639 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
25641 wxPyEndAllowThreads(__tstate
);
25642 if (PyErr_Occurred()) SWIG_fail
;
25644 resultobj
= SWIG_PyObj_FromInt((int)result
);
25651 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25652 PyObject
*resultobj
;
25653 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25654 PyObject
* obj0
= 0 ;
25655 char *kwnames
[] = {
25656 (char *) "self", NULL
25659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
25660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25663 (arg1
)->base_OnLeave();
25665 wxPyEndAllowThreads(__tstate
);
25666 if (PyErr_Occurred()) SWIG_fail
;
25668 Py_INCREF(Py_None
); resultobj
= Py_None
;
25675 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25676 PyObject
*resultobj
;
25677 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25681 PyObject
* obj0
= 0 ;
25682 PyObject
* obj1
= 0 ;
25683 PyObject
* obj2
= 0 ;
25684 char *kwnames
[] = {
25685 (char *) "self",(char *) "x",(char *) "y", NULL
25688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25691 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25692 if (PyErr_Occurred()) SWIG_fail
;
25695 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25700 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
25702 wxPyEndAllowThreads(__tstate
);
25703 if (PyErr_Occurred()) SWIG_fail
;
25705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25712 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25713 PyObject
*resultobj
;
25714 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25716 PyObject
* obj0
= 0 ;
25717 char *kwnames
[] = {
25718 (char *) "self", NULL
25721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
25722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 result
= (bool)(arg1
)->GetData();
25727 wxPyEndAllowThreads(__tstate
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25737 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
25739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25740 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
25742 return Py_BuildValue((char *)"");
25744 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25745 PyObject
*resultobj
;
25746 wxPyTextDropTarget
*result
;
25747 char *kwnames
[] = {
25751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
25753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25754 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
25756 wxPyEndAllowThreads(__tstate
);
25757 if (PyErr_Occurred()) SWIG_fail
;
25759 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDropTarget
, 1);
25766 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25767 PyObject
*resultobj
;
25768 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25769 PyObject
*arg2
= (PyObject
*) 0 ;
25770 PyObject
*arg3
= (PyObject
*) 0 ;
25771 PyObject
* obj0
= 0 ;
25772 PyObject
* obj1
= 0 ;
25773 PyObject
* obj2
= 0 ;
25774 char *kwnames
[] = {
25775 (char *) "self",(char *) "self",(char *) "_class", NULL
25778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25784 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25786 wxPyEndAllowThreads(__tstate
);
25787 if (PyErr_Occurred()) SWIG_fail
;
25789 Py_INCREF(Py_None
); resultobj
= Py_None
;
25796 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25797 PyObject
*resultobj
;
25798 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25803 PyObject
* obj0
= 0 ;
25804 PyObject
* obj1
= 0 ;
25805 PyObject
* obj2
= 0 ;
25806 PyObject
* obj3
= 0 ;
25807 char *kwnames
[] = {
25808 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25814 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25815 if (PyErr_Occurred()) SWIG_fail
;
25818 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25822 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25827 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
25829 wxPyEndAllowThreads(__tstate
);
25830 if (PyErr_Occurred()) SWIG_fail
;
25832 resultobj
= SWIG_PyObj_FromInt((int)result
);
25839 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25840 PyObject
*resultobj
;
25841 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25846 PyObject
* obj0
= 0 ;
25847 PyObject
* obj1
= 0 ;
25848 PyObject
* obj2
= 0 ;
25849 PyObject
* obj3
= 0 ;
25850 char *kwnames
[] = {
25851 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25857 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25861 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25862 if (PyErr_Occurred()) SWIG_fail
;
25865 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25866 if (PyErr_Occurred()) SWIG_fail
;
25869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25870 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
25872 wxPyEndAllowThreads(__tstate
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25875 resultobj
= SWIG_PyObj_FromInt((int)result
);
25882 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25883 PyObject
*resultobj
;
25884 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25885 PyObject
* obj0
= 0 ;
25886 char *kwnames
[] = {
25887 (char *) "self", NULL
25890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
25891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25894 (arg1
)->base_OnLeave();
25896 wxPyEndAllowThreads(__tstate
);
25897 if (PyErr_Occurred()) SWIG_fail
;
25899 Py_INCREF(Py_None
); resultobj
= Py_None
;
25906 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25907 PyObject
*resultobj
;
25908 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25912 PyObject
* obj0
= 0 ;
25913 PyObject
* obj1
= 0 ;
25914 PyObject
* obj2
= 0 ;
25915 char *kwnames
[] = {
25916 (char *) "self",(char *) "x",(char *) "y", NULL
25919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25922 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25923 if (PyErr_Occurred()) SWIG_fail
;
25926 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25927 if (PyErr_Occurred()) SWIG_fail
;
25930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
25933 wxPyEndAllowThreads(__tstate
);
25934 if (PyErr_Occurred()) SWIG_fail
;
25936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25943 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25944 PyObject
*resultobj
;
25945 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25950 PyObject
* obj0
= 0 ;
25951 PyObject
* obj1
= 0 ;
25952 PyObject
* obj2
= 0 ;
25953 PyObject
* obj3
= 0 ;
25954 char *kwnames
[] = {
25955 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25961 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25965 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25966 if (PyErr_Occurred()) SWIG_fail
;
25969 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25970 if (PyErr_Occurred()) SWIG_fail
;
25973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25974 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
25976 wxPyEndAllowThreads(__tstate
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25979 resultobj
= SWIG_PyObj_FromInt((int)result
);
25986 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
25988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25989 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
25991 return Py_BuildValue((char *)"");
25993 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25994 PyObject
*resultobj
;
25995 wxPyFileDropTarget
*result
;
25996 char *kwnames
[] = {
26000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26003 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26005 wxPyEndAllowThreads(__tstate
);
26006 if (PyErr_Occurred()) SWIG_fail
;
26008 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileDropTarget
, 1);
26015 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26016 PyObject
*resultobj
;
26017 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26018 PyObject
*arg2
= (PyObject
*) 0 ;
26019 PyObject
*arg3
= (PyObject
*) 0 ;
26020 PyObject
* obj0
= 0 ;
26021 PyObject
* obj1
= 0 ;
26022 PyObject
* obj2
= 0 ;
26023 char *kwnames
[] = {
26024 (char *) "self",(char *) "self",(char *) "_class", NULL
26027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26035 wxPyEndAllowThreads(__tstate
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26038 Py_INCREF(Py_None
); resultobj
= Py_None
;
26045 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26046 PyObject
*resultobj
;
26047 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26052 PyObject
* obj0
= 0 ;
26053 PyObject
* obj1
= 0 ;
26054 PyObject
* obj2
= 0 ;
26055 PyObject
* obj3
= 0 ;
26056 char *kwnames
[] = {
26057 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26063 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26064 if (PyErr_Occurred()) SWIG_fail
;
26067 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26068 if (PyErr_Occurred()) SWIG_fail
;
26071 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
26072 if (PyErr_Occurred()) SWIG_fail
;
26075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26076 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26078 wxPyEndAllowThreads(__tstate
);
26079 if (PyErr_Occurred()) SWIG_fail
;
26081 resultobj
= SWIG_PyObj_FromInt((int)result
);
26088 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26089 PyObject
*resultobj
;
26090 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26095 PyObject
* obj0
= 0 ;
26096 PyObject
* obj1
= 0 ;
26097 PyObject
* obj2
= 0 ;
26098 PyObject
* obj3
= 0 ;
26099 char *kwnames
[] = {
26100 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26106 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26110 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26114 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
26115 if (PyErr_Occurred()) SWIG_fail
;
26118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26119 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26121 wxPyEndAllowThreads(__tstate
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26124 resultobj
= SWIG_PyObj_FromInt((int)result
);
26131 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26132 PyObject
*resultobj
;
26133 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26134 PyObject
* obj0
= 0 ;
26135 char *kwnames
[] = {
26136 (char *) "self", NULL
26139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26143 (arg1
)->base_OnLeave();
26145 wxPyEndAllowThreads(__tstate
);
26146 if (PyErr_Occurred()) SWIG_fail
;
26148 Py_INCREF(Py_None
); resultobj
= Py_None
;
26155 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26156 PyObject
*resultobj
;
26157 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26161 PyObject
* obj0
= 0 ;
26162 PyObject
* obj1
= 0 ;
26163 PyObject
* obj2
= 0 ;
26164 char *kwnames
[] = {
26165 (char *) "self",(char *) "x",(char *) "y", NULL
26168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26171 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26175 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26176 if (PyErr_Occurred()) SWIG_fail
;
26179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26180 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26182 wxPyEndAllowThreads(__tstate
);
26183 if (PyErr_Occurred()) SWIG_fail
;
26185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26192 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26193 PyObject
*resultobj
;
26194 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26199 PyObject
* obj0
= 0 ;
26200 PyObject
* obj1
= 0 ;
26201 PyObject
* obj2
= 0 ;
26202 PyObject
* obj3
= 0 ;
26203 char *kwnames
[] = {
26204 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26210 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26211 if (PyErr_Occurred()) SWIG_fail
;
26214 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26215 if (PyErr_Occurred()) SWIG_fail
;
26218 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
26219 if (PyErr_Occurred()) SWIG_fail
;
26222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26223 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26225 wxPyEndAllowThreads(__tstate
);
26226 if (PyErr_Occurred()) SWIG_fail
;
26228 resultobj
= SWIG_PyObj_FromInt((int)result
);
26235 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26238 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26240 return Py_BuildValue((char *)"");
26242 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26243 PyObject
*resultobj
;
26244 wxClipboard
*result
;
26245 char *kwnames
[] = {
26249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26252 result
= (wxClipboard
*)new wxClipboard();
26254 wxPyEndAllowThreads(__tstate
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26257 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboard
, 1);
26264 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26265 PyObject
*resultobj
;
26266 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26267 PyObject
* obj0
= 0 ;
26268 char *kwnames
[] = {
26269 (char *) "self", NULL
26272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26278 wxPyEndAllowThreads(__tstate
);
26279 if (PyErr_Occurred()) SWIG_fail
;
26281 Py_INCREF(Py_None
); resultobj
= Py_None
;
26288 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26289 PyObject
*resultobj
;
26290 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26292 PyObject
* obj0
= 0 ;
26293 char *kwnames
[] = {
26294 (char *) "self", NULL
26297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26301 result
= (bool)(arg1
)->Open();
26303 wxPyEndAllowThreads(__tstate
);
26304 if (PyErr_Occurred()) SWIG_fail
;
26306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26313 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26314 PyObject
*resultobj
;
26315 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26316 PyObject
* obj0
= 0 ;
26317 char *kwnames
[] = {
26318 (char *) "self", NULL
26321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26327 wxPyEndAllowThreads(__tstate
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26330 Py_INCREF(Py_None
); resultobj
= Py_None
;
26337 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26338 PyObject
*resultobj
;
26339 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26341 PyObject
* obj0
= 0 ;
26342 char *kwnames
[] = {
26343 (char *) "self", NULL
26346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26350 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26352 wxPyEndAllowThreads(__tstate
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26362 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26363 PyObject
*resultobj
;
26364 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26365 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26367 PyObject
* obj0
= 0 ;
26368 PyObject
* obj1
= 0 ;
26369 char *kwnames
[] = {
26370 (char *) "self",(char *) "data", NULL
26373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26375 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26378 result
= (bool)(arg1
)->AddData(arg2
);
26380 wxPyEndAllowThreads(__tstate
);
26381 if (PyErr_Occurred()) SWIG_fail
;
26383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26390 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26391 PyObject
*resultobj
;
26392 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26393 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26395 PyObject
* obj0
= 0 ;
26396 PyObject
* obj1
= 0 ;
26397 char *kwnames
[] = {
26398 (char *) "self",(char *) "data", NULL
26401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26403 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26406 result
= (bool)(arg1
)->SetData(arg2
);
26408 wxPyEndAllowThreads(__tstate
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26418 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26419 PyObject
*resultobj
;
26420 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26421 wxDataFormat
*arg2
= 0 ;
26423 PyObject
* obj0
= 0 ;
26424 PyObject
* obj1
= 0 ;
26425 char *kwnames
[] = {
26426 (char *) "self",(char *) "format", NULL
26429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26431 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26432 if (arg2
== NULL
) {
26433 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26437 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26439 wxPyEndAllowThreads(__tstate
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26449 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26450 PyObject
*resultobj
;
26451 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26452 wxDataObject
*arg2
= 0 ;
26454 PyObject
* obj0
= 0 ;
26455 PyObject
* obj1
= 0 ;
26456 char *kwnames
[] = {
26457 (char *) "self",(char *) "data", NULL
26460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26462 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26463 if (arg2
== NULL
) {
26464 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26468 result
= (bool)(arg1
)->GetData(*arg2
);
26470 wxPyEndAllowThreads(__tstate
);
26471 if (PyErr_Occurred()) SWIG_fail
;
26473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26480 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26481 PyObject
*resultobj
;
26482 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26483 PyObject
* obj0
= 0 ;
26484 char *kwnames
[] = {
26485 (char *) "self", NULL
26488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
26489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26494 wxPyEndAllowThreads(__tstate
);
26495 if (PyErr_Occurred()) SWIG_fail
;
26497 Py_INCREF(Py_None
); resultobj
= Py_None
;
26504 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26505 PyObject
*resultobj
;
26506 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26508 PyObject
* obj0
= 0 ;
26509 char *kwnames
[] = {
26510 (char *) "self", NULL
26513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
26514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26517 result
= (bool)(arg1
)->Flush();
26519 wxPyEndAllowThreads(__tstate
);
26520 if (PyErr_Occurred()) SWIG_fail
;
26522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26529 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26530 PyObject
*resultobj
;
26531 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26532 bool arg2
= (bool) False
;
26533 PyObject
* obj0
= 0 ;
26534 PyObject
* obj1
= 0 ;
26535 char *kwnames
[] = {
26536 (char *) "self",(char *) "primary", NULL
26539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26543 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26544 if (PyErr_Occurred()) SWIG_fail
;
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 (arg1
)->UsePrimarySelection(arg2
);
26551 wxPyEndAllowThreads(__tstate
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26554 Py_INCREF(Py_None
); resultobj
= Py_None
;
26561 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
26563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26564 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
26566 return Py_BuildValue((char *)"");
26568 static int _wrap_TheClipboard_set(PyObject
*) {
26569 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
26574 static PyObject
*_wrap_TheClipboard_get() {
26577 pyobj
= SWIG_NewPointerObj((void *) wxTheClipboard
, SWIGTYPE_p_wxClipboard
, 0);
26582 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26583 PyObject
*resultobj
;
26584 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
26585 wxClipboardLocker
*result
;
26586 PyObject
* obj0
= 0 ;
26587 char *kwnames
[] = {
26588 (char *) "clipboard", NULL
26591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26597 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
26599 wxPyEndAllowThreads(__tstate
);
26600 if (PyErr_Occurred()) SWIG_fail
;
26602 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboardLocker
, 1);
26609 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26610 PyObject
*resultobj
;
26611 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26612 PyObject
* obj0
= 0 ;
26613 char *kwnames
[] = {
26614 (char *) "self", NULL
26617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26623 wxPyEndAllowThreads(__tstate
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 Py_INCREF(Py_None
); resultobj
= Py_None
;
26633 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26634 PyObject
*resultobj
;
26635 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26637 PyObject
* obj0
= 0 ;
26638 char *kwnames
[] = {
26639 (char *) "self", NULL
26642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
26643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26646 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
26648 wxPyEndAllowThreads(__tstate
);
26649 if (PyErr_Occurred()) SWIG_fail
;
26651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26658 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
26660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26661 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
26663 return Py_BuildValue((char *)"");
26665 static PyMethodDef SwigMethods
[] = {
26666 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
26667 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26668 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
26669 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
26670 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
26671 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
26672 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
26673 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
26674 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
26675 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
26676 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
26677 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
26678 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
26679 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
26680 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
26681 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
26682 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
26683 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
26684 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26685 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
26686 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
26687 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
26688 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
26689 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
26690 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
26691 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
26692 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
26693 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
26694 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
26695 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
26696 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
26697 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
26698 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
26699 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
26700 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
26701 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
26702 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
26703 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
26704 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
26705 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
26706 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
26707 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
26708 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26709 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26710 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26711 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
26712 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26713 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26714 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
26715 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
26716 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
26717 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26718 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
26719 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
26720 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
26721 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
26722 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
26723 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
26724 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
26725 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
26726 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
26727 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
26728 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26729 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
26730 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
26731 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
26732 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
26733 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
26734 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
26735 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
26736 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
26737 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
26738 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
26739 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
26740 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
26741 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
26742 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
26743 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
26744 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
26745 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
26746 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
26747 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
26748 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
26749 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
26750 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26751 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
26752 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26753 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
26754 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
26755 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
26756 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
26757 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
26758 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
26759 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
26760 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
26761 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
26762 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
26763 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
26764 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
26765 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
26766 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26767 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26768 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
26769 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
26770 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
26771 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
26772 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
26773 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
26774 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
26775 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
26776 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
26777 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
26778 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
26779 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
26780 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
26781 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
26782 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
26783 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
26784 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
26785 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
26786 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
26787 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
26788 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
26789 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
26790 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
26791 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
26792 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
26793 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26794 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
26795 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
26796 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
26797 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
26798 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
26799 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
26800 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
26801 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
26802 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
26803 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
26804 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
26805 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
26806 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
26807 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
26808 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26809 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
26810 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
26811 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
26812 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
26813 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
26814 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26815 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
26816 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
26817 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
26818 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
26819 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
26820 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
26821 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26822 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
26823 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
26824 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
26825 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
26826 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
26827 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
26828 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
26829 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
26830 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
26831 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26832 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
26833 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
26834 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
26835 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
26836 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
26837 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
26838 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
26839 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
26840 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
26841 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
26842 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
26843 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26844 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26845 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26846 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
26847 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
26848 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
26849 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
26850 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26851 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26852 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
26853 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
26854 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
26855 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26856 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
26857 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
26858 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
26859 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26860 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
26861 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
26862 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
26863 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
26864 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
26865 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
26866 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
26867 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
26868 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
26869 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
26870 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
26871 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
26872 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
26873 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
26874 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
26875 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
26876 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
26877 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
26878 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
26879 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
26880 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
26881 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
26882 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
26883 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
26884 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
26885 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
26886 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
26887 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
26888 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
26889 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
26890 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
26891 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
26892 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
26893 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
26894 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
26895 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26896 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
26897 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
26898 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
26899 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
26900 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
26901 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26902 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
26903 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
26904 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
26905 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
26906 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
26907 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
26908 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
26909 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
26910 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
26911 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
26912 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
26913 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
26914 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
26915 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
26916 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
26917 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
26918 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
26919 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
26920 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
26921 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
26922 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
26923 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
26924 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
26925 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26926 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
26927 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
26928 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
26929 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
26930 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
26931 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
26932 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
26933 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
26934 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
26935 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26936 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
26937 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
26938 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
26939 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
26940 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
26941 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
26942 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
26943 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
26944 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
26945 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
26946 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
26947 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
26948 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
26949 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
26950 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
26951 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
26952 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
26953 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
26954 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
26955 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
26956 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
26957 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
26958 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
26959 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
26960 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
26961 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
26962 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
26963 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
26964 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
26965 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
26966 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
26967 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
26968 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
26969 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
26970 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
26971 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
26972 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
26973 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
26974 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
26975 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
26976 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
26977 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
26978 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
26979 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26980 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
26981 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
26982 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
26983 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
26984 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
26985 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
26986 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
26987 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26988 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
26989 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
26990 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
26991 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
26992 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
26993 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
26994 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
26995 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
26996 { (char *)"new_Sound", _wrap_new_Sound
, METH_VARARGS
},
26997 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
26998 { (char *)"Sound_Create", _wrap_Sound_Create
, METH_VARARGS
},
26999 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
27000 { (char *)"Sound_Play", _wrap_Sound_Play
, METH_VARARGS
},
27001 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound
, METH_VARARGS
},
27002 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
27003 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
27004 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
27005 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
27006 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
27007 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
27008 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
27009 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
27010 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
27011 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
27012 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
27013 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
27014 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
27015 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
27016 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
27017 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
27018 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
27019 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
27020 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
27021 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
27022 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
27023 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
27024 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
27025 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
27026 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
27027 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
27028 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
27029 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
27030 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
27031 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
27032 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
27033 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
27034 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
27035 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
27036 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
27037 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
27038 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
27039 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
27040 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
27041 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
27042 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
27043 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
27044 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
27045 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
27046 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
27047 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
27048 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
27049 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
27050 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
27051 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27052 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
27053 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
27054 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
27055 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27056 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
27057 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27058 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
27059 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
27060 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
27061 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
27062 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
27063 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
27064 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
27065 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
27066 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
27067 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
27068 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
27069 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
27070 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
27071 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
27072 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
27073 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
27074 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
27075 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
27076 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
27077 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
27078 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
27079 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
27080 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
27081 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
27082 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
27083 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
27084 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
27085 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
27086 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
27087 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
27088 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
27089 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
27090 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27091 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27092 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
27093 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
27094 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27095 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
27096 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
27097 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
27098 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
27099 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27100 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27101 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
27102 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
27103 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
27104 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
27105 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
27106 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
27107 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
27108 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
27109 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
27110 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
27111 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
27112 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27113 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
27114 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
27115 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
27116 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
27117 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
27118 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
27119 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
27120 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
27121 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
27122 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
27123 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
27124 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
27125 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
27126 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
27127 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
27128 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
27129 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
27130 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
27131 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
27132 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
27133 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
27134 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
27135 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
27136 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
27137 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
27138 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
27139 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
27140 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
27141 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
27142 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
27143 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
27144 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
27145 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
27146 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
27147 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
27148 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
27149 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
27150 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
27151 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
27152 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
27153 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27154 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27155 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27156 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27157 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27158 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27159 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27160 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
27161 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
27162 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
27163 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
27164 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
27165 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
27166 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
27167 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
27168 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
27169 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
27170 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
27171 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
27172 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
27173 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
27174 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
27175 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
27176 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
27177 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
27178 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
27179 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
27180 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
27181 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27182 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
27183 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
27184 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
27185 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
27186 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
27187 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
27188 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
27189 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
27190 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
27191 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
27192 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
27193 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
27194 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
27195 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
27196 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
27197 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
27198 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
27199 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
27200 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
27201 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
27202 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
27203 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
27204 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
27205 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
27206 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
27207 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
27208 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
27209 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
27210 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
27211 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
27212 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
27213 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
27214 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
27215 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
27216 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
27217 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
27218 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
27219 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
27220 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
27221 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
27222 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
27223 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
27224 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
27225 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
27226 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
27227 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
27228 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
27229 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
27230 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
27231 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
27232 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
27233 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
27234 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
27235 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
27236 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
27237 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
27238 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
27239 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
27240 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
27241 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
27242 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
27243 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
27244 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
27245 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
27246 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
27247 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
27248 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
27249 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
27250 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
27251 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
27252 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
27253 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
27254 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
27255 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
27256 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
27257 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
27258 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
27259 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
27260 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
27261 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
27262 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
27263 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
27264 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
27265 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
27266 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
27267 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
27268 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
27269 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
27270 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
27271 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
27272 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
27273 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
27274 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
27275 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
27276 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
27277 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
27278 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
27279 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
27280 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
27281 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
27282 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
27283 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
27284 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
27285 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
27286 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
27287 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
27288 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
27289 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
27290 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
27291 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
27292 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
27293 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
27294 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
27295 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
27296 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
27297 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
27298 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
27299 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
27300 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
27301 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
27302 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
27303 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
27304 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
27305 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
27306 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
27307 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
27308 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
27309 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
27310 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
27311 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
27312 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
27313 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
27314 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27315 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
27316 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
27317 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
27318 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
27319 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
27320 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
27321 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
27322 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
27323 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
27324 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27325 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
27326 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
27327 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
27328 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
27329 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
27330 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
27331 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27332 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
27333 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
27334 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
27335 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
27336 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27337 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
27338 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
27339 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
27340 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
27341 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27342 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27343 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
27344 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27345 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27346 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27347 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
27348 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27349 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27350 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
27351 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27352 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
27353 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
27354 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27355 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
27356 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27357 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
27358 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27359 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
27360 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27361 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
27362 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
27363 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
27364 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27365 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
27366 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
27367 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
27368 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
27369 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
27370 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27371 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
27372 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27373 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27374 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
27375 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
27376 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
27377 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
27378 { (char *)"new_PyDropTarget", (PyCFunction
) _wrap_new_PyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27379 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27380 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27381 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27382 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27383 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27384 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27385 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27386 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27387 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27388 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
27389 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27390 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27391 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27392 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27393 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27394 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27395 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
27396 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
27397 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27398 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27399 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27400 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27401 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27402 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27403 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
27404 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
27405 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
27406 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
27407 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
27408 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
27409 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
27410 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
27411 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27412 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
27413 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27414 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
27415 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
27416 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
27417 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
27418 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
27419 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
27420 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
27421 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
27426 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27428 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
27429 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27431 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
27432 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
27434 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
27435 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
27437 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
27438 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
27440 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
27441 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
27443 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
27444 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
27446 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
27447 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
27449 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
27450 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
27452 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
27453 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
27455 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
27456 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
27458 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
27459 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27461 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
27462 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
27464 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
27465 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
27467 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
27468 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27470 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
27471 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27473 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
27474 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
27476 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
27477 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
27479 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
27480 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
27482 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
27483 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
27485 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
27486 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
27488 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
27489 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
27491 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
27492 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
27494 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
27495 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27497 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
27498 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27500 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
27501 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27503 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
27504 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27506 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
27507 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27509 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
27510 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
27512 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
27513 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
27515 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
27516 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27518 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
27519 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
27521 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
27522 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
27524 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
27525 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
27527 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
27528 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27530 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
27531 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27533 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
27534 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27536 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
27537 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
27539 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
27540 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
27542 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
27543 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
27545 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
27546 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
27548 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
27549 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27551 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
27552 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27554 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
27555 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
27557 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
27558 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
27560 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
27561 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
27563 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
27564 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
27566 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
27567 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27569 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
27570 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
27572 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
27573 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27575 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
27576 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
27578 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
27579 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
27581 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
27582 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
27584 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
27585 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
27587 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
27588 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
27590 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
27591 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
27593 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
27594 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
27596 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
27597 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27599 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
27600 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
27602 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
27603 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27605 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
27606 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
27608 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
27609 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
27611 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
27612 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
27614 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27615 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27617 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27618 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27620 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27621 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27623 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27624 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27626 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
27627 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
27629 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27630 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27632 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27633 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27635 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27636 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27638 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27639 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27641 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
27642 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
27644 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
27645 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
27647 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27648 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27650 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27651 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27653 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27654 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27656 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27657 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27659 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27660 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27662 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27663 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27665 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27666 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27668 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27669 return (void *)((wxObject
*) ((wxSizer
*) x
));
27671 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27672 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27674 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
27675 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
27677 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27678 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27680 static void *_p_wxEventTo_p_wxObject(void *x
) {
27681 return (void *)((wxObject
*) ((wxEvent
*) x
));
27683 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27684 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27686 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27687 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27689 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27690 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27692 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27693 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27695 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27696 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27698 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27699 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27701 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27702 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27704 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27705 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27707 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27708 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27710 static void *_p_wxControlTo_p_wxObject(void *x
) {
27711 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
27713 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
27714 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
27716 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
27717 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
27719 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
27720 return (void *)((wxObject
*) ((wxFSFile
*) x
));
27722 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
27723 return (void *)((wxObject
*) ((wxClipboard
*) x
));
27725 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
27726 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
27728 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
27729 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
27731 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
27732 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27734 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27735 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27737 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
27738 return (void *)((wxObject
*) ((wxToolTip
*) x
));
27740 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27741 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27743 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27744 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27746 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27747 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27749 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27750 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27752 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27753 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27755 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27756 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27758 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27759 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27761 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27762 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27764 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27765 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27767 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27768 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27770 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27771 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27773 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27774 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
27776 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
27777 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
27779 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
27780 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
27782 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
27783 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
27785 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
27786 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
27788 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
27789 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
27791 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
27792 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
27794 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
27795 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
27797 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
27798 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
27800 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
27801 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
27803 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
27804 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
27806 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
27807 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
27809 static void *_p_wxImageTo_p_wxObject(void *x
) {
27810 return (void *)((wxObject
*) ((wxImage
*) x
));
27812 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
27813 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
27815 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
27816 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
27818 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
27819 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
27821 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
27822 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27824 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
27825 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27827 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
27828 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
27830 static void *_p_wxWindowTo_p_wxObject(void *x
) {
27831 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
27833 static void *_p_wxMenuTo_p_wxObject(void *x
) {
27834 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
27836 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
27837 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
27839 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
27840 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
27842 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
27843 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
27845 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
27846 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27848 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
27849 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
27851 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
27852 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
27854 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
27855 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
27857 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
27858 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
27860 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
27861 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
27863 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
27864 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
27866 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
27867 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27869 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
27870 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
27872 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
27873 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
27875 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
27876 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
27878 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
27879 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27881 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
27882 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
27884 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
27885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27887 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
27888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
27890 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
27891 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
27893 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
27894 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
27896 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
27897 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
27899 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
27900 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
27902 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
27903 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
27905 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
27906 return (void *)((wxLog
*) ((wxLogChain
*) x
));
27908 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
27909 return (void *)((wxLog
*) ((wxLogGui
*) x
));
27911 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
27912 return (void *)((wxLog
*) ((wxPyLog
*) x
));
27914 static void *_p_wxControlTo_p_wxWindow(void *x
) {
27915 return (void *)((wxWindow
*) ((wxControl
*) x
));
27917 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
27918 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
27920 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
27921 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
27923 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
27924 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
27926 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
27927 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
27929 static swig_type_info _swigt__p_wxLogChain
[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
27930 static swig_type_info _swigt__p_wxMutexGuiLocker
[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
27931 static swig_type_info _swigt__p_wxMetafile
[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0},{"_p_wxMetafile"},{0}};
27932 static swig_type_info _swigt__p_wxFileHistory
[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
27933 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}};
27934 static swig_type_info _swigt__p_wxDateTime__TimeZone
[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
27935 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
27936 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}};
27937 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}};
27938 static swig_type_info _swigt__p_wxFileType
[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
27939 static swig_type_info _swigt__p_wxLogGui
[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
27940 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27941 static swig_type_info _swigt__p_wxDataFormat
[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
27942 static swig_type_info _swigt__p_wxTimerEvent
[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
27943 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
27944 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27945 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27946 static swig_type_info _swigt__p_wxClipboard
[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
27947 static swig_type_info _swigt__p_wxStopWatch
[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
27948 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27949 static swig_type_info _swigt__p_wxClipboardLocker
[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
27950 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27951 static swig_type_info _swigt__p_wxLogStderr
[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
27952 static swig_type_info _swigt__p_wxLogTextCtrl
[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
27953 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27954 static swig_type_info _swigt__p_wxBusyCursor
[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
27955 static swig_type_info _swigt__p_wxPyTextDataObject
[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
27956 static swig_type_info _swigt__p_wxBitmapDataObject
[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject
},{0}};
27957 static swig_type_info _swigt__p_wxTextDataObject
[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject
},{0}};
27958 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}};
27959 static swig_type_info _swigt__p_wxPyBitmapDataObject
[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
27960 static swig_type_info _swigt__p_wxFileDataObject
[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
27961 static swig_type_info _swigt__p_wxCustomDataObject
[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
27962 static swig_type_info _swigt__p_wxURLDataObject
[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
27963 static swig_type_info _swigt__p_wxMetafileDataObject
[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
27964 static swig_type_info _swigt__p_wxSound
[] = {{"_p_wxSound", 0, "wxSound *", 0},{"_p_wxSound"},{0}};
27965 static swig_type_info _swigt__p_wxTimerRunner
[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
27966 static swig_type_info _swigt__p_wxLogWindow
[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
27967 static swig_type_info _swigt__p_wxTimeSpan
[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
27968 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27969 static swig_type_info _swigt__p_wxWindowDisabler
[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
27970 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
27971 static swig_type_info _swigt__p_wxDataObjectComposite
[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite
},{0}};
27972 static swig_type_info _swigt__p_wxFileConfig
[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
27973 static swig_type_info _swigt__p_wxSystemSettings
[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
27974 static swig_type_info _swigt__p_wxPyDataObjectSimple
[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
27975 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}};
27976 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}};
27977 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27978 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
27979 static swig_type_info _swigt__p_wxSingleInstanceChecker
[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
27980 static swig_type_info _swigt__p_wxFileTypeInfo
[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
27981 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
27982 static swig_type_info _swigt__p_wxTimer
[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
27983 static swig_type_info _swigt__p_wxMimeTypesManager
[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
27984 static swig_type_info _swigt__p_wxPyArtProvider
[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
27985 static swig_type_info _swigt__p_wxPyTipProvider
[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
27986 static swig_type_info _swigt__p_wxTipProvider
[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider
},{0}};
27987 static swig_type_info _swigt__p_wxJoystick
[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
27988 static swig_type_info _swigt__p_wxSystemOptions
[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
27989 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27990 static swig_type_info _swigt__p_wxJoystickEvent
[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
27991 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27992 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}};
27993 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
27994 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
27995 static swig_type_info _swigt__p_wxPyDropSource
[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
27996 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}};
27997 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27998 static swig_type_info _swigt__p_wxPyProcess
[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
27999 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28000 static swig_type_info _swigt__p_wxConfig
[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
28001 static swig_type_info _swigt__p_wxChar
[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
28002 static swig_type_info _swigt__p_wxBusyInfo
[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
28003 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}};
28004 static swig_type_info _swigt__p_wxPyTextDropTarget
[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
28005 static swig_type_info _swigt__p_wxPyFileDropTarget
[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
28006 static swig_type_info _swigt__p_wxProcessEvent
[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
28007 static swig_type_info _swigt__p_wxPyLog
[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
28008 static swig_type_info _swigt__p_wxLogNull
[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
28009 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28010 static swig_type_info _swigt__p_wxByte
[] = {{"_p_wxByte", 0, "wxByte *", 0},{"_p_wxByte"},{0}};
28011 static swig_type_info _swigt__p_wxConfigPathChanger
[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
28012 static swig_type_info _swigt__p_wxPyTimer
[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
28013 static swig_type_info _swigt__p_wxDateSpan
[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
28015 static swig_type_info
*swig_types_initial
[] = {
28016 _swigt__p_wxLogChain
,
28017 _swigt__p_wxMutexGuiLocker
,
28018 _swigt__p_wxMetafile
,
28019 _swigt__p_wxFileHistory
,
28021 _swigt__p_wxDateTime__TimeZone
,
28024 _swigt__p_wxConfigBase
,
28025 _swigt__p_wxFileType
,
28026 _swigt__p_wxLogGui
,
28028 _swigt__p_wxDataFormat
,
28029 _swigt__p_wxTimerEvent
,
28033 _swigt__p_wxClipboard
,
28034 _swigt__p_wxStopWatch
,
28036 _swigt__p_wxClipboardLocker
,
28038 _swigt__p_wxLogStderr
,
28039 _swigt__p_wxLogTextCtrl
,
28040 _swigt__p_wxTextCtrl
,
28041 _swigt__p_wxBusyCursor
,
28042 _swigt__p_wxPyTextDataObject
,
28043 _swigt__p_wxBitmapDataObject
,
28044 _swigt__p_wxTextDataObject
,
28045 _swigt__p_wxDataObject
,
28046 _swigt__p_wxPyBitmapDataObject
,
28047 _swigt__p_wxFileDataObject
,
28048 _swigt__p_wxCustomDataObject
,
28049 _swigt__p_wxURLDataObject
,
28050 _swigt__p_wxMetafileDataObject
,
28052 _swigt__p_wxTimerRunner
,
28053 _swigt__p_wxLogWindow
,
28054 _swigt__p_wxTimeSpan
,
28055 _swigt__p_wxArrayString
,
28056 _swigt__p_wxWindowDisabler
,
28057 _swigt__p_wxToolTip
,
28058 _swigt__p_wxDataObjectComposite
,
28059 _swigt__p_wxFileConfig
,
28060 _swigt__p_wxSystemSettings
,
28061 _swigt__p_wxPyDataObjectSimple
,
28062 _swigt__p_wxDataObjectSimple
,
28063 _swigt__p_wxEvtHandler
,
28066 _swigt__p_wxSingleInstanceChecker
,
28067 _swigt__p_wxFileTypeInfo
,
28070 _swigt__p_wxMimeTypesManager
,
28071 _swigt__p_wxPyArtProvider
,
28072 _swigt__p_wxPyTipProvider
,
28073 _swigt__p_wxTipProvider
,
28074 _swigt__p_wxJoystick
,
28075 _swigt__p_wxSystemOptions
,
28077 _swigt__p_wxJoystickEvent
,
28078 _swigt__p_wxCursor
,
28079 _swigt__p_wxObject
,
28080 _swigt__p_wxOutputStream
,
28081 _swigt__p_wxDateTime
,
28082 _swigt__p_wxPyDropSource
,
28083 _swigt__p_wxWindow
,
28084 _swigt__p_wxString
,
28085 _swigt__p_wxPyProcess
,
28086 _swigt__p_wxBitmap
,
28087 _swigt__p_wxConfig
,
28089 _swigt__p_wxBusyInfo
,
28090 _swigt__p_wxPyDropTarget
,
28091 _swigt__p_wxPyTextDropTarget
,
28092 _swigt__p_wxPyFileDropTarget
,
28093 _swigt__p_wxProcessEvent
,
28095 _swigt__p_wxLogNull
,
28096 _swigt__p_wxColour
,
28098 _swigt__p_wxConfigPathChanger
,
28099 _swigt__p_wxPyTimer
,
28100 _swigt__p_wxDateSpan
,
28105 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28107 static swig_const_info swig_const_table
[] = {
28108 { SWIG_PY_STRING
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
28109 { SWIG_PY_STRING
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
28110 { SWIG_PY_STRING
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
28111 { SWIG_PY_STRING
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
28112 { SWIG_PY_STRING
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
28122 SWIGEXPORT(void) SWIG_init(void) {
28123 static PyObject
*SWIG_globals
= 0;
28124 static int typeinit
= 0;
28127 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
28128 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
28129 d
= PyModule_GetDict(m
);
28132 for (i
= 0; swig_types_initial
[i
]; i
++) {
28133 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
28137 SWIG_InstallConstants(d
,swig_const_table
);
28139 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_OEM_FIXED_FONT
));
28140 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
28141 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_VAR_FONT
));
28142 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FONT
));
28143 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
28144 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_PALETTE
));
28145 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
28146 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
28147 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_PyObj_FromInt((int)wxSYS_ICONTITLE_FONT
));
28148 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
28149 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
28150 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_DESKTOP
));
28151 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
28152 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
28153 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENU
));
28154 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOW
));
28155 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
28156 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
28157 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
28158 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
28159 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
28160 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
28161 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
28162 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
28163 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
28164 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNFACE
));
28165 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DFACE
));
28166 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
28167 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
28168 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
28169 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
28170 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
28171 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
28172 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
28173 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
28174 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
28175 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
28176 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
28177 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
28178 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOBK
));
28179 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_LISTBOX
));
28180 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
28181 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
28182 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
28183 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
28184 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUBAR
));
28185 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MAX
));
28186 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_MOUSE_BUTTONS
));
28187 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_PyObj_FromInt((int)wxSYS_BORDER_X
));
28188 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_PyObj_FromInt((int)wxSYS_BORDER_Y
));
28189 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_X
));
28190 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_Y
));
28191 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_X
));
28192 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_Y
));
28193 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_PyObj_FromInt((int)wxSYS_DRAG_X
));
28194 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_PyObj_FromInt((int)wxSYS_DRAG_Y
));
28195 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_PyObj_FromInt((int)wxSYS_EDGE_X
));
28196 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_PyObj_FromInt((int)wxSYS_EDGE_Y
));
28197 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
28198 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
28199 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_PyObj_FromInt((int)wxSYS_HTHUMB_X
));
28200 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_PyObj_FromInt((int)wxSYS_ICON_X
));
28201 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_PyObj_FromInt((int)wxSYS_ICON_Y
));
28202 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_X
));
28203 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_Y
));
28204 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_X
));
28205 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_Y
));
28206 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_X
));
28207 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_Y
));
28208 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_X
));
28209 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_Y
));
28210 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_X
));
28211 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_Y
));
28212 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_Y
));
28213 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_X
));
28214 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
28215 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
28216 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_PyObj_FromInt((int)wxSYS_VTHUMB_Y
));
28217 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_PyObj_FromInt((int)wxSYS_CAPTION_Y
));
28218 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_PyObj_FromInt((int)wxSYS_MENU_Y
));
28219 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_NETWORK_PRESENT
));
28220 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
28221 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_PyObj_FromInt((int)wxSYS_SHOW_SOUNDS
));
28222 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_SWAP_BUTTONS
));
28223 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_PyObj_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
28224 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_PyObj_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
28225 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_NONE
));
28226 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_TINY
));
28227 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_PDA
));
28228 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_SMALL
));
28229 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_DESKTOP
));
28230 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
28231 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
28232 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
28233 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
28234 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_PyObj_FromInt((int)wxSHUTDOWN_POWEROFF
));
28235 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_PyObj_FromInt((int)wxSHUTDOWN_REBOOT
));
28236 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_PyObj_FromInt((int)wxTIMER_CONTINUOUS
));
28237 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_PyObj_FromInt((int)wxTIMER_ONE_SHOT
));
28238 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
28239 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_PyObj_FromInt((int)wxLOG_FatalError
));
28240 PyDict_SetItemString(d
,"LOG_Error", SWIG_PyObj_FromInt((int)wxLOG_Error
));
28241 PyDict_SetItemString(d
,"LOG_Warning", SWIG_PyObj_FromInt((int)wxLOG_Warning
));
28242 PyDict_SetItemString(d
,"LOG_Message", SWIG_PyObj_FromInt((int)wxLOG_Message
));
28243 PyDict_SetItemString(d
,"LOG_Status", SWIG_PyObj_FromInt((int)wxLOG_Status
));
28244 PyDict_SetItemString(d
,"LOG_Info", SWIG_PyObj_FromInt((int)wxLOG_Info
));
28245 PyDict_SetItemString(d
,"LOG_Debug", SWIG_PyObj_FromInt((int)wxLOG_Debug
));
28246 PyDict_SetItemString(d
,"LOG_Trace", SWIG_PyObj_FromInt((int)wxLOG_Trace
));
28247 PyDict_SetItemString(d
,"LOG_Progress", SWIG_PyObj_FromInt((int)wxLOG_Progress
));
28248 PyDict_SetItemString(d
,"LOG_User", SWIG_PyObj_FromInt((int)wxLOG_User
));
28249 PyDict_SetItemString(d
,"LOG_Max", SWIG_PyObj_FromInt((int)wxLOG_Max
));
28250 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_PyObj_FromInt((int)0x0001));
28251 PyDict_SetItemString(d
,"TraceMessages", SWIG_PyObj_FromInt((int)0x0002));
28252 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_PyObj_FromInt((int)0x0004));
28253 PyDict_SetItemString(d
,"TraceRefCount", SWIG_PyObj_FromInt((int)0x0008));
28254 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_PyObj_FromInt((int)0x0100));
28255 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_PyObj_FromInt((int)wxPROCESS_DEFAULT
));
28256 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_PyObj_FromInt((int)wxPROCESS_REDIRECT
));
28257 PyDict_SetItemString(d
,"KILL_OK", SWIG_PyObj_FromInt((int)wxKILL_OK
));
28258 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_PyObj_FromInt((int)wxKILL_BAD_SIGNAL
));
28259 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_PyObj_FromInt((int)wxKILL_ACCESS_DENIED
));
28260 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_PyObj_FromInt((int)wxKILL_NO_PROCESS
));
28261 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_PyObj_FromInt((int)wxKILL_ERROR
));
28262 PyDict_SetItemString(d
,"SIGNONE", SWIG_PyObj_FromInt((int)wxSIGNONE
));
28263 PyDict_SetItemString(d
,"SIGHUP", SWIG_PyObj_FromInt((int)wxSIGHUP
));
28264 PyDict_SetItemString(d
,"SIGINT", SWIG_PyObj_FromInt((int)wxSIGINT
));
28265 PyDict_SetItemString(d
,"SIGQUIT", SWIG_PyObj_FromInt((int)wxSIGQUIT
));
28266 PyDict_SetItemString(d
,"SIGILL", SWIG_PyObj_FromInt((int)wxSIGILL
));
28267 PyDict_SetItemString(d
,"SIGTRAP", SWIG_PyObj_FromInt((int)wxSIGTRAP
));
28268 PyDict_SetItemString(d
,"SIGABRT", SWIG_PyObj_FromInt((int)wxSIGABRT
));
28269 PyDict_SetItemString(d
,"SIGIOT", SWIG_PyObj_FromInt((int)wxSIGIOT
));
28270 PyDict_SetItemString(d
,"SIGEMT", SWIG_PyObj_FromInt((int)wxSIGEMT
));
28271 PyDict_SetItemString(d
,"SIGFPE", SWIG_PyObj_FromInt((int)wxSIGFPE
));
28272 PyDict_SetItemString(d
,"SIGKILL", SWIG_PyObj_FromInt((int)wxSIGKILL
));
28273 PyDict_SetItemString(d
,"SIGBUS", SWIG_PyObj_FromInt((int)wxSIGBUS
));
28274 PyDict_SetItemString(d
,"SIGSEGV", SWIG_PyObj_FromInt((int)wxSIGSEGV
));
28275 PyDict_SetItemString(d
,"SIGSYS", SWIG_PyObj_FromInt((int)wxSIGSYS
));
28276 PyDict_SetItemString(d
,"SIGPIPE", SWIG_PyObj_FromInt((int)wxSIGPIPE
));
28277 PyDict_SetItemString(d
,"SIGALRM", SWIG_PyObj_FromInt((int)wxSIGALRM
));
28278 PyDict_SetItemString(d
,"SIGTERM", SWIG_PyObj_FromInt((int)wxSIGTERM
));
28279 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
28280 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_PyObj_FromInt((int)wxEXEC_ASYNC
));
28281 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_PyObj_FromInt((int)wxEXEC_SYNC
));
28282 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_PyObj_FromInt((int)wxEXEC_NOHIDE
));
28283 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_PyObj_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
28285 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
28287 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_PyObj_FromInt((int)wxJOYSTICK1
));
28288 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_PyObj_FromInt((int)wxJOYSTICK2
));
28289 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_PyObj_FromInt((int)wxJOY_BUTTON_ANY
));
28290 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_PyObj_FromInt((int)wxJOY_BUTTON1
));
28291 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_PyObj_FromInt((int)wxJOY_BUTTON2
));
28292 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_PyObj_FromInt((int)wxJOY_BUTTON3
));
28293 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_PyObj_FromInt((int)wxJOY_BUTTON4
));
28294 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
28295 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
28296 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
28297 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
28298 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_PyObj_FromInt((int)wxSOUND_SYNC
));
28299 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_PyObj_FromInt((int)wxSOUND_ASYNC
));
28300 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_PyObj_FromInt((int)wxSOUND_LOOP
));
28301 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_PyObj_FromInt((int)wxMAILCAP_STANDARD
));
28302 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_PyObj_FromInt((int)wxMAILCAP_NETSCAPE
));
28303 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_PyObj_FromInt((int)wxMAILCAP_KDE
));
28304 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_PyObj_FromInt((int)wxMAILCAP_GNOME
));
28305 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_PyObj_FromInt((int)wxMAILCAP_ALL
));
28306 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
28307 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
28308 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
28309 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
28310 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
28311 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
28312 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
28313 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
28314 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
28315 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
28316 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
28317 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
28318 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
28319 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
28320 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
28321 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
28322 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
28323 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
28324 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
28325 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
28326 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
28327 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
28328 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
28329 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
28330 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
28331 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
28332 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
28333 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
28334 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
28335 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
28336 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
28337 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
28338 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
28339 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
28340 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
28341 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
28342 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
28343 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
28344 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
28346 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
28348 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
28349 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
28350 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_PyObj_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
28351 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_PyObj_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
28352 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Unknown
));
28353 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_PyObj_FromInt((int)wxConfigBase::Type_String
));
28354 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Boolean
));
28355 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Integer
));
28356 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Float
));
28357 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
28358 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
28359 PyDict_SetItemString(d
,"DateTime_Local", SWIG_PyObj_FromInt((int)wxDateTime::Local
));
28360 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_PyObj_FromInt((int)wxDateTime::GMT_12
));
28361 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_PyObj_FromInt((int)wxDateTime::GMT_11
));
28362 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_PyObj_FromInt((int)wxDateTime::GMT_10
));
28363 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_PyObj_FromInt((int)wxDateTime::GMT_9
));
28364 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_PyObj_FromInt((int)wxDateTime::GMT_8
));
28365 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_PyObj_FromInt((int)wxDateTime::GMT_7
));
28366 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_PyObj_FromInt((int)wxDateTime::GMT_6
));
28367 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_PyObj_FromInt((int)wxDateTime::GMT_5
));
28368 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_PyObj_FromInt((int)wxDateTime::GMT_4
));
28369 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_PyObj_FromInt((int)wxDateTime::GMT_3
));
28370 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_PyObj_FromInt((int)wxDateTime::GMT_2
));
28371 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_PyObj_FromInt((int)wxDateTime::GMT_1
));
28372 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_PyObj_FromInt((int)wxDateTime::GMT0
));
28373 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_PyObj_FromInt((int)wxDateTime::GMT1
));
28374 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_PyObj_FromInt((int)wxDateTime::GMT2
));
28375 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_PyObj_FromInt((int)wxDateTime::GMT3
));
28376 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_PyObj_FromInt((int)wxDateTime::GMT4
));
28377 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_PyObj_FromInt((int)wxDateTime::GMT5
));
28378 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_PyObj_FromInt((int)wxDateTime::GMT6
));
28379 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_PyObj_FromInt((int)wxDateTime::GMT7
));
28380 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_PyObj_FromInt((int)wxDateTime::GMT8
));
28381 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_PyObj_FromInt((int)wxDateTime::GMT9
));
28382 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_PyObj_FromInt((int)wxDateTime::GMT10
));
28383 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_PyObj_FromInt((int)wxDateTime::GMT11
));
28384 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_PyObj_FromInt((int)wxDateTime::GMT12
));
28385 PyDict_SetItemString(d
,"DateTime_WET", SWIG_PyObj_FromInt((int)wxDateTime::WET
));
28386 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_PyObj_FromInt((int)wxDateTime::WEST
));
28387 PyDict_SetItemString(d
,"DateTime_CET", SWIG_PyObj_FromInt((int)wxDateTime::CET
));
28388 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_PyObj_FromInt((int)wxDateTime::CEST
));
28389 PyDict_SetItemString(d
,"DateTime_EET", SWIG_PyObj_FromInt((int)wxDateTime::EET
));
28390 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_PyObj_FromInt((int)wxDateTime::EEST
));
28391 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_PyObj_FromInt((int)wxDateTime::MSK
));
28392 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_PyObj_FromInt((int)wxDateTime::MSD
));
28393 PyDict_SetItemString(d
,"DateTime_AST", SWIG_PyObj_FromInt((int)wxDateTime::AST
));
28394 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_PyObj_FromInt((int)wxDateTime::ADT
));
28395 PyDict_SetItemString(d
,"DateTime_EST", SWIG_PyObj_FromInt((int)wxDateTime::EST
));
28396 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_PyObj_FromInt((int)wxDateTime::EDT
));
28397 PyDict_SetItemString(d
,"DateTime_CST", SWIG_PyObj_FromInt((int)wxDateTime::CST
));
28398 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_PyObj_FromInt((int)wxDateTime::CDT
));
28399 PyDict_SetItemString(d
,"DateTime_MST", SWIG_PyObj_FromInt((int)wxDateTime::MST
));
28400 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_PyObj_FromInt((int)wxDateTime::MDT
));
28401 PyDict_SetItemString(d
,"DateTime_PST", SWIG_PyObj_FromInt((int)wxDateTime::PST
));
28402 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_PyObj_FromInt((int)wxDateTime::PDT
));
28403 PyDict_SetItemString(d
,"DateTime_HST", SWIG_PyObj_FromInt((int)wxDateTime::HST
));
28404 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_PyObj_FromInt((int)wxDateTime::AKST
));
28405 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_PyObj_FromInt((int)wxDateTime::AKDT
));
28406 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_PyObj_FromInt((int)wxDateTime::A_WST
));
28407 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_PyObj_FromInt((int)wxDateTime::A_CST
));
28408 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_PyObj_FromInt((int)wxDateTime::A_EST
));
28409 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_PyObj_FromInt((int)wxDateTime::A_ESST
));
28410 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_PyObj_FromInt((int)wxDateTime::UTC
));
28411 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_PyObj_FromInt((int)wxDateTime::Gregorian
));
28412 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_PyObj_FromInt((int)wxDateTime::Julian
));
28413 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Unknown
));
28414 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Standard
));
28415 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Alaska
));
28416 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Albania
));
28417 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria
));
28418 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
28419 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
28420 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
28421 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
28422 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Styria
));
28423 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Belgium
));
28424 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria
));
28425 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
28426 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
28427 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
28428 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Canada
));
28429 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China
));
28430 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_1
));
28431 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_2
));
28432 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
28433 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Denmark
));
28434 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Egypt
));
28435 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Estonia
));
28436 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Finland
));
28437 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France
));
28438 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Alsace
));
28439 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Lorraine
));
28440 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
28441 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany
));
28442 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
28443 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
28444 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
28445 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_GreatBritain
));
28446 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Greece
));
28447 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Hungary
));
28448 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Ireland
));
28449 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Italy
));
28450 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan
));
28451 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_1
));
28452 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_2
));
28453 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_3
));
28454 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Latvia
));
28455 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Lithuania
));
28456 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Luxemburg
));
28457 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands
));
28458 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
28459 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
28460 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
28461 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
28462 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Norway
));
28463 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Poland
));
28464 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Portugal
));
28465 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Romania
));
28466 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Russia
));
28467 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Scotland
));
28468 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Spain
));
28469 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Sweden
));
28470 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland
));
28471 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
28472 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
28473 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Turkey
));
28474 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_PyObj_FromInt((int)wxDateTime::Gr_USA
));
28475 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Wales
));
28476 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Yugoslavia
));
28477 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Country_Unknown
));
28478 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_PyObj_FromInt((int)wxDateTime::Country_Default
));
28479 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
28480 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_PyObj_FromInt((int)wxDateTime::Country_EEC
));
28481 PyDict_SetItemString(d
,"DateTime_France", SWIG_PyObj_FromInt((int)wxDateTime::France
));
28482 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Germany
));
28483 PyDict_SetItemString(d
,"DateTime_UK", SWIG_PyObj_FromInt((int)wxDateTime::UK
));
28484 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_End
));
28485 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Russia
));
28486 PyDict_SetItemString(d
,"DateTime_USA", SWIG_PyObj_FromInt((int)wxDateTime::USA
));
28487 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_PyObj_FromInt((int)wxDateTime::Jan
));
28488 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_PyObj_FromInt((int)wxDateTime::Feb
));
28489 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_PyObj_FromInt((int)wxDateTime::Mar
));
28490 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_PyObj_FromInt((int)wxDateTime::Apr
));
28491 PyDict_SetItemString(d
,"DateTime_May", SWIG_PyObj_FromInt((int)wxDateTime::May
));
28492 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_PyObj_FromInt((int)wxDateTime::Jun
));
28493 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_PyObj_FromInt((int)wxDateTime::Jul
));
28494 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_PyObj_FromInt((int)wxDateTime::Aug
));
28495 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_PyObj_FromInt((int)wxDateTime::Sep
));
28496 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_PyObj_FromInt((int)wxDateTime::Oct
));
28497 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_PyObj_FromInt((int)wxDateTime::Nov
));
28498 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_PyObj_FromInt((int)wxDateTime::Dec
));
28499 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Month
));
28500 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_PyObj_FromInt((int)wxDateTime::Sun
));
28501 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_PyObj_FromInt((int)wxDateTime::Mon
));
28502 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_PyObj_FromInt((int)wxDateTime::Tue
));
28503 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_PyObj_FromInt((int)wxDateTime::Wed
));
28504 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_PyObj_FromInt((int)wxDateTime::Thu
));
28505 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_PyObj_FromInt((int)wxDateTime::Fri
));
28506 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_PyObj_FromInt((int)wxDateTime::Sat
));
28507 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_PyObj_FromInt((int)wxDateTime::Inv_WeekDay
));
28508 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Year
));
28509 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_PyObj_FromInt((int)wxDateTime::Name_Full
));
28510 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_PyObj_FromInt((int)wxDateTime::Name_Abbr
));
28511 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_PyObj_FromInt((int)wxDateTime::Default_First
));
28512 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_PyObj_FromInt((int)wxDateTime::Monday_First
));
28513 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_PyObj_FromInt((int)wxDateTime::Sunday_First
));
28514 PyDict_SetItemString(d
,"DF_INVALID", SWIG_PyObj_FromInt((int)wxDF_INVALID
));
28515 PyDict_SetItemString(d
,"DF_TEXT", SWIG_PyObj_FromInt((int)wxDF_TEXT
));
28516 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_PyObj_FromInt((int)wxDF_BITMAP
));
28517 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_PyObj_FromInt((int)wxDF_METAFILE
));
28518 PyDict_SetItemString(d
,"DF_SYLK", SWIG_PyObj_FromInt((int)wxDF_SYLK
));
28519 PyDict_SetItemString(d
,"DF_DIF", SWIG_PyObj_FromInt((int)wxDF_DIF
));
28520 PyDict_SetItemString(d
,"DF_TIFF", SWIG_PyObj_FromInt((int)wxDF_TIFF
));
28521 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_PyObj_FromInt((int)wxDF_OEMTEXT
));
28522 PyDict_SetItemString(d
,"DF_DIB", SWIG_PyObj_FromInt((int)wxDF_DIB
));
28523 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_PyObj_FromInt((int)wxDF_PALETTE
));
28524 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_PyObj_FromInt((int)wxDF_PENDATA
));
28525 PyDict_SetItemString(d
,"DF_RIFF", SWIG_PyObj_FromInt((int)wxDF_RIFF
));
28526 PyDict_SetItemString(d
,"DF_WAVE", SWIG_PyObj_FromInt((int)wxDF_WAVE
));
28527 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_PyObj_FromInt((int)wxDF_UNICODETEXT
));
28528 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_PyObj_FromInt((int)wxDF_ENHMETAFILE
));
28529 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_PyObj_FromInt((int)wxDF_FILENAME
));
28530 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_PyObj_FromInt((int)wxDF_LOCALE
));
28531 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_PyObj_FromInt((int)wxDF_PRIVATE
));
28532 PyDict_SetItemString(d
,"DF_HTML", SWIG_PyObj_FromInt((int)wxDF_HTML
));
28533 PyDict_SetItemString(d
,"DF_MAX", SWIG_PyObj_FromInt((int)wxDF_MAX
));
28534 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
28535 PyDict_SetItemString(d
,"DataObject_Get", SWIG_PyObj_FromInt((int)wxDataObject::Get
));
28536 PyDict_SetItemString(d
,"DataObject_Set", SWIG_PyObj_FromInt((int)wxDataObject::Set
));
28537 PyDict_SetItemString(d
,"DataObject_Both", SWIG_PyObj_FromInt((int)wxDataObject::Both
));
28538 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_PyObj_FromInt((int)wxDrag_CopyOnly
));
28539 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_PyObj_FromInt((int)wxDrag_AllowMove
));
28540 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_PyObj_FromInt((int)wxDrag_DefaultMove
));
28541 PyDict_SetItemString(d
,"DragError", SWIG_PyObj_FromInt((int)wxDragError
));
28542 PyDict_SetItemString(d
,"DragNone", SWIG_PyObj_FromInt((int)wxDragNone
));
28543 PyDict_SetItemString(d
,"DragCopy", SWIG_PyObj_FromInt((int)wxDragCopy
));
28544 PyDict_SetItemString(d
,"DragMove", SWIG_PyObj_FromInt((int)wxDragMove
));
28545 PyDict_SetItemString(d
,"DragLink", SWIG_PyObj_FromInt((int)wxDragLink
));
28546 PyDict_SetItemString(d
,"DragCancel", SWIG_PyObj_FromInt((int)wxDragCancel
));
28548 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
28549 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
28550 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
28551 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
28553 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);