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() {}
716 #include <wx/mimetype.h>
718 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
720 if (self
->GetMimeType(&str
))
721 return wx2PyString(str
);
725 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
727 if (self
->GetMimeTypes(arr
))
728 return wxArrayString2PyList_helper(arr
);
732 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
734 if (self
->GetExtensions(arr
))
735 return wxArrayString2PyList_helper(arr
);
739 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
741 if (self
->GetIcon(&loc
))
742 return new wxIcon(loc
);
746 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
748 if (self
->GetIcon(&loc
)) {
749 wxString iconFile
= loc
.GetFileName();
752 iconIndex
= loc
.GetIndex();
754 // Make a tuple and put the values in it
755 wxPyBeginBlockThreads();
756 PyObject
* tuple
= PyTuple_New(3);
757 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
758 wxT("wxIcon"), True
));
759 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
760 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
761 wxPyEndBlockThreads();
767 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
769 if (self
->GetDescription(&str
))
770 return wx2PyString(str
);
774 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
776 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
777 return wx2PyString(str
);
781 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
783 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
784 return wx2PyString(str
);
788 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
790 wxArrayString commands
;
791 if (self
->GetAllCommands(&verbs
, &commands
,
792 wxFileType::MessageParameters(filename
, mimetype
))) {
793 wxPyBeginBlockThreads();
794 PyObject
* tuple
= PyTuple_New(2);
795 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
796 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
797 wxPyEndBlockThreads();
803 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
804 return wxFileType::ExpandCommand(command
,
805 wxFileType::MessageParameters(filename
, mimetype
));
807 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
809 self
->EnumAllFileTypes(arr
);
810 return wxArrayString2PyList_helper(arr
);
813 #include <wx/artprov.h>
815 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
816 static const wxString
wxPyART_MENU(wxART_MENU
);
817 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
818 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
819 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
820 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
821 static const wxString
wxPyART_OTHER(wxART_OTHER
);
822 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
823 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
824 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
825 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
826 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
827 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
828 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
829 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
830 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
831 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
832 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
833 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
834 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
835 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
836 static const wxString
wxPyART_PRINT(wxART_PRINT
);
837 static const wxString
wxPyART_HELP(wxART_HELP
);
838 static const wxString
wxPyART_TIP(wxART_TIP
);
839 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
840 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
841 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
842 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
843 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
844 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
845 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
846 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
847 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
848 static const wxString
wxPyART_ERROR(wxART_ERROR
);
849 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
850 static const wxString
wxPyART_WARNING(wxART_WARNING
);
851 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
852 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
853 // Python aware wxArtProvider
854 class wxPyArtProvider
: public wxArtProvider
{
857 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
858 const wxArtClient
& client
,
859 const wxSize
& size
) {
860 wxBitmap rval
= wxNullBitmap
;
861 wxPyBeginBlockThreads();
862 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
863 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
867 s1
= wx2PyString(id
);
868 s2
= wx2PyString(client
);
869 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
874 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
879 wxPyEndBlockThreads();
886 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
890 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
891 PyObject
* ret
= PyTuple_New(3);
893 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
894 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
895 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
900 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
905 cont
= self
->GetFirstGroup(value
, index
);
906 return __EnumerationHelper(cont
, value
, index
);
908 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
912 cont
= self
->GetNextGroup(value
, index
);
913 return __EnumerationHelper(cont
, value
, index
);
915 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
920 cont
= self
->GetFirstEntry(value
, index
);
921 return __EnumerationHelper(cont
, value
, index
);
923 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
927 cont
= self
->GetNextEntry(value
, index
);
928 return __EnumerationHelper(cont
, value
, index
);
930 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
932 self
->Read(key
, &rv
, defaultVal
);
937 SWIG_PyObj_AsDouble(PyObject
*obj
)
939 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
941 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
943 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
945 if (PyErr_Occurred()) {
947 PyErr_SetString(PyExc_TypeError
, "a double is expected");
951 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
953 self
->Read(key
, &rv
, defaultVal
);
956 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
958 self
->Read(key
, &rv
, defaultVal
);
962 #include <wx/datetime.h>
965 static const wxString
wxPyDateFormatStr(wxT("%c"));
966 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
968 #define LOCAL_TZ wxDateTime::Local
971 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
973 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
974 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
975 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
976 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
977 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
978 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
< other
; }
979 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
<= other
; }
980 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
> other
; }
981 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
>= other
; }
982 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
== other
; }
983 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
!= other
; }
984 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
986 const wxChar
* _date
= date
;
987 rv
= self
->ParseRfc822Date(_date
);
988 if (rv
== NULL
) return -1;
991 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
993 const wxChar
* _date
= date
;
994 rv
= self
->ParseFormat(_date
, format
, dateDef
);
995 if (rv
== NULL
) return -1;
998 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1000 const wxChar
* _datetime
= datetime
;
1001 rv
= self
->ParseDateTime(_datetime
);
1002 if (rv
== NULL
) return -1;
1003 return rv
- _datetime
;
1005 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1007 const wxChar
* _date
= date
;
1008 rv
= self
->ParseDate(_date
);
1009 if (rv
== NULL
) return -1;
1012 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1014 const wxChar
* _time
= time
;
1015 rv
= self
->ParseTime(_time
);
1016 if (rv
== NULL
) return -1;
1019 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1020 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1021 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1022 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1023 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
< other
; }
1024 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
<= other
; }
1025 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
> other
; }
1026 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
>= other
; }
1027 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
== other
; }
1028 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
!= other
; }
1029 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1030 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1031 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1032 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1033 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
== other
; }
1034 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
!= other
; }
1036 #include <wx/dataobj.h>
1038 // Create a new class for wxPython to use
1039 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1041 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1042 : wxDataObjectSimple(format
) {}
1044 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1045 bool GetDataHere(void *buf
) const;
1046 bool SetData(size_t len
, const void *buf
) const;
1050 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1052 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1053 // We need to get the data for this object and write it to buf. I think
1054 // the best way to do this for wxPython is to have the Python method
1055 // return either a string or None and then act appropriately with the
1059 wxPyBeginBlockThreads();
1060 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1062 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1064 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1066 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1070 wxPyEndBlockThreads();
1074 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1075 // For this one we simply need to make a string from buf and len
1076 // and send it to the Python method.
1078 wxPyBeginBlockThreads();
1079 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1080 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1081 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1084 wxPyEndBlockThreads();
1088 // Create a new class for wxPython to use
1089 class wxPyTextDataObject
: public wxTextDataObject
{
1091 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1092 : wxTextDataObject(text
) {}
1094 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1095 DEC_PYCALLBACK_STRING__const(GetText
);
1096 DEC_PYCALLBACK__STRING(SetText
);
1100 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1101 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1102 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1105 // Create a new class for wxPython to use
1106 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1108 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1109 : wxBitmapDataObject(bitmap
) {}
1111 wxBitmap
GetBitmap() const;
1112 void SetBitmap(const wxBitmap
& bitmap
);
1116 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1117 wxBitmap
* rval
= &wxNullBitmap
;
1118 wxPyBeginBlockThreads();
1119 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1122 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1124 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1129 wxPyEndBlockThreads();
1133 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1134 wxPyBeginBlockThreads();
1135 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1136 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1137 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1140 wxPyEndBlockThreads();
1143 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1144 if (PyString_Check(data
)) {
1145 // for Python we just call SetData here since we always need it to make a copy.
1146 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1149 // raise a TypeError if not a string
1150 PyErr_SetString(PyExc_TypeError
, "String expected.");
1153 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1154 if (PyString_Check(data
)) {
1155 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1158 // raise a TypeError if not a string
1159 PyErr_SetString(PyExc_TypeError
, "String expected.");
1163 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1164 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1167 #include <wx/metafile.h>
1170 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1173 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1174 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1175 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1176 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1177 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1180 class wxPyTextDropTarget
: public wxTextDropTarget
{
1182 wxPyTextDropTarget() {}
1184 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1186 DEC_PYCALLBACK__(OnLeave
);
1187 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1188 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1189 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1190 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1195 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1196 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1197 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1198 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1199 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1200 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1204 class wxPyFileDropTarget
: public wxFileDropTarget
{
1206 wxPyFileDropTarget() {}
1208 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1210 DEC_PYCALLBACK__(OnLeave
);
1211 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1212 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1213 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1214 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1219 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1220 const wxArrayString
& filenames
) {
1222 wxPyBeginBlockThreads();
1223 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1224 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1225 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1228 wxPyEndBlockThreads();
1234 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1235 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1236 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1237 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1238 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1243 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1247 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1248 PyObject
*resultobj
;
1251 PyObject
* obj0
= 0 ;
1253 (char *) "index", NULL
1256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1258 arg1
= (wxSystemColour
) SWIG_PyObj_AsInt(obj0
);
1259 if (PyErr_Occurred()) SWIG_fail
;
1262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1263 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1265 wxPyEndAllowThreads(__tstate
);
1266 if (PyErr_Occurred()) SWIG_fail
;
1269 wxColour
* resultptr
;
1270 resultptr
= new wxColour((wxColour
&) result
);
1271 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1279 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1280 PyObject
*resultobj
;
1283 PyObject
* obj0
= 0 ;
1285 (char *) "index", NULL
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1290 arg1
= (wxSystemFont
) SWIG_PyObj_AsInt(obj0
);
1291 if (PyErr_Occurred()) SWIG_fail
;
1294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1295 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1297 wxPyEndAllowThreads(__tstate
);
1298 if (PyErr_Occurred()) SWIG_fail
;
1302 resultptr
= new wxFont((wxFont
&) result
);
1303 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
1311 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1312 PyObject
*resultobj
;
1315 PyObject
* obj0
= 0 ;
1317 (char *) "index", NULL
1320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1322 arg1
= (wxSystemMetric
) SWIG_PyObj_AsInt(obj0
);
1323 if (PyErr_Occurred()) SWIG_fail
;
1326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1327 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1329 wxPyEndAllowThreads(__tstate
);
1330 if (PyErr_Occurred()) SWIG_fail
;
1332 resultobj
= SWIG_PyObj_FromInt((int)result
);
1339 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
*resultobj
;
1343 PyObject
* obj0
= 0 ;
1345 (char *) "index", NULL
1348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1350 arg1
= (wxSystemFeature
) SWIG_PyObj_AsInt(obj0
);
1351 if (PyErr_Occurred()) SWIG_fail
;
1354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1355 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1357 wxPyEndAllowThreads(__tstate
);
1358 if (PyErr_Occurred()) SWIG_fail
;
1360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1367 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
*resultobj
;
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1377 result
= (int)wxSystemSettings::GetScreenType();
1379 wxPyEndAllowThreads(__tstate
);
1380 if (PyErr_Occurred()) SWIG_fail
;
1382 resultobj
= SWIG_PyObj_FromInt((int)result
);
1389 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1390 PyObject
*resultobj
;
1392 PyObject
* obj0
= 0 ;
1394 (char *) "screen", NULL
1397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1399 arg1
= (wxSystemScreenType
) SWIG_PyObj_AsInt(obj0
);
1400 if (PyErr_Occurred()) SWIG_fail
;
1403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1404 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1406 wxPyEndAllowThreads(__tstate
);
1407 if (PyErr_Occurred()) SWIG_fail
;
1409 Py_INCREF(Py_None
); resultobj
= Py_None
;
1416 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1419 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1421 return Py_BuildValue((char *)"");
1423 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1424 PyObject
*resultobj
;
1425 wxSystemOptions
*result
;
1430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1433 result
= (wxSystemOptions
*)new wxSystemOptions();
1435 wxPyEndAllowThreads(__tstate
);
1436 if (PyErr_Occurred()) SWIG_fail
;
1438 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSystemOptions
, 1);
1445 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
*resultobj
;
1447 wxString
*arg1
= 0 ;
1448 wxString
*arg2
= 0 ;
1449 bool temp1
= False
;
1450 bool temp2
= False
;
1451 PyObject
* obj0
= 0 ;
1452 PyObject
* obj1
= 0 ;
1454 (char *) "name",(char *) "value", NULL
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1459 arg1
= wxString_in_helper(obj0
);
1460 if (arg1
== NULL
) SWIG_fail
;
1464 arg2
= wxString_in_helper(obj1
);
1465 if (arg2
== NULL
) SWIG_fail
;
1469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1470 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1472 wxPyEndAllowThreads(__tstate
);
1473 if (PyErr_Occurred()) SWIG_fail
;
1475 Py_INCREF(Py_None
); resultobj
= Py_None
;
1498 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
*resultobj
;
1500 wxString
*arg1
= 0 ;
1502 bool temp1
= False
;
1503 PyObject
* obj0
= 0 ;
1504 PyObject
* obj1
= 0 ;
1506 (char *) "name",(char *) "value", NULL
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1511 arg1
= wxString_in_helper(obj0
);
1512 if (arg1
== NULL
) SWIG_fail
;
1516 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1517 if (PyErr_Occurred()) SWIG_fail
;
1520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1521 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1523 wxPyEndAllowThreads(__tstate
);
1524 if (PyErr_Occurred()) SWIG_fail
;
1526 Py_INCREF(Py_None
); resultobj
= Py_None
;
1541 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
*resultobj
;
1543 wxString
*arg1
= 0 ;
1545 bool temp1
= False
;
1546 PyObject
* obj0
= 0 ;
1548 (char *) "name", NULL
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1553 arg1
= wxString_in_helper(obj0
);
1554 if (arg1
== NULL
) SWIG_fail
;
1558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1559 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1561 wxPyEndAllowThreads(__tstate
);
1562 if (PyErr_Occurred()) SWIG_fail
;
1566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1585 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
*resultobj
;
1587 wxString
*arg1
= 0 ;
1589 bool temp1
= False
;
1590 PyObject
* obj0
= 0 ;
1592 (char *) "name", NULL
1595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1597 arg1
= wxString_in_helper(obj0
);
1598 if (arg1
== NULL
) SWIG_fail
;
1602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1603 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1605 wxPyEndAllowThreads(__tstate
);
1606 if (PyErr_Occurred()) SWIG_fail
;
1608 resultobj
= SWIG_PyObj_FromInt((int)result
);
1623 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
*resultobj
;
1625 wxString
*arg1
= 0 ;
1627 bool temp1
= False
;
1628 PyObject
* obj0
= 0 ;
1630 (char *) "name", NULL
1633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1635 arg1
= wxString_in_helper(obj0
);
1636 if (arg1
== NULL
) SWIG_fail
;
1640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1641 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1643 wxPyEndAllowThreads(__tstate
);
1644 if (PyErr_Occurred()) SWIG_fail
;
1646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1661 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1664 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1666 return Py_BuildValue((char *)"");
1668 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
1669 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1674 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1679 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1681 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1688 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
1689 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1694 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1699 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1701 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1708 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
1709 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1714 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1719 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1721 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1728 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
*resultobj
;
1735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1738 result
= (long)wxNewId();
1740 wxPyEndAllowThreads(__tstate
);
1741 if (PyErr_Occurred()) SWIG_fail
;
1743 resultobj
= SWIG_PyObj_FromLong((long)result
);
1750 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
*resultobj
;
1753 PyObject
* obj0
= 0 ;
1758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
1760 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
1761 if (PyErr_Occurred()) SWIG_fail
;
1764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1767 wxPyEndAllowThreads(__tstate
);
1768 if (PyErr_Occurred()) SWIG_fail
;
1770 Py_INCREF(Py_None
); resultobj
= Py_None
;
1777 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
*resultobj
;
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1787 result
= (long)wxGetCurrentId();
1789 wxPyEndAllowThreads(__tstate
);
1790 if (PyErr_Occurred()) SWIG_fail
;
1792 resultobj
= SWIG_PyObj_FromLong((long)result
);
1799 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
*resultobj
;
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 wxPyEndAllowThreads(__tstate
);
1811 if (PyErr_Occurred()) SWIG_fail
;
1813 Py_INCREF(Py_None
); resultobj
= Py_None
;
1820 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
*resultobj
;
1826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
1828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1831 wxPyEndAllowThreads(__tstate
);
1832 if (PyErr_Occurred()) SWIG_fail
;
1834 Py_INCREF(Py_None
); resultobj
= Py_None
;
1841 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
*resultobj
;
1843 bool arg1
= (bool) True
;
1845 PyObject
* obj0
= 0 ;
1847 (char *) "resetTimer", NULL
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
1853 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
1854 if (PyErr_Occurred()) SWIG_fail
;
1858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 result
= (long)wxGetElapsedTime(arg1
);
1861 wxPyEndAllowThreads(__tstate
);
1862 if (PyErr_Occurred()) SWIG_fail
;
1864 resultobj
= SWIG_PyObj_FromLong((long)result
);
1871 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
*resultobj
;
1873 int *arg1
= (int *) 0 ;
1874 int *arg2
= (int *) 0 ;
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 wxGetMousePosition(arg1
,arg2
);
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1891 Py_INCREF(Py_None
); resultobj
= Py_None
;
1893 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1894 resultobj
= t_output_helper(resultobj
,o
);
1897 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1898 resultobj
= t_output_helper(resultobj
,o
);
1906 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
*resultobj
;
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
1915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1916 result
= (bool)wxIsBusy();
1918 wxPyEndAllowThreads(__tstate
);
1919 if (PyErr_Occurred()) SWIG_fail
;
1921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1928 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
*resultobj
;
1935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
1937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1940 wxPyEndAllowThreads(__tstate
);
1941 if (PyErr_Occurred()) SWIG_fail
;
1945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1956 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
*resultobj
;
1958 wxString
const &arg1_defvalue
= wxPyEmptyString
;
1959 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
1961 bool temp1
= False
;
1962 PyObject
* obj0
= 0 ;
1964 (char *) "command", NULL
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
1970 arg1
= wxString_in_helper(obj0
);
1971 if (arg1
== NULL
) SWIG_fail
;
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 result
= (bool)wxShell((wxString
const &)*arg1
);
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1997 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
*resultobj
;
2003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2008 wxPyEndAllowThreads(__tstate
);
2009 if (PyErr_Occurred()) SWIG_fail
;
2011 Py_INCREF(Py_None
); resultobj
= Py_None
;
2018 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2019 PyObject
*resultobj
;
2020 int *arg1
= (int *) 0 ;
2021 int *arg2
= (int *) 0 ;
2031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 result
= (int)wxGetOsVersion(arg1
,arg2
);
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2039 resultobj
= SWIG_PyObj_FromInt((int)result
);
2041 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2042 resultobj
= t_output_helper(resultobj
,o
);
2045 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2046 resultobj
= t_output_helper(resultobj
,o
);
2054 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2055 PyObject
*resultobj
;
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2064 result
= wxGetOsDescription();
2066 wxPyEndAllowThreads(__tstate
);
2067 if (PyErr_Occurred()) SWIG_fail
;
2071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2082 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
*resultobj
;
2089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2092 result
= (long)wxGetFreeMemory();
2094 wxPyEndAllowThreads(__tstate
);
2095 if (PyErr_Occurred()) SWIG_fail
;
2097 resultobj
= SWIG_PyObj_FromLong((long)result
);
2104 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
*resultobj
;
2108 PyObject
* obj0
= 0 ;
2110 (char *) "wFlags", NULL
2113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2115 arg1
= (wxShutdownFlags
) SWIG_PyObj_AsInt(obj0
);
2116 if (PyErr_Occurred()) SWIG_fail
;
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2120 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) SWIG_fail
;
2125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2132 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
*resultobj
;
2135 PyObject
* obj0
= 0 ;
2137 (char *) "secs", NULL
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2142 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2143 if (PyErr_Occurred()) SWIG_fail
;
2146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2149 wxPyEndAllowThreads(__tstate
);
2150 if (PyErr_Occurred()) SWIG_fail
;
2152 Py_INCREF(Py_None
); resultobj
= Py_None
;
2159 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
*resultobj
;
2161 unsigned long arg1
;
2162 PyObject
* obj0
= 0 ;
2164 (char *) "milliseconds", NULL
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2169 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
2170 if (PyErr_Occurred()) SWIG_fail
;
2173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2176 wxPyEndAllowThreads(__tstate
);
2177 if (PyErr_Occurred()) SWIG_fail
;
2179 Py_INCREF(Py_None
); resultobj
= Py_None
;
2186 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
*resultobj
;
2189 PyObject
* obj0
= 0 ;
2191 (char *) "enable", NULL
2194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2196 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
2197 if (PyErr_Occurred()) SWIG_fail
;
2200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2201 wxEnableTopLevelWindows(arg1
);
2203 wxPyEndAllowThreads(__tstate
);
2204 if (PyErr_Occurred()) SWIG_fail
;
2206 Py_INCREF(Py_None
); resultobj
= Py_None
;
2213 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
*resultobj
;
2215 wxString
*arg1
= 0 ;
2217 bool temp1
= False
;
2218 PyObject
* obj0
= 0 ;
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2225 arg1
= wxString_in_helper(obj0
);
2226 if (arg1
== NULL
) SWIG_fail
;
2230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2231 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2233 wxPyEndAllowThreads(__tstate
);
2234 if (PyErr_Occurred()) SWIG_fail
;
2238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2257 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2258 PyObject
*resultobj
;
2264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2267 result
= wxGetEmailAddress();
2269 wxPyEndAllowThreads(__tstate
);
2270 if (PyErr_Occurred()) SWIG_fail
;
2274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2285 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
*resultobj
;
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 result
= wxGetHostName();
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) SWIG_fail
;
2302 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2304 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2313 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
*resultobj
;
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2323 result
= wxGetFullHostName();
2325 wxPyEndAllowThreads(__tstate
);
2326 if (PyErr_Occurred()) SWIG_fail
;
2330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2341 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
*resultobj
;
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 result
= wxGetUserId();
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) SWIG_fail
;
2358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2369 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
*resultobj
;
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 result
= wxGetUserName();
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) SWIG_fail
;
2386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2397 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
*resultobj
;
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2407 result
= wxGetHomeDir();
2409 wxPyEndAllowThreads(__tstate
);
2410 if (PyErr_Occurred()) SWIG_fail
;
2414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2425 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
*resultobj
;
2427 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2428 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2430 bool temp1
= False
;
2431 PyObject
* obj0
= 0 ;
2433 (char *) "user", NULL
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2439 arg1
= wxString_in_helper(obj0
);
2440 if (arg1
== NULL
) SWIG_fail
;
2445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2446 result
= wxGetUserHome((wxString
const &)*arg1
);
2448 wxPyEndAllowThreads(__tstate
);
2449 if (PyErr_Occurred()) SWIG_fail
;
2453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2472 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
*resultobj
;
2474 unsigned long result
;
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2482 result
= (unsigned long)wxGetProcessId();
2484 wxPyEndAllowThreads(__tstate
);
2485 if (PyErr_Occurred()) SWIG_fail
;
2487 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
2494 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
*resultobj
;
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2505 wxPyEndAllowThreads(__tstate
);
2506 if (PyErr_Occurred()) SWIG_fail
;
2508 Py_INCREF(Py_None
); resultobj
= Py_None
;
2515 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
*resultobj
;
2517 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2518 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2519 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2520 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2521 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2522 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2523 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2524 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2525 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2526 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2527 int arg6
= (int) 0 ;
2528 wxWindow
*arg7
= (wxWindow
*) NULL
;
2529 int arg8
= (int) -1 ;
2530 int arg9
= (int) -1 ;
2532 bool temp1
= False
;
2533 bool temp2
= False
;
2534 bool temp3
= False
;
2535 bool temp4
= False
;
2536 bool temp5
= False
;
2537 PyObject
* obj0
= 0 ;
2538 PyObject
* obj1
= 0 ;
2539 PyObject
* obj2
= 0 ;
2540 PyObject
* obj3
= 0 ;
2541 PyObject
* obj4
= 0 ;
2542 PyObject
* obj5
= 0 ;
2543 PyObject
* obj6
= 0 ;
2544 PyObject
* obj7
= 0 ;
2545 PyObject
* obj8
= 0 ;
2547 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2553 arg1
= wxString_in_helper(obj0
);
2554 if (arg1
== NULL
) SWIG_fail
;
2560 arg2
= wxString_in_helper(obj1
);
2561 if (arg2
== NULL
) SWIG_fail
;
2567 arg3
= wxString_in_helper(obj2
);
2568 if (arg3
== NULL
) SWIG_fail
;
2574 arg4
= wxString_in_helper(obj3
);
2575 if (arg4
== NULL
) SWIG_fail
;
2581 arg5
= wxString_in_helper(obj4
);
2582 if (arg5
== NULL
) SWIG_fail
;
2588 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
2589 if (PyErr_Occurred()) SWIG_fail
;
2593 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2597 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
2598 if (PyErr_Occurred()) SWIG_fail
;
2603 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
2604 if (PyErr_Occurred()) SWIG_fail
;
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) SWIG_fail
;
2616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2667 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2668 PyObject
*resultobj
;
2669 wxString
*arg1
= 0 ;
2670 wxString
*arg2
= 0 ;
2671 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2672 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2673 wxWindow
*arg4
= (wxWindow
*) NULL
;
2675 bool temp1
= False
;
2676 bool temp2
= False
;
2677 bool temp3
= False
;
2678 PyObject
* obj0
= 0 ;
2679 PyObject
* obj1
= 0 ;
2680 PyObject
* obj2
= 0 ;
2681 PyObject
* obj3
= 0 ;
2683 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2688 arg1
= wxString_in_helper(obj0
);
2689 if (arg1
== NULL
) SWIG_fail
;
2693 arg2
= wxString_in_helper(obj1
);
2694 if (arg2
== NULL
) SWIG_fail
;
2699 arg3
= wxString_in_helper(obj2
);
2700 if (arg3
== NULL
) SWIG_fail
;
2705 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2709 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2711 wxPyEndAllowThreads(__tstate
);
2712 if (PyErr_Occurred()) SWIG_fail
;
2716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2751 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
*resultobj
;
2753 wxString
*arg1
= 0 ;
2754 wxString
*arg2
= 0 ;
2755 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2756 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2757 wxWindow
*arg4
= (wxWindow
*) NULL
;
2759 bool temp1
= False
;
2760 bool temp2
= False
;
2761 bool temp3
= False
;
2762 PyObject
* obj0
= 0 ;
2763 PyObject
* obj1
= 0 ;
2764 PyObject
* obj2
= 0 ;
2765 PyObject
* obj3
= 0 ;
2767 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2772 arg1
= wxString_in_helper(obj0
);
2773 if (arg1
== NULL
) SWIG_fail
;
2777 arg2
= wxString_in_helper(obj1
);
2778 if (arg2
== NULL
) SWIG_fail
;
2783 arg3
= wxString_in_helper(obj2
);
2784 if (arg3
== NULL
) SWIG_fail
;
2789 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2793 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2795 wxPyEndAllowThreads(__tstate
);
2796 if (PyErr_Occurred()) SWIG_fail
;
2800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2835 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2836 PyObject
*resultobj
;
2837 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
2838 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2839 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2840 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2841 long arg3
= (long) wxDD_DEFAULT_STYLE
;
2842 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2843 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2844 wxWindow
*arg5
= (wxWindow
*) NULL
;
2846 bool temp1
= False
;
2847 bool temp2
= False
;
2849 PyObject
* obj0
= 0 ;
2850 PyObject
* obj1
= 0 ;
2851 PyObject
* obj2
= 0 ;
2852 PyObject
* obj3
= 0 ;
2853 PyObject
* obj4
= 0 ;
2855 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2861 arg1
= wxString_in_helper(obj0
);
2862 if (arg1
== NULL
) SWIG_fail
;
2868 arg2
= wxString_in_helper(obj1
);
2869 if (arg2
== NULL
) SWIG_fail
;
2875 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
2876 if (PyErr_Occurred()) SWIG_fail
;
2882 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2886 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2890 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
2892 wxPyEndAllowThreads(__tstate
);
2893 if (PyErr_Occurred()) SWIG_fail
;
2897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2924 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2925 PyObject
*resultobj
;
2926 wxString
*arg1
= 0 ;
2927 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2928 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2929 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2930 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2931 wxWindow
*arg4
= (wxWindow
*) NULL
;
2932 int arg5
= (int) -1 ;
2933 int arg6
= (int) -1 ;
2934 bool arg7
= (bool) True
;
2936 bool temp1
= False
;
2937 bool temp2
= False
;
2938 bool temp3
= False
;
2939 PyObject
* obj0
= 0 ;
2940 PyObject
* obj1
= 0 ;
2941 PyObject
* obj2
= 0 ;
2942 PyObject
* obj3
= 0 ;
2943 PyObject
* obj4
= 0 ;
2944 PyObject
* obj5
= 0 ;
2945 PyObject
* obj6
= 0 ;
2947 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2952 arg1
= wxString_in_helper(obj0
);
2953 if (arg1
== NULL
) SWIG_fail
;
2958 arg2
= wxString_in_helper(obj1
);
2959 if (arg2
== NULL
) SWIG_fail
;
2965 arg3
= wxString_in_helper(obj2
);
2966 if (arg3
== NULL
) SWIG_fail
;
2971 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2975 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2981 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2987 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2993 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
2995 wxPyEndAllowThreads(__tstate
);
2996 if (PyErr_Occurred()) SWIG_fail
;
3000 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3002 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3035 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3036 PyObject
*resultobj
;
3037 wxString
*arg1
= 0 ;
3038 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3039 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3040 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3041 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3042 wxWindow
*arg4
= (wxWindow
*) NULL
;
3044 bool temp1
= False
;
3045 bool temp2
= False
;
3046 bool temp3
= False
;
3047 PyObject
* obj0
= 0 ;
3048 PyObject
* obj1
= 0 ;
3049 PyObject
* obj2
= 0 ;
3050 PyObject
* obj3
= 0 ;
3052 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3057 arg1
= wxString_in_helper(obj0
);
3058 if (arg1
== NULL
) SWIG_fail
;
3063 arg2
= wxString_in_helper(obj1
);
3064 if (arg2
== NULL
) SWIG_fail
;
3070 arg3
= wxString_in_helper(obj2
);
3071 if (arg3
== NULL
) SWIG_fail
;
3076 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) SWIG_fail
;
3087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3122 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
*resultobj
;
3124 wxString
*arg1
= 0 ;
3125 wxString
*arg2
= 0 ;
3127 wxString
*arg4
= (wxString
*) 0 ;
3128 wxWindow
*arg5
= (wxWindow
*) NULL
;
3129 int arg6
= (int) -1 ;
3130 int arg7
= (int) -1 ;
3131 bool arg8
= (bool) True
;
3132 int arg9
= (int) 150 ;
3133 int arg10
= (int) 200 ;
3135 bool temp1
= False
;
3136 bool temp2
= False
;
3137 PyObject
* obj0
= 0 ;
3138 PyObject
* obj1
= 0 ;
3139 PyObject
* obj2
= 0 ;
3140 PyObject
* obj3
= 0 ;
3141 PyObject
* obj4
= 0 ;
3142 PyObject
* obj5
= 0 ;
3143 PyObject
* obj6
= 0 ;
3144 PyObject
* obj7
= 0 ;
3145 PyObject
* obj8
= 0 ;
3147 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3152 arg1
= wxString_in_helper(obj0
);
3153 if (arg1
== NULL
) SWIG_fail
;
3157 arg2
= wxString_in_helper(obj1
);
3158 if (arg2
== NULL
) SWIG_fail
;
3162 arg3
= PyList_Size(obj2
);
3163 arg4
= wxString_LIST_helper(obj2
);
3164 if (arg4
== NULL
) SWIG_fail
;
3167 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3171 arg6
= (int) SWIG_PyObj_AsInt(obj4
);
3172 if (PyErr_Occurred()) SWIG_fail
;
3177 arg7
= (int) SWIG_PyObj_AsInt(obj5
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3183 arg8
= (bool) SWIG_PyObj_AsBool(obj6
);
3184 if (PyErr_Occurred()) SWIG_fail
;
3189 arg9
= (int) SWIG_PyObj_AsInt(obj7
);
3190 if (PyErr_Occurred()) SWIG_fail
;
3195 arg10
= (int) SWIG_PyObj_AsInt(obj8
);
3196 if (PyErr_Occurred()) SWIG_fail
;
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3201 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3222 if (arg4
) delete [] arg4
;
3235 if (arg4
) delete [] arg4
;
3241 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3242 PyObject
*resultobj
;
3243 wxString
*arg1
= 0 ;
3244 wxString
*arg2
= 0 ;
3246 wxString
*arg4
= (wxString
*) 0 ;
3247 wxWindow
*arg5
= (wxWindow
*) NULL
;
3248 int arg6
= (int) -1 ;
3249 int arg7
= (int) -1 ;
3250 bool arg8
= (bool) True
;
3251 int arg9
= (int) 150 ;
3252 int arg10
= (int) 200 ;
3254 bool temp1
= False
;
3255 bool temp2
= False
;
3256 PyObject
* obj0
= 0 ;
3257 PyObject
* obj1
= 0 ;
3258 PyObject
* obj2
= 0 ;
3259 PyObject
* obj3
= 0 ;
3260 PyObject
* obj4
= 0 ;
3261 PyObject
* obj5
= 0 ;
3262 PyObject
* obj6
= 0 ;
3263 PyObject
* obj7
= 0 ;
3264 PyObject
* obj8
= 0 ;
3266 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3271 arg1
= wxString_in_helper(obj0
);
3272 if (arg1
== NULL
) SWIG_fail
;
3276 arg2
= wxString_in_helper(obj1
);
3277 if (arg2
== NULL
) SWIG_fail
;
3281 arg3
= PyList_Size(obj2
);
3282 arg4
= wxString_LIST_helper(obj2
);
3283 if (arg4
== NULL
) SWIG_fail
;
3286 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3290 arg6
= (int) SWIG_PyObj_AsInt(obj4
);
3291 if (PyErr_Occurred()) SWIG_fail
;
3296 arg7
= (int) SWIG_PyObj_AsInt(obj5
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3302 arg8
= (bool) SWIG_PyObj_AsBool(obj6
);
3303 if (PyErr_Occurred()) SWIG_fail
;
3308 arg9
= (int) SWIG_PyObj_AsInt(obj7
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3314 arg10
= (int) SWIG_PyObj_AsInt(obj8
);
3315 if (PyErr_Occurred()) SWIG_fail
;
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3325 resultobj
= SWIG_PyObj_FromInt((int)result
);
3335 if (arg4
) delete [] arg4
;
3348 if (arg4
) delete [] arg4
;
3354 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
*resultobj
;
3356 wxString
*arg1
= 0 ;
3357 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3358 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3359 int arg3
= (int) wxOK
|wxCENTRE
;
3360 wxWindow
*arg4
= (wxWindow
*) NULL
;
3361 int arg5
= (int) -1 ;
3362 int arg6
= (int) -1 ;
3364 bool temp1
= False
;
3365 bool temp2
= False
;
3366 PyObject
* obj0
= 0 ;
3367 PyObject
* obj1
= 0 ;
3368 PyObject
* obj2
= 0 ;
3369 PyObject
* obj3
= 0 ;
3370 PyObject
* obj4
= 0 ;
3371 PyObject
* obj5
= 0 ;
3373 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3378 arg1
= wxString_in_helper(obj0
);
3379 if (arg1
== NULL
) SWIG_fail
;
3384 arg2
= wxString_in_helper(obj1
);
3385 if (arg2
== NULL
) SWIG_fail
;
3391 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3392 if (PyErr_Occurred()) SWIG_fail
;
3396 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3400 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
3401 if (PyErr_Occurred()) SWIG_fail
;
3406 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
3407 if (PyErr_Occurred()) SWIG_fail
;
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) SWIG_fail
;
3417 resultobj
= SWIG_PyObj_FromInt((int)result
);
3440 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3441 PyObject
*resultobj
;
3442 wxString
*arg1
= 0 ;
3443 wxString
*arg2
= 0 ;
3444 wxString
*arg3
= 0 ;
3446 long arg5
= (long) 0 ;
3447 long arg6
= (long) 100 ;
3448 wxWindow
*arg7
= (wxWindow
*) NULL
;
3449 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3450 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3452 bool temp1
= False
;
3453 bool temp2
= False
;
3454 bool temp3
= False
;
3456 PyObject
* obj0
= 0 ;
3457 PyObject
* obj1
= 0 ;
3458 PyObject
* obj2
= 0 ;
3459 PyObject
* obj3
= 0 ;
3460 PyObject
* obj4
= 0 ;
3461 PyObject
* obj5
= 0 ;
3462 PyObject
* obj6
= 0 ;
3463 PyObject
* obj7
= 0 ;
3465 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3470 arg1
= wxString_in_helper(obj0
);
3471 if (arg1
== NULL
) SWIG_fail
;
3475 arg2
= wxString_in_helper(obj1
);
3476 if (arg2
== NULL
) SWIG_fail
;
3480 arg3
= wxString_in_helper(obj2
);
3481 if (arg3
== NULL
) SWIG_fail
;
3485 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3490 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3496 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3497 if (PyErr_Occurred()) SWIG_fail
;
3501 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3506 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) SWIG_fail
;
3516 resultobj
= SWIG_PyObj_FromLong((long)result
);
3547 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
*resultobj
;
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3557 result
= (bool)wxColourDisplay();
3559 wxPyEndAllowThreads(__tstate
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3569 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
*resultobj
;
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3579 result
= (int)wxDisplayDepth();
3581 wxPyEndAllowThreads(__tstate
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3584 resultobj
= SWIG_PyObj_FromInt((int)result
);
3591 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
*resultobj
;
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 result
= (int)wxGetDisplayDepth();
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3606 resultobj
= SWIG_PyObj_FromInt((int)result
);
3613 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 int *arg1
= (int *) 0 ;
3616 int *arg2
= (int *) 0 ;
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 wxDisplaySize(arg1
,arg2
);
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3633 Py_INCREF(Py_None
); resultobj
= Py_None
;
3635 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3636 resultobj
= t_output_helper(resultobj
,o
);
3639 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3640 resultobj
= t_output_helper(resultobj
,o
);
3648 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
*resultobj
;
3655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 result
= wxGetDisplaySize();
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3665 resultptr
= new wxSize((wxSize
&) result
);
3666 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3674 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
*resultobj
;
3676 int *arg1
= (int *) 0 ;
3677 int *arg2
= (int *) 0 ;
3686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3689 wxDisplaySizeMM(arg1
,arg2
);
3691 wxPyEndAllowThreads(__tstate
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3694 Py_INCREF(Py_None
); resultobj
= Py_None
;
3696 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3697 resultobj
= t_output_helper(resultobj
,o
);
3700 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3701 resultobj
= t_output_helper(resultobj
,o
);
3709 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
*resultobj
;
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 result
= wxGetDisplaySizeMM();
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3726 resultptr
= new wxSize((wxSize
&) result
);
3727 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3735 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
*resultobj
;
3737 int *arg1
= (int *) 0 ;
3738 int *arg2
= (int *) 0 ;
3739 int *arg3
= (int *) 0 ;
3740 int *arg4
= (int *) 0 ;
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3756 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3758 wxPyEndAllowThreads(__tstate
);
3759 if (PyErr_Occurred()) SWIG_fail
;
3761 Py_INCREF(Py_None
); resultobj
= Py_None
;
3763 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3764 resultobj
= t_output_helper(resultobj
,o
);
3767 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3768 resultobj
= t_output_helper(resultobj
,o
);
3771 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3772 resultobj
= t_output_helper(resultobj
,o
);
3775 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3776 resultobj
= t_output_helper(resultobj
,o
);
3784 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
*resultobj
;
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 result
= wxGetClientDisplayRect();
3796 wxPyEndAllowThreads(__tstate
);
3797 if (PyErr_Occurred()) SWIG_fail
;
3801 resultptr
= new wxRect((wxRect
&) result
);
3802 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3810 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
*resultobj
;
3812 wxCursor
*arg1
= 0 ;
3813 PyObject
* obj0
= 0 ;
3815 (char *) "cursor", NULL
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3821 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) SWIG_fail
;
3830 Py_INCREF(Py_None
); resultobj
= Py_None
;
3837 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
*resultobj
;
3839 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3840 PyObject
* obj0
= 0 ;
3842 (char *) "cursor", NULL
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 wxBeginBusyCursor(arg1
);
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 Py_INCREF(Py_None
); resultobj
= Py_None
;
3863 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
;
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= (wxWindow
*)wxGetActiveWindow();
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= wxPyMake_wxObject(result
);
3887 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3892 PyObject
* obj0
= 0 ;
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3900 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3910 resultobj
= wxPyMake_wxObject(result
);
3918 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
*resultobj
;
3923 PyObject
* obj0
= 0 ;
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3931 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3935 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3941 resultobj
= wxPyMake_wxObject(result
);
3949 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
*resultobj
;
3951 wxWindow
*arg1
= (wxWindow
*) 0 ;
3953 PyObject
* obj0
= 0 ;
3955 (char *) "win", NULL
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
3959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3968 resultobj
= wxPyMake_wxObject(result
);
3976 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3977 PyObject
*resultobj
;
3980 PyObject
* obj0
= 0 ;
3982 (char *) "key", NULL
3985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
3987 arg1
= (wxKeyCode
) SWIG_PyObj_AsInt(obj0
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3992 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4004 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
*resultobj
;
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 wxWakeUpMainThread();
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4018 Py_INCREF(Py_None
); resultobj
= Py_None
;
4025 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
*resultobj
;
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 Py_INCREF(Py_None
); resultobj
= Py_None
;
4046 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4060 Py_INCREF(Py_None
); resultobj
= Py_None
;
4067 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
*resultobj
;
4069 wxMutexGuiLocker
*result
;
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4077 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4079 wxPyEndAllowThreads(__tstate
);
4080 if (PyErr_Occurred()) SWIG_fail
;
4082 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMutexGuiLocker
, 1);
4089 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
*resultobj
;
4091 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4092 PyObject
* obj0
= 0 ;
4094 (char *) "self", NULL
4097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMutexGuiLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4106 Py_INCREF(Py_None
); resultobj
= Py_None
;
4113 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4116 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4118 return Py_BuildValue((char *)"");
4120 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
;
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 result
= (bool)wxThread_IsMain();
4132 wxPyEndAllowThreads(__tstate
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4142 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
*resultobj
;
4144 wxString
*arg1
= 0 ;
4146 bool temp1
= False
;
4147 PyObject
* obj0
= 0 ;
4149 (char *) "tip", NULL
4152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4154 arg1
= wxString_in_helper(obj0
);
4155 if (arg1
== NULL
) SWIG_fail
;
4159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4160 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4162 wxPyEndAllowThreads(__tstate
);
4163 if (PyErr_Occurred()) SWIG_fail
;
4166 resultobj
= wxPyMake_wxObject(result
);
4182 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
*resultobj
;
4184 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4185 wxString
*arg2
= 0 ;
4186 bool temp2
= False
;
4187 PyObject
* obj0
= 0 ;
4188 PyObject
* obj1
= 0 ;
4190 (char *) "self",(char *) "tip", NULL
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4196 arg2
= wxString_in_helper(obj1
);
4197 if (arg2
== NULL
) SWIG_fail
;
4201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4202 (arg1
)->SetTip((wxString
const &)*arg2
);
4204 wxPyEndAllowThreads(__tstate
);
4205 if (PyErr_Occurred()) SWIG_fail
;
4207 Py_INCREF(Py_None
); resultobj
= Py_None
;
4222 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
;
4224 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4226 PyObject
* obj0
= 0 ;
4228 (char *) "self", NULL
4231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 result
= (arg1
)->GetTip();
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4242 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4244 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4253 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
*resultobj
;
4255 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4257 PyObject
* obj0
= 0 ;
4259 (char *) "self", NULL
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 result
= (wxWindow
*)(arg1
)->GetWindow();
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4272 resultobj
= wxPyMake_wxObject(result
);
4280 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4281 PyObject
*resultobj
;
4283 PyObject
* obj0
= 0 ;
4285 (char *) "flag", NULL
4288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4290 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 wxToolTip::Enable(arg1
);
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4300 Py_INCREF(Py_None
); resultobj
= Py_None
;
4307 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
*resultobj
;
4310 PyObject
* obj0
= 0 ;
4312 (char *) "milliseconds", NULL
4315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4317 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 wxToolTip::SetDelay(arg1
);
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4327 Py_INCREF(Py_None
); resultobj
= Py_None
;
4334 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4337 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4339 return Py_BuildValue((char *)"");
4341 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
;
4343 wxWindow
*arg1
= (wxWindow
*) 0 ;
4347 PyObject
* obj0
= 0 ;
4348 PyObject
* obj1
= 0 ;
4350 (char *) "window",(char *) "size", NULL
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4357 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4361 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4363 wxPyEndAllowThreads(__tstate
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4366 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 1);
4373 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
*resultobj
;
4375 wxCaret
*arg1
= (wxCaret
*) 0 ;
4376 PyObject
* obj0
= 0 ;
4378 (char *) "self", NULL
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) SWIG_fail
;
4390 Py_INCREF(Py_None
); resultobj
= Py_None
;
4397 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
*resultobj
;
4399 wxCaret
*arg1
= (wxCaret
*) 0 ;
4401 PyObject
* obj0
= 0 ;
4403 (char *) "self", NULL
4406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 result
= (bool)(arg1
)->IsOk();
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4422 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
*resultobj
;
4424 wxCaret
*arg1
= (wxCaret
*) 0 ;
4426 PyObject
* obj0
= 0 ;
4428 (char *) "self", NULL
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4435 result
= (bool)(arg1
)->IsVisible();
4437 wxPyEndAllowThreads(__tstate
);
4438 if (PyErr_Occurred()) SWIG_fail
;
4440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4447 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
*resultobj
;
4449 wxCaret
*arg1
= (wxCaret
*) 0 ;
4451 PyObject
* obj0
= 0 ;
4453 (char *) "self", NULL
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 result
= (arg1
)->GetPosition();
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4466 wxPoint
* resultptr
;
4467 resultptr
= new wxPoint((wxPoint
&) result
);
4468 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
4476 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
;
4478 wxCaret
*arg1
= (wxCaret
*) 0 ;
4479 int *arg2
= (int *) 0 ;
4480 int *arg3
= (int *) 0 ;
4483 PyObject
* obj0
= 0 ;
4485 (char *) "self", NULL
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4494 (arg1
)->GetPosition(arg2
,arg3
);
4496 wxPyEndAllowThreads(__tstate
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4499 Py_INCREF(Py_None
); resultobj
= Py_None
;
4501 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4502 resultobj
= t_output_helper(resultobj
,o
);
4505 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4506 resultobj
= t_output_helper(resultobj
,o
);
4514 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
*resultobj
;
4516 wxCaret
*arg1
= (wxCaret
*) 0 ;
4518 PyObject
* obj0
= 0 ;
4520 (char *) "self", NULL
4523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 result
= (arg1
)->GetSize();
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4534 resultptr
= new wxSize((wxSize
&) result
);
4535 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
4543 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4544 PyObject
*resultobj
;
4545 wxCaret
*arg1
= (wxCaret
*) 0 ;
4546 int *arg2
= (int *) 0 ;
4547 int *arg3
= (int *) 0 ;
4550 PyObject
* obj0
= 0 ;
4552 (char *) "self", NULL
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4561 (arg1
)->GetSize(arg2
,arg3
);
4563 wxPyEndAllowThreads(__tstate
);
4564 if (PyErr_Occurred()) SWIG_fail
;
4566 Py_INCREF(Py_None
); resultobj
= Py_None
;
4568 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4569 resultobj
= t_output_helper(resultobj
,o
);
4572 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4573 resultobj
= t_output_helper(resultobj
,o
);
4581 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
*resultobj
;
4583 wxCaret
*arg1
= (wxCaret
*) 0 ;
4585 PyObject
* obj0
= 0 ;
4587 (char *) "self", NULL
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 result
= (wxWindow
*)(arg1
)->GetWindow();
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4600 resultobj
= wxPyMake_wxObject(result
);
4608 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
*resultobj
;
4610 wxCaret
*arg1
= (wxCaret
*) 0 ;
4613 PyObject
* obj0
= 0 ;
4614 PyObject
* obj1
= 0 ;
4615 PyObject
* obj2
= 0 ;
4617 (char *) "self",(char *) "x",(char *) "y", NULL
4620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4623 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4627 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4632 (arg1
)->Move(arg2
,arg3
);
4634 wxPyEndAllowThreads(__tstate
);
4635 if (PyErr_Occurred()) SWIG_fail
;
4637 Py_INCREF(Py_None
); resultobj
= Py_None
;
4644 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
*resultobj
;
4646 wxCaret
*arg1
= (wxCaret
*) 0 ;
4649 PyObject
* obj0
= 0 ;
4650 PyObject
* obj1
= 0 ;
4652 (char *) "self",(char *) "pt", NULL
4655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4659 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 (arg1
)->Move((wxPoint
const &)*arg2
);
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4668 Py_INCREF(Py_None
); resultobj
= Py_None
;
4675 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
*resultobj
;
4677 wxCaret
*arg1
= (wxCaret
*) 0 ;
4680 PyObject
* obj0
= 0 ;
4681 PyObject
* obj1
= 0 ;
4682 PyObject
* obj2
= 0 ;
4684 (char *) "self",(char *) "width",(char *) "height", NULL
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4690 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4694 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4699 (arg1
)->SetSize(arg2
,arg3
);
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4704 Py_INCREF(Py_None
); resultobj
= Py_None
;
4711 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4712 PyObject
*resultobj
;
4713 wxCaret
*arg1
= (wxCaret
*) 0 ;
4716 PyObject
* obj0
= 0 ;
4717 PyObject
* obj1
= 0 ;
4719 (char *) "self",(char *) "size", NULL
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4726 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 (arg1
)->SetSize((wxSize
const &)*arg2
);
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4735 Py_INCREF(Py_None
); resultobj
= Py_None
;
4742 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
*resultobj
;
4744 wxCaret
*arg1
= (wxCaret
*) 0 ;
4745 int arg2
= (int) True
;
4746 PyObject
* obj0
= 0 ;
4747 PyObject
* obj1
= 0 ;
4749 (char *) "self",(char *) "show", NULL
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4756 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4757 if (PyErr_Occurred()) SWIG_fail
;
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4767 Py_INCREF(Py_None
); resultobj
= Py_None
;
4774 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
;
4776 wxCaret
*arg1
= (wxCaret
*) 0 ;
4777 PyObject
* obj0
= 0 ;
4779 (char *) "self", NULL
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4791 Py_INCREF(Py_None
); resultobj
= Py_None
;
4798 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4801 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4803 return Py_BuildValue((char *)"");
4805 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4806 PyObject
*resultobj
;
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 result
= (int)wxCaret_GetBlinkTime();
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4820 resultobj
= SWIG_PyObj_FromInt((int)result
);
4827 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
*resultobj
;
4830 PyObject
* obj0
= 0 ;
4832 (char *) "milliseconds", NULL
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
4837 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 wxCaret_SetBlinkTime(arg1
);
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) SWIG_fail
;
4847 Py_INCREF(Py_None
); resultobj
= Py_None
;
4854 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
*resultobj
;
4856 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4857 wxBusyCursor
*result
;
4858 PyObject
* obj0
= 0 ;
4860 (char *) "cursor", NULL
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
4865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4869 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) SWIG_fail
;
4874 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyCursor
, 1);
4881 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
*resultobj
;
4883 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
4884 PyObject
* obj0
= 0 ;
4886 (char *) "self", NULL
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
4890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 Py_INCREF(Py_None
); resultobj
= Py_None
;
4905 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
4907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4908 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
4910 return Py_BuildValue((char *)"");
4912 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
*resultobj
;
4914 wxWindow
*arg1
= (wxWindow
*) NULL
;
4915 wxWindowDisabler
*result
;
4916 PyObject
* obj0
= 0 ;
4918 (char *) "winToSkip", NULL
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDisabler
, 1);
4939 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
;
4941 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
4942 PyObject
* obj0
= 0 ;
4944 (char *) "self", NULL
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4956 Py_INCREF(Py_None
); resultobj
= Py_None
;
4963 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
4965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4966 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
4968 return Py_BuildValue((char *)"");
4970 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
;
4972 wxString
*arg1
= 0 ;
4974 bool temp1
= False
;
4975 PyObject
* obj0
= 0 ;
4977 (char *) "message", NULL
4980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
4982 arg1
= wxString_in_helper(obj0
);
4983 if (arg1
== NULL
) SWIG_fail
;
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4993 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyInfo
, 1);
5008 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
*resultobj
;
5010 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5011 PyObject
* obj0
= 0 ;
5013 (char *) "self", NULL
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5025 Py_INCREF(Py_None
); resultobj
= Py_None
;
5032 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5035 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5037 return Py_BuildValue((char *)"");
5039 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
;
5041 wxStopWatch
*result
;
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 result
= (wxStopWatch
*)new wxStopWatch();
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStopWatch
, 1);
5061 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5064 long arg2
= (long) 0 ;
5065 PyObject
* obj0
= 0 ;
5066 PyObject
* obj1
= 0 ;
5068 (char *) "self",(char *) "t0", NULL
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5075 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
5076 if (PyErr_Occurred()) SWIG_fail
;
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 (arg1
)->Start(arg2
);
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5086 Py_INCREF(Py_None
); resultobj
= Py_None
;
5093 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
*resultobj
;
5095 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5096 PyObject
* obj0
= 0 ;
5098 (char *) "self", NULL
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5110 Py_INCREF(Py_None
); resultobj
= Py_None
;
5117 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
*resultobj
;
5119 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5120 PyObject
* obj0
= 0 ;
5122 (char *) "self", NULL
5125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5134 Py_INCREF(Py_None
); resultobj
= Py_None
;
5141 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5145 PyObject
* obj0
= 0 ;
5147 (char *) "self", NULL
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 resultobj
= SWIG_PyObj_FromLong((long)result
);
5166 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5169 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5171 return Py_BuildValue((char *)"");
5173 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5174 PyObject
*resultobj
;
5175 int arg1
= (int) 9 ;
5176 wxFileHistory
*result
;
5177 PyObject
* obj0
= 0 ;
5179 (char *) "maxFiles", NULL
5182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5185 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) SWIG_fail
;
5196 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileHistory
, 1);
5203 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
;
5205 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5206 PyObject
* obj0
= 0 ;
5208 (char *) "self", NULL
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 wxPyEndAllowThreads(__tstate
);
5218 if (PyErr_Occurred()) SWIG_fail
;
5220 Py_INCREF(Py_None
); resultobj
= Py_None
;
5227 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5228 PyObject
*resultobj
;
5229 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5230 wxString
*arg2
= 0 ;
5231 bool temp2
= False
;
5232 PyObject
* obj0
= 0 ;
5233 PyObject
* obj1
= 0 ;
5235 (char *) "self",(char *) "file", NULL
5238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5241 arg2
= wxString_in_helper(obj1
);
5242 if (arg2
== NULL
) SWIG_fail
;
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5247 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5252 Py_INCREF(Py_None
); resultobj
= Py_None
;
5267 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
*resultobj
;
5269 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5271 PyObject
* obj0
= 0 ;
5272 PyObject
* obj1
= 0 ;
5274 (char *) "self",(char *) "i", NULL
5277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5280 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 (arg1
)->RemoveFileFromHistory(arg2
);
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 Py_INCREF(Py_None
); resultobj
= Py_None
;
5297 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
*resultobj
;
5299 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5301 PyObject
* obj0
= 0 ;
5303 (char *) "self", NULL
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5315 resultobj
= SWIG_PyObj_FromInt((int)result
);
5322 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
*resultobj
;
5324 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5325 wxMenu
*arg2
= (wxMenu
*) 0 ;
5326 PyObject
* obj0
= 0 ;
5327 PyObject
* obj1
= 0 ;
5329 (char *) "self",(char *) "menu", NULL
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5334 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 (arg1
)->UseMenu(arg2
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 Py_INCREF(Py_None
); resultobj
= Py_None
;
5349 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
;
5351 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5352 wxMenu
*arg2
= (wxMenu
*) 0 ;
5353 PyObject
* obj0
= 0 ;
5354 PyObject
* obj1
= 0 ;
5356 (char *) "self",(char *) "menu", NULL
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5361 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 (arg1
)->RemoveMenu(arg2
);
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5369 Py_INCREF(Py_None
); resultobj
= Py_None
;
5376 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
*resultobj
;
5378 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5379 wxConfigBase
*arg2
= 0 ;
5380 PyObject
* obj0
= 0 ;
5381 PyObject
* obj1
= 0 ;
5383 (char *) "self",(char *) "config", NULL
5386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5388 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5390 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 (arg1
)->Load(*arg2
);
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5399 Py_INCREF(Py_None
); resultobj
= Py_None
;
5406 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
*resultobj
;
5408 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5409 wxConfigBase
*arg2
= 0 ;
5410 PyObject
* obj0
= 0 ;
5411 PyObject
* obj1
= 0 ;
5413 (char *) "self",(char *) "config", NULL
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5418 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5420 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 (arg1
)->Save(*arg2
);
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 Py_INCREF(Py_None
); resultobj
= Py_None
;
5436 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
;
5438 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5439 PyObject
* obj0
= 0 ;
5441 (char *) "self", NULL
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 (arg1
)->AddFilesToMenu();
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5453 Py_INCREF(Py_None
); resultobj
= Py_None
;
5460 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
*resultobj
;
5462 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5463 wxMenu
*arg2
= (wxMenu
*) 0 ;
5464 PyObject
* obj0
= 0 ;
5465 PyObject
* obj1
= 0 ;
5467 (char *) "self",(char *) "menu", NULL
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5472 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 (arg1
)->AddFilesToMenu(arg2
);
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5480 Py_INCREF(Py_None
); resultobj
= Py_None
;
5487 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
;
5489 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5492 PyObject
* obj0
= 0 ;
5493 PyObject
* obj1
= 0 ;
5495 (char *) "self",(char *) "i", NULL
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5501 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5524 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
*resultobj
;
5526 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5528 PyObject
* obj0
= 0 ;
5530 (char *) "self", NULL
5533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5539 wxPyEndAllowThreads(__tstate
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5542 resultobj
= SWIG_PyObj_FromInt((int)result
);
5549 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5552 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5554 return Py_BuildValue((char *)"");
5556 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
*resultobj
;
5558 wxString
*arg1
= 0 ;
5559 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5560 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5561 wxSingleInstanceChecker
*result
;
5562 bool temp1
= False
;
5563 bool temp2
= False
;
5564 PyObject
* obj0
= 0 ;
5565 PyObject
* obj1
= 0 ;
5567 (char *) "name",(char *) "path", NULL
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5572 arg1
= wxString_in_helper(obj0
);
5573 if (arg1
== NULL
) SWIG_fail
;
5578 arg2
= wxString_in_helper(obj1
);
5579 if (arg2
== NULL
) SWIG_fail
;
5584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5585 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5590 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5613 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5614 PyObject
*resultobj
;
5615 wxSingleInstanceChecker
*result
;
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5628 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5635 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
;
5637 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5638 PyObject
* obj0
= 0 ;
5640 (char *) "self", NULL
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5652 Py_INCREF(Py_None
); resultobj
= Py_None
;
5659 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
;
5661 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5662 wxString
*arg2
= 0 ;
5663 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5664 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5666 bool temp2
= False
;
5667 bool temp3
= False
;
5668 PyObject
* obj0
= 0 ;
5669 PyObject
* obj1
= 0 ;
5670 PyObject
* obj2
= 0 ;
5672 (char *) "self",(char *) "name",(char *) "path", NULL
5675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5678 arg2
= wxString_in_helper(obj1
);
5679 if (arg2
== NULL
) SWIG_fail
;
5684 arg3
= wxString_in_helper(obj2
);
5685 if (arg3
== NULL
) SWIG_fail
;
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5719 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
*resultobj
;
5721 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5723 PyObject
* obj0
= 0 ;
5725 (char *) "self", NULL
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5744 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5747 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5749 return Py_BuildValue((char *)"");
5751 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
*resultobj
;
5753 wxWindow
*arg1
= (wxWindow
*) 0 ;
5756 PyObject
* obj0
= 0 ;
5757 PyObject
* obj1
= 0 ;
5758 PyObject
* obj2
= 0 ;
5760 (char *) "window",(char *) "dc",(char *) "method", NULL
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5765 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5767 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5770 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5780 Py_INCREF(Py_None
); resultobj
= Py_None
;
5787 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
*resultobj
;
5789 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5790 PyObject
* obj0
= 0 ;
5792 (char *) "self", NULL
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5804 Py_INCREF(Py_None
); resultobj
= Py_None
;
5811 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
;
5813 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5815 PyObject
* obj0
= 0 ;
5817 (char *) "self", NULL
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
5821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 result
= (arg1
)->GetTip();
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5842 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
;
5844 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5846 PyObject
* obj0
= 0 ;
5848 (char *) "self", NULL
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
5852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 result
= (size_t)(arg1
)->GetCurrentTip();
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5860 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
5867 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
;
5869 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5870 wxString
*arg2
= 0 ;
5872 bool temp2
= False
;
5873 PyObject
* obj0
= 0 ;
5874 PyObject
* obj1
= 0 ;
5876 (char *) "self",(char *) "tip", NULL
5879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
5880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5882 arg2
= wxString_in_helper(obj1
);
5883 if (arg2
== NULL
) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5895 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5897 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5914 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5917 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
5919 return Py_BuildValue((char *)"");
5921 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
*resultobj
;
5924 wxPyTipProvider
*result
;
5925 PyObject
* obj0
= 0 ;
5927 (char *) "currentTip", NULL
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
5932 arg1
= (size_t) SWIG_PyObj_AsUnsignedLong(obj0
);
5933 if (PyErr_Occurred()) SWIG_fail
;
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5942 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTipProvider
, 1);
5949 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
;
5951 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
5952 PyObject
*arg2
= (PyObject
*) 0 ;
5953 PyObject
*arg3
= (PyObject
*) 0 ;
5954 PyObject
* obj0
= 0 ;
5955 PyObject
* obj1
= 0 ;
5956 PyObject
* obj2
= 0 ;
5958 (char *) "self",(char *) "self",(char *) "_class", NULL
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5972 Py_INCREF(Py_None
); resultobj
= Py_None
;
5979 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5982 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
5984 return Py_BuildValue((char *)"");
5986 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
*resultobj
;
5988 wxWindow
*arg1
= (wxWindow
*) 0 ;
5989 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
5990 bool arg3
= (bool) True
;
5992 PyObject
* obj0
= 0 ;
5993 PyObject
* obj1
= 0 ;
5994 PyObject
* obj2
= 0 ;
5996 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6001 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6004 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6022 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
*resultobj
;
6024 wxString
*arg1
= 0 ;
6026 wxTipProvider
*result
;
6027 bool temp1
= False
;
6028 PyObject
* obj0
= 0 ;
6029 PyObject
* obj1
= 0 ;
6031 (char *) "filename",(char *) "currentTip", NULL
6034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6036 arg1
= wxString_in_helper(obj0
);
6037 if (arg1
== NULL
) SWIG_fail
;
6041 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6051 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipProvider
, 1);
6066 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
*resultobj
;
6068 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6069 int arg2
= (int) -1 ;
6071 PyObject
* obj0
= 0 ;
6072 PyObject
* obj1
= 0 ;
6074 (char *) "owner",(char *) "id", NULL
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6083 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6094 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTimer
, 1);
6101 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
*resultobj
;
6103 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6104 PyObject
* obj0
= 0 ;
6106 (char *) "self", NULL
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6118 Py_INCREF(Py_None
); resultobj
= Py_None
;
6125 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
*resultobj
;
6127 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6128 PyObject
*arg2
= (PyObject
*) 0 ;
6129 PyObject
*arg3
= (PyObject
*) 0 ;
6130 PyObject
* obj0
= 0 ;
6131 PyObject
* obj1
= 0 ;
6132 PyObject
* obj2
= 0 ;
6134 (char *) "self",(char *) "self",(char *) "_class", NULL
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6148 Py_INCREF(Py_None
); resultobj
= Py_None
;
6155 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6158 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6159 int arg3
= (int) -1 ;
6160 PyObject
* obj0
= 0 ;
6161 PyObject
* obj1
= 0 ;
6162 PyObject
* obj2
= 0 ;
6164 (char *) "self",(char *) "owner",(char *) "id", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6169 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6172 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 (arg1
)->SetOwner(arg2
,arg3
);
6180 wxPyEndAllowThreads(__tstate
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6183 Py_INCREF(Py_None
); resultobj
= Py_None
;
6190 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
;
6192 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6193 int arg2
= (int) -1 ;
6194 bool arg3
= (bool) False
;
6196 PyObject
* obj0
= 0 ;
6197 PyObject
* obj1
= 0 ;
6198 PyObject
* obj2
= 0 ;
6200 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6207 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6213 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6231 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
;
6233 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6234 PyObject
* obj0
= 0 ;
6236 (char *) "self", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 Py_INCREF(Py_None
); resultobj
= Py_None
;
6255 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6259 PyObject
* obj0
= 0 ;
6261 (char *) "self", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6280 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
;
6282 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6284 PyObject
* obj0
= 0 ;
6286 (char *) "self", NULL
6289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6293 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6295 wxPyEndAllowThreads(__tstate
);
6296 if (PyErr_Occurred()) SWIG_fail
;
6298 resultobj
= SWIG_PyObj_FromInt((int)result
);
6305 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
*resultobj
;
6307 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6309 PyObject
* obj0
= 0 ;
6311 (char *) "self", NULL
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6318 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6320 wxPyEndAllowThreads(__tstate
);
6321 if (PyErr_Occurred()) SWIG_fail
;
6323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6330 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6331 PyObject
*resultobj
;
6332 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6334 PyObject
* obj0
= 0 ;
6336 (char *) "self", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6348 resultobj
= SWIG_PyObj_FromInt((int)result
);
6355 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6358 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6360 return Py_BuildValue((char *)"");
6362 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
;
6364 int arg1
= (int) 0 ;
6365 int arg2
= (int) 0 ;
6366 wxTimerEvent
*result
;
6367 PyObject
* obj0
= 0 ;
6368 PyObject
* obj1
= 0 ;
6370 (char *) "timerid",(char *) "interval", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6376 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
6377 if (PyErr_Occurred()) SWIG_fail
;
6382 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6383 if (PyErr_Occurred()) SWIG_fail
;
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerEvent
, 1);
6400 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
*resultobj
;
6402 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6404 PyObject
* obj0
= 0 ;
6406 (char *) "self", NULL
6409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6418 resultobj
= SWIG_PyObj_FromInt((int)result
);
6425 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6428 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6430 return Py_BuildValue((char *)"");
6432 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6433 PyObject
*resultobj
;
6435 wxTimerRunner
*result
;
6436 PyObject
* obj0
= 0 ;
6438 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6441 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6445 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6450 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
6457 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6458 PyObject
*resultobj
;
6461 bool arg3
= (bool) False
;
6462 wxTimerRunner
*result
;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6465 PyObject
* obj2
= 0 ;
6467 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6470 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6473 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6478 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6484 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
6496 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6501 argc
= PyObject_Length(args
);
6502 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6503 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6509 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6517 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6520 if ((argc
>= 2) && (argc
<= 3)) {
6524 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6533 SWIG_PyObj_AsInt(argv
[1]);
6534 if (PyErr_Occurred()) {
6543 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6546 SWIG_PyObj_AsBool(argv
[2]);
6547 if (PyErr_Occurred()) {
6555 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6561 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6566 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
;
6568 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6569 PyObject
* obj0
= 0 ;
6571 (char *) "self", NULL
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 wxPyEndAllowThreads(__tstate
);
6581 if (PyErr_Occurred()) SWIG_fail
;
6583 Py_INCREF(Py_None
); resultobj
= Py_None
;
6590 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6591 PyObject
*resultobj
;
6592 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6594 bool arg3
= (bool) False
;
6595 PyObject
* obj0
= 0 ;
6596 PyObject
* obj1
= 0 ;
6597 PyObject
* obj2
= 0 ;
6599 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6605 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6606 if (PyErr_Occurred()) SWIG_fail
;
6610 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6616 (arg1
)->Start(arg2
,arg3
);
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6621 Py_INCREF(Py_None
); resultobj
= Py_None
;
6628 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6631 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6633 return Py_BuildValue((char *)"");
6635 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
*resultobj
;
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 result
= (wxLog
*)new wxLog();
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6650 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 1);
6657 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
;
6664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6667 result
= (bool)wxLog::IsEnabled();
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6679 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
*resultobj
;
6681 bool arg1
= (bool) True
;
6683 PyObject
* obj0
= 0 ;
6685 (char *) "doIt", NULL
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6691 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6697 result
= (bool)wxLog::EnableLogging(arg1
);
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6709 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
*resultobj
;
6712 wxChar
*arg2
= (wxChar
*) 0 ;
6714 PyObject
* obj0
= 0 ;
6715 PyObject
* obj1
= 0 ;
6716 PyObject
* obj2
= 0 ;
6718 (char *) "level",(char *) "szString",(char *) "t", NULL
6721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6723 arg1
= (wxLogLevel
) SWIG_PyObj_AsUnsignedLong(obj0
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6726 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6728 arg3
= (time_t) SWIG_PyObj_AsUnsignedInt(obj2
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6733 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6738 Py_INCREF(Py_None
); resultobj
= Py_None
;
6745 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
*resultobj
;
6747 wxLog
*arg1
= (wxLog
*) 0 ;
6748 PyObject
* obj0
= 0 ;
6750 (char *) "self", NULL
6753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6759 wxPyEndAllowThreads(__tstate
);
6760 if (PyErr_Occurred()) SWIG_fail
;
6762 Py_INCREF(Py_None
); resultobj
= Py_None
;
6769 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
*resultobj
;
6775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 wxLog::FlushActive();
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6783 Py_INCREF(Py_None
); resultobj
= Py_None
;
6790 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
*resultobj
;
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 result
= (wxLog
*)wxLog::GetActiveTarget();
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6812 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
;
6814 wxLog
*arg1
= (wxLog
*) 0 ;
6816 PyObject
* obj0
= 0 ;
6818 (char *) "pLogger", NULL
6821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
6822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6825 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
6827 wxPyEndAllowThreads(__tstate
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6830 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6837 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6838 PyObject
*resultobj
;
6843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 Py_INCREF(Py_None
); resultobj
= Py_None
;
6858 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6872 Py_INCREF(Py_None
); resultobj
= Py_None
;
6879 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
;
6881 bool arg1
= (bool) True
;
6882 PyObject
* obj0
= 0 ;
6884 (char *) "bVerbose", NULL
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
6890 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 wxLog::SetVerbose(arg1
);
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 Py_INCREF(Py_None
); resultobj
= Py_None
;
6908 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6911 PyObject
* obj0
= 0 ;
6913 (char *) "logLevel", NULL
6916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
6918 arg1
= (wxLogLevel
) SWIG_PyObj_AsUnsignedLong(obj0
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 wxLog::SetLogLevel(arg1
);
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6928 Py_INCREF(Py_None
); resultobj
= Py_None
;
6935 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
*resultobj
;
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
6943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6944 wxLog::DontCreateOnDemand();
6946 wxPyEndAllowThreads(__tstate
);
6947 if (PyErr_Occurred()) SWIG_fail
;
6949 Py_INCREF(Py_None
); resultobj
= Py_None
;
6956 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
*resultobj
;
6959 PyObject
* obj0
= 0 ;
6961 (char *) "ulMask", NULL
6964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
6966 arg1
= (wxTraceMask
) SWIG_PyObj_AsUnsignedLong(obj0
);
6967 if (PyErr_Occurred()) SWIG_fail
;
6970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6971 wxLog::SetTraceMask(arg1
);
6973 wxPyEndAllowThreads(__tstate
);
6974 if (PyErr_Occurred()) SWIG_fail
;
6976 Py_INCREF(Py_None
); resultobj
= Py_None
;
6983 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
*resultobj
;
6985 wxString
*arg1
= 0 ;
6986 bool temp1
= False
;
6987 PyObject
* obj0
= 0 ;
6989 (char *) "str", NULL
6992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
6994 arg1
= wxString_in_helper(obj0
);
6995 if (arg1
== NULL
) SWIG_fail
;
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 wxLog::AddTraceMask((wxString
const &)*arg1
);
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7005 Py_INCREF(Py_None
); resultobj
= Py_None
;
7020 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
*resultobj
;
7022 wxString
*arg1
= 0 ;
7023 bool temp1
= False
;
7024 PyObject
* obj0
= 0 ;
7026 (char *) "str", NULL
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7031 arg1
= wxString_in_helper(obj0
);
7032 if (arg1
== NULL
) SWIG_fail
;
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 Py_INCREF(Py_None
); resultobj
= Py_None
;
7057 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
*resultobj
;
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7066 wxLog::ClearTraceMasks();
7068 wxPyEndAllowThreads(__tstate
);
7069 if (PyErr_Occurred()) SWIG_fail
;
7071 Py_INCREF(Py_None
); resultobj
= Py_None
;
7078 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
*resultobj
;
7080 wxArrayString
*result
;
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7090 result
= (wxArrayString
*) &_result_ref
;
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= wxArrayString2PyList_helper(*result
);
7105 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
*resultobj
;
7107 wxChar
*arg1
= (wxChar
*) 0 ;
7108 PyObject
* obj0
= 0 ;
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7117 wxLog::SetTimestamp((wxChar
const *)arg1
);
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7122 Py_INCREF(Py_None
); resultobj
= Py_None
;
7129 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7130 PyObject
*resultobj
;
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 result
= (bool)wxLog::GetVerbose();
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7151 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
*resultobj
;
7158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 result
= (wxTraceMask
)wxLog::GetTraceMask();
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7166 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
7173 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7174 PyObject
*resultobj
;
7175 wxChar
*arg1
= (wxChar
*) 0 ;
7177 PyObject
* obj0
= 0 ;
7179 (char *) "mask", NULL
7182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7198 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
;
7205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 result
= (wxLogLevel
)wxLog::GetLogLevel();
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7213 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
7220 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
;
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 result
= (wxChar
*)wxLog::GetTimestamp();
7232 wxPyEndAllowThreads(__tstate
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7235 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChar
, 0);
7242 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7243 PyObject
*resultobj
;
7249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7252 result
= Log_TimeStamp();
7254 wxPyEndAllowThreads(__tstate
);
7255 if (PyErr_Occurred()) SWIG_fail
;
7259 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7261 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7270 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
*resultobj
;
7272 wxLog
*arg1
= (wxLog
*) 0 ;
7273 PyObject
* obj0
= 0 ;
7275 (char *) "self", NULL
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7282 wxLog_Destroy(arg1
);
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7287 Py_INCREF(Py_None
); resultobj
= Py_None
;
7294 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7297 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7299 return Py_BuildValue((char *)"");
7301 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
*resultobj
;
7303 wxLogStderr
*result
;
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 result
= (wxLogStderr
*)new wxLogStderr();
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7316 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogStderr
, 1);
7323 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7326 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7328 return Py_BuildValue((char *)"");
7330 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7331 PyObject
*resultobj
;
7332 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7333 wxLogTextCtrl
*result
;
7334 PyObject
* obj0
= 0 ;
7336 (char *) "pTextCtrl", NULL
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7348 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogTextCtrl
, 1);
7355 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7358 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7360 return Py_BuildValue((char *)"");
7362 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 result
= (wxLogGui
*)new wxLogGui();
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogGui
, 1);
7384 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7387 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7389 return Py_BuildValue((char *)"");
7391 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
*resultobj
;
7393 wxFrame
*arg1
= (wxFrame
*) 0 ;
7394 wxString
*arg2
= 0 ;
7395 bool arg3
= (bool) True
;
7396 bool arg4
= (bool) True
;
7397 wxLogWindow
*result
;
7398 bool temp2
= False
;
7399 PyObject
* obj0
= 0 ;
7400 PyObject
* obj1
= 0 ;
7401 PyObject
* obj2
= 0 ;
7402 PyObject
* obj3
= 0 ;
7404 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7410 arg2
= wxString_in_helper(obj1
);
7411 if (arg2
== NULL
) SWIG_fail
;
7416 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
7417 if (PyErr_Occurred()) SWIG_fail
;
7422 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7433 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogWindow
, 1);
7448 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
;
7450 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7451 bool arg2
= (bool) True
;
7452 PyObject
* obj0
= 0 ;
7453 PyObject
* obj1
= 0 ;
7455 (char *) "self",(char *) "bShow", NULL
7458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7462 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 wxPyEndAllowThreads(__tstate
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7473 Py_INCREF(Py_None
); resultobj
= Py_None
;
7480 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
*resultobj
;
7482 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7484 PyObject
* obj0
= 0 ;
7486 (char *) "self", NULL
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7493 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7495 wxPyEndAllowThreads(__tstate
);
7496 if (PyErr_Occurred()) SWIG_fail
;
7499 resultobj
= wxPyMake_wxObject(result
);
7507 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
*resultobj
;
7509 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7511 PyObject
* obj0
= 0 ;
7513 (char *) "self", NULL
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7520 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7522 wxPyEndAllowThreads(__tstate
);
7523 if (PyErr_Occurred()) SWIG_fail
;
7525 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7532 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
*resultobj
;
7534 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7536 PyObject
* obj0
= 0 ;
7538 (char *) "self", NULL
7541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7545 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7547 wxPyEndAllowThreads(__tstate
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7557 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
*resultobj
;
7559 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7561 PyObject
* obj0
= 0 ;
7562 PyObject
* obj1
= 0 ;
7564 (char *) "self",(char *) "bDoPass", NULL
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7570 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7575 (arg1
)->PassMessages(arg2
);
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7580 Py_INCREF(Py_None
); resultobj
= Py_None
;
7587 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7590 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7592 return Py_BuildValue((char *)"");
7594 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxLog
*arg1
= (wxLog
*) 0 ;
7598 PyObject
* obj0
= 0 ;
7600 (char *) "logger", NULL
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 result
= (wxLogChain
*)new wxLogChain(arg1
);
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7612 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogChain
, 1);
7619 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
*resultobj
;
7621 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7622 wxLog
*arg2
= (wxLog
*) 0 ;
7623 PyObject
* obj0
= 0 ;
7624 PyObject
* obj1
= 0 ;
7626 (char *) "self",(char *) "logger", NULL
7629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7631 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 (arg1
)->SetLog(arg2
);
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7639 Py_INCREF(Py_None
); resultobj
= Py_None
;
7646 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7647 PyObject
*resultobj
;
7648 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7650 PyObject
* obj0
= 0 ;
7651 PyObject
* obj1
= 0 ;
7653 (char *) "self",(char *) "bDoPass", NULL
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7659 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 (arg1
)->PassMessages(arg2
);
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 Py_INCREF(Py_None
); resultobj
= Py_None
;
7676 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7678 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7680 PyObject
* obj0
= 0 ;
7682 (char *) "self", NULL
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7689 result
= (bool)(arg1
)->IsPassingMessages();
7691 wxPyEndAllowThreads(__tstate
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7701 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7702 PyObject
*resultobj
;
7703 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7705 PyObject
* obj0
= 0 ;
7707 (char *) "self", NULL
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 result
= (wxLog
*)(arg1
)->GetOldLog();
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7726 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7729 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7731 return Py_BuildValue((char *)"");
7733 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
;
7735 unsigned long result
;
7740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7743 result
= (unsigned long)wxSysErrorCode();
7745 wxPyEndAllowThreads(__tstate
);
7746 if (PyErr_Occurred()) SWIG_fail
;
7748 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
7755 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
;
7757 unsigned long arg1
= (unsigned long) 0 ;
7759 PyObject
* obj0
= 0 ;
7761 (char *) "nErrCode", NULL
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7767 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7773 result
= wxSysErrorMsg(arg1
);
7775 wxPyEndAllowThreads(__tstate
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7780 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7782 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7791 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
;
7793 wxString
*arg1
= 0 ;
7794 bool temp1
= False
;
7795 PyObject
* obj0
= 0 ;
7797 (char *) "msg", NULL
7800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7802 arg1
= wxString_in_helper(obj0
);
7803 if (arg1
== NULL
) SWIG_fail
;
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 wxLogFatalError((wxString
const &)*arg1
);
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) SWIG_fail
;
7813 Py_INCREF(Py_None
); resultobj
= Py_None
;
7828 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
*resultobj
;
7830 wxString
*arg1
= 0 ;
7831 bool temp1
= False
;
7832 PyObject
* obj0
= 0 ;
7834 (char *) "msg", NULL
7837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
7839 arg1
= wxString_in_helper(obj0
);
7840 if (arg1
== NULL
) SWIG_fail
;
7844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7845 wxLogError((wxString
const &)*arg1
);
7847 wxPyEndAllowThreads(__tstate
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7850 Py_INCREF(Py_None
); resultobj
= Py_None
;
7865 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
;
7867 wxString
*arg1
= 0 ;
7868 bool temp1
= False
;
7869 PyObject
* obj0
= 0 ;
7871 (char *) "msg", NULL
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
7876 arg1
= wxString_in_helper(obj0
);
7877 if (arg1
== NULL
) SWIG_fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 wxLogWarning((wxString
const &)*arg1
);
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7887 Py_INCREF(Py_None
); resultobj
= Py_None
;
7902 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
*resultobj
;
7904 wxString
*arg1
= 0 ;
7905 bool temp1
= False
;
7906 PyObject
* obj0
= 0 ;
7908 (char *) "msg", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
7913 arg1
= wxString_in_helper(obj0
);
7914 if (arg1
== NULL
) SWIG_fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 wxLogMessage((wxString
const &)*arg1
);
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7924 Py_INCREF(Py_None
); resultobj
= Py_None
;
7939 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7940 PyObject
*resultobj
;
7941 wxString
*arg1
= 0 ;
7942 bool temp1
= False
;
7943 PyObject
* obj0
= 0 ;
7945 (char *) "msg", NULL
7948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
7950 arg1
= wxString_in_helper(obj0
);
7951 if (arg1
== NULL
) SWIG_fail
;
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 wxLogInfo((wxString
const &)*arg1
);
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) SWIG_fail
;
7961 Py_INCREF(Py_None
); resultobj
= Py_None
;
7976 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
;
7978 wxString
*arg1
= 0 ;
7979 bool temp1
= False
;
7980 PyObject
* obj0
= 0 ;
7982 (char *) "msg", NULL
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
7987 arg1
= wxString_in_helper(obj0
);
7988 if (arg1
== NULL
) SWIG_fail
;
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 wxLogDebug((wxString
const &)*arg1
);
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) SWIG_fail
;
7998 Py_INCREF(Py_None
); resultobj
= Py_None
;
8013 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8014 PyObject
*resultobj
;
8015 wxString
*arg1
= 0 ;
8016 bool temp1
= False
;
8017 PyObject
* obj0
= 0 ;
8019 (char *) "msg", NULL
8022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8024 arg1
= wxString_in_helper(obj0
);
8025 if (arg1
== NULL
) SWIG_fail
;
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 wxLogVerbose((wxString
const &)*arg1
);
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8035 Py_INCREF(Py_None
); resultobj
= Py_None
;
8050 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
*resultobj
;
8052 wxString
*arg1
= 0 ;
8053 bool temp1
= False
;
8054 PyObject
* obj0
= 0 ;
8056 (char *) "msg", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8061 arg1
= wxString_in_helper(obj0
);
8062 if (arg1
== NULL
) SWIG_fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 wxLogStatus((wxString
const &)*arg1
);
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8072 Py_INCREF(Py_None
); resultobj
= Py_None
;
8087 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
*resultobj
;
8089 wxFrame
*arg1
= (wxFrame
*) 0 ;
8090 wxString
*arg2
= 0 ;
8091 bool temp2
= False
;
8092 PyObject
* obj0
= 0 ;
8093 PyObject
* obj1
= 0 ;
8095 (char *) "pFrame",(char *) "msg", NULL
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8101 arg2
= wxString_in_helper(obj1
);
8102 if (arg2
== NULL
) SWIG_fail
;
8106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8107 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8112 Py_INCREF(Py_None
); resultobj
= Py_None
;
8127 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
*resultobj
;
8129 wxString
*arg1
= 0 ;
8130 bool temp1
= False
;
8131 PyObject
* obj0
= 0 ;
8133 (char *) "msg", NULL
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8138 arg1
= wxString_in_helper(obj0
);
8139 if (arg1
== NULL
) SWIG_fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 wxLogSysError((wxString
const &)*arg1
);
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 Py_INCREF(Py_None
); resultobj
= Py_None
;
8164 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8165 PyObject
*resultobj
;
8166 unsigned long arg1
;
8167 wxString
*arg2
= 0 ;
8168 bool temp2
= False
;
8169 PyObject
* obj0
= 0 ;
8170 PyObject
* obj1
= 0 ;
8172 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8174 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8178 arg2
= wxString_in_helper(obj1
);
8179 if (arg2
== NULL
) SWIG_fail
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8189 Py_INCREF(Py_None
); resultobj
= Py_None
;
8204 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8205 PyObject
*resultobj
;
8206 wxString
*arg1
= 0 ;
8207 wxString
*arg2
= 0 ;
8208 bool temp1
= False
;
8209 bool temp2
= False
;
8210 PyObject
* obj0
= 0 ;
8211 PyObject
* obj1
= 0 ;
8213 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8215 arg1
= wxString_in_helper(obj0
);
8216 if (arg1
== NULL
) SWIG_fail
;
8220 arg2
= wxString_in_helper(obj1
);
8221 if (arg2
== NULL
) SWIG_fail
;
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8231 Py_INCREF(Py_None
); resultobj
= Py_None
;
8254 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8259 argc
= PyObject_Length(args
);
8260 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8261 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8266 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8270 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8273 return _wrap_LogTrace__SWIG_1(self
,args
);
8280 SWIG_PyObj_AsUnsignedLong(argv
[0]);
8281 if (PyErr_Occurred()) {
8290 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8293 return _wrap_LogTrace__SWIG_0(self
,args
);
8298 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8303 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
;
8305 unsigned long arg1
;
8306 wxString
*arg2
= 0 ;
8307 bool temp2
= False
;
8308 PyObject
* obj0
= 0 ;
8309 PyObject
* obj1
= 0 ;
8311 (char *) "level",(char *) "msg", NULL
8314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8316 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8320 arg2
= wxString_in_helper(obj1
);
8321 if (arg2
== NULL
) SWIG_fail
;
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8331 Py_INCREF(Py_None
); resultobj
= Py_None
;
8346 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
;
8348 wxString
*arg1
= 0 ;
8349 wxString
*arg2
= 0 ;
8350 bool temp1
= False
;
8351 bool temp2
= False
;
8352 PyObject
* obj0
= 0 ;
8353 PyObject
* obj1
= 0 ;
8355 (char *) "title",(char *) "text", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8360 arg1
= wxString_in_helper(obj0
);
8361 if (arg1
== NULL
) SWIG_fail
;
8365 arg2
= wxString_in_helper(obj1
);
8366 if (arg2
== NULL
) SWIG_fail
;
8370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8376 Py_INCREF(Py_None
); resultobj
= Py_None
;
8399 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
;
8406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 result
= (wxLogNull
*)new wxLogNull();
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogNull
, 1);
8421 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8423 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8424 PyObject
* obj0
= 0 ;
8426 (char *) "self", NULL
8429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogNull
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 wxPyEndAllowThreads(__tstate
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8438 Py_INCREF(Py_None
); resultobj
= Py_None
;
8445 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8448 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8450 return Py_BuildValue((char *)"");
8452 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8453 PyObject
*resultobj
;
8459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8462 result
= (wxPyLog
*)new wxPyLog();
8464 wxPyEndAllowThreads(__tstate
);
8465 if (PyErr_Occurred()) SWIG_fail
;
8467 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyLog
, 1);
8474 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8475 PyObject
*resultobj
;
8476 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8477 PyObject
*arg2
= (PyObject
*) 0 ;
8478 PyObject
*arg3
= (PyObject
*) 0 ;
8479 PyObject
* obj0
= 0 ;
8480 PyObject
* obj1
= 0 ;
8481 PyObject
* obj2
= 0 ;
8483 (char *) "self",(char *) "self",(char *) "_class", NULL
8486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8492 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8497 Py_INCREF(Py_None
); resultobj
= Py_None
;
8504 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8507 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8509 return Py_BuildValue((char *)"");
8511 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
*resultobj
;
8514 int arg2
= (int) wxSIGTERM
;
8516 PyObject
* obj0
= 0 ;
8517 PyObject
* obj1
= 0 ;
8519 (char *) "pid",(char *) "sig", NULL
8522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8524 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8529 arg2
= (wxSignal
) SWIG_PyObj_AsInt(obj1
);
8530 if (PyErr_Occurred()) SWIG_fail
;
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8537 wxPyEndAllowThreads(__tstate
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= SWIG_PyObj_FromInt((int)result
);
8547 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8551 PyObject
* obj0
= 0 ;
8553 (char *) "pid", NULL
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8558 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 result
= (bool)wxPyProcess::Exists(arg1
);
8565 wxPyEndAllowThreads(__tstate
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8575 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
*resultobj
;
8577 wxString
*arg1
= 0 ;
8578 int arg2
= (int) wxEXEC_ASYNC
;
8579 wxPyProcess
*result
;
8580 bool temp1
= False
;
8581 PyObject
* obj0
= 0 ;
8582 PyObject
* obj1
= 0 ;
8584 (char *) "cmd",(char *) "flags", NULL
8587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8589 arg1
= wxString_in_helper(obj0
);
8590 if (arg1
== NULL
) SWIG_fail
;
8595 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8601 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8603 wxPyEndAllowThreads(__tstate
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8606 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 0);
8621 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8622 PyObject
*resultobj
;
8623 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8624 int arg2
= (int) -1 ;
8625 wxPyProcess
*result
;
8626 PyObject
* obj0
= 0 ;
8627 PyObject
* obj1
= 0 ;
8629 (char *) "parent",(char *) "id", NULL
8632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8638 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8644 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8646 wxPyEndAllowThreads(__tstate
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8649 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 1);
8656 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8657 PyObject
*resultobj
;
8658 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8659 PyObject
*arg2
= (PyObject
*) 0 ;
8660 PyObject
*arg3
= (PyObject
*) 0 ;
8661 PyObject
* obj0
= 0 ;
8662 PyObject
* obj1
= 0 ;
8663 PyObject
* obj2
= 0 ;
8665 (char *) "self",(char *) "self",(char *) "_class", NULL
8668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 Py_INCREF(Py_None
); resultobj
= Py_None
;
8686 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
*resultobj
;
8688 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8691 PyObject
* obj0
= 0 ;
8692 PyObject
* obj1
= 0 ;
8693 PyObject
* obj2
= 0 ;
8695 (char *) "self",(char *) "pid",(char *) "status", NULL
8698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8701 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8705 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 (arg1
)->base_OnTerminate(arg2
,arg3
);
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8715 Py_INCREF(Py_None
); resultobj
= Py_None
;
8722 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8723 PyObject
*resultobj
;
8724 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8725 PyObject
* obj0
= 0 ;
8727 (char *) "self", NULL
8730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8739 Py_INCREF(Py_None
); resultobj
= Py_None
;
8746 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
;
8748 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8750 PyObject
* obj0
= 0 ;
8752 (char *) "self", NULL
8755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 result
= (bool)(arg1
)->IsRedirected();
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8771 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8772 PyObject
*resultobj
;
8773 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8774 PyObject
* obj0
= 0 ;
8776 (char *) "self", NULL
8779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8788 Py_INCREF(Py_None
); resultobj
= Py_None
;
8795 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
;
8797 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8798 wxInputStream
*result
;
8799 PyObject
* obj0
= 0 ;
8801 (char *) "self", NULL
8804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8808 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8810 wxPyEndAllowThreads(__tstate
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8814 wxPyInputStream
* _ptr
= NULL
;
8817 _ptr
= new wxPyInputStream(result
);
8819 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8827 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8828 PyObject
*resultobj
;
8829 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8830 wxInputStream
*result
;
8831 PyObject
* obj0
= 0 ;
8833 (char *) "self", NULL
8836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
8837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8846 wxPyInputStream
* _ptr
= NULL
;
8849 _ptr
= new wxPyInputStream(result
);
8851 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8859 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
;
8861 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8862 wxOutputStream
*result
;
8863 PyObject
* obj0
= 0 ;
8865 (char *) "self", NULL
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
8869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8872 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
8874 wxPyEndAllowThreads(__tstate
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8877 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxOutputStream
, 0);
8884 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
;
8886 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8887 PyObject
* obj0
= 0 ;
8889 (char *) "self", NULL
8892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
8893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8896 (arg1
)->CloseOutput();
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8901 Py_INCREF(Py_None
); resultobj
= Py_None
;
8908 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
;
8910 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8912 PyObject
* obj0
= 0 ;
8914 (char *) "self", NULL
8917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
8918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8921 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8933 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
*resultobj
;
8935 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8937 PyObject
* obj0
= 0 ;
8939 (char *) "self", NULL
8942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
8943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8958 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
*resultobj
;
8960 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8962 PyObject
* obj0
= 0 ;
8964 (char *) "self", NULL
8967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
8968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8971 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
8973 wxPyEndAllowThreads(__tstate
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8983 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
8985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8986 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
8988 return Py_BuildValue((char *)"");
8990 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
*resultobj
;
8992 int arg1
= (int) 0 ;
8993 int arg2
= (int) 0 ;
8994 int arg3
= (int) 0 ;
8995 wxProcessEvent
*result
;
8996 PyObject
* obj0
= 0 ;
8997 PyObject
* obj1
= 0 ;
8998 PyObject
* obj2
= 0 ;
9000 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9006 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9012 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9018 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProcessEvent
, 1);
9036 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9038 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9040 PyObject
* obj0
= 0 ;
9042 (char *) "self", NULL
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 result
= (int)(arg1
)->GetPid();
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9054 resultobj
= SWIG_PyObj_FromInt((int)result
);
9061 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
;
9063 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9065 PyObject
* obj0
= 0 ;
9067 (char *) "self", NULL
9070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 result
= (int)(arg1
)->GetExitCode();
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= SWIG_PyObj_FromInt((int)result
);
9086 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
;
9088 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9090 PyObject
* obj0
= 0 ;
9091 PyObject
* obj1
= 0 ;
9093 (char *) "self",(char *) "m_pid", NULL
9096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9099 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9102 if (arg1
) (arg1
)->m_pid
= arg2
;
9104 Py_INCREF(Py_None
); resultobj
= Py_None
;
9111 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
;
9113 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9115 PyObject
* obj0
= 0 ;
9117 (char *) "self", NULL
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9122 result
= (int) ((arg1
)->m_pid
);
9124 resultobj
= SWIG_PyObj_FromInt((int)result
);
9131 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9132 PyObject
*resultobj
;
9133 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9135 PyObject
* obj0
= 0 ;
9136 PyObject
* obj1
= 0 ;
9138 (char *) "self",(char *) "m_exitcode", NULL
9141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9144 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9147 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9149 Py_INCREF(Py_None
); resultobj
= Py_None
;
9156 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9157 PyObject
*resultobj
;
9158 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9160 PyObject
* obj0
= 0 ;
9162 (char *) "self", NULL
9165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9167 result
= (int) ((arg1
)->m_exitcode
);
9169 resultobj
= SWIG_PyObj_FromInt((int)result
);
9176 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9179 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9181 return Py_BuildValue((char *)"");
9183 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
;
9185 wxString
*arg1
= 0 ;
9186 int arg2
= (int) wxEXEC_ASYNC
;
9187 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9189 bool temp1
= False
;
9190 PyObject
* obj0
= 0 ;
9191 PyObject
* obj1
= 0 ;
9192 PyObject
* obj2
= 0 ;
9194 (char *) "command",(char *) "flags",(char *) "process", NULL
9197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9199 arg1
= wxString_in_helper(obj0
);
9200 if (arg1
== NULL
) SWIG_fail
;
9205 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9210 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9214 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 resultobj
= SWIG_PyObj_FromLong((long)result
);
9234 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 int arg1
= (int) wxJOYSTICK1
;
9238 PyObject
* obj0
= 0 ;
9240 (char *) "joystick", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9246 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 result
= (wxJoystick
*)new wxJoystick(arg1
);
9254 wxPyEndAllowThreads(__tstate
);
9255 if (PyErr_Occurred()) SWIG_fail
;
9257 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystick
, 1);
9264 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9265 PyObject
*resultobj
;
9266 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9267 PyObject
* obj0
= 0 ;
9269 (char *) "self", NULL
9272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 Py_INCREF(Py_None
); resultobj
= Py_None
;
9288 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9292 PyObject
* obj0
= 0 ;
9294 (char *) "self", NULL
9297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 result
= (arg1
)->GetPosition();
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9307 wxPoint
* resultptr
;
9308 resultptr
= new wxPoint((wxPoint
&) result
);
9309 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
9317 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9318 PyObject
*resultobj
;
9319 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9321 PyObject
* obj0
= 0 ;
9323 (char *) "self", NULL
9326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 result
= (int)(arg1
)->GetZPosition();
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9335 resultobj
= SWIG_PyObj_FromInt((int)result
);
9342 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
*resultobj
;
9344 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9346 PyObject
* obj0
= 0 ;
9348 (char *) "self", NULL
9351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 result
= (int)(arg1
)->GetButtonState();
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9360 resultobj
= SWIG_PyObj_FromInt((int)result
);
9367 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9368 PyObject
*resultobj
;
9369 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9371 PyObject
* obj0
= 0 ;
9373 (char *) "self", NULL
9376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9380 result
= (int)(arg1
)->GetPOVPosition();
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9385 resultobj
= SWIG_PyObj_FromInt((int)result
);
9392 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
*resultobj
;
9394 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9396 PyObject
* obj0
= 0 ;
9398 (char *) "self", NULL
9401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 result
= (int)(arg1
)->GetPOVCTSPosition();
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9410 resultobj
= SWIG_PyObj_FromInt((int)result
);
9417 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
*resultobj
;
9419 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9421 PyObject
* obj0
= 0 ;
9423 (char *) "self", NULL
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 result
= (int)(arg1
)->GetRudderPosition();
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9435 resultobj
= SWIG_PyObj_FromInt((int)result
);
9442 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
;
9444 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9446 PyObject
* obj0
= 0 ;
9448 (char *) "self", NULL
9451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 result
= (int)(arg1
)->GetUPosition();
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= SWIG_PyObj_FromInt((int)result
);
9467 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
;
9469 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9471 PyObject
* obj0
= 0 ;
9473 (char *) "self", NULL
9476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 result
= (int)(arg1
)->GetVPosition();
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= SWIG_PyObj_FromInt((int)result
);
9492 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9496 PyObject
* obj0
= 0 ;
9498 (char *) "self", NULL
9501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9505 result
= (int)(arg1
)->GetMovementThreshold();
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9510 resultobj
= SWIG_PyObj_FromInt((int)result
);
9517 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
;
9519 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9521 PyObject
* obj0
= 0 ;
9522 PyObject
* obj1
= 0 ;
9524 (char *) "self",(char *) "threshold", NULL
9527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9530 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 (arg1
)->SetMovementThreshold(arg2
);
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9540 Py_INCREF(Py_None
); resultobj
= Py_None
;
9547 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
;
9549 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9551 PyObject
* obj0
= 0 ;
9553 (char *) "self", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9560 result
= (bool)(arg1
)->IsOk();
9562 wxPyEndAllowThreads(__tstate
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9572 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9573 PyObject
*resultobj
;
9574 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9576 PyObject
* obj0
= 0 ;
9578 (char *) "self", NULL
9581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 result
= (int)(arg1
)->GetNumberJoysticks();
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9590 resultobj
= SWIG_PyObj_FromInt((int)result
);
9597 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
;
9599 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9601 PyObject
* obj0
= 0 ;
9603 (char *) "self", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 result
= (int)(arg1
)->GetManufacturerId();
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= SWIG_PyObj_FromInt((int)result
);
9622 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
*resultobj
;
9624 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9626 PyObject
* obj0
= 0 ;
9628 (char *) "self", NULL
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9635 result
= (int)(arg1
)->GetProductId();
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9640 resultobj
= SWIG_PyObj_FromInt((int)result
);
9647 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
;
9649 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9651 PyObject
* obj0
= 0 ;
9653 (char *) "self", NULL
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9660 result
= (arg1
)->GetProductName();
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9667 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9669 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9678 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
;
9680 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9682 PyObject
* obj0
= 0 ;
9684 (char *) "self", NULL
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 result
= (int)(arg1
)->GetXMin();
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9696 resultobj
= SWIG_PyObj_FromInt((int)result
);
9703 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9704 PyObject
*resultobj
;
9705 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9707 PyObject
* obj0
= 0 ;
9709 (char *) "self", NULL
9712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9716 result
= (int)(arg1
)->GetYMin();
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) SWIG_fail
;
9721 resultobj
= SWIG_PyObj_FromInt((int)result
);
9728 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9729 PyObject
*resultobj
;
9730 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9732 PyObject
* obj0
= 0 ;
9734 (char *) "self", NULL
9737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 result
= (int)(arg1
)->GetZMin();
9743 wxPyEndAllowThreads(__tstate
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9746 resultobj
= SWIG_PyObj_FromInt((int)result
);
9753 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9754 PyObject
*resultobj
;
9755 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9757 PyObject
* obj0
= 0 ;
9759 (char *) "self", NULL
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9766 result
= (int)(arg1
)->GetXMax();
9768 wxPyEndAllowThreads(__tstate
);
9769 if (PyErr_Occurred()) SWIG_fail
;
9771 resultobj
= SWIG_PyObj_FromInt((int)result
);
9778 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
*resultobj
;
9780 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9782 PyObject
* obj0
= 0 ;
9784 (char *) "self", NULL
9787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 result
= (int)(arg1
)->GetYMax();
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= SWIG_PyObj_FromInt((int)result
);
9803 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
;
9805 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9807 PyObject
* obj0
= 0 ;
9809 (char *) "self", NULL
9812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
9813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 result
= (int)(arg1
)->GetZMax();
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 resultobj
= SWIG_PyObj_FromInt((int)result
);
9828 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
;
9830 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9832 PyObject
* obj0
= 0 ;
9834 (char *) "self", NULL
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
9838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 result
= (int)(arg1
)->GetNumberButtons();
9843 wxPyEndAllowThreads(__tstate
);
9844 if (PyErr_Occurred()) SWIG_fail
;
9846 resultobj
= SWIG_PyObj_FromInt((int)result
);
9853 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
;
9855 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9857 PyObject
* obj0
= 0 ;
9859 (char *) "self", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
9863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9866 result
= (int)(arg1
)->GetNumberAxes();
9868 wxPyEndAllowThreads(__tstate
);
9869 if (PyErr_Occurred()) SWIG_fail
;
9871 resultobj
= SWIG_PyObj_FromInt((int)result
);
9878 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9879 PyObject
*resultobj
;
9880 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9882 PyObject
* obj0
= 0 ;
9884 (char *) "self", NULL
9887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
9888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 result
= (int)(arg1
)->GetMaxButtons();
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9896 resultobj
= SWIG_PyObj_FromInt((int)result
);
9903 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
*resultobj
;
9905 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9907 PyObject
* obj0
= 0 ;
9909 (char *) "self", NULL
9912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
9913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 result
= (int)(arg1
)->GetMaxAxes();
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9921 resultobj
= SWIG_PyObj_FromInt((int)result
);
9928 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
;
9930 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9932 PyObject
* obj0
= 0 ;
9934 (char *) "self", NULL
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
9938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 result
= (int)(arg1
)->GetPollingMin();
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= SWIG_PyObj_FromInt((int)result
);
9953 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
;
9955 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9957 PyObject
* obj0
= 0 ;
9959 (char *) "self", NULL
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
9963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 result
= (int)(arg1
)->GetPollingMax();
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9971 resultobj
= SWIG_PyObj_FromInt((int)result
);
9978 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
*resultobj
;
9980 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9982 PyObject
* obj0
= 0 ;
9984 (char *) "self", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
9988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 result
= (int)(arg1
)->GetRudderMin();
9993 wxPyEndAllowThreads(__tstate
);
9994 if (PyErr_Occurred()) SWIG_fail
;
9996 resultobj
= SWIG_PyObj_FromInt((int)result
);
10003 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10004 PyObject
*resultobj
;
10005 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10007 PyObject
* obj0
= 0 ;
10008 char *kwnames
[] = {
10009 (char *) "self", NULL
10012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 result
= (int)(arg1
)->GetRudderMax();
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= SWIG_PyObj_FromInt((int)result
);
10028 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
;
10030 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10032 PyObject
* obj0
= 0 ;
10033 char *kwnames
[] = {
10034 (char *) "self", NULL
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 result
= (int)(arg1
)->GetUMin();
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 resultobj
= SWIG_PyObj_FromInt((int)result
);
10053 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10054 PyObject
*resultobj
;
10055 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10057 PyObject
* obj0
= 0 ;
10058 char *kwnames
[] = {
10059 (char *) "self", NULL
10062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 result
= (int)(arg1
)->GetUMax();
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10071 resultobj
= SWIG_PyObj_FromInt((int)result
);
10078 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10079 PyObject
*resultobj
;
10080 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10082 PyObject
* obj0
= 0 ;
10083 char *kwnames
[] = {
10084 (char *) "self", NULL
10087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10091 result
= (int)(arg1
)->GetVMin();
10093 wxPyEndAllowThreads(__tstate
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10096 resultobj
= SWIG_PyObj_FromInt((int)result
);
10103 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10104 PyObject
*resultobj
;
10105 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10107 PyObject
* obj0
= 0 ;
10108 char *kwnames
[] = {
10109 (char *) "self", NULL
10112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10116 result
= (int)(arg1
)->GetVMax();
10118 wxPyEndAllowThreads(__tstate
);
10119 if (PyErr_Occurred()) SWIG_fail
;
10121 resultobj
= SWIG_PyObj_FromInt((int)result
);
10128 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10129 PyObject
*resultobj
;
10130 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10132 PyObject
* obj0
= 0 ;
10133 char *kwnames
[] = {
10134 (char *) "self", NULL
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 result
= (bool)(arg1
)->HasRudder();
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10153 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
*resultobj
;
10155 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10157 PyObject
* obj0
= 0 ;
10158 char *kwnames
[] = {
10159 (char *) "self", NULL
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 result
= (bool)(arg1
)->HasZ();
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10178 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10180 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10182 PyObject
* obj0
= 0 ;
10183 char *kwnames
[] = {
10184 (char *) "self", NULL
10187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 result
= (bool)(arg1
)->HasU();
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10203 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
;
10205 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10207 PyObject
* obj0
= 0 ;
10208 char *kwnames
[] = {
10209 (char *) "self", NULL
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 result
= (bool)(arg1
)->HasV();
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10228 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
;
10230 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10232 PyObject
* obj0
= 0 ;
10233 char *kwnames
[] = {
10234 (char *) "self", NULL
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10241 result
= (bool)(arg1
)->HasPOV();
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10253 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10254 PyObject
*resultobj
;
10255 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10257 PyObject
* obj0
= 0 ;
10258 char *kwnames
[] = {
10259 (char *) "self", NULL
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 result
= (bool)(arg1
)->HasPOV4Dir();
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10278 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
;
10280 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10282 PyObject
* obj0
= 0 ;
10283 char *kwnames
[] = {
10284 (char *) "self", NULL
10287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10291 result
= (bool)(arg1
)->HasPOVCTS();
10293 wxPyEndAllowThreads(__tstate
);
10294 if (PyErr_Occurred()) SWIG_fail
;
10296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10303 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
*resultobj
;
10305 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10306 wxWindow
*arg2
= (wxWindow
*) 0 ;
10307 int arg3
= (int) 0 ;
10309 PyObject
* obj0
= 0 ;
10310 PyObject
* obj1
= 0 ;
10311 PyObject
* obj2
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10318 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10321 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10339 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
;
10341 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10343 PyObject
* obj0
= 0 ;
10344 char *kwnames
[] = {
10345 (char *) "self", NULL
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10352 result
= (bool)(arg1
)->ReleaseCapture();
10354 wxPyEndAllowThreads(__tstate
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10364 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10367 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10369 return Py_BuildValue((char *)"");
10371 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10372 PyObject
*resultobj
;
10373 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10374 wxPoint
*arg2
= (wxPoint
*) 0 ;
10375 PyObject
* obj0
= 0 ;
10376 PyObject
* obj1
= 0 ;
10377 char *kwnames
[] = {
10378 (char *) "self",(char *) "m_pos", NULL
10381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10383 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10384 if (arg1
) (arg1
)->m_pos
= *arg2
;
10386 Py_INCREF(Py_None
); resultobj
= Py_None
;
10393 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
*resultobj
;
10395 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10397 PyObject
* obj0
= 0 ;
10398 char *kwnames
[] = {
10399 (char *) "self", NULL
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10404 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10406 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
10413 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10414 PyObject
*resultobj
;
10415 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10417 PyObject
* obj0
= 0 ;
10418 PyObject
* obj1
= 0 ;
10419 char *kwnames
[] = {
10420 (char *) "self",(char *) "m_zPosition", NULL
10423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10426 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10429 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10431 Py_INCREF(Py_None
); resultobj
= Py_None
;
10438 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
*resultobj
;
10440 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10442 PyObject
* obj0
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10449 result
= (int) ((arg1
)->m_zPosition
);
10451 resultobj
= SWIG_PyObj_FromInt((int)result
);
10458 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
*resultobj
;
10460 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10462 PyObject
* obj0
= 0 ;
10463 PyObject
* obj1
= 0 ;
10464 char *kwnames
[] = {
10465 (char *) "self",(char *) "m_buttonChange", NULL
10468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10471 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10474 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10476 Py_INCREF(Py_None
); resultobj
= Py_None
;
10483 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
;
10485 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10487 PyObject
* obj0
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "self", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10494 result
= (int) ((arg1
)->m_buttonChange
);
10496 resultobj
= SWIG_PyObj_FromInt((int)result
);
10503 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
;
10505 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10507 PyObject
* obj0
= 0 ;
10508 PyObject
* obj1
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "self",(char *) "m_buttonState", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10516 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10519 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10521 Py_INCREF(Py_None
); resultobj
= Py_None
;
10528 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10529 PyObject
*resultobj
;
10530 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10532 PyObject
* obj0
= 0 ;
10533 char *kwnames
[] = {
10534 (char *) "self", NULL
10537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10539 result
= (int) ((arg1
)->m_buttonState
);
10541 resultobj
= SWIG_PyObj_FromInt((int)result
);
10548 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10549 PyObject
*resultobj
;
10550 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10552 PyObject
* obj0
= 0 ;
10553 PyObject
* obj1
= 0 ;
10554 char *kwnames
[] = {
10555 (char *) "self",(char *) "m_joyStick", NULL
10558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10561 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10564 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10566 Py_INCREF(Py_None
); resultobj
= Py_None
;
10573 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
;
10575 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10577 PyObject
* obj0
= 0 ;
10578 char *kwnames
[] = {
10579 (char *) "self", NULL
10582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10584 result
= (int) ((arg1
)->m_joyStick
);
10586 resultobj
= SWIG_PyObj_FromInt((int)result
);
10593 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10595 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10596 int arg2
= (int) 0 ;
10597 int arg3
= (int) wxJOYSTICK1
;
10598 int arg4
= (int) 0 ;
10599 wxJoystickEvent
*result
;
10600 PyObject
* obj0
= 0 ;
10601 PyObject
* obj1
= 0 ;
10602 PyObject
* obj2
= 0 ;
10603 PyObject
* obj3
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10611 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10617 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10623 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10629 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10635 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10637 wxPyEndAllowThreads(__tstate
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10640 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystickEvent
, 1);
10647 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10648 PyObject
*resultobj
;
10649 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10651 PyObject
* obj0
= 0 ;
10652 char *kwnames
[] = {
10653 (char *) "self", NULL
10656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10666 wxPoint
* resultptr
;
10667 resultptr
= new wxPoint((wxPoint
&) result
);
10668 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
10676 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10677 PyObject
*resultobj
;
10678 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10680 PyObject
* obj0
= 0 ;
10681 char *kwnames
[] = {
10682 (char *) "self", NULL
10685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10689 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10694 resultobj
= SWIG_PyObj_FromInt((int)result
);
10701 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
;
10703 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10705 PyObject
* obj0
= 0 ;
10706 char *kwnames
[] = {
10707 (char *) "self", NULL
10710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10714 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10719 resultobj
= SWIG_PyObj_FromInt((int)result
);
10726 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10727 PyObject
*resultobj
;
10728 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10730 PyObject
* obj0
= 0 ;
10731 char *kwnames
[] = {
10732 (char *) "self", NULL
10735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10741 wxPyEndAllowThreads(__tstate
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10744 resultobj
= SWIG_PyObj_FromInt((int)result
);
10751 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10752 PyObject
*resultobj
;
10753 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10755 PyObject
* obj0
= 0 ;
10756 char *kwnames
[] = {
10757 (char *) "self", NULL
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
10761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10769 resultobj
= SWIG_PyObj_FromInt((int)result
);
10776 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
;
10778 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10780 PyObject
* obj0
= 0 ;
10781 PyObject
* obj1
= 0 ;
10782 char *kwnames
[] = {
10783 (char *) "self",(char *) "stick", NULL
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
10787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10789 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10794 (arg1
)->SetJoystick(arg2
);
10796 wxPyEndAllowThreads(__tstate
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10799 Py_INCREF(Py_None
); resultobj
= Py_None
;
10806 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10807 PyObject
*resultobj
;
10808 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10810 PyObject
* obj0
= 0 ;
10811 PyObject
* obj1
= 0 ;
10812 char *kwnames
[] = {
10813 (char *) "self",(char *) "state", NULL
10816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
10817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10819 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 (arg1
)->SetButtonState(arg2
);
10826 wxPyEndAllowThreads(__tstate
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10829 Py_INCREF(Py_None
); resultobj
= Py_None
;
10836 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10837 PyObject
*resultobj
;
10838 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10840 PyObject
* obj0
= 0 ;
10841 PyObject
* obj1
= 0 ;
10842 char *kwnames
[] = {
10843 (char *) "self",(char *) "change", NULL
10846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
10847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10849 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10854 (arg1
)->SetButtonChange(arg2
);
10856 wxPyEndAllowThreads(__tstate
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10859 Py_INCREF(Py_None
); resultobj
= Py_None
;
10866 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10867 PyObject
*resultobj
;
10868 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10869 wxPoint
*arg2
= 0 ;
10871 PyObject
* obj0
= 0 ;
10872 PyObject
* obj1
= 0 ;
10873 char *kwnames
[] = {
10874 (char *) "self",(char *) "pos", NULL
10877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10881 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10885 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
10887 wxPyEndAllowThreads(__tstate
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10890 Py_INCREF(Py_None
); resultobj
= Py_None
;
10897 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10898 PyObject
*resultobj
;
10899 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10901 PyObject
* obj0
= 0 ;
10902 PyObject
* obj1
= 0 ;
10903 char *kwnames
[] = {
10904 (char *) "self",(char *) "zPos", NULL
10907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10910 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 (arg1
)->SetZPosition(arg2
);
10917 wxPyEndAllowThreads(__tstate
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10920 Py_INCREF(Py_None
); resultobj
= Py_None
;
10927 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10928 PyObject
*resultobj
;
10929 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10931 PyObject
* obj0
= 0 ;
10932 char *kwnames
[] = {
10933 (char *) "self", NULL
10936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
10937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10940 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
10942 wxPyEndAllowThreads(__tstate
);
10943 if (PyErr_Occurred()) SWIG_fail
;
10945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10952 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10953 PyObject
*resultobj
;
10954 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10956 PyObject
* obj0
= 0 ;
10957 char *kwnames
[] = {
10958 (char *) "self", NULL
10961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
10962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10977 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10978 PyObject
*resultobj
;
10979 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10981 PyObject
* obj0
= 0 ;
10982 char *kwnames
[] = {
10983 (char *) "self", NULL
10986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
10987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11002 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11003 PyObject
*resultobj
;
11004 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11005 int arg2
= (int) wxJOY_BUTTON_ANY
;
11007 PyObject
* obj0
= 0 ;
11008 PyObject
* obj1
= 0 ;
11009 char *kwnames
[] = {
11010 (char *) "self",(char *) "but", NULL
11013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11017 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11035 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
;
11037 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11038 int arg2
= (int) wxJOY_BUTTON_ANY
;
11040 PyObject
* obj0
= 0 ;
11041 PyObject
* obj1
= 0 ;
11042 char *kwnames
[] = {
11043 (char *) "self",(char *) "but", NULL
11046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11050 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11068 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11071 int arg2
= (int) wxJOY_BUTTON_ANY
;
11073 PyObject
* obj0
= 0 ;
11074 PyObject
* obj1
= 0 ;
11075 char *kwnames
[] = {
11076 (char *) "self",(char *) "but", NULL
11079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11083 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11089 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11091 wxPyEndAllowThreads(__tstate
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11101 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11104 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11106 return Py_BuildValue((char *)"");
11108 static PyObject
*_wrap_new_Sound__SWIG_0(PyObject
*self
, PyObject
*args
) {
11109 PyObject
*resultobj
;
11112 if(!PyArg_ParseTuple(args
,(char *)":new_Sound")) goto fail
;
11114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 result
= (wxSound
*)new wxSound();
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11120 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSound
, 1);
11127 static PyObject
*_wrap_new_Sound__SWIG_1(PyObject
*self
, PyObject
*args
) {
11128 PyObject
*resultobj
;
11129 wxString
*arg1
= 0 ;
11130 bool arg2
= (bool) false ;
11132 bool temp1
= False
;
11133 PyObject
* obj0
= 0 ;
11134 PyObject
* obj1
= 0 ;
11136 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_Sound",&obj0
,&obj1
)) goto fail
;
11138 arg1
= wxString_in_helper(obj0
);
11139 if (arg1
== NULL
) SWIG_fail
;
11144 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 result
= (wxSound
*)new wxSound((wxString
const &)*arg1
,arg2
);
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSound
, 1);
11170 static PyObject
*_wrap_new_Sound__SWIG_2(PyObject
*self
, PyObject
*args
) {
11171 PyObject
*resultobj
;
11173 wxByte
*arg2
= (wxByte
*) 0 ;
11175 PyObject
* obj0
= 0 ;
11176 PyObject
* obj1
= 0 ;
11178 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Sound",&obj0
,&obj1
)) goto fail
;
11180 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11183 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxByte
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 result
= (wxSound
*)new wxSound(arg1
,(wxByte
const *)arg2
);
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11191 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSound
, 1);
11198 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
) {
11203 argc
= PyObject_Length(args
);
11204 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11205 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11208 return _wrap_new_Sound__SWIG_0(self
,args
);
11210 if ((argc
>= 1) && (argc
<= 2)) {
11213 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11217 return _wrap_new_Sound__SWIG_1(self
,args
);
11220 SWIG_PyObj_AsBool(argv
[1]);
11221 if (PyErr_Occurred()) {
11229 return _wrap_new_Sound__SWIG_1(self
,args
);
11236 SWIG_PyObj_AsInt(argv
[0]);
11237 if (PyErr_Occurred()) {
11247 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11255 return _wrap_new_Sound__SWIG_2(self
,args
);
11260 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Sound'");
11265 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11266 PyObject
*resultobj
;
11267 wxSound
*arg1
= (wxSound
*) 0 ;
11268 PyObject
* obj0
= 0 ;
11269 char *kwnames
[] = {
11270 (char *) "self", NULL
11273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSound
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11282 Py_INCREF(Py_None
); resultobj
= Py_None
;
11289 static PyObject
*_wrap_Sound_Create__SWIG_0(PyObject
*self
, PyObject
*args
) {
11290 PyObject
*resultobj
;
11291 wxSound
*arg1
= (wxSound
*) 0 ;
11292 wxString
*arg2
= 0 ;
11293 bool arg3
= (bool) false ;
11295 bool temp2
= False
;
11296 PyObject
* obj0
= 0 ;
11297 PyObject
* obj1
= 0 ;
11298 PyObject
* obj2
= 0 ;
11300 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSound
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11303 arg2
= wxString_in_helper(obj1
);
11304 if (arg2
== NULL
) SWIG_fail
;
11309 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,arg3
);
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11335 static PyObject
*_wrap_Sound_Create__SWIG_1(PyObject
*self
, PyObject
*args
) {
11336 PyObject
*resultobj
;
11337 wxSound
*arg1
= (wxSound
*) 0 ;
11339 wxByte
*arg3
= (wxByte
*) 0 ;
11341 PyObject
* obj0
= 0 ;
11342 PyObject
* obj1
= 0 ;
11343 PyObject
* obj2
= 0 ;
11345 if(!PyArg_ParseTuple(args
,(char *)"OOO:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSound
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11348 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11351 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxByte
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 result
= (bool)(arg1
)->Create(arg2
,(wxByte
const *)arg3
);
11356 wxPyEndAllowThreads(__tstate
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11366 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
) {
11371 argc
= PyObject_Length(args
);
11372 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11373 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11375 if ((argc
>= 2) && (argc
<= 3)) {
11379 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11388 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11392 return _wrap_Sound_Create__SWIG_0(self
,args
);
11395 SWIG_PyObj_AsBool(argv
[2]);
11396 if (PyErr_Occurred()) {
11404 return _wrap_Sound_Create__SWIG_0(self
,args
);
11413 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11422 SWIG_PyObj_AsInt(argv
[1]);
11423 if (PyErr_Occurred()) {
11433 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11441 return _wrap_Sound_Create__SWIG_1(self
,args
);
11447 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Sound_Create'");
11452 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11453 PyObject
*resultobj
;
11454 wxSound
*arg1
= (wxSound
*) 0 ;
11456 PyObject
* obj0
= 0 ;
11457 char *kwnames
[] = {
11458 (char *) "self", NULL
11461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSound
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 result
= (bool)(arg1
)->IsOk();
11467 wxPyEndAllowThreads(__tstate
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11477 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
) {
11478 PyObject
*resultobj
;
11479 wxSound
*arg1
= (wxSound
*) 0 ;
11480 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11482 PyObject
* obj0
= 0 ;
11483 PyObject
* obj1
= 0 ;
11485 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_Play",&obj0
,&obj1
)) goto fail
;
11486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSound
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11489 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11495 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11497 wxPyEndAllowThreads(__tstate
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11507 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
) {
11508 PyObject
*resultobj
;
11509 wxString
*arg1
= 0 ;
11510 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11512 bool temp1
= False
;
11513 PyObject
* obj0
= 0 ;
11514 PyObject
* obj1
= 0 ;
11516 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_PlaySound",&obj0
,&obj1
)) goto fail
;
11518 arg1
= wxString_in_helper(obj0
);
11519 if (arg1
== NULL
) SWIG_fail
;
11524 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
11525 if (PyErr_Occurred()) SWIG_fail
;
11529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11530 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11532 wxPyEndAllowThreads(__tstate
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11550 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11551 PyObject
*resultobj
;
11552 char *kwnames
[] = {
11556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 wxPyEndAllowThreads(__tstate
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11564 Py_INCREF(Py_None
); resultobj
= Py_None
;
11571 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11574 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11576 return Py_BuildValue((char *)"");
11578 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11579 PyObject
*resultobj
;
11580 wxString
*arg1
= 0 ;
11581 wxString
*arg2
= 0 ;
11582 wxString
*arg3
= 0 ;
11583 wxString
*arg4
= 0 ;
11584 wxFileTypeInfo
*result
;
11585 bool temp1
= False
;
11586 bool temp2
= False
;
11587 bool temp3
= False
;
11588 bool temp4
= False
;
11589 PyObject
* obj0
= 0 ;
11590 PyObject
* obj1
= 0 ;
11591 PyObject
* obj2
= 0 ;
11592 PyObject
* obj3
= 0 ;
11593 char *kwnames
[] = {
11594 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11599 arg1
= wxString_in_helper(obj0
);
11600 if (arg1
== NULL
) SWIG_fail
;
11604 arg2
= wxString_in_helper(obj1
);
11605 if (arg2
== NULL
) SWIG_fail
;
11609 arg3
= wxString_in_helper(obj2
);
11610 if (arg3
== NULL
) SWIG_fail
;
11614 arg4
= wxString_in_helper(obj3
);
11615 if (arg4
== NULL
) SWIG_fail
;
11619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11620 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11622 wxPyEndAllowThreads(__tstate
);
11623 if (PyErr_Occurred()) SWIG_fail
;
11625 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
11664 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11665 PyObject
*resultobj
;
11666 wxArrayString
*arg1
= 0 ;
11667 wxFileTypeInfo
*result
;
11668 bool temp1
= False
;
11669 PyObject
* obj0
= 0 ;
11670 char *kwnames
[] = {
11671 (char *) "sArray", NULL
11674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11676 if (! PySequence_Check(obj0
)) {
11677 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11680 arg1
= new wxArrayString
;
11682 int i
, len
=PySequence_Length(obj0
);
11683 for (i
=0; i
<len
; i
++) {
11684 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11686 PyObject
* str
= PyObject_Unicode(item
);
11688 PyObject
* str
= PyObject_Str(item
);
11690 arg1
->Add(Py2wxString(str
));
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11702 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
11704 if (temp1
) delete arg1
;
11709 if (temp1
) delete arg1
;
11715 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11716 PyObject
*resultobj
;
11717 wxFileTypeInfo
*result
;
11718 char *kwnames
[] = {
11722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11730 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
11737 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11738 PyObject
*resultobj
;
11739 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11741 PyObject
* obj0
= 0 ;
11742 char *kwnames
[] = {
11743 (char *) "self", NULL
11746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11762 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11763 PyObject
*resultobj
;
11764 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11765 wxString
*arg2
= 0 ;
11766 int arg3
= (int) 0 ;
11767 bool temp2
= False
;
11768 PyObject
* obj0
= 0 ;
11769 PyObject
* obj1
= 0 ;
11770 PyObject
* obj2
= 0 ;
11771 char *kwnames
[] = {
11772 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11778 arg2
= wxString_in_helper(obj1
);
11779 if (arg2
== NULL
) SWIG_fail
;
11784 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11790 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
11792 wxPyEndAllowThreads(__tstate
);
11793 if (PyErr_Occurred()) SWIG_fail
;
11795 Py_INCREF(Py_None
); resultobj
= Py_None
;
11810 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
*resultobj
;
11812 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11813 wxString
*arg2
= 0 ;
11814 bool temp2
= False
;
11815 PyObject
* obj0
= 0 ;
11816 PyObject
* obj1
= 0 ;
11817 char *kwnames
[] = {
11818 (char *) "self",(char *) "shortDesc", NULL
11821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
11822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11824 arg2
= wxString_in_helper(obj1
);
11825 if (arg2
== NULL
) SWIG_fail
;
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
11832 wxPyEndAllowThreads(__tstate
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11835 Py_INCREF(Py_None
); resultobj
= Py_None
;
11850 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11851 PyObject
*resultobj
;
11852 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11854 PyObject
* obj0
= 0 ;
11855 char *kwnames
[] = {
11856 (char *) "self", NULL
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
11860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
11865 result
= (wxString
*) &_result_ref
;
11868 wxPyEndAllowThreads(__tstate
);
11869 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11875 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11884 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11885 PyObject
*resultobj
;
11886 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11888 PyObject
* obj0
= 0 ;
11889 char *kwnames
[] = {
11890 (char *) "self", NULL
11893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
11894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11898 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
11899 result
= (wxString
*) &_result_ref
;
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11907 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11909 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11918 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11919 PyObject
*resultobj
;
11920 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11922 PyObject
* obj0
= 0 ;
11923 char *kwnames
[] = {
11924 (char *) "self", NULL
11927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
11928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
11933 result
= (wxString
*) &_result_ref
;
11936 wxPyEndAllowThreads(__tstate
);
11937 if (PyErr_Occurred()) SWIG_fail
;
11941 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11943 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11952 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11953 PyObject
*resultobj
;
11954 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11956 PyObject
* obj0
= 0 ;
11957 char *kwnames
[] = {
11958 (char *) "self", NULL
11961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
11962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11966 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
11967 result
= (wxString
*) &_result_ref
;
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11975 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11977 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11986 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11987 PyObject
*resultobj
;
11988 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11990 PyObject
* obj0
= 0 ;
11991 char *kwnames
[] = {
11992 (char *) "self", NULL
11995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
11996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12001 result
= (wxString
*) &_result_ref
;
12004 wxPyEndAllowThreads(__tstate
);
12005 if (PyErr_Occurred()) SWIG_fail
;
12009 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12011 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12020 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12021 PyObject
*resultobj
;
12022 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12023 wxArrayString
*result
;
12024 PyObject
* obj0
= 0 ;
12025 char *kwnames
[] = {
12026 (char *) "self", NULL
12029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12034 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12035 result
= (wxArrayString
*) &_result_ref
;
12038 wxPyEndAllowThreads(__tstate
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12042 resultobj
= wxArrayString2PyList_helper(*result
);
12050 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12051 PyObject
*resultobj
;
12052 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12054 PyObject
* obj0
= 0 ;
12055 char *kwnames
[] = {
12056 (char *) "self", NULL
12059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12063 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12068 resultobj
= SWIG_PyObj_FromInt((int)result
);
12075 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12076 PyObject
*resultobj
;
12077 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12079 PyObject
* obj0
= 0 ;
12080 char *kwnames
[] = {
12081 (char *) "self", NULL
12084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12090 result
= (wxString
*) &_result_ref
;
12093 wxPyEndAllowThreads(__tstate
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12100 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12109 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12110 PyObject
*resultobj
;
12111 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12113 PyObject
* obj0
= 0 ;
12114 char *kwnames
[] = {
12115 (char *) "self", NULL
12118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= SWIG_PyObj_FromInt((int)result
);
12134 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12137 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12139 return Py_BuildValue((char *)"");
12141 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
;
12143 wxFileTypeInfo
*arg1
= 0 ;
12144 wxFileType
*result
;
12145 PyObject
* obj0
= 0 ;
12146 char *kwnames
[] = {
12147 (char *) "ftInfo", NULL
12150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12152 if (arg1
== NULL
) {
12153 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12159 wxPyEndAllowThreads(__tstate
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12169 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12170 PyObject
*resultobj
;
12171 wxFileType
*arg1
= (wxFileType
*) 0 ;
12172 PyObject
* obj0
= 0 ;
12173 char *kwnames
[] = {
12174 (char *) "self", NULL
12177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12186 Py_INCREF(Py_None
); resultobj
= Py_None
;
12193 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12194 PyObject
*resultobj
;
12195 wxFileType
*arg1
= (wxFileType
*) 0 ;
12197 PyObject
* obj0
= 0 ;
12198 char *kwnames
[] = {
12199 (char *) "self", NULL
12202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12208 wxPyEndAllowThreads(__tstate
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12211 resultobj
= result
;
12218 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12219 PyObject
*resultobj
;
12220 wxFileType
*arg1
= (wxFileType
*) 0 ;
12222 PyObject
* obj0
= 0 ;
12223 char *kwnames
[] = {
12224 (char *) "self", NULL
12227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12233 wxPyEndAllowThreads(__tstate
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12236 resultobj
= result
;
12243 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12244 PyObject
*resultobj
;
12245 wxFileType
*arg1
= (wxFileType
*) 0 ;
12247 PyObject
* obj0
= 0 ;
12248 char *kwnames
[] = {
12249 (char *) "self", NULL
12252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= result
;
12268 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12269 PyObject
*resultobj
;
12270 wxFileType
*arg1
= (wxFileType
*) 0 ;
12272 PyObject
* obj0
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12283 wxPyEndAllowThreads(__tstate
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12286 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
12293 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
;
12295 wxFileType
*arg1
= (wxFileType
*) 0 ;
12297 PyObject
* obj0
= 0 ;
12298 char *kwnames
[] = {
12299 (char *) "self", NULL
12302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12311 resultobj
= result
;
12318 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
*resultobj
;
12320 wxFileType
*arg1
= (wxFileType
*) 0 ;
12322 PyObject
* obj0
= 0 ;
12323 char *kwnames
[] = {
12324 (char *) "self", NULL
12327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12331 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12336 resultobj
= result
;
12343 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
;
12345 wxFileType
*arg1
= (wxFileType
*) 0 ;
12346 wxString
*arg2
= 0 ;
12347 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12348 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12350 bool temp2
= False
;
12351 bool temp3
= False
;
12352 PyObject
* obj0
= 0 ;
12353 PyObject
* obj1
= 0 ;
12354 PyObject
* obj2
= 0 ;
12355 char *kwnames
[] = {
12356 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12362 arg2
= wxString_in_helper(obj1
);
12363 if (arg2
== NULL
) SWIG_fail
;
12368 arg3
= wxString_in_helper(obj2
);
12369 if (arg3
== NULL
) SWIG_fail
;
12374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12375 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12380 resultobj
= result
;
12403 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12404 PyObject
*resultobj
;
12405 wxFileType
*arg1
= (wxFileType
*) 0 ;
12406 wxString
*arg2
= 0 ;
12407 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12408 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12410 bool temp2
= False
;
12411 bool temp3
= False
;
12412 PyObject
* obj0
= 0 ;
12413 PyObject
* obj1
= 0 ;
12414 PyObject
* obj2
= 0 ;
12415 char *kwnames
[] = {
12416 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12422 arg2
= wxString_in_helper(obj1
);
12423 if (arg2
== NULL
) SWIG_fail
;
12428 arg3
= wxString_in_helper(obj2
);
12429 if (arg3
== NULL
) SWIG_fail
;
12434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12435 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12437 wxPyEndAllowThreads(__tstate
);
12438 if (PyErr_Occurred()) SWIG_fail
;
12440 resultobj
= result
;
12463 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12464 PyObject
*resultobj
;
12465 wxFileType
*arg1
= (wxFileType
*) 0 ;
12466 wxString
*arg2
= 0 ;
12467 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12468 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12470 bool temp2
= False
;
12471 bool temp3
= False
;
12472 PyObject
* obj0
= 0 ;
12473 PyObject
* obj1
= 0 ;
12474 PyObject
* obj2
= 0 ;
12475 char *kwnames
[] = {
12476 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12482 arg2
= wxString_in_helper(obj1
);
12483 if (arg2
== NULL
) SWIG_fail
;
12488 arg3
= wxString_in_helper(obj2
);
12489 if (arg3
== NULL
) SWIG_fail
;
12494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12497 wxPyEndAllowThreads(__tstate
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12500 resultobj
= result
;
12523 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12524 PyObject
*resultobj
;
12525 wxFileType
*arg1
= (wxFileType
*) 0 ;
12526 wxString
*arg2
= 0 ;
12527 wxString
*arg3
= 0 ;
12528 bool arg4
= (bool) True
;
12530 bool temp2
= False
;
12531 bool temp3
= False
;
12532 PyObject
* obj0
= 0 ;
12533 PyObject
* obj1
= 0 ;
12534 PyObject
* obj2
= 0 ;
12535 PyObject
* obj3
= 0 ;
12536 char *kwnames
[] = {
12537 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12543 arg2
= wxString_in_helper(obj1
);
12544 if (arg2
== NULL
) SWIG_fail
;
12548 arg3
= wxString_in_helper(obj2
);
12549 if (arg3
== NULL
) SWIG_fail
;
12554 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12588 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
;
12590 wxFileType
*arg1
= (wxFileType
*) 0 ;
12591 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12592 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12593 int arg3
= (int) 0 ;
12595 bool temp2
= False
;
12596 PyObject
* obj0
= 0 ;
12597 PyObject
* obj1
= 0 ;
12598 PyObject
* obj2
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self",(char *) "cmd",(char *) "index", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12607 arg2
= wxString_in_helper(obj1
);
12608 if (arg2
== NULL
) SWIG_fail
;
12614 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12622 wxPyEndAllowThreads(__tstate
);
12623 if (PyErr_Occurred()) SWIG_fail
;
12625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12640 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12641 PyObject
*resultobj
;
12642 wxFileType
*arg1
= (wxFileType
*) 0 ;
12644 PyObject
* obj0
= 0 ;
12645 char *kwnames
[] = {
12646 (char *) "self", NULL
12649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12653 result
= (bool)(arg1
)->Unassociate();
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12665 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12666 PyObject
*resultobj
;
12667 wxString
*arg1
= 0 ;
12668 wxString
*arg2
= 0 ;
12669 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12670 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12672 bool temp1
= False
;
12673 bool temp2
= False
;
12674 bool temp3
= False
;
12675 PyObject
* obj0
= 0 ;
12676 PyObject
* obj1
= 0 ;
12677 PyObject
* obj2
= 0 ;
12678 char *kwnames
[] = {
12679 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12684 arg1
= wxString_in_helper(obj0
);
12685 if (arg1
== NULL
) SWIG_fail
;
12689 arg2
= wxString_in_helper(obj1
);
12690 if (arg2
== NULL
) SWIG_fail
;
12695 arg3
= wxString_in_helper(obj2
);
12696 if (arg3
== NULL
) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12744 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
12746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12747 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
12749 return Py_BuildValue((char *)"");
12751 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
12752 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
12757 static PyObject
*_wrap_TheMimeTypesManager_get() {
12760 pyobj
= SWIG_NewPointerObj((void *) wxTheMimeTypesManager
, SWIGTYPE_p_wxMimeTypesManager
, 0);
12765 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12766 PyObject
*resultobj
;
12767 wxString
*arg1
= 0 ;
12768 wxString
*arg2
= 0 ;
12770 bool temp1
= False
;
12771 bool temp2
= False
;
12772 PyObject
* obj0
= 0 ;
12773 PyObject
* obj1
= 0 ;
12774 char *kwnames
[] = {
12775 (char *) "mimeType",(char *) "wildcard", NULL
12778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
12780 arg1
= wxString_in_helper(obj0
);
12781 if (arg1
== NULL
) SWIG_fail
;
12785 arg2
= wxString_in_helper(obj1
);
12786 if (arg2
== NULL
) SWIG_fail
;
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12819 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12820 PyObject
*resultobj
;
12821 wxMimeTypesManager
*result
;
12822 char *kwnames
[] = {
12826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
12828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12829 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12834 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMimeTypesManager
, 1);
12841 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12842 PyObject
*resultobj
;
12843 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12844 int arg2
= (int) wxMAILCAP_ALL
;
12845 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12846 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12847 bool temp3
= False
;
12848 PyObject
* obj0
= 0 ;
12849 PyObject
* obj1
= 0 ;
12850 PyObject
* obj2
= 0 ;
12851 char *kwnames
[] = {
12852 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
12855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12859 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12865 arg3
= wxString_in_helper(obj2
);
12866 if (arg3
== NULL
) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12877 Py_INCREF(Py_None
); resultobj
= Py_None
;
12892 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12893 PyObject
*resultobj
;
12894 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12895 PyObject
* obj0
= 0 ;
12896 char *kwnames
[] = {
12897 (char *) "self", NULL
12900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
12901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12904 (arg1
)->ClearData();
12906 wxPyEndAllowThreads(__tstate
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12909 Py_INCREF(Py_None
); resultobj
= Py_None
;
12916 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12917 PyObject
*resultobj
;
12918 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12919 wxString
*arg2
= 0 ;
12920 wxFileType
*result
;
12921 bool temp2
= False
;
12922 PyObject
* obj0
= 0 ;
12923 PyObject
* obj1
= 0 ;
12924 char *kwnames
[] = {
12925 (char *) "self",(char *) "ext", NULL
12928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
12929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12931 arg2
= wxString_in_helper(obj1
);
12932 if (arg2
== NULL
) SWIG_fail
;
12936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12937 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
12939 wxPyEndAllowThreads(__tstate
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12942 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12957 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
;
12959 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12960 wxString
*arg2
= 0 ;
12961 wxFileType
*result
;
12962 bool temp2
= False
;
12963 PyObject
* obj0
= 0 ;
12964 PyObject
* obj1
= 0 ;
12965 char *kwnames
[] = {
12966 (char *) "self",(char *) "mimeType", NULL
12969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
12970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12972 arg2
= wxString_in_helper(obj1
);
12973 if (arg2
== NULL
) SWIG_fail
;
12977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12978 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
12980 wxPyEndAllowThreads(__tstate
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12983 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12998 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13001 wxString
*arg2
= 0 ;
13002 bool arg3
= (bool) False
;
13004 bool temp2
= False
;
13005 PyObject
* obj0
= 0 ;
13006 PyObject
* obj1
= 0 ;
13007 PyObject
* obj2
= 0 ;
13008 char *kwnames
[] = {
13009 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13015 arg2
= wxString_in_helper(obj1
);
13016 if (arg2
== NULL
) SWIG_fail
;
13021 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13022 if (PyErr_Occurred()) SWIG_fail
;
13026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13027 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13029 wxPyEndAllowThreads(__tstate
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13047 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13048 PyObject
*resultobj
;
13049 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13050 wxString
*arg2
= 0 ;
13052 bool temp2
= False
;
13053 PyObject
* obj0
= 0 ;
13054 PyObject
* obj1
= 0 ;
13055 char *kwnames
[] = {
13056 (char *) "self",(char *) "filename", NULL
13059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13062 arg2
= wxString_in_helper(obj1
);
13063 if (arg2
== NULL
) SWIG_fail
;
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13088 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13089 PyObject
*resultobj
;
13090 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13092 PyObject
* obj0
= 0 ;
13093 char *kwnames
[] = {
13094 (char *) "self", NULL
13097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13101 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13106 resultobj
= result
;
13113 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
;
13115 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13116 wxFileTypeInfo
*arg2
= 0 ;
13117 PyObject
* obj0
= 0 ;
13118 PyObject
* obj1
= 0 ;
13119 char *kwnames
[] = {
13120 (char *) "self",(char *) "ft", NULL
13123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13125 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13126 if (arg2
== NULL
) {
13127 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13136 Py_INCREF(Py_None
); resultobj
= Py_None
;
13143 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13144 PyObject
*resultobj
;
13145 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13146 wxFileTypeInfo
*arg2
= 0 ;
13147 wxFileType
*result
;
13148 PyObject
* obj0
= 0 ;
13149 PyObject
* obj1
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "self",(char *) "ftInfo", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13156 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13157 if (arg2
== NULL
) {
13158 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13162 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13167 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
13174 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
;
13176 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13177 wxFileType
*arg2
= (wxFileType
*) 0 ;
13179 PyObject
* obj0
= 0 ;
13180 PyObject
* obj1
= 0 ;
13181 char *kwnames
[] = {
13182 (char *) "self",(char *) "ft", NULL
13185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13187 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 result
= (bool)(arg1
)->Unassociate(arg2
);
13192 wxPyEndAllowThreads(__tstate
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13202 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13203 PyObject
*resultobj
;
13204 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13205 PyObject
* obj0
= 0 ;
13206 char *kwnames
[] = {
13207 (char *) "self", NULL
13210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 Py_INCREF(Py_None
); resultobj
= Py_None
;
13226 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13229 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13231 return Py_BuildValue((char *)"");
13233 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
13234 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13239 static PyObject
*_wrap_ART_TOOLBAR_get() {
13244 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13246 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13253 static int _wrap_ART_MENU_set(PyObject
*) {
13254 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13259 static PyObject
*_wrap_ART_MENU_get() {
13264 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13266 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13273 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
13274 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13279 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13284 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13286 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13293 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
13294 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13299 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13304 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13306 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13313 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
13314 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13319 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13324 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13326 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13333 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
13334 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13339 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13344 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13346 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13353 static int _wrap_ART_OTHER_set(PyObject
*) {
13354 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13359 static PyObject
*_wrap_ART_OTHER_get() {
13364 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13366 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13373 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
13374 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13379 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13384 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13386 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13393 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
13394 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13399 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13404 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13406 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13413 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
13414 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13419 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13424 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13426 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13433 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
13434 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13439 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13444 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13446 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13453 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
13454 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13459 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13464 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13466 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13473 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
13474 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13479 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13484 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13486 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13493 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
13494 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13499 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13504 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13506 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13513 static int _wrap_ART_GO_BACK_set(PyObject
*) {
13514 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13519 static PyObject
*_wrap_ART_GO_BACK_get() {
13524 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13526 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13533 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
13534 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13539 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13544 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13546 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13553 static int _wrap_ART_GO_UP_set(PyObject
*) {
13554 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13559 static PyObject
*_wrap_ART_GO_UP_get() {
13564 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13566 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13573 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
13574 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13579 static PyObject
*_wrap_ART_GO_DOWN_get() {
13584 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13586 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13593 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
13594 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13599 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13604 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13606 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13613 static int _wrap_ART_GO_HOME_set(PyObject
*) {
13614 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13619 static PyObject
*_wrap_ART_GO_HOME_get() {
13624 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13626 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13633 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
13634 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13639 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13644 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13646 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13653 static int _wrap_ART_PRINT_set(PyObject
*) {
13654 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13659 static PyObject
*_wrap_ART_PRINT_get() {
13664 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13666 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13673 static int _wrap_ART_HELP_set(PyObject
*) {
13674 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13679 static PyObject
*_wrap_ART_HELP_get() {
13684 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13686 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13693 static int _wrap_ART_TIP_set(PyObject
*) {
13694 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13699 static PyObject
*_wrap_ART_TIP_get() {
13704 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13706 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13713 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
13714 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
13719 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
13724 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13726 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13733 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
13734 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
13739 static PyObject
*_wrap_ART_LIST_VIEW_get() {
13744 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13746 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13753 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
13754 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
13759 static PyObject
*_wrap_ART_NEW_DIR_get() {
13764 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13766 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13773 static int _wrap_ART_FOLDER_set(PyObject
*) {
13774 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
13779 static PyObject
*_wrap_ART_FOLDER_get() {
13784 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13786 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13793 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
13794 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
13799 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
13804 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13806 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13813 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
13814 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
13819 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
13824 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
13826 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
13833 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
13834 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
13839 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
13844 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
13846 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
13853 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
13854 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
13859 static PyObject
*_wrap_ART_TICK_MARK_get() {
13864 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
13866 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
13873 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
13874 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
13879 static PyObject
*_wrap_ART_CROSS_MARK_get() {
13884 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
13886 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
13893 static int _wrap_ART_ERROR_set(PyObject
*) {
13894 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
13899 static PyObject
*_wrap_ART_ERROR_get() {
13904 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
13906 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
13913 static int _wrap_ART_QUESTION_set(PyObject
*) {
13914 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
13919 static PyObject
*_wrap_ART_QUESTION_get() {
13924 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
13926 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
13933 static int _wrap_ART_WARNING_set(PyObject
*) {
13934 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
13939 static PyObject
*_wrap_ART_WARNING_get() {
13944 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
13946 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
13953 static int _wrap_ART_INFORMATION_set(PyObject
*) {
13954 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
13959 static PyObject
*_wrap_ART_INFORMATION_get() {
13964 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
13966 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
13973 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
13974 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
13979 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
13984 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
13986 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
13993 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13994 PyObject
*resultobj
;
13995 wxPyArtProvider
*result
;
13996 char *kwnames
[] = {
14000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14008 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyArtProvider
, 1);
14015 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14016 PyObject
*resultobj
;
14017 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14018 PyObject
*arg2
= (PyObject
*) 0 ;
14019 PyObject
*arg3
= (PyObject
*) 0 ;
14020 PyObject
* obj0
= 0 ;
14021 PyObject
* obj1
= 0 ;
14022 PyObject
* obj2
= 0 ;
14023 char *kwnames
[] = {
14024 (char *) "self",(char *) "self",(char *) "_class", NULL
14027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14033 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14035 wxPyEndAllowThreads(__tstate
);
14036 if (PyErr_Occurred()) SWIG_fail
;
14038 Py_INCREF(Py_None
); resultobj
= Py_None
;
14045 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14046 PyObject
*resultobj
;
14047 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14048 PyObject
* obj0
= 0 ;
14049 char *kwnames
[] = {
14050 (char *) "provider", NULL
14053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 wxPyArtProvider::PushProvider(arg1
);
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14062 Py_INCREF(Py_None
); resultobj
= Py_None
;
14069 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14070 PyObject
*resultobj
;
14072 char *kwnames
[] = {
14076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14079 result
= (bool)wxPyArtProvider::PopProvider();
14081 wxPyEndAllowThreads(__tstate
);
14082 if (PyErr_Occurred()) SWIG_fail
;
14084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14091 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14092 PyObject
*resultobj
;
14093 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14095 PyObject
* obj0
= 0 ;
14096 char *kwnames
[] = {
14097 (char *) "provider", NULL
14100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14104 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14106 wxPyEndAllowThreads(__tstate
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14116 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14117 PyObject
*resultobj
;
14118 wxString
*arg1
= 0 ;
14119 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14120 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14121 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14122 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14124 bool temp1
= False
;
14125 bool temp2
= False
;
14127 PyObject
* obj0
= 0 ;
14128 PyObject
* obj1
= 0 ;
14129 PyObject
* obj2
= 0 ;
14130 char *kwnames
[] = {
14131 (char *) "id",(char *) "client",(char *) "size", NULL
14134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14136 arg1
= wxString_in_helper(obj0
);
14137 if (arg1
== NULL
) SWIG_fail
;
14142 arg2
= wxString_in_helper(obj1
);
14143 if (arg2
== NULL
) SWIG_fail
;
14150 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14155 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14157 wxPyEndAllowThreads(__tstate
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14161 wxBitmap
* resultptr
;
14162 resultptr
= new wxBitmap((wxBitmap
&) result
);
14163 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
14187 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14188 PyObject
*resultobj
;
14189 wxString
*arg1
= 0 ;
14190 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14191 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14192 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14193 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14195 bool temp1
= False
;
14196 bool temp2
= False
;
14198 PyObject
* obj0
= 0 ;
14199 PyObject
* obj1
= 0 ;
14200 PyObject
* obj2
= 0 ;
14201 char *kwnames
[] = {
14202 (char *) "id",(char *) "client",(char *) "size", NULL
14205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14207 arg1
= wxString_in_helper(obj0
);
14208 if (arg1
== NULL
) SWIG_fail
;
14213 arg2
= wxString_in_helper(obj1
);
14214 if (arg2
== NULL
) SWIG_fail
;
14221 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14226 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14228 wxPyEndAllowThreads(__tstate
);
14229 if (PyErr_Occurred()) SWIG_fail
;
14232 wxIcon
* resultptr
;
14233 resultptr
= new wxIcon((wxIcon
&) result
);
14234 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
14258 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14259 PyObject
*resultobj
;
14260 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14261 PyObject
* obj0
= 0 ;
14262 char *kwnames
[] = {
14263 (char *) "self", NULL
14266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14270 wxPyArtProvider_Destroy(arg1
);
14272 wxPyEndAllowThreads(__tstate
);
14273 if (PyErr_Occurred()) SWIG_fail
;
14275 Py_INCREF(Py_None
); resultobj
= Py_None
;
14282 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14285 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14287 return Py_BuildValue((char *)"");
14289 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
;
14291 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14292 PyObject
* obj0
= 0 ;
14293 char *kwnames
[] = {
14294 (char *) "self", NULL
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14306 Py_INCREF(Py_None
); resultobj
= Py_None
;
14313 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14314 PyObject
*resultobj
;
14315 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14316 wxConfigBase
*result
;
14317 PyObject
* obj0
= 0 ;
14318 char *kwnames
[] = {
14319 (char *) "pConfig", NULL
14322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
14338 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
;
14340 bool arg1
= (bool) True
;
14341 wxConfigBase
*result
;
14342 PyObject
* obj0
= 0 ;
14343 char *kwnames
[] = {
14344 (char *) "createOnDemand", NULL
14347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14350 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14358 wxPyEndAllowThreads(__tstate
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14361 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
14368 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14369 PyObject
*resultobj
;
14370 wxConfigBase
*result
;
14371 char *kwnames
[] = {
14375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14378 result
= (wxConfigBase
*)wxConfigBase::Create();
14380 wxPyEndAllowThreads(__tstate
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14383 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
14390 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14391 PyObject
*resultobj
;
14392 char *kwnames
[] = {
14396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14399 wxConfigBase::DontCreateOnDemand();
14401 wxPyEndAllowThreads(__tstate
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14404 Py_INCREF(Py_None
); resultobj
= Py_None
;
14411 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14412 PyObject
*resultobj
;
14413 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14414 wxString
*arg2
= 0 ;
14415 bool temp2
= False
;
14416 PyObject
* obj0
= 0 ;
14417 PyObject
* obj1
= 0 ;
14418 char *kwnames
[] = {
14419 (char *) "self",(char *) "strPath", NULL
14422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14425 arg2
= wxString_in_helper(obj1
);
14426 if (arg2
== NULL
) SWIG_fail
;
14430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14431 (arg1
)->SetPath((wxString
const &)*arg2
);
14433 wxPyEndAllowThreads(__tstate
);
14434 if (PyErr_Occurred()) SWIG_fail
;
14436 Py_INCREF(Py_None
); resultobj
= Py_None
;
14451 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14452 PyObject
*resultobj
;
14453 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14455 PyObject
* obj0
= 0 ;
14456 char *kwnames
[] = {
14457 (char *) "self", NULL
14460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14465 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14466 result
= (wxString
*) &_result_ref
;
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14474 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14476 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14485 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14486 PyObject
*resultobj
;
14487 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14489 PyObject
* obj0
= 0 ;
14490 char *kwnames
[] = {
14491 (char *) "self", NULL
14494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14498 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14500 wxPyEndAllowThreads(__tstate
);
14501 if (PyErr_Occurred()) SWIG_fail
;
14503 resultobj
= result
;
14510 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14511 PyObject
*resultobj
;
14512 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14515 PyObject
* obj0
= 0 ;
14516 PyObject
* obj1
= 0 ;
14517 char *kwnames
[] = {
14518 (char *) "self",(char *) "index", NULL
14521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14524 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14531 wxPyEndAllowThreads(__tstate
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14534 resultobj
= result
;
14541 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14542 PyObject
*resultobj
;
14543 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14545 PyObject
* obj0
= 0 ;
14546 char *kwnames
[] = {
14547 (char *) "self", NULL
14550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14554 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= result
;
14566 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14567 PyObject
*resultobj
;
14568 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14571 PyObject
* obj0
= 0 ;
14572 PyObject
* obj1
= 0 ;
14573 char *kwnames
[] = {
14574 (char *) "self",(char *) "index", NULL
14577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14580 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14585 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14590 resultobj
= result
;
14597 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14598 PyObject
*resultobj
;
14599 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14600 bool arg2
= (bool) False
;
14602 PyObject
* obj0
= 0 ;
14603 PyObject
* obj1
= 0 ;
14604 char *kwnames
[] = {
14605 (char *) "self",(char *) "bRecursive", NULL
14608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14612 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14613 if (PyErr_Occurred()) SWIG_fail
;
14617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14618 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14620 wxPyEndAllowThreads(__tstate
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14623 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
14630 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14631 PyObject
*resultobj
;
14632 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14633 bool arg2
= (bool) False
;
14635 PyObject
* obj0
= 0 ;
14636 PyObject
* obj1
= 0 ;
14637 char *kwnames
[] = {
14638 (char *) "self",(char *) "bRecursive", NULL
14641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14645 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14646 if (PyErr_Occurred()) SWIG_fail
;
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14656 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
14663 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14664 PyObject
*resultobj
;
14665 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14666 wxString
*arg2
= 0 ;
14668 bool temp2
= False
;
14669 PyObject
* obj0
= 0 ;
14670 PyObject
* obj1
= 0 ;
14671 char *kwnames
[] = {
14672 (char *) "self",(char *) "strName", NULL
14675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14678 arg2
= wxString_in_helper(obj1
);
14679 if (arg2
== NULL
) SWIG_fail
;
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14684 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14704 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14705 PyObject
*resultobj
;
14706 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14707 wxString
*arg2
= 0 ;
14709 bool temp2
= False
;
14710 PyObject
* obj0
= 0 ;
14711 PyObject
* obj1
= 0 ;
14712 char *kwnames
[] = {
14713 (char *) "self",(char *) "strName", NULL
14716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14719 arg2
= wxString_in_helper(obj1
);
14720 if (arg2
== NULL
) SWIG_fail
;
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14745 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14746 PyObject
*resultobj
;
14747 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14748 wxString
*arg2
= 0 ;
14750 bool temp2
= False
;
14751 PyObject
* obj0
= 0 ;
14752 PyObject
* obj1
= 0 ;
14753 char *kwnames
[] = {
14754 (char *) "self",(char *) "strName", NULL
14757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
14758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14760 arg2
= wxString_in_helper(obj1
);
14761 if (arg2
== NULL
) SWIG_fail
;
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
14768 wxPyEndAllowThreads(__tstate
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14786 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14787 PyObject
*resultobj
;
14788 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14789 wxString
*arg2
= 0 ;
14791 bool temp2
= False
;
14792 PyObject
* obj0
= 0 ;
14793 PyObject
* obj1
= 0 ;
14794 char *kwnames
[] = {
14795 (char *) "self",(char *) "name", NULL
14798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
14799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14801 arg2
= wxString_in_helper(obj1
);
14802 if (arg2
== NULL
) SWIG_fail
;
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14812 resultobj
= SWIG_PyObj_FromInt((int)result
);
14827 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14828 PyObject
*resultobj
;
14829 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14830 wxString
*arg2
= 0 ;
14831 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14832 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14834 bool temp2
= False
;
14835 bool temp3
= False
;
14836 PyObject
* obj0
= 0 ;
14837 PyObject
* obj1
= 0 ;
14838 PyObject
* obj2
= 0 ;
14839 char *kwnames
[] = {
14840 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14846 arg2
= wxString_in_helper(obj1
);
14847 if (arg2
== NULL
) SWIG_fail
;
14852 arg3
= wxString_in_helper(obj2
);
14853 if (arg3
== NULL
) SWIG_fail
;
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14893 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14894 PyObject
*resultobj
;
14895 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14896 wxString
*arg2
= 0 ;
14897 long arg3
= (long) 0 ;
14899 bool temp2
= False
;
14900 PyObject
* obj0
= 0 ;
14901 PyObject
* obj1
= 0 ;
14902 PyObject
* obj2
= 0 ;
14903 char *kwnames
[] = {
14904 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14910 arg2
= wxString_in_helper(obj1
);
14911 if (arg2
== NULL
) SWIG_fail
;
14916 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14922 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
14924 wxPyEndAllowThreads(__tstate
);
14925 if (PyErr_Occurred()) SWIG_fail
;
14927 resultobj
= SWIG_PyObj_FromLong((long)result
);
14942 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14943 PyObject
*resultobj
;
14944 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14945 wxString
*arg2
= 0 ;
14946 double arg3
= (double) 0.0 ;
14948 bool temp2
= False
;
14949 PyObject
* obj0
= 0 ;
14950 PyObject
* obj1
= 0 ;
14951 PyObject
* obj2
= 0 ;
14952 char *kwnames
[] = {
14953 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14959 arg2
= wxString_in_helper(obj1
);
14960 if (arg2
== NULL
) SWIG_fail
;
14965 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14976 resultobj
= SWIG_PyObj_FromDouble((double)result
);
14991 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
;
14993 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14994 wxString
*arg2
= 0 ;
14995 bool arg3
= (bool) False
;
14997 bool temp2
= False
;
14998 PyObject
* obj0
= 0 ;
14999 PyObject
* obj1
= 0 ;
15000 PyObject
* obj2
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15008 arg2
= wxString_in_helper(obj1
);
15009 if (arg2
== NULL
) SWIG_fail
;
15014 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15015 if (PyErr_Occurred()) SWIG_fail
;
15019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15020 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15022 wxPyEndAllowThreads(__tstate
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15040 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
;
15042 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15043 wxString
*arg2
= 0 ;
15044 wxString
*arg3
= 0 ;
15046 bool temp2
= False
;
15047 bool temp3
= False
;
15048 PyObject
* obj0
= 0 ;
15049 PyObject
* obj1
= 0 ;
15050 PyObject
* obj2
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self",(char *) "key",(char *) "value", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15058 arg2
= wxString_in_helper(obj1
);
15059 if (arg2
== NULL
) SWIG_fail
;
15063 arg3
= wxString_in_helper(obj2
);
15064 if (arg3
== NULL
) SWIG_fail
;
15068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15069 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15071 wxPyEndAllowThreads(__tstate
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15097 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15098 PyObject
*resultobj
;
15099 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15100 wxString
*arg2
= 0 ;
15103 bool temp2
= False
;
15104 PyObject
* obj0
= 0 ;
15105 PyObject
* obj1
= 0 ;
15106 PyObject
* obj2
= 0 ;
15107 char *kwnames
[] = {
15108 (char *) "self",(char *) "key",(char *) "value", NULL
15111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15114 arg2
= wxString_in_helper(obj1
);
15115 if (arg2
== NULL
) SWIG_fail
;
15119 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15126 wxPyEndAllowThreads(__tstate
);
15127 if (PyErr_Occurred()) SWIG_fail
;
15129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15144 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
;
15146 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15147 wxString
*arg2
= 0 ;
15150 bool temp2
= False
;
15151 PyObject
* obj0
= 0 ;
15152 PyObject
* obj1
= 0 ;
15153 PyObject
* obj2
= 0 ;
15154 char *kwnames
[] = {
15155 (char *) "self",(char *) "key",(char *) "value", NULL
15158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15161 arg2
= wxString_in_helper(obj1
);
15162 if (arg2
== NULL
) SWIG_fail
;
15166 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15171 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15173 wxPyEndAllowThreads(__tstate
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15191 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15192 PyObject
*resultobj
;
15193 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15194 wxString
*arg2
= 0 ;
15197 bool temp2
= False
;
15198 PyObject
* obj0
= 0 ;
15199 PyObject
* obj1
= 0 ;
15200 PyObject
* obj2
= 0 ;
15201 char *kwnames
[] = {
15202 (char *) "self",(char *) "key",(char *) "value", NULL
15205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15208 arg2
= wxString_in_helper(obj1
);
15209 if (arg2
== NULL
) SWIG_fail
;
15213 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15218 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15238 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
;
15240 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15241 bool arg2
= (bool) False
;
15243 PyObject
* obj0
= 0 ;
15244 PyObject
* obj1
= 0 ;
15245 char *kwnames
[] = {
15246 (char *) "self",(char *) "bCurrentOnly", NULL
15249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15253 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15259 result
= (bool)(arg1
)->Flush(arg2
);
15261 wxPyEndAllowThreads(__tstate
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15271 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15272 PyObject
*resultobj
;
15273 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15274 wxString
*arg2
= 0 ;
15275 wxString
*arg3
= 0 ;
15277 bool temp2
= False
;
15278 bool temp3
= False
;
15279 PyObject
* obj0
= 0 ;
15280 PyObject
* obj1
= 0 ;
15281 PyObject
* obj2
= 0 ;
15282 char *kwnames
[] = {
15283 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15289 arg2
= wxString_in_helper(obj1
);
15290 if (arg2
== NULL
) SWIG_fail
;
15294 arg3
= wxString_in_helper(obj2
);
15295 if (arg3
== NULL
) SWIG_fail
;
15299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15300 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15328 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
;
15330 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15331 wxString
*arg2
= 0 ;
15332 wxString
*arg3
= 0 ;
15334 bool temp2
= False
;
15335 bool temp3
= False
;
15336 PyObject
* obj0
= 0 ;
15337 PyObject
* obj1
= 0 ;
15338 PyObject
* obj2
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15346 arg2
= wxString_in_helper(obj1
);
15347 if (arg2
== NULL
) SWIG_fail
;
15351 arg3
= wxString_in_helper(obj2
);
15352 if (arg3
== NULL
) SWIG_fail
;
15356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15357 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15359 wxPyEndAllowThreads(__tstate
);
15360 if (PyErr_Occurred()) SWIG_fail
;
15362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15385 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15388 wxString
*arg2
= 0 ;
15389 bool arg3
= (bool) True
;
15391 bool temp2
= False
;
15392 PyObject
* obj0
= 0 ;
15393 PyObject
* obj1
= 0 ;
15394 PyObject
* obj2
= 0 ;
15395 char *kwnames
[] = {
15396 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
15399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15402 arg2
= wxString_in_helper(obj1
);
15403 if (arg2
== NULL
) SWIG_fail
;
15408 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15414 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15416 wxPyEndAllowThreads(__tstate
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15434 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15437 wxString
*arg2
= 0 ;
15439 bool temp2
= False
;
15440 PyObject
* obj0
= 0 ;
15441 PyObject
* obj1
= 0 ;
15442 char *kwnames
[] = {
15443 (char *) "self",(char *) "key", NULL
15446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15449 arg2
= wxString_in_helper(obj1
);
15450 if (arg2
== NULL
) SWIG_fail
;
15454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15455 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15457 wxPyEndAllowThreads(__tstate
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15475 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15476 PyObject
*resultobj
;
15477 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15479 PyObject
* obj0
= 0 ;
15480 char *kwnames
[] = {
15481 (char *) "self", NULL
15484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 result
= (bool)(arg1
)->DeleteAll();
15490 wxPyEndAllowThreads(__tstate
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15500 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15501 PyObject
*resultobj
;
15502 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15504 PyObject
* obj0
= 0 ;
15505 char *kwnames
[] = {
15506 (char *) "self", NULL
15509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15513 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15515 wxPyEndAllowThreads(__tstate
);
15516 if (PyErr_Occurred()) SWIG_fail
;
15518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15525 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15526 PyObject
*resultobj
;
15527 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15528 bool arg2
= (bool) True
;
15529 PyObject
* obj0
= 0 ;
15530 PyObject
* obj1
= 0 ;
15531 char *kwnames
[] = {
15532 (char *) "self",(char *) "bDoIt", NULL
15535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15539 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 (arg1
)->SetExpandEnvVars(arg2
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 Py_INCREF(Py_None
); resultobj
= Py_None
;
15557 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15558 PyObject
*resultobj
;
15559 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15560 bool arg2
= (bool) True
;
15561 PyObject
* obj0
= 0 ;
15562 PyObject
* obj1
= 0 ;
15563 char *kwnames
[] = {
15564 (char *) "self",(char *) "bDoIt", NULL
15567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15571 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 (arg1
)->SetRecordDefaults(arg2
);
15579 wxPyEndAllowThreads(__tstate
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15582 Py_INCREF(Py_None
); resultobj
= Py_None
;
15589 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15590 PyObject
*resultobj
;
15591 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15593 PyObject
* obj0
= 0 ;
15594 char *kwnames
[] = {
15595 (char *) "self", NULL
15598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15614 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15615 PyObject
*resultobj
;
15616 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15617 wxString
*arg2
= 0 ;
15619 bool temp2
= False
;
15620 PyObject
* obj0
= 0 ;
15621 PyObject
* obj1
= 0 ;
15622 char *kwnames
[] = {
15623 (char *) "self",(char *) "str", NULL
15626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15629 arg2
= wxString_in_helper(obj1
);
15630 if (arg2
== NULL
) SWIG_fail
;
15634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15635 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15637 wxPyEndAllowThreads(__tstate
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15661 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15662 PyObject
*resultobj
;
15663 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15665 PyObject
* obj0
= 0 ;
15666 char *kwnames
[] = {
15667 (char *) "self", NULL
15670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15674 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
15676 wxPyEndAllowThreads(__tstate
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15692 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15693 PyObject
*resultobj
;
15694 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15696 PyObject
* obj0
= 0 ;
15697 char *kwnames
[] = {
15698 (char *) "self", NULL
15701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
15702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15705 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15712 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15714 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15723 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
;
15725 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15726 wxString
*arg2
= 0 ;
15727 bool temp2
= False
;
15728 PyObject
* obj0
= 0 ;
15729 PyObject
* obj1
= 0 ;
15730 char *kwnames
[] = {
15731 (char *) "self",(char *) "appName", NULL
15734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
15735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15737 arg2
= wxString_in_helper(obj1
);
15738 if (arg2
== NULL
) SWIG_fail
;
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 (arg1
)->SetAppName((wxString
const &)*arg2
);
15745 wxPyEndAllowThreads(__tstate
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15748 Py_INCREF(Py_None
); resultobj
= Py_None
;
15763 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15764 PyObject
*resultobj
;
15765 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15766 wxString
*arg2
= 0 ;
15767 bool temp2
= False
;
15768 PyObject
* obj0
= 0 ;
15769 PyObject
* obj1
= 0 ;
15770 char *kwnames
[] = {
15771 (char *) "self",(char *) "vendorName", NULL
15774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
15775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15777 arg2
= wxString_in_helper(obj1
);
15778 if (arg2
== NULL
) SWIG_fail
;
15782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15783 (arg1
)->SetVendorName((wxString
const &)*arg2
);
15785 wxPyEndAllowThreads(__tstate
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15788 Py_INCREF(Py_None
); resultobj
= Py_None
;
15803 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
;
15805 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15807 PyObject
* obj0
= 0 ;
15808 PyObject
* obj1
= 0 ;
15809 char *kwnames
[] = {
15810 (char *) "self",(char *) "style", NULL
15813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
15814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15816 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 (arg1
)->SetStyle(arg2
);
15823 wxPyEndAllowThreads(__tstate
);
15824 if (PyErr_Occurred()) SWIG_fail
;
15826 Py_INCREF(Py_None
); resultobj
= Py_None
;
15833 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15834 PyObject
*resultobj
;
15835 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15837 PyObject
* obj0
= 0 ;
15838 char *kwnames
[] = {
15839 (char *) "self", NULL
15842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15846 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
15848 wxPyEndAllowThreads(__tstate
);
15849 if (PyErr_Occurred()) SWIG_fail
;
15851 resultobj
= SWIG_PyObj_FromLong((long)result
);
15858 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
15860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15861 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
15863 return Py_BuildValue((char *)"");
15865 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
;
15867 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15868 wxString
*arg2
= 0 ;
15869 wxConfigPathChanger
*result
;
15870 bool temp2
= False
;
15871 PyObject
* obj0
= 0 ;
15872 PyObject
* obj1
= 0 ;
15873 char *kwnames
[] = {
15874 (char *) "pContainer",(char *) "strEntry", NULL
15877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
15878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15880 arg2
= wxString_in_helper(obj1
);
15881 if (arg2
== NULL
) SWIG_fail
;
15885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15886 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
15888 wxPyEndAllowThreads(__tstate
);
15889 if (PyErr_Occurred()) SWIG_fail
;
15891 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigPathChanger
, 1);
15906 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15907 PyObject
*resultobj
;
15908 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
15909 PyObject
* obj0
= 0 ;
15910 char *kwnames
[] = {
15911 (char *) "self", NULL
15914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
15915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15923 Py_INCREF(Py_None
); resultobj
= Py_None
;
15930 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15931 PyObject
*resultobj
;
15932 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
15934 PyObject
* obj0
= 0 ;
15935 char *kwnames
[] = {
15936 (char *) "self", NULL
15939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
15940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15944 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
15945 result
= (wxString
*) &_result_ref
;
15948 wxPyEndAllowThreads(__tstate
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15953 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15955 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15964 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
15966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15967 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
15969 return Py_BuildValue((char *)"");
15971 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
;
15973 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15974 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15975 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15976 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15977 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15978 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15979 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15980 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15981 long arg5
= (long) 0 ;
15983 bool temp1
= False
;
15984 bool temp2
= False
;
15985 bool temp3
= False
;
15986 bool temp4
= False
;
15987 PyObject
* obj0
= 0 ;
15988 PyObject
* obj1
= 0 ;
15989 PyObject
* obj2
= 0 ;
15990 PyObject
* obj3
= 0 ;
15991 PyObject
* obj4
= 0 ;
15992 char *kwnames
[] = {
15993 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15999 arg1
= wxString_in_helper(obj0
);
16000 if (arg1
== NULL
) SWIG_fail
;
16006 arg2
= wxString_in_helper(obj1
);
16007 if (arg2
== NULL
) SWIG_fail
;
16013 arg3
= wxString_in_helper(obj2
);
16014 if (arg3
== NULL
) SWIG_fail
;
16020 arg4
= wxString_in_helper(obj3
);
16021 if (arg4
== NULL
) SWIG_fail
;
16027 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16033 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16038 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfig
, 1);
16077 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16078 PyObject
*resultobj
;
16079 wxConfig
*arg1
= (wxConfig
*) 0 ;
16080 PyObject
* obj0
= 0 ;
16081 char *kwnames
[] = {
16082 (char *) "self", NULL
16085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 wxPyEndAllowThreads(__tstate
);
16092 if (PyErr_Occurred()) SWIG_fail
;
16094 Py_INCREF(Py_None
); resultobj
= Py_None
;
16101 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16104 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16106 return Py_BuildValue((char *)"");
16108 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16109 PyObject
*resultobj
;
16110 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16111 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16112 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16113 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16114 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16115 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16116 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16117 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16118 long arg5
= (long) 0 ;
16119 wxFileConfig
*result
;
16120 bool temp1
= False
;
16121 bool temp2
= False
;
16122 bool temp3
= False
;
16123 bool temp4
= False
;
16124 PyObject
* obj0
= 0 ;
16125 PyObject
* obj1
= 0 ;
16126 PyObject
* obj2
= 0 ;
16127 PyObject
* obj3
= 0 ;
16128 PyObject
* obj4
= 0 ;
16129 char *kwnames
[] = {
16130 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16136 arg1
= wxString_in_helper(obj0
);
16137 if (arg1
== NULL
) SWIG_fail
;
16143 arg2
= wxString_in_helper(obj1
);
16144 if (arg2
== NULL
) SWIG_fail
;
16150 arg3
= wxString_in_helper(obj2
);
16151 if (arg3
== NULL
) SWIG_fail
;
16157 arg4
= wxString_in_helper(obj3
);
16158 if (arg4
== NULL
) SWIG_fail
;
16164 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16170 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16172 wxPyEndAllowThreads(__tstate
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16175 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileConfig
, 1);
16214 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16215 PyObject
*resultobj
;
16216 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16217 PyObject
* obj0
= 0 ;
16218 char *kwnames
[] = {
16219 (char *) "self", NULL
16222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16231 Py_INCREF(Py_None
); resultobj
= Py_None
;
16238 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16241 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16243 return Py_BuildValue((char *)"");
16245 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
;
16247 wxString
*arg1
= 0 ;
16249 bool temp1
= False
;
16250 PyObject
* obj0
= 0 ;
16251 char *kwnames
[] = {
16252 (char *) "sz", NULL
16255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16257 arg1
= wxString_in_helper(obj0
);
16258 if (arg1
== NULL
) SWIG_fail
;
16262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16263 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16265 wxPyEndAllowThreads(__tstate
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16289 static int _wrap_DateFormatStr_set(PyObject
*) {
16290 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16295 static PyObject
*_wrap_DateFormatStr_get() {
16300 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16302 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16309 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
16310 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16315 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16320 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16322 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16329 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
;
16332 PyObject
* obj0
= 0 ;
16333 char *kwnames
[] = {
16334 (char *) "country", NULL
16337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16339 arg1
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj0
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16344 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16349 Py_INCREF(Py_None
); resultobj
= Py_None
;
16356 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16357 PyObject
*resultobj
;
16359 char *kwnames
[] = {
16363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16366 result
= (int)wxDateTime::GetCountry();
16368 wxPyEndAllowThreads(__tstate
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16371 resultobj
= SWIG_PyObj_FromInt((int)result
);
16378 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16379 PyObject
*resultobj
;
16380 int arg1
= (int) wxDateTime::Country_Default
;
16382 PyObject
* obj0
= 0 ;
16383 char *kwnames
[] = {
16384 (char *) "country", NULL
16387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16390 arg1
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj0
);
16391 if (PyErr_Occurred()) SWIG_fail
;
16395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16396 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16398 wxPyEndAllowThreads(__tstate
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16408 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16409 PyObject
*resultobj
;
16410 int arg1
= (int) wxDateTime::Gregorian
;
16412 PyObject
* obj0
= 0 ;
16413 char *kwnames
[] = {
16414 (char *) "cal", NULL
16417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16420 arg1
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj0
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16431 resultobj
= SWIG_PyObj_FromInt((int)result
);
16438 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
;
16442 PyObject
* obj0
= 0 ;
16443 char *kwnames
[] = {
16444 (char *) "year", NULL
16447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16449 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16450 if (PyErr_Occurred()) SWIG_fail
;
16453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16454 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16456 wxPyEndAllowThreads(__tstate
);
16457 if (PyErr_Occurred()) SWIG_fail
;
16459 resultobj
= SWIG_PyObj_FromInt((int)result
);
16466 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16467 PyObject
*resultobj
;
16468 int arg1
= (int) wxDateTime::Gregorian
;
16470 PyObject
* obj0
= 0 ;
16471 char *kwnames
[] = {
16472 (char *) "cal", NULL
16475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16478 arg1
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj0
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16486 wxPyEndAllowThreads(__tstate
);
16487 if (PyErr_Occurred()) SWIG_fail
;
16489 resultobj
= SWIG_PyObj_FromInt((int)result
);
16496 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
;
16498 int arg1
= (int) wxDateTime::Inv_Year
;
16499 int arg2
= (int) wxDateTime::Gregorian
;
16501 PyObject
* obj0
= 0 ;
16502 PyObject
* obj1
= 0 ;
16503 char *kwnames
[] = {
16504 (char *) "year",(char *) "cal", NULL
16507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16510 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16516 arg2
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj1
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16522 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16534 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16535 PyObject
*resultobj
;
16536 int arg1
= (int) wxDateTime::Inv_Year
;
16538 PyObject
* obj0
= 0 ;
16539 char *kwnames
[] = {
16540 (char *) "year", NULL
16543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16546 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16552 result
= (int)wxDateTime::GetCentury(arg1
);
16554 wxPyEndAllowThreads(__tstate
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16557 resultobj
= SWIG_PyObj_FromInt((int)result
);
16564 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16565 PyObject
*resultobj
;
16567 int arg2
= (int) wxDateTime::Gregorian
;
16569 PyObject
* obj0
= 0 ;
16570 PyObject
* obj1
= 0 ;
16571 char *kwnames
[] = {
16572 (char *) "year",(char *) "cal", NULL
16575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16577 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16582 arg2
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj1
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16588 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16593 resultobj
= SWIG_PyObj_FromInt((int)result
);
16600 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16601 PyObject
*resultobj
;
16603 int arg2
= (int) wxDateTime::Inv_Year
;
16604 int arg3
= (int) wxDateTime::Gregorian
;
16606 PyObject
* obj0
= 0 ;
16607 PyObject
* obj1
= 0 ;
16608 PyObject
* obj2
= 0 ;
16609 char *kwnames
[] = {
16610 (char *) "month",(char *) "year",(char *) "cal", NULL
16613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16615 arg1
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj0
);
16616 if (PyErr_Occurred()) SWIG_fail
;
16620 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16626 arg3
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj2
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16632 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16634 wxPyEndAllowThreads(__tstate
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16637 resultobj
= SWIG_PyObj_FromInt((int)result
);
16644 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16645 PyObject
*resultobj
;
16647 int arg2
= (int) wxDateTime::Name_Full
;
16649 PyObject
* obj0
= 0 ;
16650 PyObject
* obj1
= 0 ;
16651 char *kwnames
[] = {
16652 (char *) "month",(char *) "flags", NULL
16655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16657 arg1
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj0
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16662 arg2
= (wxDateTime::NameFlags
) SWIG_PyObj_AsInt(obj1
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16668 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16670 wxPyEndAllowThreads(__tstate
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16686 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16687 PyObject
*resultobj
;
16689 int arg2
= (int) wxDateTime::Name_Full
;
16691 PyObject
* obj0
= 0 ;
16692 PyObject
* obj1
= 0 ;
16693 char *kwnames
[] = {
16694 (char *) "weekday",(char *) "flags", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
16699 arg1
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj0
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16704 arg2
= (wxDateTime::NameFlags
) SWIG_PyObj_AsInt(obj1
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16728 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16729 PyObject
*resultobj
;
16730 wxString
*arg1
= (wxString
*) 0 ;
16731 wxString
*arg2
= (wxString
*) 0 ;
16732 bool temp1
= False
;
16733 bool temp2
= False
;
16734 PyObject
* obj0
= 0 ;
16735 PyObject
* obj1
= 0 ;
16736 char *kwnames
[] = {
16737 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
16742 arg1
= wxString_in_helper(obj0
);
16743 if (arg1
== NULL
) SWIG_fail
;
16747 arg2
= wxString_in_helper(obj1
);
16748 if (arg2
== NULL
) SWIG_fail
;
16752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16753 wxDateTime::GetAmPmStrings(arg1
,arg2
);
16755 wxPyEndAllowThreads(__tstate
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16758 Py_INCREF(Py_None
); resultobj
= Py_None
;
16781 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
;
16783 int arg1
= (int) wxDateTime::Inv_Year
;
16784 int arg2
= (int) wxDateTime::Country_Default
;
16786 PyObject
* obj0
= 0 ;
16787 PyObject
* obj1
= 0 ;
16788 char *kwnames
[] = {
16789 (char *) "year",(char *) "country", NULL
16792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
16795 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16801 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16819 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16820 PyObject
*resultobj
;
16821 int arg1
= (int) wxDateTime::Inv_Year
;
16822 int arg2
= (int) wxDateTime::Country_Default
;
16824 PyObject
* obj0
= 0 ;
16825 PyObject
* obj1
= 0 ;
16826 char *kwnames
[] = {
16827 (char *) "year",(char *) "country", NULL
16830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
16833 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16839 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
16840 if (PyErr_Occurred()) SWIG_fail
;
16844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
16847 wxPyEndAllowThreads(__tstate
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16851 wxDateTime
* resultptr
;
16852 resultptr
= new wxDateTime((wxDateTime
&) result
);
16853 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16861 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16862 PyObject
*resultobj
;
16863 int arg1
= (int) wxDateTime::Inv_Year
;
16864 int arg2
= (int) wxDateTime::Country_Default
;
16866 PyObject
* obj0
= 0 ;
16867 PyObject
* obj1
= 0 ;
16868 char *kwnames
[] = {
16869 (char *) "year",(char *) "country", NULL
16872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
16875 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16881 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
16882 if (PyErr_Occurred()) SWIG_fail
;
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16893 wxDateTime
* resultptr
;
16894 resultptr
= new wxDateTime((wxDateTime
&) result
);
16895 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16903 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
;
16906 char *kwnames
[] = {
16910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
16912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16913 result
= wxDateTime::Now();
16915 wxPyEndAllowThreads(__tstate
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16919 wxDateTime
* resultptr
;
16920 resultptr
= new wxDateTime((wxDateTime
&) result
);
16921 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16929 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16930 PyObject
*resultobj
;
16932 char *kwnames
[] = {
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
16938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16939 result
= wxDateTime::UNow();
16941 wxPyEndAllowThreads(__tstate
);
16942 if (PyErr_Occurred()) SWIG_fail
;
16945 wxDateTime
* resultptr
;
16946 resultptr
= new wxDateTime((wxDateTime
&) result
);
16947 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16955 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16956 PyObject
*resultobj
;
16958 char *kwnames
[] = {
16962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
16964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16965 result
= wxDateTime::Today();
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16971 wxDateTime
* resultptr
;
16972 resultptr
= new wxDateTime((wxDateTime
&) result
);
16973 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16981 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16982 PyObject
*resultobj
;
16983 wxDateTime
*result
;
16984 char *kwnames
[] = {
16988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
16990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16991 result
= (wxDateTime
*)new wxDateTime();
16993 wxPyEndAllowThreads(__tstate
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16996 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17003 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17004 PyObject
*resultobj
;
17006 wxDateTime
*result
;
17007 PyObject
* obj0
= 0 ;
17008 char *kwnames
[] = {
17009 (char *) "timet", NULL
17012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17014 arg1
= (time_t) SWIG_PyObj_AsUnsignedInt(obj0
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17019 result
= (wxDateTime
*)new wxDateTime(arg1
);
17021 wxPyEndAllowThreads(__tstate
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17024 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17031 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17032 PyObject
*resultobj
;
17034 wxDateTime
*result
;
17035 PyObject
* obj0
= 0 ;
17036 char *kwnames
[] = {
17037 (char *) "jdn", NULL
17040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17042 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17047 result
= (wxDateTime
*)new wxDateTime(arg1
);
17049 wxPyEndAllowThreads(__tstate
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17052 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17059 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17060 PyObject
*resultobj
;
17062 int arg2
= (int) 0 ;
17063 int arg3
= (int) 0 ;
17064 int arg4
= (int) 0 ;
17065 wxDateTime
*result
;
17066 PyObject
* obj0
= 0 ;
17067 PyObject
* obj1
= 0 ;
17068 PyObject
* obj2
= 0 ;
17069 PyObject
* obj3
= 0 ;
17070 char *kwnames
[] = {
17071 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17076 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17081 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17087 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17093 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17099 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17101 wxPyEndAllowThreads(__tstate
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17104 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17111 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17112 PyObject
*resultobj
;
17114 int arg2
= (int) wxDateTime::Inv_Month
;
17115 int arg3
= (int) wxDateTime::Inv_Year
;
17116 int arg4
= (int) 0 ;
17117 int arg5
= (int) 0 ;
17118 int arg6
= (int) 0 ;
17119 int arg7
= (int) 0 ;
17120 wxDateTime
*result
;
17121 PyObject
* obj0
= 0 ;
17122 PyObject
* obj1
= 0 ;
17123 PyObject
* obj2
= 0 ;
17124 PyObject
* obj3
= 0 ;
17125 PyObject
* obj4
= 0 ;
17126 PyObject
* obj5
= 0 ;
17127 PyObject
* obj6
= 0 ;
17128 char *kwnames
[] = {
17129 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17134 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17139 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17145 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17151 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17157 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17163 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17169 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17180 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17187 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
;
17189 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17190 PyObject
* obj0
= 0 ;
17191 char *kwnames
[] = {
17192 (char *) "self", NULL
17195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17201 wxPyEndAllowThreads(__tstate
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17204 Py_INCREF(Py_None
); resultobj
= Py_None
;
17211 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17212 PyObject
*resultobj
;
17213 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17214 wxDateTime
*result
;
17215 PyObject
* obj0
= 0 ;
17216 char *kwnames
[] = {
17217 (char *) "self", NULL
17220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17225 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17226 result
= (wxDateTime
*) &_result_ref
;
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17232 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17239 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17240 PyObject
*resultobj
;
17241 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17243 wxDateTime
*result
;
17244 PyObject
* obj0
= 0 ;
17245 PyObject
* obj1
= 0 ;
17246 char *kwnames
[] = {
17247 (char *) "self",(char *) "timet", NULL
17250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17253 arg2
= (time_t) SWIG_PyObj_AsUnsignedInt(obj1
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17259 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17260 result
= (wxDateTime
*) &_result_ref
;
17263 wxPyEndAllowThreads(__tstate
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17266 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17273 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17274 PyObject
*resultobj
;
17275 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17277 wxDateTime
*result
;
17278 PyObject
* obj0
= 0 ;
17279 PyObject
* obj1
= 0 ;
17280 char *kwnames
[] = {
17281 (char *) "self",(char *) "jdn", NULL
17284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17287 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17293 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17294 result
= (wxDateTime
*) &_result_ref
;
17297 wxPyEndAllowThreads(__tstate
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17300 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17307 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17308 PyObject
*resultobj
;
17309 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17311 int arg3
= (int) 0 ;
17312 int arg4
= (int) 0 ;
17313 int arg5
= (int) 0 ;
17314 wxDateTime
*result
;
17315 PyObject
* obj0
= 0 ;
17316 PyObject
* obj1
= 0 ;
17317 PyObject
* obj2
= 0 ;
17318 PyObject
* obj3
= 0 ;
17319 PyObject
* obj4
= 0 ;
17320 char *kwnames
[] = {
17321 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17327 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17332 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17338 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17344 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17351 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17352 result
= (wxDateTime
*) &_result_ref
;
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17358 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17365 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17366 PyObject
*resultobj
;
17367 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17369 int arg3
= (int) wxDateTime::Inv_Month
;
17370 int arg4
= (int) wxDateTime::Inv_Year
;
17371 int arg5
= (int) 0 ;
17372 int arg6
= (int) 0 ;
17373 int arg7
= (int) 0 ;
17374 int arg8
= (int) 0 ;
17375 wxDateTime
*result
;
17376 PyObject
* obj0
= 0 ;
17377 PyObject
* obj1
= 0 ;
17378 PyObject
* obj2
= 0 ;
17379 PyObject
* obj3
= 0 ;
17380 PyObject
* obj4
= 0 ;
17381 PyObject
* obj5
= 0 ;
17382 PyObject
* obj6
= 0 ;
17383 PyObject
* obj7
= 0 ;
17384 char *kwnames
[] = {
17385 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17391 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17396 arg3
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj2
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17402 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17408 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17409 if (PyErr_Occurred()) SWIG_fail
;
17414 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17420 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17426 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17434 result
= (wxDateTime
*) &_result_ref
;
17437 wxPyEndAllowThreads(__tstate
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17440 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17447 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17449 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17450 wxDateTime
*result
;
17451 PyObject
* obj0
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "self", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17462 result
= (wxDateTime
*) &_result_ref
;
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17475 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17476 PyObject
*resultobj
;
17477 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17479 wxDateTime
*result
;
17480 PyObject
* obj0
= 0 ;
17481 PyObject
* obj1
= 0 ;
17482 char *kwnames
[] = {
17483 (char *) "self",(char *) "year", NULL
17486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17489 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17495 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17496 result
= (wxDateTime
*) &_result_ref
;
17499 wxPyEndAllowThreads(__tstate
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17502 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17509 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17510 PyObject
*resultobj
;
17511 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17513 wxDateTime
*result
;
17514 PyObject
* obj0
= 0 ;
17515 PyObject
* obj1
= 0 ;
17516 char *kwnames
[] = {
17517 (char *) "self",(char *) "month", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17523 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17529 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17530 result
= (wxDateTime
*) &_result_ref
;
17533 wxPyEndAllowThreads(__tstate
);
17534 if (PyErr_Occurred()) SWIG_fail
;
17536 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17543 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17544 PyObject
*resultobj
;
17545 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17547 wxDateTime
*result
;
17548 PyObject
* obj0
= 0 ;
17549 PyObject
* obj1
= 0 ;
17550 char *kwnames
[] = {
17551 (char *) "self",(char *) "day", NULL
17554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17557 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17563 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17564 result
= (wxDateTime
*) &_result_ref
;
17567 wxPyEndAllowThreads(__tstate
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17570 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17577 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17578 PyObject
*resultobj
;
17579 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17581 wxDateTime
*result
;
17582 PyObject
* obj0
= 0 ;
17583 PyObject
* obj1
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "self",(char *) "hour", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17591 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17598 result
= (wxDateTime
*) &_result_ref
;
17601 wxPyEndAllowThreads(__tstate
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17604 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17611 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17612 PyObject
*resultobj
;
17613 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17615 wxDateTime
*result
;
17616 PyObject
* obj0
= 0 ;
17617 PyObject
* obj1
= 0 ;
17618 char *kwnames
[] = {
17619 (char *) "self",(char *) "minute", NULL
17622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17625 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17626 if (PyErr_Occurred()) SWIG_fail
;
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17631 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17632 result
= (wxDateTime
*) &_result_ref
;
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17638 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17645 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17646 PyObject
*resultobj
;
17647 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17649 wxDateTime
*result
;
17650 PyObject
* obj0
= 0 ;
17651 PyObject
* obj1
= 0 ;
17652 char *kwnames
[] = {
17653 (char *) "self",(char *) "second", NULL
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17659 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17665 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17666 result
= (wxDateTime
*) &_result_ref
;
17669 wxPyEndAllowThreads(__tstate
);
17670 if (PyErr_Occurred()) SWIG_fail
;
17672 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17679 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17680 PyObject
*resultobj
;
17681 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17683 wxDateTime
*result
;
17684 PyObject
* obj0
= 0 ;
17685 PyObject
* obj1
= 0 ;
17686 char *kwnames
[] = {
17687 (char *) "self",(char *) "millisecond", NULL
17690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17693 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17699 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17700 result
= (wxDateTime
*) &_result_ref
;
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17706 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17713 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17714 PyObject
*resultobj
;
17715 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17717 int arg3
= (int) wxDateTime::Monday_First
;
17718 wxDateTime
*result
;
17719 PyObject
* obj0
= 0 ;
17720 PyObject
* obj1
= 0 ;
17721 PyObject
* obj2
= 0 ;
17722 char *kwnames
[] = {
17723 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17729 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17734 arg3
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj2
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17741 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17742 result
= (wxDateTime
*) &_result_ref
;
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17748 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17755 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17756 PyObject
*resultobj
;
17757 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17759 int arg3
= (int) wxDateTime::Monday_First
;
17761 PyObject
* obj0
= 0 ;
17762 PyObject
* obj1
= 0 ;
17763 PyObject
* obj2
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17771 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17776 arg3
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj2
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17784 wxPyEndAllowThreads(__tstate
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17788 wxDateTime
* resultptr
;
17789 resultptr
= new wxDateTime((wxDateTime
&) result
);
17790 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17798 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
;
17800 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17802 wxDateTime
*result
;
17803 PyObject
* obj0
= 0 ;
17804 PyObject
* obj1
= 0 ;
17805 char *kwnames
[] = {
17806 (char *) "self",(char *) "weekday", NULL
17809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17812 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
17819 result
= (wxDateTime
*) &_result_ref
;
17822 wxPyEndAllowThreads(__tstate
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17825 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17832 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17833 PyObject
*resultobj
;
17834 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17837 PyObject
* obj0
= 0 ;
17838 PyObject
* obj1
= 0 ;
17839 char *kwnames
[] = {
17840 (char *) "self",(char *) "weekday", NULL
17843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17846 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17847 if (PyErr_Occurred()) SWIG_fail
;
17850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17851 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
17853 wxPyEndAllowThreads(__tstate
);
17854 if (PyErr_Occurred()) SWIG_fail
;
17857 wxDateTime
* resultptr
;
17858 resultptr
= new wxDateTime((wxDateTime
&) result
);
17859 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17867 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17868 PyObject
*resultobj
;
17869 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17871 wxDateTime
*result
;
17872 PyObject
* obj0
= 0 ;
17873 PyObject
* obj1
= 0 ;
17874 char *kwnames
[] = {
17875 (char *) "self",(char *) "weekday", NULL
17878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17881 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17887 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17888 result
= (wxDateTime
*) &_result_ref
;
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17894 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17901 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
;
17903 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17906 PyObject
* obj0
= 0 ;
17907 PyObject
* obj1
= 0 ;
17908 char *kwnames
[] = {
17909 (char *) "self",(char *) "weekday", NULL
17912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17915 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17926 wxDateTime
* resultptr
;
17927 resultptr
= new wxDateTime((wxDateTime
&) result
);
17928 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17936 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17937 PyObject
*resultobj
;
17938 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17940 int arg3
= (int) 1 ;
17941 int arg4
= (int) wxDateTime::Inv_Month
;
17942 int arg5
= (int) wxDateTime::Inv_Year
;
17944 PyObject
* obj0
= 0 ;
17945 PyObject
* obj1
= 0 ;
17946 PyObject
* obj2
= 0 ;
17947 PyObject
* obj3
= 0 ;
17948 PyObject
* obj4
= 0 ;
17949 char *kwnames
[] = {
17950 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
17953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17956 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17961 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17967 arg4
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj3
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17973 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17991 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
;
17993 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17995 int arg3
= (int) wxDateTime::Inv_Month
;
17996 int arg4
= (int) wxDateTime::Inv_Year
;
17998 PyObject
* obj0
= 0 ;
17999 PyObject
* obj1
= 0 ;
18000 PyObject
* obj2
= 0 ;
18001 PyObject
* obj3
= 0 ;
18002 char *kwnames
[] = {
18003 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18009 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18014 arg3
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj2
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18020 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18026 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18028 wxPyEndAllowThreads(__tstate
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18038 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18039 PyObject
*resultobj
;
18040 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18042 int arg3
= (int) wxDateTime::Inv_Month
;
18043 int arg4
= (int) wxDateTime::Inv_Year
;
18045 PyObject
* obj0
= 0 ;
18046 PyObject
* obj1
= 0 ;
18047 PyObject
* obj2
= 0 ;
18048 PyObject
* obj3
= 0 ;
18049 char *kwnames
[] = {
18050 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18056 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18061 arg3
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj2
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18067 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18073 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18075 wxPyEndAllowThreads(__tstate
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18079 wxDateTime
* resultptr
;
18080 resultptr
= new wxDateTime((wxDateTime
&) result
);
18081 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18089 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
;
18091 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18093 int arg3
= (int) wxDateTime::Mon
;
18094 int arg4
= (int) wxDateTime::Monday_First
;
18096 PyObject
* obj0
= 0 ;
18097 PyObject
* obj1
= 0 ;
18098 PyObject
* obj2
= 0 ;
18099 PyObject
* obj3
= 0 ;
18100 char *kwnames
[] = {
18101 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18107 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18112 arg3
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj2
);
18113 if (PyErr_Occurred()) SWIG_fail
;
18118 arg4
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj3
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18124 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18126 wxPyEndAllowThreads(__tstate
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18136 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18137 PyObject
*resultobj
;
18138 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18140 int arg3
= (int) wxDateTime::Mon
;
18141 int arg4
= (int) wxDateTime::Monday_First
;
18143 PyObject
* obj0
= 0 ;
18144 PyObject
* obj1
= 0 ;
18145 PyObject
* obj2
= 0 ;
18146 PyObject
* obj3
= 0 ;
18147 char *kwnames
[] = {
18148 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18154 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18159 arg3
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj2
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18165 arg4
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj3
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18177 wxDateTime
* resultptr
;
18178 resultptr
= new wxDateTime((wxDateTime
&) result
);
18179 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18187 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
;
18189 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18190 int arg2
= (int) wxDateTime::Inv_Month
;
18191 int arg3
= (int) wxDateTime::Inv_Year
;
18192 wxDateTime
*result
;
18193 PyObject
* obj0
= 0 ;
18194 PyObject
* obj1
= 0 ;
18195 PyObject
* obj2
= 0 ;
18196 char *kwnames
[] = {
18197 (char *) "self",(char *) "month",(char *) "year", NULL
18200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18204 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18210 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
18211 if (PyErr_Occurred()) SWIG_fail
;
18215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18217 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18218 result
= (wxDateTime
*) &_result_ref
;
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18224 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18231 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
;
18233 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18234 int arg2
= (int) wxDateTime::Inv_Month
;
18235 int arg3
= (int) wxDateTime::Inv_Year
;
18237 PyObject
* obj0
= 0 ;
18238 PyObject
* obj1
= 0 ;
18239 PyObject
* obj2
= 0 ;
18240 char *kwnames
[] = {
18241 (char *) "self",(char *) "month",(char *) "year", NULL
18244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18248 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18254 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18260 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18262 wxPyEndAllowThreads(__tstate
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18266 wxDateTime
* resultptr
;
18267 resultptr
= new wxDateTime((wxDateTime
&) result
);
18268 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18276 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18277 PyObject
*resultobj
;
18278 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18280 wxDateTime
*result
;
18281 PyObject
* obj0
= 0 ;
18282 PyObject
* obj1
= 0 ;
18283 char *kwnames
[] = {
18284 (char *) "self",(char *) "yday", NULL
18287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18290 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18297 result
= (wxDateTime
*) &_result_ref
;
18300 wxPyEndAllowThreads(__tstate
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18303 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18310 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18311 PyObject
*resultobj
;
18312 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18315 PyObject
* obj0
= 0 ;
18316 PyObject
* obj1
= 0 ;
18317 char *kwnames
[] = {
18318 (char *) "self",(char *) "yday", NULL
18321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18324 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 result
= (arg1
)->GetYearDay(arg2
);
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18335 wxDateTime
* resultptr
;
18336 resultptr
= new wxDateTime((wxDateTime
&) result
);
18337 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18345 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18346 PyObject
*resultobj
;
18347 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18349 PyObject
* obj0
= 0 ;
18350 char *kwnames
[] = {
18351 (char *) "self", NULL
18354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18358 result
= (double)(arg1
)->GetJulianDayNumber();
18360 wxPyEndAllowThreads(__tstate
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18363 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18370 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
;
18372 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18374 PyObject
* obj0
= 0 ;
18375 char *kwnames
[] = {
18376 (char *) "self", NULL
18379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 result
= (double)(arg1
)->GetJDN();
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18395 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
;
18397 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18399 PyObject
* obj0
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "self", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18410 wxPyEndAllowThreads(__tstate
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18413 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18420 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
;
18422 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18424 PyObject
* obj0
= 0 ;
18425 char *kwnames
[] = {
18426 (char *) "self", NULL
18429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 result
= (double)(arg1
)->GetMJD();
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18438 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18445 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18446 PyObject
*resultobj
;
18447 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18449 PyObject
* obj0
= 0 ;
18450 char *kwnames
[] = {
18451 (char *) "self", NULL
18454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18458 result
= (double)(arg1
)->GetRataDie();
18460 wxPyEndAllowThreads(__tstate
);
18461 if (PyErr_Occurred()) SWIG_fail
;
18463 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18470 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18471 PyObject
*resultobj
;
18472 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18473 wxDateTime::TimeZone
*arg2
= 0 ;
18474 bool arg3
= (bool) False
;
18476 bool temp2
= False
;
18477 PyObject
* obj0
= 0 ;
18478 PyObject
* obj1
= 0 ;
18479 PyObject
* obj2
= 0 ;
18480 char *kwnames
[] = {
18481 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18487 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18492 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18504 wxDateTime
* resultptr
;
18505 resultptr
= new wxDateTime((wxDateTime
&) result
);
18506 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18509 if (temp2
) delete arg2
;
18514 if (temp2
) delete arg2
;
18520 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
;
18522 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18523 wxDateTime::TimeZone
*arg2
= 0 ;
18524 bool arg3
= (bool) False
;
18525 wxDateTime
*result
;
18526 bool temp2
= False
;
18527 PyObject
* obj0
= 0 ;
18528 PyObject
* obj1
= 0 ;
18529 PyObject
* obj2
= 0 ;
18530 char *kwnames
[] = {
18531 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18537 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18542 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18549 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18550 result
= (wxDateTime
*) &_result_ref
;
18553 wxPyEndAllowThreads(__tstate
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18556 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18558 if (temp2
) delete arg2
;
18563 if (temp2
) delete arg2
;
18569 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18570 PyObject
*resultobj
;
18571 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18572 bool arg2
= (bool) False
;
18574 PyObject
* obj0
= 0 ;
18575 PyObject
* obj1
= 0 ;
18576 char *kwnames
[] = {
18577 (char *) "self",(char *) "noDST", NULL
18580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18584 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 result
= (arg1
)->ToGMT(arg2
);
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18596 wxDateTime
* resultptr
;
18597 resultptr
= new wxDateTime((wxDateTime
&) result
);
18598 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18606 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
;
18608 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18609 bool arg2
= (bool) False
;
18610 wxDateTime
*result
;
18611 PyObject
* obj0
= 0 ;
18612 PyObject
* obj1
= 0 ;
18613 char *kwnames
[] = {
18614 (char *) "self",(char *) "noDST", NULL
18617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18621 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18629 result
= (wxDateTime
*) &_result_ref
;
18632 wxPyEndAllowThreads(__tstate
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18635 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18642 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18643 PyObject
*resultobj
;
18644 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18645 int arg2
= (int) wxDateTime::Country_Default
;
18647 PyObject
* obj0
= 0 ;
18648 PyObject
* obj1
= 0 ;
18649 char *kwnames
[] = {
18650 (char *) "self",(char *) "country", NULL
18653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18657 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18668 resultobj
= SWIG_PyObj_FromInt((int)result
);
18675 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
;
18677 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18679 PyObject
* obj0
= 0 ;
18680 char *kwnames
[] = {
18681 (char *) "self", NULL
18684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18688 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18700 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18701 PyObject
*resultobj
;
18702 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18704 PyObject
* obj0
= 0 ;
18705 char *kwnames
[] = {
18706 (char *) "self", NULL
18709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18713 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18718 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
18725 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
;
18727 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18728 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18729 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18731 bool temp2
= False
;
18732 PyObject
* obj0
= 0 ;
18733 PyObject
* obj1
= 0 ;
18734 char *kwnames
[] = {
18735 (char *) "self",(char *) "tz", NULL
18738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18742 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18753 resultobj
= SWIG_PyObj_FromInt((int)result
);
18755 if (temp2
) delete arg2
;
18760 if (temp2
) delete arg2
;
18766 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18767 PyObject
*resultobj
;
18768 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18769 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18770 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18772 bool temp2
= False
;
18773 PyObject
* obj0
= 0 ;
18774 PyObject
* obj1
= 0 ;
18775 char *kwnames
[] = {
18776 (char *) "self",(char *) "tz", NULL
18779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18783 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18789 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
18791 wxPyEndAllowThreads(__tstate
);
18792 if (PyErr_Occurred()) SWIG_fail
;
18794 resultobj
= SWIG_PyObj_FromInt((int)result
);
18796 if (temp2
) delete arg2
;
18801 if (temp2
) delete arg2
;
18807 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18808 PyObject
*resultobj
;
18809 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18810 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18811 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18813 bool temp2
= False
;
18814 PyObject
* obj0
= 0 ;
18815 PyObject
* obj1
= 0 ;
18816 char *kwnames
[] = {
18817 (char *) "self",(char *) "tz", NULL
18820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18824 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18830 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
18832 wxPyEndAllowThreads(__tstate
);
18833 if (PyErr_Occurred()) SWIG_fail
;
18835 resultobj
= SWIG_PyObj_FromInt((int)result
);
18837 if (temp2
) delete arg2
;
18842 if (temp2
) delete arg2
;
18848 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18849 PyObject
*resultobj
;
18850 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18851 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18852 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18854 bool temp2
= False
;
18855 PyObject
* obj0
= 0 ;
18856 PyObject
* obj1
= 0 ;
18857 char *kwnames
[] = {
18858 (char *) "self",(char *) "tz", NULL
18861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18865 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18871 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
18873 wxPyEndAllowThreads(__tstate
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18876 resultobj
= SWIG_PyObj_FromInt((int)result
);
18878 if (temp2
) delete arg2
;
18883 if (temp2
) delete arg2
;
18889 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18890 PyObject
*resultobj
;
18891 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18892 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18893 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18895 bool temp2
= False
;
18896 PyObject
* obj0
= 0 ;
18897 PyObject
* obj1
= 0 ;
18898 char *kwnames
[] = {
18899 (char *) "self",(char *) "tz", NULL
18902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18906 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18912 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
18914 wxPyEndAllowThreads(__tstate
);
18915 if (PyErr_Occurred()) SWIG_fail
;
18917 resultobj
= SWIG_PyObj_FromInt((int)result
);
18919 if (temp2
) delete arg2
;
18924 if (temp2
) delete arg2
;
18930 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
;
18932 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18933 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18934 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18936 bool temp2
= False
;
18937 PyObject
* obj0
= 0 ;
18938 PyObject
* obj1
= 0 ;
18939 char *kwnames
[] = {
18940 (char *) "self",(char *) "tz", NULL
18943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18947 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18953 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
18955 wxPyEndAllowThreads(__tstate
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18958 resultobj
= SWIG_PyObj_FromInt((int)result
);
18960 if (temp2
) delete arg2
;
18965 if (temp2
) delete arg2
;
18971 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
;
18973 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18974 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18975 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18977 bool temp2
= False
;
18978 PyObject
* obj0
= 0 ;
18979 PyObject
* obj1
= 0 ;
18980 char *kwnames
[] = {
18981 (char *) "self",(char *) "tz", NULL
18984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18988 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
18999 resultobj
= SWIG_PyObj_FromInt((int)result
);
19001 if (temp2
) delete arg2
;
19006 if (temp2
) delete arg2
;
19012 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
;
19014 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19015 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19016 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19018 bool temp2
= False
;
19019 PyObject
* obj0
= 0 ;
19020 PyObject
* obj1
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "self",(char *) "tz", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19029 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19035 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19037 wxPyEndAllowThreads(__tstate
);
19038 if (PyErr_Occurred()) SWIG_fail
;
19040 resultobj
= SWIG_PyObj_FromInt((int)result
);
19042 if (temp2
) delete arg2
;
19047 if (temp2
) delete arg2
;
19053 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19054 PyObject
*resultobj
;
19055 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19056 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19057 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19059 bool temp2
= False
;
19060 PyObject
* obj0
= 0 ;
19061 PyObject
* obj1
= 0 ;
19062 char *kwnames
[] = {
19063 (char *) "self",(char *) "tz", NULL
19066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19070 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19076 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19078 wxPyEndAllowThreads(__tstate
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19081 resultobj
= SWIG_PyObj_FromInt((int)result
);
19083 if (temp2
) delete arg2
;
19088 if (temp2
) delete arg2
;
19094 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19095 PyObject
*resultobj
;
19096 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19097 int arg2
= (int) wxDateTime::Monday_First
;
19098 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19099 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19101 bool temp3
= False
;
19102 PyObject
* obj0
= 0 ;
19103 PyObject
* obj1
= 0 ;
19104 PyObject
* obj2
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "self",(char *) "flags",(char *) "tz", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19113 arg2
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj1
);
19114 if (PyErr_Occurred()) SWIG_fail
;
19119 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19125 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19127 wxPyEndAllowThreads(__tstate
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19130 resultobj
= SWIG_PyObj_FromInt((int)result
);
19132 if (temp3
) delete arg3
;
19137 if (temp3
) delete arg3
;
19143 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19144 PyObject
*resultobj
;
19145 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19146 int arg2
= (int) wxDateTime::Monday_First
;
19147 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19148 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19150 bool temp3
= False
;
19151 PyObject
* obj0
= 0 ;
19152 PyObject
* obj1
= 0 ;
19153 PyObject
* obj2
= 0 ;
19154 char *kwnames
[] = {
19155 (char *) "self",(char *) "flags",(char *) "tz", NULL
19158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19162 arg2
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj1
);
19163 if (PyErr_Occurred()) SWIG_fail
;
19168 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19176 wxPyEndAllowThreads(__tstate
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19179 resultobj
= SWIG_PyObj_FromInt((int)result
);
19181 if (temp3
) delete arg3
;
19186 if (temp3
) delete arg3
;
19192 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19193 PyObject
*resultobj
;
19194 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19195 int arg2
= (int) wxDateTime::Country_Default
;
19197 PyObject
* obj0
= 0 ;
19198 PyObject
* obj1
= 0 ;
19199 char *kwnames
[] = {
19200 (char *) "self",(char *) "country", NULL
19203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19207 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19215 wxPyEndAllowThreads(__tstate
);
19216 if (PyErr_Occurred()) SWIG_fail
;
19218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19225 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19228 wxDateTime
*arg2
= 0 ;
19230 PyObject
* obj0
= 0 ;
19231 PyObject
* obj1
= 0 ;
19232 char *kwnames
[] = {
19233 (char *) "self",(char *) "datetime", NULL
19236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19238 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19239 if (arg2
== NULL
) {
19240 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19246 wxPyEndAllowThreads(__tstate
);
19247 if (PyErr_Occurred()) SWIG_fail
;
19249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19256 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19257 PyObject
*resultobj
;
19258 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19259 wxDateTime
*arg2
= 0 ;
19261 PyObject
* obj0
= 0 ;
19262 PyObject
* obj1
= 0 ;
19263 char *kwnames
[] = {
19264 (char *) "self",(char *) "datetime", NULL
19267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19269 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19270 if (arg2
== NULL
) {
19271 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19275 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19277 wxPyEndAllowThreads(__tstate
);
19278 if (PyErr_Occurred()) SWIG_fail
;
19280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19287 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19288 PyObject
*resultobj
;
19289 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19290 wxDateTime
*arg2
= 0 ;
19292 PyObject
* obj0
= 0 ;
19293 PyObject
* obj1
= 0 ;
19294 char *kwnames
[] = {
19295 (char *) "self",(char *) "datetime", NULL
19298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19300 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19301 if (arg2
== NULL
) {
19302 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19306 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19308 wxPyEndAllowThreads(__tstate
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19318 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19319 PyObject
*resultobj
;
19320 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19321 wxDateTime
*arg2
= 0 ;
19322 wxDateTime
*arg3
= 0 ;
19324 PyObject
* obj0
= 0 ;
19325 PyObject
* obj1
= 0 ;
19326 PyObject
* obj2
= 0 ;
19327 char *kwnames
[] = {
19328 (char *) "self",(char *) "t1",(char *) "t2", NULL
19331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19333 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19334 if (arg2
== NULL
) {
19335 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19337 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19338 if (arg3
== NULL
) {
19339 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19343 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19345 wxPyEndAllowThreads(__tstate
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19355 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19356 PyObject
*resultobj
;
19357 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19358 wxDateTime
*arg2
= 0 ;
19359 wxDateTime
*arg3
= 0 ;
19361 PyObject
* obj0
= 0 ;
19362 PyObject
* obj1
= 0 ;
19363 PyObject
* obj2
= 0 ;
19364 char *kwnames
[] = {
19365 (char *) "self",(char *) "t1",(char *) "t2", NULL
19368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19370 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19371 if (arg2
== NULL
) {
19372 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19374 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19375 if (arg3
== NULL
) {
19376 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19380 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19382 wxPyEndAllowThreads(__tstate
);
19383 if (PyErr_Occurred()) SWIG_fail
;
19385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19392 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
;
19394 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19395 wxDateTime
*arg2
= 0 ;
19397 PyObject
* obj0
= 0 ;
19398 PyObject
* obj1
= 0 ;
19399 char *kwnames
[] = {
19400 (char *) "self",(char *) "dt", NULL
19403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19405 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19406 if (arg2
== NULL
) {
19407 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19423 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19425 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19426 wxDateTime
*arg2
= 0 ;
19428 PyObject
* obj0
= 0 ;
19429 PyObject
* obj1
= 0 ;
19430 char *kwnames
[] = {
19431 (char *) "self",(char *) "dt", NULL
19434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19436 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19437 if (arg2
== NULL
) {
19438 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19442 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19444 wxPyEndAllowThreads(__tstate
);
19445 if (PyErr_Occurred()) SWIG_fail
;
19447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19454 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19455 PyObject
*resultobj
;
19456 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19457 wxDateTime
*arg2
= 0 ;
19458 wxTimeSpan
*arg3
= 0 ;
19460 PyObject
* obj0
= 0 ;
19461 PyObject
* obj1
= 0 ;
19462 PyObject
* obj2
= 0 ;
19463 char *kwnames
[] = {
19464 (char *) "self",(char *) "dt",(char *) "ts", NULL
19467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19469 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19470 if (arg2
== NULL
) {
19471 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19473 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19474 if (arg3
== NULL
) {
19475 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19479 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19481 wxPyEndAllowThreads(__tstate
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19491 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
;
19493 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19494 wxTimeSpan
*arg2
= 0 ;
19495 wxDateTime
*result
;
19496 PyObject
* obj0
= 0 ;
19497 PyObject
* obj1
= 0 ;
19498 char *kwnames
[] = {
19499 (char *) "self",(char *) "diff", NULL
19502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19504 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19505 if (arg2
== NULL
) {
19506 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19511 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19512 result
= (wxDateTime
*) &_result_ref
;
19515 wxPyEndAllowThreads(__tstate
);
19516 if (PyErr_Occurred()) SWIG_fail
;
19518 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19525 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
;
19527 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19528 wxDateSpan
*arg2
= 0 ;
19529 wxDateTime
*result
;
19530 PyObject
* obj0
= 0 ;
19531 PyObject
* obj1
= 0 ;
19532 char *kwnames
[] = {
19533 (char *) "self",(char *) "diff", NULL
19536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19538 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19539 if (arg2
== NULL
) {
19540 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19546 result
= (wxDateTime
*) &_result_ref
;
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19552 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19559 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19560 PyObject
*resultobj
;
19561 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19562 wxTimeSpan
*arg2
= 0 ;
19563 wxDateTime
*result
;
19564 PyObject
* obj0
= 0 ;
19565 PyObject
* obj1
= 0 ;
19566 char *kwnames
[] = {
19567 (char *) "self",(char *) "diff", NULL
19570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19572 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19573 if (arg2
== NULL
) {
19574 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19579 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19580 result
= (wxDateTime
*) &_result_ref
;
19583 wxPyEndAllowThreads(__tstate
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19586 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19593 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19594 PyObject
*resultobj
;
19595 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19596 wxDateSpan
*arg2
= 0 ;
19597 wxDateTime
*result
;
19598 PyObject
* obj0
= 0 ;
19599 PyObject
* obj1
= 0 ;
19600 char *kwnames
[] = {
19601 (char *) "self",(char *) "diff", NULL
19604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19606 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19607 if (arg2
== NULL
) {
19608 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19613 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19614 result
= (wxDateTime
*) &_result_ref
;
19617 wxPyEndAllowThreads(__tstate
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19620 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19627 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19628 PyObject
*resultobj
;
19629 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19630 wxDateTime
*arg2
= 0 ;
19632 PyObject
* obj0
= 0 ;
19633 PyObject
* obj1
= 0 ;
19634 char *kwnames
[] = {
19635 (char *) "self",(char *) "dt", NULL
19638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19640 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19641 if (arg2
== NULL
) {
19642 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19646 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19652 wxTimeSpan
* resultptr
;
19653 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19654 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19662 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19663 PyObject
*resultobj
;
19664 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19665 wxTimeSpan
*arg2
= 0 ;
19666 wxDateTime
*result
;
19667 PyObject
* obj0
= 0 ;
19668 PyObject
* obj1
= 0 ;
19670 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19672 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19673 if (arg2
== NULL
) {
19674 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19679 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19680 result
= (wxDateTime
*) &_result_ref
;
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19686 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19693 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
19694 PyObject
*resultobj
;
19695 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19696 wxDateSpan
*arg2
= 0 ;
19697 wxDateTime
*result
;
19698 PyObject
* obj0
= 0 ;
19699 PyObject
* obj1
= 0 ;
19701 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19703 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19704 if (arg2
== NULL
) {
19705 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19710 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
19711 result
= (wxDateTime
*) &_result_ref
;
19714 wxPyEndAllowThreads(__tstate
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19717 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19724 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
19729 argc
= PyObject_Length(args
);
19730 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19731 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19737 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19747 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19755 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
19763 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19773 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19781 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
19786 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
19791 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
19792 PyObject
*resultobj
;
19793 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19794 wxTimeSpan
*arg2
= 0 ;
19795 wxDateTime
*result
;
19796 PyObject
* obj0
= 0 ;
19797 PyObject
* obj1
= 0 ;
19799 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19801 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19802 if (arg2
== NULL
) {
19803 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
19809 result
= (wxDateTime
*) &_result_ref
;
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19815 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19822 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
19823 PyObject
*resultobj
;
19824 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19825 wxDateSpan
*arg2
= 0 ;
19826 wxDateTime
*result
;
19827 PyObject
* obj0
= 0 ;
19828 PyObject
* obj1
= 0 ;
19830 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19832 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19833 if (arg2
== NULL
) {
19834 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19839 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
19840 result
= (wxDateTime
*) &_result_ref
;
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19846 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19853 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
19858 argc
= PyObject_Length(args
);
19859 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19860 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19866 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19876 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19884 return _wrap_DateTime___isub____SWIG_0(self
,args
);
19892 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19902 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19910 return _wrap_DateTime___isub____SWIG_1(self
,args
);
19915 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
19920 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
19921 PyObject
*resultobj
;
19922 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19923 wxTimeSpan
*arg2
= 0 ;
19925 PyObject
* obj0
= 0 ;
19926 PyObject
* obj1
= 0 ;
19928 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
19929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19930 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19931 if (arg2
== NULL
) {
19932 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19936 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
19938 wxPyEndAllowThreads(__tstate
);
19939 if (PyErr_Occurred()) SWIG_fail
;
19942 wxDateTime
* resultptr
;
19943 resultptr
= new wxDateTime((wxDateTime
&) result
);
19944 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
19952 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
19953 PyObject
*resultobj
;
19954 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19955 wxDateSpan
*arg2
= 0 ;
19957 PyObject
* obj0
= 0 ;
19958 PyObject
* obj1
= 0 ;
19960 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
19961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19962 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19963 if (arg2
== NULL
) {
19964 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19968 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19974 wxDateTime
* resultptr
;
19975 resultptr
= new wxDateTime((wxDateTime
&) result
);
19976 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
19984 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
19989 argc
= PyObject_Length(args
);
19990 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19991 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19997 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20007 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20015 return _wrap_DateTime___add____SWIG_0(self
,args
);
20023 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20033 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20041 return _wrap_DateTime___add____SWIG_1(self
,args
);
20046 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20051 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20052 PyObject
*resultobj
;
20053 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20054 wxDateTime
*arg2
= 0 ;
20056 PyObject
* obj0
= 0 ;
20057 PyObject
* obj1
= 0 ;
20059 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20061 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20062 if (arg2
== NULL
) {
20063 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20067 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20069 wxPyEndAllowThreads(__tstate
);
20070 if (PyErr_Occurred()) SWIG_fail
;
20073 wxTimeSpan
* resultptr
;
20074 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20075 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20083 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20084 PyObject
*resultobj
;
20085 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20086 wxTimeSpan
*arg2
= 0 ;
20088 PyObject
* obj0
= 0 ;
20089 PyObject
* obj1
= 0 ;
20091 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20093 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20094 if (arg2
== NULL
) {
20095 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20099 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20105 wxDateTime
* resultptr
;
20106 resultptr
= new wxDateTime((wxDateTime
&) result
);
20107 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
20115 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20116 PyObject
*resultobj
;
20117 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20118 wxDateSpan
*arg2
= 0 ;
20120 PyObject
* obj0
= 0 ;
20121 PyObject
* obj1
= 0 ;
20123 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20125 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20126 if (arg2
== NULL
) {
20127 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20131 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20133 wxPyEndAllowThreads(__tstate
);
20134 if (PyErr_Occurred()) SWIG_fail
;
20137 wxDateTime
* resultptr
;
20138 resultptr
= new wxDateTime((wxDateTime
&) result
);
20139 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
20147 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20152 argc
= PyObject_Length(args
);
20153 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20154 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20160 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20170 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20178 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20186 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20196 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20204 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20212 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20222 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20230 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20235 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20240 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20241 PyObject
*resultobj
;
20242 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20243 wxDateTime
*arg2
= 0 ;
20245 PyObject
* obj0
= 0 ;
20246 PyObject
* obj1
= 0 ;
20248 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20250 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20251 if (arg2
== NULL
) {
20252 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20256 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const &)*arg2
);
20258 wxPyEndAllowThreads(__tstate
);
20259 if (PyErr_Occurred()) SWIG_fail
;
20261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20268 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20269 PyObject
*resultobj
;
20270 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20271 wxDateTime
*arg2
= 0 ;
20273 PyObject
* obj0
= 0 ;
20274 PyObject
* obj1
= 0 ;
20276 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20278 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20279 if (arg2
== NULL
) {
20280 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20284 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const &)*arg2
);
20286 wxPyEndAllowThreads(__tstate
);
20287 if (PyErr_Occurred()) SWIG_fail
;
20289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20296 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20297 PyObject
*resultobj
;
20298 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20299 wxDateTime
*arg2
= 0 ;
20301 PyObject
* obj0
= 0 ;
20302 PyObject
* obj1
= 0 ;
20304 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20306 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20307 if (arg2
== NULL
) {
20308 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20312 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const &)*arg2
);
20314 wxPyEndAllowThreads(__tstate
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20324 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20325 PyObject
*resultobj
;
20326 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20327 wxDateTime
*arg2
= 0 ;
20329 PyObject
* obj0
= 0 ;
20330 PyObject
* obj1
= 0 ;
20332 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20334 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20335 if (arg2
== NULL
) {
20336 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20340 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const &)*arg2
);
20342 wxPyEndAllowThreads(__tstate
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20352 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20353 PyObject
*resultobj
;
20354 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20355 wxDateTime
*arg2
= 0 ;
20357 PyObject
* obj0
= 0 ;
20358 PyObject
* obj1
= 0 ;
20360 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20362 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20363 if (arg2
== NULL
) {
20364 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20368 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const &)*arg2
);
20370 wxPyEndAllowThreads(__tstate
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20380 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20381 PyObject
*resultobj
;
20382 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20383 wxDateTime
*arg2
= 0 ;
20385 PyObject
* obj0
= 0 ;
20386 PyObject
* obj1
= 0 ;
20388 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20390 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20391 if (arg2
== NULL
) {
20392 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20396 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const &)*arg2
);
20398 wxPyEndAllowThreads(__tstate
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20408 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20409 PyObject
*resultobj
;
20410 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20411 wxString
*arg2
= 0 ;
20413 bool temp2
= False
;
20414 PyObject
* obj0
= 0 ;
20415 PyObject
* obj1
= 0 ;
20416 char *kwnames
[] = {
20417 (char *) "self",(char *) "date", NULL
20420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20423 arg2
= wxString_in_helper(obj1
);
20424 if (arg2
== NULL
) SWIG_fail
;
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20434 resultobj
= SWIG_PyObj_FromInt((int)result
);
20449 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20450 PyObject
*resultobj
;
20451 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20452 wxString
*arg2
= 0 ;
20453 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20454 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20455 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20456 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20458 bool temp2
= False
;
20459 bool temp3
= False
;
20460 PyObject
* obj0
= 0 ;
20461 PyObject
* obj1
= 0 ;
20462 PyObject
* obj2
= 0 ;
20463 PyObject
* obj3
= 0 ;
20464 char *kwnames
[] = {
20465 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20471 arg2
= wxString_in_helper(obj1
);
20472 if (arg2
== NULL
) SWIG_fail
;
20477 arg3
= wxString_in_helper(obj2
);
20478 if (arg3
== NULL
) SWIG_fail
;
20483 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20484 if (arg4
== NULL
) {
20485 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20495 resultobj
= SWIG_PyObj_FromInt((int)result
);
20518 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20519 PyObject
*resultobj
;
20520 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20521 wxString
*arg2
= 0 ;
20523 bool temp2
= False
;
20524 PyObject
* obj0
= 0 ;
20525 PyObject
* obj1
= 0 ;
20526 char *kwnames
[] = {
20527 (char *) "self",(char *) "datetime", NULL
20530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20533 arg2
= wxString_in_helper(obj1
);
20534 if (arg2
== NULL
) SWIG_fail
;
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20539 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20544 resultobj
= SWIG_PyObj_FromInt((int)result
);
20559 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20560 PyObject
*resultobj
;
20561 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20562 wxString
*arg2
= 0 ;
20564 bool temp2
= False
;
20565 PyObject
* obj0
= 0 ;
20566 PyObject
* obj1
= 0 ;
20567 char *kwnames
[] = {
20568 (char *) "self",(char *) "date", NULL
20571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20574 arg2
= wxString_in_helper(obj1
);
20575 if (arg2
== NULL
) SWIG_fail
;
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20585 resultobj
= SWIG_PyObj_FromInt((int)result
);
20600 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20601 PyObject
*resultobj
;
20602 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20603 wxString
*arg2
= 0 ;
20605 bool temp2
= False
;
20606 PyObject
* obj0
= 0 ;
20607 PyObject
* obj1
= 0 ;
20608 char *kwnames
[] = {
20609 (char *) "self",(char *) "time", NULL
20612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20615 arg2
= wxString_in_helper(obj1
);
20616 if (arg2
== NULL
) SWIG_fail
;
20620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20621 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20623 wxPyEndAllowThreads(__tstate
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20626 resultobj
= SWIG_PyObj_FromInt((int)result
);
20641 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20642 PyObject
*resultobj
;
20643 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20644 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20645 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20646 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20647 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20649 bool temp2
= False
;
20650 bool temp3
= False
;
20651 PyObject
* obj0
= 0 ;
20652 PyObject
* obj1
= 0 ;
20653 PyObject
* obj2
= 0 ;
20654 char *kwnames
[] = {
20655 (char *) "self",(char *) "format",(char *) "tz", NULL
20658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20662 arg2
= wxString_in_helper(obj1
);
20663 if (arg2
== NULL
) SWIG_fail
;
20669 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20692 if (temp3
) delete arg3
;
20701 if (temp3
) delete arg3
;
20707 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20708 PyObject
*resultobj
;
20709 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20711 PyObject
* obj0
= 0 ;
20712 char *kwnames
[] = {
20713 (char *) "self", NULL
20716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
20717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20720 result
= ((wxDateTime
const *)arg1
)->FormatDate();
20722 wxPyEndAllowThreads(__tstate
);
20723 if (PyErr_Occurred()) SWIG_fail
;
20727 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20729 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20738 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20739 PyObject
*resultobj
;
20740 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20742 PyObject
* obj0
= 0 ;
20743 char *kwnames
[] = {
20744 (char *) "self", NULL
20747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
20748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20751 result
= ((wxDateTime
const *)arg1
)->FormatTime();
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20758 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20760 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20769 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20770 PyObject
*resultobj
;
20771 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20773 PyObject
* obj0
= 0 ;
20774 char *kwnames
[] = {
20775 (char *) "self", NULL
20778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
20779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20782 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
20784 wxPyEndAllowThreads(__tstate
);
20785 if (PyErr_Occurred()) SWIG_fail
;
20789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20800 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20801 PyObject
*resultobj
;
20802 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20804 PyObject
* obj0
= 0 ;
20805 char *kwnames
[] = {
20806 (char *) "self", NULL
20809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
20810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20813 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
20815 wxPyEndAllowThreads(__tstate
);
20816 if (PyErr_Occurred()) SWIG_fail
;
20820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20831 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
20833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20834 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
20836 return Py_BuildValue((char *)"");
20838 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20839 PyObject
*resultobj
;
20842 PyObject
* obj0
= 0 ;
20843 char *kwnames
[] = {
20844 (char *) "sec", NULL
20847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
20849 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
20850 if (PyErr_Occurred()) SWIG_fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= wxTimeSpan::Seconds(arg1
);
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20860 wxTimeSpan
* resultptr
;
20861 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20862 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20870 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20871 PyObject
*resultobj
;
20873 char *kwnames
[] = {
20877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
20879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20880 result
= wxTimeSpan::Second();
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20886 wxTimeSpan
* resultptr
;
20887 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20888 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20896 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20897 PyObject
*resultobj
;
20900 PyObject
* obj0
= 0 ;
20901 char *kwnames
[] = {
20902 (char *) "min", NULL
20905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
20907 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
20908 if (PyErr_Occurred()) SWIG_fail
;
20911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20912 result
= wxTimeSpan::Minutes(arg1
);
20914 wxPyEndAllowThreads(__tstate
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20918 wxTimeSpan
* resultptr
;
20919 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20920 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20928 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20929 PyObject
*resultobj
;
20931 char *kwnames
[] = {
20935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
20937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20938 result
= wxTimeSpan::Minute();
20940 wxPyEndAllowThreads(__tstate
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20944 wxTimeSpan
* resultptr
;
20945 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20946 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20954 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20955 PyObject
*resultobj
;
20958 PyObject
* obj0
= 0 ;
20959 char *kwnames
[] = {
20960 (char *) "hours", NULL
20963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
20965 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 result
= wxTimeSpan::Hours(arg1
);
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20976 wxTimeSpan
* resultptr
;
20977 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20978 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20986 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
;
20989 char *kwnames
[] = {
20993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 result
= wxTimeSpan::Hour();
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21002 wxTimeSpan
* resultptr
;
21003 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21004 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21012 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21013 PyObject
*resultobj
;
21016 PyObject
* obj0
= 0 ;
21017 char *kwnames
[] = {
21018 (char *) "days", NULL
21021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21023 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21028 result
= wxTimeSpan::Days(arg1
);
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21034 wxTimeSpan
* resultptr
;
21035 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21036 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21044 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21045 PyObject
*resultobj
;
21047 char *kwnames
[] = {
21051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21054 result
= wxTimeSpan::Day();
21056 wxPyEndAllowThreads(__tstate
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21060 wxTimeSpan
* resultptr
;
21061 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21062 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21070 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21071 PyObject
*resultobj
;
21074 PyObject
* obj0
= 0 ;
21075 char *kwnames
[] = {
21076 (char *) "days", NULL
21079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21081 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
21082 if (PyErr_Occurred()) SWIG_fail
;
21085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21086 result
= wxTimeSpan::Weeks(arg1
);
21088 wxPyEndAllowThreads(__tstate
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21092 wxTimeSpan
* resultptr
;
21093 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21094 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21102 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21103 PyObject
*resultobj
;
21105 char *kwnames
[] = {
21109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21112 result
= wxTimeSpan::Week();
21114 wxPyEndAllowThreads(__tstate
);
21115 if (PyErr_Occurred()) SWIG_fail
;
21118 wxTimeSpan
* resultptr
;
21119 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21120 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21128 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21129 PyObject
*resultobj
;
21130 long arg1
= (long) 0 ;
21131 long arg2
= (long) 0 ;
21132 long arg3
= (long) 0 ;
21133 long arg4
= (long) 0 ;
21134 wxTimeSpan
*result
;
21135 PyObject
* obj0
= 0 ;
21136 PyObject
* obj1
= 0 ;
21137 PyObject
* obj2
= 0 ;
21138 PyObject
* obj3
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21146 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21152 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21158 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21164 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21170 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21172 wxPyEndAllowThreads(__tstate
);
21173 if (PyErr_Occurred()) SWIG_fail
;
21175 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 1);
21182 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21183 PyObject
*resultobj
;
21184 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21185 PyObject
* obj0
= 0 ;
21186 char *kwnames
[] = {
21187 (char *) "self", NULL
21190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21196 wxPyEndAllowThreads(__tstate
);
21197 if (PyErr_Occurred()) SWIG_fail
;
21199 Py_INCREF(Py_None
); resultobj
= Py_None
;
21206 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21209 wxTimeSpan
*arg2
= 0 ;
21210 wxTimeSpan
*result
;
21211 PyObject
* obj0
= 0 ;
21212 PyObject
* obj1
= 0 ;
21213 char *kwnames
[] = {
21214 (char *) "self",(char *) "diff", NULL
21217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21219 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21220 if (arg2
== NULL
) {
21221 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21227 result
= (wxTimeSpan
*) &_result_ref
;
21230 wxPyEndAllowThreads(__tstate
);
21231 if (PyErr_Occurred()) SWIG_fail
;
21233 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21240 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21241 PyObject
*resultobj
;
21242 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21243 wxTimeSpan
*arg2
= 0 ;
21244 wxTimeSpan
*result
;
21245 PyObject
* obj0
= 0 ;
21246 PyObject
* obj1
= 0 ;
21247 char *kwnames
[] = {
21248 (char *) "self",(char *) "diff", NULL
21251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21253 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21254 if (arg2
== NULL
) {
21255 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21260 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21261 result
= (wxTimeSpan
*) &_result_ref
;
21264 wxPyEndAllowThreads(__tstate
);
21265 if (PyErr_Occurred()) SWIG_fail
;
21267 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21274 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21275 PyObject
*resultobj
;
21276 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21278 wxTimeSpan
*result
;
21279 PyObject
* obj0
= 0 ;
21280 PyObject
* obj1
= 0 ;
21281 char *kwnames
[] = {
21282 (char *) "self",(char *) "n", NULL
21285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21288 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21294 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21295 result
= (wxTimeSpan
*) &_result_ref
;
21298 wxPyEndAllowThreads(__tstate
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21301 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21308 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21309 PyObject
*resultobj
;
21310 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21311 wxTimeSpan
*result
;
21312 PyObject
* obj0
= 0 ;
21313 char *kwnames
[] = {
21314 (char *) "self", NULL
21317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21322 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21323 result
= (wxTimeSpan
*) &_result_ref
;
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21329 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21336 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
;
21338 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21340 PyObject
* obj0
= 0 ;
21341 char *kwnames
[] = {
21342 (char *) "self", NULL
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21355 wxTimeSpan
* resultptr
;
21356 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21357 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21365 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21366 PyObject
*resultobj
;
21367 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21368 wxTimeSpan
*arg2
= 0 ;
21369 wxTimeSpan
*result
;
21370 PyObject
* obj0
= 0 ;
21371 PyObject
* obj1
= 0 ;
21372 char *kwnames
[] = {
21373 (char *) "self",(char *) "diff", NULL
21376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21378 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21379 if (arg2
== NULL
) {
21380 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21385 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21386 result
= (wxTimeSpan
*) &_result_ref
;
21389 wxPyEndAllowThreads(__tstate
);
21390 if (PyErr_Occurred()) SWIG_fail
;
21392 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21399 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
;
21401 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21402 wxTimeSpan
*arg2
= 0 ;
21403 wxTimeSpan
*result
;
21404 PyObject
* obj0
= 0 ;
21405 PyObject
* obj1
= 0 ;
21406 char *kwnames
[] = {
21407 (char *) "self",(char *) "diff", NULL
21410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21412 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21413 if (arg2
== NULL
) {
21414 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21419 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21420 result
= (wxTimeSpan
*) &_result_ref
;
21423 wxPyEndAllowThreads(__tstate
);
21424 if (PyErr_Occurred()) SWIG_fail
;
21426 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21433 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21434 PyObject
*resultobj
;
21435 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21437 wxTimeSpan
*result
;
21438 PyObject
* obj0
= 0 ;
21439 PyObject
* obj1
= 0 ;
21440 char *kwnames
[] = {
21441 (char *) "self",(char *) "n", NULL
21444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21447 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21453 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21454 result
= (wxTimeSpan
*) &_result_ref
;
21457 wxPyEndAllowThreads(__tstate
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21460 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21467 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21468 PyObject
*resultobj
;
21469 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21470 wxTimeSpan
*result
;
21471 PyObject
* obj0
= 0 ;
21472 char *kwnames
[] = {
21473 (char *) "self", NULL
21476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21481 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21482 result
= (wxTimeSpan
*) &_result_ref
;
21485 wxPyEndAllowThreads(__tstate
);
21486 if (PyErr_Occurred()) SWIG_fail
;
21488 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21495 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21496 PyObject
*resultobj
;
21497 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21498 wxTimeSpan
*arg2
= 0 ;
21500 PyObject
* obj0
= 0 ;
21501 PyObject
* obj1
= 0 ;
21502 char *kwnames
[] = {
21503 (char *) "self",(char *) "other", NULL
21506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21508 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21509 if (arg2
== NULL
) {
21510 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21514 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21520 wxTimeSpan
* resultptr
;
21521 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21522 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21530 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
;
21532 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21533 wxTimeSpan
*arg2
= 0 ;
21535 PyObject
* obj0
= 0 ;
21536 PyObject
* obj1
= 0 ;
21537 char *kwnames
[] = {
21538 (char *) "self",(char *) "other", NULL
21541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21543 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21544 if (arg2
== NULL
) {
21545 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21549 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21551 wxPyEndAllowThreads(__tstate
);
21552 if (PyErr_Occurred()) SWIG_fail
;
21555 wxTimeSpan
* resultptr
;
21556 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21557 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21565 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21566 PyObject
*resultobj
;
21567 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21570 PyObject
* obj0
= 0 ;
21571 PyObject
* obj1
= 0 ;
21572 char *kwnames
[] = {
21573 (char *) "self",(char *) "n", NULL
21576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21579 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21584 result
= wxTimeSpan___mul__(arg1
,arg2
);
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21590 wxTimeSpan
* resultptr
;
21591 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21592 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21600 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21601 PyObject
*resultobj
;
21602 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21605 PyObject
* obj0
= 0 ;
21606 PyObject
* obj1
= 0 ;
21607 char *kwnames
[] = {
21608 (char *) "self",(char *) "n", NULL
21611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21614 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21619 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21621 wxPyEndAllowThreads(__tstate
);
21622 if (PyErr_Occurred()) SWIG_fail
;
21625 wxTimeSpan
* resultptr
;
21626 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21627 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21635 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21636 PyObject
*resultobj
;
21637 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21638 wxTimeSpan
*arg2
= 0 ;
21640 PyObject
* obj0
= 0 ;
21641 PyObject
* obj1
= 0 ;
21642 char *kwnames
[] = {
21643 (char *) "self",(char *) "other", NULL
21646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21648 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21649 if (arg2
== NULL
) {
21650 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const &)*arg2
);
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21666 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
;
21668 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21669 wxTimeSpan
*arg2
= 0 ;
21671 PyObject
* obj0
= 0 ;
21672 PyObject
* obj1
= 0 ;
21673 char *kwnames
[] = {
21674 (char *) "self",(char *) "other", NULL
21677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
21678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21679 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21680 if (arg2
== NULL
) {
21681 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21685 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const &)*arg2
);
21687 wxPyEndAllowThreads(__tstate
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21697 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21698 PyObject
*resultobj
;
21699 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21700 wxTimeSpan
*arg2
= 0 ;
21702 PyObject
* obj0
= 0 ;
21703 PyObject
* obj1
= 0 ;
21704 char *kwnames
[] = {
21705 (char *) "self",(char *) "other", NULL
21708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21710 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21711 if (arg2
== NULL
) {
21712 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21716 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const &)*arg2
);
21718 wxPyEndAllowThreads(__tstate
);
21719 if (PyErr_Occurred()) SWIG_fail
;
21721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21728 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21729 PyObject
*resultobj
;
21730 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21731 wxTimeSpan
*arg2
= 0 ;
21733 PyObject
* obj0
= 0 ;
21734 PyObject
* obj1
= 0 ;
21735 char *kwnames
[] = {
21736 (char *) "self",(char *) "other", NULL
21739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
21740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21741 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21742 if (arg2
== NULL
) {
21743 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const &)*arg2
);
21749 wxPyEndAllowThreads(__tstate
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21759 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21760 PyObject
*resultobj
;
21761 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21762 wxTimeSpan
*arg2
= 0 ;
21764 PyObject
* obj0
= 0 ;
21765 PyObject
* obj1
= 0 ;
21766 char *kwnames
[] = {
21767 (char *) "self",(char *) "other", NULL
21770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
21771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21772 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21773 if (arg2
== NULL
) {
21774 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21778 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const &)*arg2
);
21780 wxPyEndAllowThreads(__tstate
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21790 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21791 PyObject
*resultobj
;
21792 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21793 wxTimeSpan
*arg2
= 0 ;
21795 PyObject
* obj0
= 0 ;
21796 PyObject
* obj1
= 0 ;
21797 char *kwnames
[] = {
21798 (char *) "self",(char *) "other", NULL
21801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
21802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21803 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21804 if (arg2
== NULL
) {
21805 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const &)*arg2
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21821 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21822 PyObject
*resultobj
;
21823 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21825 PyObject
* obj0
= 0 ;
21826 char *kwnames
[] = {
21827 (char *) "self", NULL
21830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
21831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
21836 wxPyEndAllowThreads(__tstate
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21846 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21847 PyObject
*resultobj
;
21848 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21850 PyObject
* obj0
= 0 ;
21851 char *kwnames
[] = {
21852 (char *) "self", NULL
21855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
21856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21871 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21872 PyObject
*resultobj
;
21873 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21875 PyObject
* obj0
= 0 ;
21876 char *kwnames
[] = {
21877 (char *) "self", NULL
21880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
21881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21896 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21897 PyObject
*resultobj
;
21898 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21899 wxTimeSpan
*arg2
= 0 ;
21901 PyObject
* obj0
= 0 ;
21902 PyObject
* obj1
= 0 ;
21903 char *kwnames
[] = {
21904 (char *) "self",(char *) "ts", NULL
21907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21909 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21910 if (arg2
== NULL
) {
21911 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21927 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21928 PyObject
*resultobj
;
21929 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21930 wxTimeSpan
*arg2
= 0 ;
21932 PyObject
* obj0
= 0 ;
21933 PyObject
* obj1
= 0 ;
21934 char *kwnames
[] = {
21935 (char *) "self",(char *) "ts", NULL
21938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21940 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21941 if (arg2
== NULL
) {
21942 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
21948 wxPyEndAllowThreads(__tstate
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21958 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21959 PyObject
*resultobj
;
21960 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21961 wxTimeSpan
*arg2
= 0 ;
21963 PyObject
* obj0
= 0 ;
21964 PyObject
* obj1
= 0 ;
21965 char *kwnames
[] = {
21966 (char *) "self",(char *) "t", NULL
21969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21971 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21972 if (arg2
== NULL
) {
21973 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21977 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
21979 wxPyEndAllowThreads(__tstate
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21989 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21990 PyObject
*resultobj
;
21991 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21993 PyObject
* obj0
= 0 ;
21994 char *kwnames
[] = {
21995 (char *) "self", NULL
21998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
21999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22007 resultobj
= SWIG_PyObj_FromInt((int)result
);
22014 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22015 PyObject
*resultobj
;
22016 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22018 PyObject
* obj0
= 0 ;
22019 char *kwnames
[] = {
22020 (char *) "self", NULL
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22027 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 resultobj
= SWIG_PyObj_FromInt((int)result
);
22039 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22040 PyObject
*resultobj
;
22041 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22043 PyObject
* obj0
= 0 ;
22044 char *kwnames
[] = {
22045 (char *) "self", NULL
22048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22052 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22054 wxPyEndAllowThreads(__tstate
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22057 resultobj
= SWIG_PyObj_FromInt((int)result
);
22064 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22065 PyObject
*resultobj
;
22066 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22068 PyObject
* obj0
= 0 ;
22069 char *kwnames
[] = {
22070 (char *) "self", NULL
22073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22077 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22079 wxPyEndAllowThreads(__tstate
);
22080 if (PyErr_Occurred()) SWIG_fail
;
22082 resultobj
= SWIG_PyObj_FromInt((int)result
);
22089 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22090 PyObject
*resultobj
;
22091 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22093 PyObject
* obj0
= 0 ;
22094 char *kwnames
[] = {
22095 (char *) "self", NULL
22098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22102 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22104 wxPyEndAllowThreads(__tstate
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22108 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22109 hi
= PyLong_FromLong( (&result
)->GetHi() );
22110 lo
= PyLong_FromLong( (&result
)->GetLo() );
22111 shifter
= PyLong_FromLong(32);
22112 shifted
= PyNumber_Lshift(hi
, shifter
);
22113 resultobj
= PyNumber_Or(shifted
, lo
);
22116 Py_DECREF(shifter
);
22117 Py_DECREF(shifted
);
22125 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22126 PyObject
*resultobj
;
22127 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22129 PyObject
* obj0
= 0 ;
22130 char *kwnames
[] = {
22131 (char *) "self", NULL
22134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22138 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22140 wxPyEndAllowThreads(__tstate
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22144 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22145 hi
= PyLong_FromLong( (&result
)->GetHi() );
22146 lo
= PyLong_FromLong( (&result
)->GetLo() );
22147 shifter
= PyLong_FromLong(32);
22148 shifted
= PyNumber_Lshift(hi
, shifter
);
22149 resultobj
= PyNumber_Or(shifted
, lo
);
22152 Py_DECREF(shifter
);
22153 Py_DECREF(shifted
);
22161 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22162 PyObject
*resultobj
;
22163 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22164 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22165 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22167 bool temp2
= False
;
22168 PyObject
* obj0
= 0 ;
22169 PyObject
* obj1
= 0 ;
22170 char *kwnames
[] = {
22171 (char *) "self",(char *) "format", NULL
22174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22178 arg2
= wxString_in_helper(obj1
);
22179 if (arg2
== NULL
) SWIG_fail
;
22184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22185 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22187 wxPyEndAllowThreads(__tstate
);
22188 if (PyErr_Occurred()) SWIG_fail
;
22192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22211 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22214 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22216 return Py_BuildValue((char *)"");
22218 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22219 PyObject
*resultobj
;
22220 int arg1
= (int) 0 ;
22221 int arg2
= (int) 0 ;
22222 int arg3
= (int) 0 ;
22223 int arg4
= (int) 0 ;
22224 wxDateSpan
*result
;
22225 PyObject
* obj0
= 0 ;
22226 PyObject
* obj1
= 0 ;
22227 PyObject
* obj2
= 0 ;
22228 PyObject
* obj3
= 0 ;
22229 char *kwnames
[] = {
22230 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22236 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22242 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22243 if (PyErr_Occurred()) SWIG_fail
;
22248 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22254 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22265 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 1);
22272 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22273 PyObject
*resultobj
;
22274 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22275 PyObject
* obj0
= 0 ;
22276 char *kwnames
[] = {
22277 (char *) "self", NULL
22280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22289 Py_INCREF(Py_None
); resultobj
= Py_None
;
22296 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
;
22300 PyObject
* obj0
= 0 ;
22301 char *kwnames
[] = {
22302 (char *) "days", NULL
22305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22307 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 result
= wxDateSpan::Days(arg1
);
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22318 wxDateSpan
* resultptr
;
22319 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22320 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22328 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22329 PyObject
*resultobj
;
22331 char *kwnames
[] = {
22335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22338 result
= wxDateSpan::Day();
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22344 wxDateSpan
* resultptr
;
22345 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22346 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22354 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22355 PyObject
*resultobj
;
22358 PyObject
* obj0
= 0 ;
22359 char *kwnames
[] = {
22360 (char *) "weeks", NULL
22363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22365 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22370 result
= wxDateSpan::Weeks(arg1
);
22372 wxPyEndAllowThreads(__tstate
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22376 wxDateSpan
* resultptr
;
22377 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22378 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22386 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22387 PyObject
*resultobj
;
22389 char *kwnames
[] = {
22393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22396 result
= wxDateSpan::Week();
22398 wxPyEndAllowThreads(__tstate
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22402 wxDateSpan
* resultptr
;
22403 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22404 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22412 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22413 PyObject
*resultobj
;
22416 PyObject
* obj0
= 0 ;
22417 char *kwnames
[] = {
22418 (char *) "mon", NULL
22421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22423 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22424 if (PyErr_Occurred()) SWIG_fail
;
22427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 result
= wxDateSpan::Months(arg1
);
22430 wxPyEndAllowThreads(__tstate
);
22431 if (PyErr_Occurred()) SWIG_fail
;
22434 wxDateSpan
* resultptr
;
22435 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22436 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22444 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22445 PyObject
*resultobj
;
22447 char *kwnames
[] = {
22451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22454 result
= wxDateSpan::Month();
22456 wxPyEndAllowThreads(__tstate
);
22457 if (PyErr_Occurred()) SWIG_fail
;
22460 wxDateSpan
* resultptr
;
22461 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22462 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22470 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22471 PyObject
*resultobj
;
22474 PyObject
* obj0
= 0 ;
22475 char *kwnames
[] = {
22476 (char *) "years", NULL
22479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22481 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22486 result
= wxDateSpan::Years(arg1
);
22488 wxPyEndAllowThreads(__tstate
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22492 wxDateSpan
* resultptr
;
22493 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22494 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22502 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22503 PyObject
*resultobj
;
22505 char *kwnames
[] = {
22509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22512 result
= wxDateSpan::Year();
22514 wxPyEndAllowThreads(__tstate
);
22515 if (PyErr_Occurred()) SWIG_fail
;
22518 wxDateSpan
* resultptr
;
22519 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22520 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22528 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22529 PyObject
*resultobj
;
22530 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22532 wxDateSpan
*result
;
22533 PyObject
* obj0
= 0 ;
22534 PyObject
* obj1
= 0 ;
22535 char *kwnames
[] = {
22536 (char *) "self",(char *) "n", NULL
22539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22542 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22549 result
= (wxDateSpan
*) &_result_ref
;
22552 wxPyEndAllowThreads(__tstate
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22555 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22562 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22563 PyObject
*resultobj
;
22564 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22566 wxDateSpan
*result
;
22567 PyObject
* obj0
= 0 ;
22568 PyObject
* obj1
= 0 ;
22569 char *kwnames
[] = {
22570 (char *) "self",(char *) "n", NULL
22573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22576 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22583 result
= (wxDateSpan
*) &_result_ref
;
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22589 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22596 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22597 PyObject
*resultobj
;
22598 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22600 wxDateSpan
*result
;
22601 PyObject
* obj0
= 0 ;
22602 PyObject
* obj1
= 0 ;
22603 char *kwnames
[] = {
22604 (char *) "self",(char *) "n", NULL
22607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22610 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22616 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22617 result
= (wxDateSpan
*) &_result_ref
;
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22623 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22630 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22631 PyObject
*resultobj
;
22632 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22634 wxDateSpan
*result
;
22635 PyObject
* obj0
= 0 ;
22636 PyObject
* obj1
= 0 ;
22637 char *kwnames
[] = {
22638 (char *) "self",(char *) "n", NULL
22641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
22642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22644 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22650 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
22651 result
= (wxDateSpan
*) &_result_ref
;
22654 wxPyEndAllowThreads(__tstate
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22657 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22664 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
;
22666 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22668 PyObject
* obj0
= 0 ;
22669 char *kwnames
[] = {
22670 (char *) "self", NULL
22673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
22674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 resultobj
= SWIG_PyObj_FromInt((int)result
);
22689 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
;
22691 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22693 PyObject
* obj0
= 0 ;
22694 char *kwnames
[] = {
22695 (char *) "self", NULL
22698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
22699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22702 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
22704 wxPyEndAllowThreads(__tstate
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22707 resultobj
= SWIG_PyObj_FromInt((int)result
);
22714 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22715 PyObject
*resultobj
;
22716 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22718 PyObject
* obj0
= 0 ;
22719 char *kwnames
[] = {
22720 (char *) "self", NULL
22723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22727 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
22729 wxPyEndAllowThreads(__tstate
);
22730 if (PyErr_Occurred()) SWIG_fail
;
22732 resultobj
= SWIG_PyObj_FromInt((int)result
);
22739 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22740 PyObject
*resultobj
;
22741 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22743 PyObject
* obj0
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "self", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22757 resultobj
= SWIG_PyObj_FromInt((int)result
);
22764 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22765 PyObject
*resultobj
;
22766 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22768 PyObject
* obj0
= 0 ;
22769 char *kwnames
[] = {
22770 (char *) "self", NULL
22773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
22774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22777 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
22779 wxPyEndAllowThreads(__tstate
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22782 resultobj
= SWIG_PyObj_FromInt((int)result
);
22789 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22790 PyObject
*resultobj
;
22791 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22792 wxDateSpan
*arg2
= 0 ;
22793 wxDateSpan
*result
;
22794 PyObject
* obj0
= 0 ;
22795 PyObject
* obj1
= 0 ;
22796 char *kwnames
[] = {
22797 (char *) "self",(char *) "other", NULL
22800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22802 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22803 if (arg2
== NULL
) {
22804 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22809 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22810 result
= (wxDateSpan
*) &_result_ref
;
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22816 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22823 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
;
22825 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22826 wxDateSpan
*arg2
= 0 ;
22827 wxDateSpan
*result
;
22828 PyObject
* obj0
= 0 ;
22829 PyObject
* obj1
= 0 ;
22830 char *kwnames
[] = {
22831 (char *) "self",(char *) "other", NULL
22834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22836 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22837 if (arg2
== NULL
) {
22838 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22843 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22844 result
= (wxDateSpan
*) &_result_ref
;
22847 wxPyEndAllowThreads(__tstate
);
22848 if (PyErr_Occurred()) SWIG_fail
;
22850 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22857 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22858 PyObject
*resultobj
;
22859 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22860 wxDateSpan
*result
;
22861 PyObject
* obj0
= 0 ;
22862 char *kwnames
[] = {
22863 (char *) "self", NULL
22866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
22867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 wxDateSpan
&_result_ref
= (arg1
)->Neg();
22872 result
= (wxDateSpan
*) &_result_ref
;
22875 wxPyEndAllowThreads(__tstate
);
22876 if (PyErr_Occurred()) SWIG_fail
;
22878 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22885 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22886 PyObject
*resultobj
;
22887 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22889 wxDateSpan
*result
;
22890 PyObject
* obj0
= 0 ;
22891 PyObject
* obj1
= 0 ;
22892 char *kwnames
[] = {
22893 (char *) "self",(char *) "factor", NULL
22896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22899 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22905 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22906 result
= (wxDateSpan
*) &_result_ref
;
22909 wxPyEndAllowThreads(__tstate
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22912 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22919 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22920 PyObject
*resultobj
;
22921 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22922 wxDateSpan
*arg2
= 0 ;
22923 wxDateSpan
*result
;
22924 PyObject
* obj0
= 0 ;
22925 PyObject
* obj1
= 0 ;
22926 char *kwnames
[] = {
22927 (char *) "self",(char *) "other", NULL
22930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22932 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22933 if (arg2
== NULL
) {
22934 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22939 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22940 result
= (wxDateSpan
*) &_result_ref
;
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22946 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22953 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22954 PyObject
*resultobj
;
22955 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22956 wxDateSpan
*arg2
= 0 ;
22957 wxDateSpan
*result
;
22958 PyObject
* obj0
= 0 ;
22959 PyObject
* obj1
= 0 ;
22960 char *kwnames
[] = {
22961 (char *) "self",(char *) "other", NULL
22964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22966 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22967 if (arg2
== NULL
) {
22968 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22973 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22974 result
= (wxDateSpan
*) &_result_ref
;
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22980 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22987 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22988 PyObject
*resultobj
;
22989 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22990 wxDateSpan
*result
;
22991 PyObject
* obj0
= 0 ;
22992 char *kwnames
[] = {
22993 (char *) "self", NULL
22996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
22997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23001 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23002 result
= (wxDateSpan
*) &_result_ref
;
23005 wxPyEndAllowThreads(__tstate
);
23006 if (PyErr_Occurred()) SWIG_fail
;
23008 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
23015 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23016 PyObject
*resultobj
;
23017 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23019 wxDateSpan
*result
;
23020 PyObject
* obj0
= 0 ;
23021 PyObject
* obj1
= 0 ;
23022 char *kwnames
[] = {
23023 (char *) "self",(char *) "factor", NULL
23026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23029 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23030 if (PyErr_Occurred()) SWIG_fail
;
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23036 result
= (wxDateSpan
*) &_result_ref
;
23039 wxPyEndAllowThreads(__tstate
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23042 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
23049 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23050 PyObject
*resultobj
;
23051 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23052 wxDateSpan
*arg2
= 0 ;
23054 PyObject
* obj0
= 0 ;
23055 PyObject
* obj1
= 0 ;
23056 char *kwnames
[] = {
23057 (char *) "self",(char *) "other", NULL
23060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23062 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23063 if (arg2
== NULL
) {
23064 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23074 wxDateSpan
* resultptr
;
23075 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23076 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
23084 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23085 PyObject
*resultobj
;
23086 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23087 wxDateSpan
*arg2
= 0 ;
23089 PyObject
* obj0
= 0 ;
23090 PyObject
* obj1
= 0 ;
23091 char *kwnames
[] = {
23092 (char *) "self",(char *) "other", NULL
23095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23097 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23098 if (arg2
== NULL
) {
23099 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23109 wxDateSpan
* resultptr
;
23110 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23111 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
23119 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23120 PyObject
*resultobj
;
23121 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23124 PyObject
* obj0
= 0 ;
23125 PyObject
* obj1
= 0 ;
23126 char *kwnames
[] = {
23127 (char *) "self",(char *) "n", NULL
23130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23133 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23134 if (PyErr_Occurred()) SWIG_fail
;
23137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23138 result
= wxDateSpan___mul__(arg1
,arg2
);
23140 wxPyEndAllowThreads(__tstate
);
23141 if (PyErr_Occurred()) SWIG_fail
;
23144 wxDateSpan
* resultptr
;
23145 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23146 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
23154 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23155 PyObject
*resultobj
;
23156 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23159 PyObject
* obj0
= 0 ;
23160 PyObject
* obj1
= 0 ;
23161 char *kwnames
[] = {
23162 (char *) "self",(char *) "n", NULL
23165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23168 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 result
= wxDateSpan___rmul__(arg1
,arg2
);
23175 wxPyEndAllowThreads(__tstate
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23179 wxDateSpan
* resultptr
;
23180 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23181 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
23189 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23190 PyObject
*resultobj
;
23191 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23192 wxDateSpan
*arg2
= 0 ;
23194 PyObject
* obj0
= 0 ;
23195 PyObject
* obj1
= 0 ;
23196 char *kwnames
[] = {
23197 (char *) "self",(char *) "other", NULL
23200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23202 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23203 if (arg2
== NULL
) {
23204 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23208 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const &)*arg2
);
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23220 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
;
23222 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23223 wxDateSpan
*arg2
= 0 ;
23225 PyObject
* obj0
= 0 ;
23226 PyObject
* obj1
= 0 ;
23227 char *kwnames
[] = {
23228 (char *) "self",(char *) "other", NULL
23231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23233 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23234 if (arg2
== NULL
) {
23235 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const &)*arg2
);
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23251 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23254 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23256 return Py_BuildValue((char *)"");
23258 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
;
23261 char *kwnames
[] = {
23265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23268 result
= (long)wxGetLocalTime();
23270 wxPyEndAllowThreads(__tstate
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23273 resultobj
= SWIG_PyObj_FromLong((long)result
);
23280 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23281 PyObject
*resultobj
;
23283 char *kwnames
[] = {
23287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23290 result
= (long)wxGetUTCTime();
23292 wxPyEndAllowThreads(__tstate
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23295 resultobj
= SWIG_PyObj_FromLong((long)result
);
23302 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23303 PyObject
*resultobj
;
23305 char *kwnames
[] = {
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23312 result
= (long)wxGetCurrentTime();
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23317 resultobj
= SWIG_PyObj_FromLong((long)result
);
23324 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23325 PyObject
*resultobj
;
23327 char *kwnames
[] = {
23331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23334 result
= wxGetLocalTimeMillis();
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23340 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23341 hi
= PyLong_FromLong( (&result
)->GetHi() );
23342 lo
= PyLong_FromLong( (&result
)->GetLo() );
23343 shifter
= PyLong_FromLong(32);
23344 shifted
= PyNumber_Lshift(hi
, shifter
);
23345 resultobj
= PyNumber_Or(shifted
, lo
);
23348 Py_DECREF(shifter
);
23349 Py_DECREF(shifted
);
23357 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23358 PyObject
*resultobj
;
23360 wxDataFormat
*result
;
23361 PyObject
* obj0
= 0 ;
23362 char *kwnames
[] = {
23363 (char *) "type", NULL
23366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23368 arg1
= (wxDataFormatId
) SWIG_PyObj_AsInt(obj0
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23378 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
23385 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23386 PyObject
*resultobj
;
23387 wxString
*arg1
= 0 ;
23388 wxDataFormat
*result
;
23389 bool temp1
= False
;
23390 PyObject
* obj0
= 0 ;
23391 char *kwnames
[] = {
23392 (char *) "format", NULL
23395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23397 arg1
= wxString_in_helper(obj0
);
23398 if (arg1
== NULL
) SWIG_fail
;
23402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23408 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
23423 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23424 PyObject
*resultobj
;
23425 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23426 PyObject
* obj0
= 0 ;
23427 char *kwnames
[] = {
23428 (char *) "self", NULL
23431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23437 wxPyEndAllowThreads(__tstate
);
23438 if (PyErr_Occurred()) SWIG_fail
;
23440 Py_INCREF(Py_None
); resultobj
= Py_None
;
23447 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23448 PyObject
*resultobj
;
23449 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23452 PyObject
* obj0
= 0 ;
23453 PyObject
* obj1
= 0 ;
23455 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23458 arg2
= (wxDataFormatId
) SWIG_PyObj_AsInt(obj1
);
23459 if (PyErr_Occurred()) SWIG_fail
;
23462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23463 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23465 wxPyEndAllowThreads(__tstate
);
23466 if (PyErr_Occurred()) SWIG_fail
;
23468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23475 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23476 PyObject
*resultobj
;
23477 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23480 PyObject
* obj0
= 0 ;
23481 PyObject
* obj1
= 0 ;
23483 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23486 arg2
= (wxDataFormatId
) SWIG_PyObj_AsInt(obj1
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23503 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23504 PyObject
*resultobj
;
23505 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23506 wxDataFormat
*arg2
= 0 ;
23508 PyObject
* obj0
= 0 ;
23509 PyObject
* obj1
= 0 ;
23511 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23513 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23514 if (arg2
== NULL
) {
23515 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23519 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23521 wxPyEndAllowThreads(__tstate
);
23522 if (PyErr_Occurred()) SWIG_fail
;
23524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23531 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23536 argc
= PyObject_Length(args
);
23537 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23538 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23544 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23554 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23562 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23570 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23579 SWIG_PyObj_AsInt(argv
[1]);
23580 if (PyErr_Occurred()) {
23588 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
23593 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
23598 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
23599 PyObject
*resultobj
;
23600 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23601 wxDataFormat
*arg2
= 0 ;
23603 PyObject
* obj0
= 0 ;
23604 PyObject
* obj1
= 0 ;
23606 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23608 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23609 if (arg2
== NULL
) {
23610 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23614 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
23616 wxPyEndAllowThreads(__tstate
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23626 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
23631 argc
= PyObject_Length(args
);
23632 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23633 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23639 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23649 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23657 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
23665 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23674 SWIG_PyObj_AsInt(argv
[1]);
23675 if (PyErr_Occurred()) {
23683 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
23688 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
23693 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23694 PyObject
*resultobj
;
23695 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23697 PyObject
* obj0
= 0 ;
23698 PyObject
* obj1
= 0 ;
23699 char *kwnames
[] = {
23700 (char *) "self",(char *) "format", NULL
23703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
23704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23706 arg2
= (wxDataFormatId
) SWIG_PyObj_AsInt(obj1
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23711 (arg1
)->SetType((wxDataFormatId
)arg2
);
23713 wxPyEndAllowThreads(__tstate
);
23714 if (PyErr_Occurred()) SWIG_fail
;
23716 Py_INCREF(Py_None
); resultobj
= Py_None
;
23723 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
;
23725 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23727 PyObject
* obj0
= 0 ;
23728 char *kwnames
[] = {
23729 (char *) "self", NULL
23732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
23733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23736 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
23738 wxPyEndAllowThreads(__tstate
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23741 resultobj
= SWIG_PyObj_FromInt((int)result
);
23748 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23749 PyObject
*resultobj
;
23750 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23752 PyObject
* obj0
= 0 ;
23753 char *kwnames
[] = {
23754 (char *) "self", NULL
23757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
23758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 result
= ((wxDataFormat
const *)arg1
)->GetId();
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23768 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23770 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23779 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23780 PyObject
*resultobj
;
23781 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23782 wxString
*arg2
= 0 ;
23783 bool temp2
= False
;
23784 PyObject
* obj0
= 0 ;
23785 PyObject
* obj1
= 0 ;
23786 char *kwnames
[] = {
23787 (char *) "self",(char *) "format", NULL
23790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23793 arg2
= wxString_in_helper(obj1
);
23794 if (arg2
== NULL
) SWIG_fail
;
23798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23799 (arg1
)->SetId((wxString
const &)*arg2
);
23801 wxPyEndAllowThreads(__tstate
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23804 Py_INCREF(Py_None
); resultobj
= Py_None
;
23819 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
23821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23822 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
23824 return Py_BuildValue((char *)"");
23826 static int _wrap_FormatInvalid_set(PyObject
*) {
23827 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
23832 static PyObject
*_wrap_FormatInvalid_get() {
23835 pyobj
= SWIG_NewPointerObj((void *) &wxFormatInvalid
, SWIGTYPE_p_wxDataFormat
, 0);
23840 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23841 PyObject
*resultobj
;
23842 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23843 PyObject
* obj0
= 0 ;
23844 char *kwnames
[] = {
23845 (char *) "self", NULL
23848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
23849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23854 wxPyEndAllowThreads(__tstate
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23857 Py_INCREF(Py_None
); resultobj
= Py_None
;
23864 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23865 PyObject
*resultobj
;
23866 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23867 int arg2
= (int) wxDataObject::Get
;
23868 SwigValueWrapper
< wxDataFormat
> result
;
23869 PyObject
* obj0
= 0 ;
23870 PyObject
* obj1
= 0 ;
23871 char *kwnames
[] = {
23872 (char *) "self",(char *) "dir", NULL
23875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
23876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23879 arg2
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj1
);
23880 if (PyErr_Occurred()) SWIG_fail
;
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23891 wxDataFormat
* resultptr
;
23892 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
23893 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDataFormat
, 1);
23901 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23902 PyObject
*resultobj
;
23903 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23904 int arg2
= (int) wxDataObject::Get
;
23906 PyObject
* obj0
= 0 ;
23907 PyObject
* obj1
= 0 ;
23908 char *kwnames
[] = {
23909 (char *) "self",(char *) "dir", NULL
23912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23916 arg2
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj1
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23922 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
23934 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23935 PyObject
*resultobj
;
23936 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23937 wxDataFormat
*arg2
= 0 ;
23938 int arg3
= (int) wxDataObject::Get
;
23940 PyObject
* obj0
= 0 ;
23941 PyObject
* obj1
= 0 ;
23942 PyObject
* obj2
= 0 ;
23943 char *kwnames
[] = {
23944 (char *) "self",(char *) "format",(char *) "dir", NULL
23947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23949 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23950 if (arg2
== NULL
) {
23951 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23955 arg3
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj2
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23973 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23974 PyObject
*resultobj
;
23975 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23976 wxDataFormat
*arg2
= 0 ;
23978 PyObject
* obj0
= 0 ;
23979 PyObject
* obj1
= 0 ;
23980 char *kwnames
[] = {
23981 (char *) "self",(char *) "format", NULL
23984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23986 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23987 if (arg2
== NULL
) {
23988 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23992 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
23994 wxPyEndAllowThreads(__tstate
);
23995 if (PyErr_Occurred()) SWIG_fail
;
23997 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24004 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24005 PyObject
*resultobj
;
24006 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24007 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24008 int arg3
= (int) wxDataObject::Get
;
24009 PyObject
* obj0
= 0 ;
24010 PyObject
* obj1
= 0 ;
24011 PyObject
* obj2
= 0 ;
24012 char *kwnames
[] = {
24013 (char *) "self",(char *) "formats",(char *) "dir", NULL
24016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24018 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24021 arg3
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj2
);
24022 if (PyErr_Occurred()) SWIG_fail
;
24026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24027 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24029 wxPyEndAllowThreads(__tstate
);
24030 if (PyErr_Occurred()) SWIG_fail
;
24032 Py_INCREF(Py_None
); resultobj
= Py_None
;
24039 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24040 PyObject
*resultobj
;
24041 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24042 wxDataFormat
*arg2
= 0 ;
24043 void *arg3
= (void *) 0 ;
24045 PyObject
* obj0
= 0 ;
24046 PyObject
* obj1
= 0 ;
24047 PyObject
* obj2
= 0 ;
24048 char *kwnames
[] = {
24049 (char *) "self",(char *) "format",(char *) "buf", NULL
24052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24054 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24055 if (arg2
== NULL
) {
24056 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24058 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24061 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24063 wxPyEndAllowThreads(__tstate
);
24064 if (PyErr_Occurred()) SWIG_fail
;
24066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24073 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24074 PyObject
*resultobj
;
24075 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24076 wxDataFormat
*arg2
= 0 ;
24078 void *arg4
= (void *) 0 ;
24080 PyObject
* obj0
= 0 ;
24081 PyObject
* obj1
= 0 ;
24082 PyObject
* obj2
= 0 ;
24083 PyObject
* obj3
= 0 ;
24084 char *kwnames
[] = {
24085 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24090 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24091 if (arg2
== NULL
) {
24092 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24095 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
24096 if (PyErr_Occurred()) SWIG_fail
;
24098 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24101 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24103 wxPyEndAllowThreads(__tstate
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24113 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24116 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24118 return Py_BuildValue((char *)"");
24120 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24121 PyObject
*resultobj
;
24122 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24123 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24124 wxDataObjectSimple
*result
;
24125 PyObject
* obj0
= 0 ;
24126 char *kwnames
[] = {
24127 (char *) "format", NULL
24130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24133 if (arg1
== NULL
) {
24134 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24144 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectSimple
, 1);
24151 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24152 PyObject
*resultobj
;
24153 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24154 wxDataFormat
*result
;
24155 PyObject
* obj0
= 0 ;
24156 char *kwnames
[] = {
24157 (char *) "self", NULL
24160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24165 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24166 result
= (wxDataFormat
*) &_result_ref
;
24169 wxPyEndAllowThreads(__tstate
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24172 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 0);
24179 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24180 PyObject
*resultobj
;
24181 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24182 wxDataFormat
*arg2
= 0 ;
24183 PyObject
* obj0
= 0 ;
24184 PyObject
* obj1
= 0 ;
24185 char *kwnames
[] = {
24186 (char *) "self",(char *) "format", NULL
24189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24191 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24192 if (arg2
== NULL
) {
24193 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24202 Py_INCREF(Py_None
); resultobj
= Py_None
;
24209 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24212 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24214 return Py_BuildValue((char *)"");
24216 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24217 PyObject
*resultobj
;
24218 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24219 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24220 wxPyDataObjectSimple
*result
;
24221 PyObject
* obj0
= 0 ;
24222 char *kwnames
[] = {
24223 (char *) "format", NULL
24226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24229 if (arg1
== NULL
) {
24230 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24235 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24237 wxPyEndAllowThreads(__tstate
);
24238 if (PyErr_Occurred()) SWIG_fail
;
24240 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24247 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24248 PyObject
*resultobj
;
24249 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24250 PyObject
*arg2
= (PyObject
*) 0 ;
24251 PyObject
*arg3
= (PyObject
*) 0 ;
24252 PyObject
* obj0
= 0 ;
24253 PyObject
* obj1
= 0 ;
24254 PyObject
* obj2
= 0 ;
24255 char *kwnames
[] = {
24256 (char *) "self",(char *) "self",(char *) "_class", NULL
24259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24265 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24270 Py_INCREF(Py_None
); resultobj
= Py_None
;
24277 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24280 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24282 return Py_BuildValue((char *)"");
24284 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24285 PyObject
*resultobj
;
24286 wxDataObjectComposite
*result
;
24287 char *kwnames
[] = {
24291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24299 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectComposite
, 1);
24306 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24307 PyObject
*resultobj
;
24308 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24309 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24310 int arg3
= (int) False
;
24311 PyObject
* obj0
= 0 ;
24312 PyObject
* obj1
= 0 ;
24313 PyObject
* obj2
= 0 ;
24314 char *kwnames
[] = {
24315 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectComposite
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24320 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24323 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 (arg1
)->Add(arg2
,arg3
);
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24334 Py_INCREF(Py_None
); resultobj
= Py_None
;
24341 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24344 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24346 return Py_BuildValue((char *)"");
24348 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24349 PyObject
*resultobj
;
24350 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24351 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24352 wxTextDataObject
*result
;
24353 bool temp1
= False
;
24354 PyObject
* obj0
= 0 ;
24355 char *kwnames
[] = {
24356 (char *) "text", NULL
24359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24362 arg1
= wxString_in_helper(obj0
);
24363 if (arg1
== NULL
) SWIG_fail
;
24368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24369 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24371 wxPyEndAllowThreads(__tstate
);
24372 if (PyErr_Occurred()) SWIG_fail
;
24374 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextDataObject
, 1);
24389 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24390 PyObject
*resultobj
;
24391 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24393 PyObject
* obj0
= 0 ;
24394 char *kwnames
[] = {
24395 (char *) "self", NULL
24398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24402 result
= (size_t)(arg1
)->GetTextLength();
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24407 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24414 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
;
24416 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24418 PyObject
* obj0
= 0 ;
24419 char *kwnames
[] = {
24420 (char *) "self", NULL
24423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24427 result
= (arg1
)->GetText();
24429 wxPyEndAllowThreads(__tstate
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24445 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24446 PyObject
*resultobj
;
24447 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24448 wxString
*arg2
= 0 ;
24449 bool temp2
= False
;
24450 PyObject
* obj0
= 0 ;
24451 PyObject
* obj1
= 0 ;
24452 char *kwnames
[] = {
24453 (char *) "self",(char *) "text", NULL
24456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24459 arg2
= wxString_in_helper(obj1
);
24460 if (arg2
== NULL
) SWIG_fail
;
24464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24465 (arg1
)->SetText((wxString
const &)*arg2
);
24467 wxPyEndAllowThreads(__tstate
);
24468 if (PyErr_Occurred()) SWIG_fail
;
24470 Py_INCREF(Py_None
); resultobj
= Py_None
;
24485 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24488 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24490 return Py_BuildValue((char *)"");
24492 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24493 PyObject
*resultobj
;
24494 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24495 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24496 wxPyTextDataObject
*result
;
24497 bool temp1
= False
;
24498 PyObject
* obj0
= 0 ;
24499 char *kwnames
[] = {
24500 (char *) "text", NULL
24503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24506 arg1
= wxString_in_helper(obj0
);
24507 if (arg1
== NULL
) SWIG_fail
;
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24518 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDataObject
, 1);
24533 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24534 PyObject
*resultobj
;
24535 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24536 PyObject
*arg2
= (PyObject
*) 0 ;
24537 PyObject
*arg3
= (PyObject
*) 0 ;
24538 PyObject
* obj0
= 0 ;
24539 PyObject
* obj1
= 0 ;
24540 PyObject
* obj2
= 0 ;
24541 char *kwnames
[] = {
24542 (char *) "self",(char *) "self",(char *) "_class", NULL
24545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24551 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24553 wxPyEndAllowThreads(__tstate
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24556 Py_INCREF(Py_None
); resultobj
= Py_None
;
24563 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24566 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
24568 return Py_BuildValue((char *)"");
24570 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24571 PyObject
*resultobj
;
24572 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24573 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24574 wxBitmapDataObject
*result
;
24575 PyObject
* obj0
= 0 ;
24576 char *kwnames
[] = {
24577 (char *) "bitmap", NULL
24580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
24582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24583 if (arg1
== NULL
) {
24584 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24589 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24594 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmapDataObject
, 1);
24601 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24602 PyObject
*resultobj
;
24603 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24605 PyObject
* obj0
= 0 ;
24606 char *kwnames
[] = {
24607 (char *) "self", NULL
24610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
24611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24614 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
24616 wxPyEndAllowThreads(__tstate
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24620 wxBitmap
* resultptr
;
24621 resultptr
= new wxBitmap((wxBitmap
&) result
);
24622 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
24630 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24631 PyObject
*resultobj
;
24632 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24633 wxBitmap
*arg2
= 0 ;
24634 PyObject
* obj0
= 0 ;
24635 PyObject
* obj1
= 0 ;
24636 char *kwnames
[] = {
24637 (char *) "self",(char *) "bitmap", NULL
24640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
24641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24642 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24643 if (arg2
== NULL
) {
24644 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24648 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
24650 wxPyEndAllowThreads(__tstate
);
24651 if (PyErr_Occurred()) SWIG_fail
;
24653 Py_INCREF(Py_None
); resultobj
= Py_None
;
24660 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24663 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
24665 return Py_BuildValue((char *)"");
24667 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24668 PyObject
*resultobj
;
24669 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24670 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24671 wxPyBitmapDataObject
*result
;
24672 PyObject
* obj0
= 0 ;
24673 char *kwnames
[] = {
24674 (char *) "bitmap", NULL
24677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
24679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24680 if (arg1
== NULL
) {
24681 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyBitmapDataObject
, 1);
24698 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24699 PyObject
*resultobj
;
24700 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
24701 PyObject
*arg2
= (PyObject
*) 0 ;
24702 PyObject
*arg3
= (PyObject
*) 0 ;
24703 PyObject
* obj0
= 0 ;
24704 PyObject
* obj1
= 0 ;
24705 PyObject
* obj2
= 0 ;
24706 char *kwnames
[] = {
24707 (char *) "self",(char *) "self",(char *) "_class", NULL
24710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24718 wxPyEndAllowThreads(__tstate
);
24719 if (PyErr_Occurred()) SWIG_fail
;
24721 Py_INCREF(Py_None
); resultobj
= Py_None
;
24728 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24731 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
24733 return Py_BuildValue((char *)"");
24735 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24736 PyObject
*resultobj
;
24737 wxFileDataObject
*result
;
24738 char *kwnames
[] = {
24742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
24744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24745 result
= (wxFileDataObject
*)new wxFileDataObject();
24747 wxPyEndAllowThreads(__tstate
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24750 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDataObject
, 1);
24757 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24758 PyObject
*resultobj
;
24759 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
24760 wxArrayString
*result
;
24761 PyObject
* obj0
= 0 ;
24762 char *kwnames
[] = {
24763 (char *) "self", NULL
24766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
24767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24771 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
24772 result
= (wxArrayString
*) &_result_ref
;
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24779 resultobj
= wxArrayString2PyList_helper(*result
);
24787 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24788 PyObject
*resultobj
;
24789 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
24790 wxString
*arg2
= 0 ;
24791 bool temp2
= False
;
24792 PyObject
* obj0
= 0 ;
24793 PyObject
* obj1
= 0 ;
24794 char *kwnames
[] = {
24795 (char *) "self",(char *) "filename", NULL
24798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
24799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24801 arg2
= wxString_in_helper(obj1
);
24802 if (arg2
== NULL
) SWIG_fail
;
24806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24807 (arg1
)->AddFile((wxString
const &)*arg2
);
24809 wxPyEndAllowThreads(__tstate
);
24810 if (PyErr_Occurred()) SWIG_fail
;
24812 Py_INCREF(Py_None
); resultobj
= Py_None
;
24827 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24830 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
24832 return Py_BuildValue((char *)"");
24834 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24835 PyObject
*resultobj
;
24836 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24837 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24838 wxCustomDataObject
*result
;
24839 PyObject
* obj0
= 0 ;
24840 char *kwnames
[] = {
24841 (char *) "format", NULL
24844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
24846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24847 if (arg1
== NULL
) {
24848 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24858 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCustomDataObject
, 1);
24865 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24866 PyObject
*resultobj
;
24867 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24868 PyObject
*arg2
= (PyObject
*) 0 ;
24869 PyObject
* obj0
= 0 ;
24870 PyObject
* obj1
= 0 ;
24871 char *kwnames
[] = {
24872 (char *) "self",(char *) "data", NULL
24875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
24876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24880 wxCustomDataObject_TakeData(arg1
,arg2
);
24882 wxPyEndAllowThreads(__tstate
);
24883 if (PyErr_Occurred()) SWIG_fail
;
24885 Py_INCREF(Py_None
); resultobj
= Py_None
;
24892 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24893 PyObject
*resultobj
;
24894 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24895 PyObject
*arg2
= (PyObject
*) 0 ;
24897 PyObject
* obj0
= 0 ;
24898 PyObject
* obj1
= 0 ;
24899 char *kwnames
[] = {
24900 (char *) "self",(char *) "data", NULL
24903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24908 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
24910 wxPyEndAllowThreads(__tstate
);
24911 if (PyErr_Occurred()) SWIG_fail
;
24913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24920 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24921 PyObject
*resultobj
;
24922 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24924 PyObject
* obj0
= 0 ;
24925 char *kwnames
[] = {
24926 (char *) "self", NULL
24929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
24930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24933 result
= (size_t)(arg1
)->GetSize();
24935 wxPyEndAllowThreads(__tstate
);
24936 if (PyErr_Occurred()) SWIG_fail
;
24938 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24945 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24946 PyObject
*resultobj
;
24947 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24949 PyObject
* obj0
= 0 ;
24950 char *kwnames
[] = {
24951 (char *) "self", NULL
24954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
24955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24958 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
24960 wxPyEndAllowThreads(__tstate
);
24961 if (PyErr_Occurred()) SWIG_fail
;
24963 resultobj
= result
;
24970 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24973 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
24975 return Py_BuildValue((char *)"");
24977 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24978 PyObject
*resultobj
;
24979 wxURLDataObject
*result
;
24980 char *kwnames
[] = {
24984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
24986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24987 result
= (wxURLDataObject
*)new wxURLDataObject();
24989 wxPyEndAllowThreads(__tstate
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24992 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxURLDataObject
, 1);
24999 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25000 PyObject
*resultobj
;
25001 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25003 PyObject
* obj0
= 0 ;
25004 char *kwnames
[] = {
25005 (char *) "self", NULL
25008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 result
= (arg1
)->GetURL();
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25030 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25031 PyObject
*resultobj
;
25032 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25033 wxString
*arg2
= 0 ;
25034 bool temp2
= False
;
25035 PyObject
* obj0
= 0 ;
25036 PyObject
* obj1
= 0 ;
25037 char *kwnames
[] = {
25038 (char *) "self",(char *) "url", NULL
25041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25044 arg2
= wxString_in_helper(obj1
);
25045 if (arg2
== NULL
) SWIG_fail
;
25049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25050 (arg1
)->SetURL((wxString
const &)*arg2
);
25052 wxPyEndAllowThreads(__tstate
);
25053 if (PyErr_Occurred()) SWIG_fail
;
25055 Py_INCREF(Py_None
); resultobj
= Py_None
;
25070 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25073 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25075 return Py_BuildValue((char *)"");
25077 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25078 PyObject
*resultobj
;
25079 wxMetafileDataObject
*result
;
25080 char *kwnames
[] = {
25084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25087 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25089 wxPyEndAllowThreads(__tstate
);
25090 if (PyErr_Occurred()) SWIG_fail
;
25092 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetafileDataObject
, 1);
25099 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25100 PyObject
*resultobj
;
25101 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25102 wxMetafile
*arg2
= 0 ;
25103 PyObject
* obj0
= 0 ;
25104 PyObject
* obj1
= 0 ;
25105 char *kwnames
[] = {
25106 (char *) "self",(char *) "metafile", NULL
25109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetafileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25111 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMetafile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25112 if (arg2
== NULL
) {
25113 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25117 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25122 Py_INCREF(Py_None
); resultobj
= Py_None
;
25129 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25130 PyObject
*resultobj
;
25131 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25133 PyObject
* obj0
= 0 ;
25134 char *kwnames
[] = {
25135 (char *) "self", NULL
25138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetafileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25142 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25144 wxPyEndAllowThreads(__tstate
);
25145 if (PyErr_Occurred()) SWIG_fail
;
25148 wxMetafile
* resultptr
;
25149 resultptr
= new wxMetafile((wxMetafile
&) result
);
25150 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxMetafile
, 1);
25158 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25161 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25163 return Py_BuildValue((char *)"");
25165 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25166 PyObject
*resultobj
;
25169 PyObject
* obj0
= 0 ;
25170 char *kwnames
[] = {
25171 (char *) "res", NULL
25174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25176 arg1
= (wxDragResult
) SWIG_PyObj_AsInt(obj0
);
25177 if (PyErr_Occurred()) SWIG_fail
;
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25193 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
;
25195 wxWindow
*arg1
= (wxWindow
*) 0 ;
25196 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25197 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25198 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25199 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25200 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25201 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25202 wxPyDropSource
*result
;
25203 PyObject
* obj0
= 0 ;
25204 PyObject
* obj1
= 0 ;
25205 PyObject
* obj2
= 0 ;
25206 PyObject
* obj3
= 0 ;
25207 char *kwnames
[] = {
25208 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25214 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25215 if (arg2
== NULL
) {
25216 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25220 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25221 if (arg3
== NULL
) {
25222 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25226 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25227 if (arg4
== NULL
) {
25228 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25233 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25235 wxPyEndAllowThreads(__tstate
);
25236 if (PyErr_Occurred()) SWIG_fail
;
25238 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropSource
, 1);
25245 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25246 PyObject
*resultobj
;
25247 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25248 PyObject
*arg2
= (PyObject
*) 0 ;
25249 PyObject
*arg3
= (PyObject
*) 0 ;
25251 PyObject
* obj0
= 0 ;
25252 PyObject
* obj1
= 0 ;
25253 PyObject
* obj2
= 0 ;
25254 PyObject
* obj3
= 0 ;
25255 char *kwnames
[] = {
25256 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25264 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25265 if (PyErr_Occurred()) SWIG_fail
;
25268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25269 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25271 wxPyEndAllowThreads(__tstate
);
25272 if (PyErr_Occurred()) SWIG_fail
;
25274 Py_INCREF(Py_None
); resultobj
= Py_None
;
25281 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25282 PyObject
*resultobj
;
25283 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25284 PyObject
* obj0
= 0 ;
25285 char *kwnames
[] = {
25286 (char *) "self", NULL
25289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25295 wxPyEndAllowThreads(__tstate
);
25296 if (PyErr_Occurred()) SWIG_fail
;
25298 Py_INCREF(Py_None
); resultobj
= Py_None
;
25305 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25306 PyObject
*resultobj
;
25307 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25308 wxDataObject
*arg2
= 0 ;
25309 PyObject
* obj0
= 0 ;
25310 PyObject
* obj1
= 0 ;
25311 char *kwnames
[] = {
25312 (char *) "self",(char *) "data", NULL
25315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25317 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25318 if (arg2
== NULL
) {
25319 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25323 (arg1
)->SetData(*arg2
);
25325 wxPyEndAllowThreads(__tstate
);
25326 if (PyErr_Occurred()) SWIG_fail
;
25328 Py_INCREF(Py_None
); resultobj
= Py_None
;
25335 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25336 PyObject
*resultobj
;
25337 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25338 wxDataObject
*result
;
25339 PyObject
* obj0
= 0 ;
25340 char *kwnames
[] = {
25341 (char *) "self", NULL
25344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25348 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25350 wxPyEndAllowThreads(__tstate
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25353 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
25360 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25361 PyObject
*resultobj
;
25362 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25364 wxCursor
*arg3
= 0 ;
25365 PyObject
* obj0
= 0 ;
25366 PyObject
* obj1
= 0 ;
25367 PyObject
* obj2
= 0 ;
25368 char *kwnames
[] = {
25369 (char *) "self",(char *) "res",(char *) "cursor", NULL
25372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25375 arg2
= (wxDragResult
) SWIG_PyObj_AsInt(obj1
);
25376 if (PyErr_Occurred()) SWIG_fail
;
25378 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25379 if (arg3
== NULL
) {
25380 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25384 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25386 wxPyEndAllowThreads(__tstate
);
25387 if (PyErr_Occurred()) SWIG_fail
;
25389 Py_INCREF(Py_None
); resultobj
= Py_None
;
25396 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25397 PyObject
*resultobj
;
25398 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25399 int arg2
= (int) wxDrag_CopyOnly
;
25401 PyObject
* obj0
= 0 ;
25402 PyObject
* obj1
= 0 ;
25403 char *kwnames
[] = {
25404 (char *) "self",(char *) "flags", NULL
25407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25411 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25417 result
= (int)(arg1
)->DoDragDrop(arg2
);
25419 wxPyEndAllowThreads(__tstate
);
25420 if (PyErr_Occurred()) SWIG_fail
;
25422 resultobj
= SWIG_PyObj_FromInt((int)result
);
25429 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25430 PyObject
*resultobj
;
25431 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25434 PyObject
* obj0
= 0 ;
25435 PyObject
* obj1
= 0 ;
25436 char *kwnames
[] = {
25437 (char *) "self",(char *) "effect", NULL
25440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25443 arg2
= (wxDragResult
) SWIG_PyObj_AsInt(obj1
);
25444 if (PyErr_Occurred()) SWIG_fail
;
25447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25448 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25450 wxPyEndAllowThreads(__tstate
);
25451 if (PyErr_Occurred()) SWIG_fail
;
25453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25460 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25463 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25465 return Py_BuildValue((char *)"");
25467 static PyObject
*_wrap_new_PyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25468 PyObject
*resultobj
;
25469 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25470 wxPyDropTarget
*result
;
25471 PyObject
* obj0
= 0 ;
25472 char *kwnames
[] = {
25473 (char *) "dataObject", NULL
25476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDropTarget",kwnames
,&obj0
)) goto fail
;
25478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25482 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25484 wxPyEndAllowThreads(__tstate
);
25485 if (PyErr_Occurred()) SWIG_fail
;
25487 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 1);
25494 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25495 PyObject
*resultobj
;
25496 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25497 PyObject
*arg2
= (PyObject
*) 0 ;
25498 PyObject
*arg3
= (PyObject
*) 0 ;
25499 PyObject
* obj0
= 0 ;
25500 PyObject
* obj1
= 0 ;
25501 PyObject
* obj2
= 0 ;
25502 char *kwnames
[] = {
25503 (char *) "self",(char *) "self",(char *) "_class", NULL
25506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25512 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25514 wxPyEndAllowThreads(__tstate
);
25515 if (PyErr_Occurred()) SWIG_fail
;
25517 Py_INCREF(Py_None
); resultobj
= Py_None
;
25524 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25525 PyObject
*resultobj
;
25526 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25527 PyObject
* obj0
= 0 ;
25528 char *kwnames
[] = {
25529 (char *) "self", NULL
25532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
25533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25538 wxPyEndAllowThreads(__tstate
);
25539 if (PyErr_Occurred()) SWIG_fail
;
25541 Py_INCREF(Py_None
); resultobj
= Py_None
;
25548 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25549 PyObject
*resultobj
;
25550 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25551 wxDataObject
*result
;
25552 PyObject
* obj0
= 0 ;
25553 char *kwnames
[] = {
25554 (char *) "self", NULL
25557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
25558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25566 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
25573 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25574 PyObject
*resultobj
;
25575 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25576 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
25577 PyObject
* obj0
= 0 ;
25578 PyObject
* obj1
= 0 ;
25579 char *kwnames
[] = {
25580 (char *) "self",(char *) "dataObject", NULL
25583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
25584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25585 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25588 (arg1
)->SetDataObject(arg2
);
25590 wxPyEndAllowThreads(__tstate
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25593 Py_INCREF(Py_None
); resultobj
= Py_None
;
25600 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25601 PyObject
*resultobj
;
25602 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25607 PyObject
* obj0
= 0 ;
25608 PyObject
* obj1
= 0 ;
25609 PyObject
* obj2
= 0 ;
25610 PyObject
* obj3
= 0 ;
25611 char *kwnames
[] = {
25612 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25618 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25619 if (PyErr_Occurred()) SWIG_fail
;
25622 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25623 if (PyErr_Occurred()) SWIG_fail
;
25626 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25631 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
25633 wxPyEndAllowThreads(__tstate
);
25634 if (PyErr_Occurred()) SWIG_fail
;
25636 resultobj
= SWIG_PyObj_FromInt((int)result
);
25643 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25644 PyObject
*resultobj
;
25645 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25650 PyObject
* obj0
= 0 ;
25651 PyObject
* obj1
= 0 ;
25652 PyObject
* obj2
= 0 ;
25653 PyObject
* obj3
= 0 ;
25654 char *kwnames
[] = {
25655 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25661 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25665 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25666 if (PyErr_Occurred()) SWIG_fail
;
25669 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25674 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
25676 wxPyEndAllowThreads(__tstate
);
25677 if (PyErr_Occurred()) SWIG_fail
;
25679 resultobj
= SWIG_PyObj_FromInt((int)result
);
25686 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25687 PyObject
*resultobj
;
25688 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25689 PyObject
* obj0
= 0 ;
25690 char *kwnames
[] = {
25691 (char *) "self", NULL
25694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
25695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25698 (arg1
)->base_OnLeave();
25700 wxPyEndAllowThreads(__tstate
);
25701 if (PyErr_Occurred()) SWIG_fail
;
25703 Py_INCREF(Py_None
); resultobj
= Py_None
;
25710 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25711 PyObject
*resultobj
;
25712 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25716 PyObject
* obj0
= 0 ;
25717 PyObject
* obj1
= 0 ;
25718 PyObject
* obj2
= 0 ;
25719 char *kwnames
[] = {
25720 (char *) "self",(char *) "x",(char *) "y", NULL
25723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25726 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25730 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25731 if (PyErr_Occurred()) SWIG_fail
;
25734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25735 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
25737 wxPyEndAllowThreads(__tstate
);
25738 if (PyErr_Occurred()) SWIG_fail
;
25740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25747 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25748 PyObject
*resultobj
;
25749 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25751 PyObject
* obj0
= 0 ;
25752 char *kwnames
[] = {
25753 (char *) "self", NULL
25756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
25757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25760 result
= (bool)(arg1
)->GetData();
25762 wxPyEndAllowThreads(__tstate
);
25763 if (PyErr_Occurred()) SWIG_fail
;
25765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25772 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
25774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25775 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
25777 return Py_BuildValue((char *)"");
25779 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25780 PyObject
*resultobj
;
25781 wxPyTextDropTarget
*result
;
25782 char *kwnames
[] = {
25786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
25788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25789 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
25791 wxPyEndAllowThreads(__tstate
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25794 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDropTarget
, 1);
25801 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25802 PyObject
*resultobj
;
25803 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25804 PyObject
*arg2
= (PyObject
*) 0 ;
25805 PyObject
*arg3
= (PyObject
*) 0 ;
25806 PyObject
* obj0
= 0 ;
25807 PyObject
* obj1
= 0 ;
25808 PyObject
* obj2
= 0 ;
25809 char *kwnames
[] = {
25810 (char *) "self",(char *) "self",(char *) "_class", NULL
25813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25819 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25821 wxPyEndAllowThreads(__tstate
);
25822 if (PyErr_Occurred()) SWIG_fail
;
25824 Py_INCREF(Py_None
); resultobj
= Py_None
;
25831 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25832 PyObject
*resultobj
;
25833 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25838 PyObject
* obj0
= 0 ;
25839 PyObject
* obj1
= 0 ;
25840 PyObject
* obj2
= 0 ;
25841 PyObject
* obj3
= 0 ;
25842 char *kwnames
[] = {
25843 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25849 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25850 if (PyErr_Occurred()) SWIG_fail
;
25853 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25854 if (PyErr_Occurred()) SWIG_fail
;
25857 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25862 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25867 resultobj
= SWIG_PyObj_FromInt((int)result
);
25874 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25875 PyObject
*resultobj
;
25876 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25881 PyObject
* obj0
= 0 ;
25882 PyObject
* obj1
= 0 ;
25883 PyObject
* obj2
= 0 ;
25884 PyObject
* obj3
= 0 ;
25885 char *kwnames
[] = {
25886 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25892 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25896 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25897 if (PyErr_Occurred()) SWIG_fail
;
25900 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25905 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
25907 wxPyEndAllowThreads(__tstate
);
25908 if (PyErr_Occurred()) SWIG_fail
;
25910 resultobj
= SWIG_PyObj_FromInt((int)result
);
25917 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25918 PyObject
*resultobj
;
25919 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25920 PyObject
* obj0
= 0 ;
25921 char *kwnames
[] = {
25922 (char *) "self", NULL
25925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
25926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25929 (arg1
)->base_OnLeave();
25931 wxPyEndAllowThreads(__tstate
);
25932 if (PyErr_Occurred()) SWIG_fail
;
25934 Py_INCREF(Py_None
); resultobj
= Py_None
;
25941 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25942 PyObject
*resultobj
;
25943 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25947 PyObject
* obj0
= 0 ;
25948 PyObject
* obj1
= 0 ;
25949 PyObject
* obj2
= 0 ;
25950 char *kwnames
[] = {
25951 (char *) "self",(char *) "x",(char *) "y", NULL
25954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25957 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25958 if (PyErr_Occurred()) SWIG_fail
;
25961 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25966 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25978 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25979 PyObject
*resultobj
;
25980 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25985 PyObject
* obj0
= 0 ;
25986 PyObject
* obj1
= 0 ;
25987 PyObject
* obj2
= 0 ;
25988 PyObject
* obj3
= 0 ;
25989 char *kwnames
[] = {
25990 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25996 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25997 if (PyErr_Occurred()) SWIG_fail
;
26000 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26001 if (PyErr_Occurred()) SWIG_fail
;
26004 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26009 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26014 resultobj
= SWIG_PyObj_FromInt((int)result
);
26021 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26024 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26026 return Py_BuildValue((char *)"");
26028 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26029 PyObject
*resultobj
;
26030 wxPyFileDropTarget
*result
;
26031 char *kwnames
[] = {
26035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26038 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26040 wxPyEndAllowThreads(__tstate
);
26041 if (PyErr_Occurred()) SWIG_fail
;
26043 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileDropTarget
, 1);
26050 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26051 PyObject
*resultobj
;
26052 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26053 PyObject
*arg2
= (PyObject
*) 0 ;
26054 PyObject
*arg3
= (PyObject
*) 0 ;
26055 PyObject
* obj0
= 0 ;
26056 PyObject
* obj1
= 0 ;
26057 PyObject
* obj2
= 0 ;
26058 char *kwnames
[] = {
26059 (char *) "self",(char *) "self",(char *) "_class", NULL
26062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26068 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26070 wxPyEndAllowThreads(__tstate
);
26071 if (PyErr_Occurred()) SWIG_fail
;
26073 Py_INCREF(Py_None
); resultobj
= Py_None
;
26080 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26081 PyObject
*resultobj
;
26082 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26087 PyObject
* obj0
= 0 ;
26088 PyObject
* obj1
= 0 ;
26089 PyObject
* obj2
= 0 ;
26090 PyObject
* obj3
= 0 ;
26091 char *kwnames
[] = {
26092 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26098 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26099 if (PyErr_Occurred()) SWIG_fail
;
26102 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26106 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26111 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26113 wxPyEndAllowThreads(__tstate
);
26114 if (PyErr_Occurred()) SWIG_fail
;
26116 resultobj
= SWIG_PyObj_FromInt((int)result
);
26123 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26124 PyObject
*resultobj
;
26125 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26130 PyObject
* obj0
= 0 ;
26131 PyObject
* obj1
= 0 ;
26132 PyObject
* obj2
= 0 ;
26133 PyObject
* obj3
= 0 ;
26134 char *kwnames
[] = {
26135 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26141 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26145 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26146 if (PyErr_Occurred()) SWIG_fail
;
26149 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
26150 if (PyErr_Occurred()) SWIG_fail
;
26153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26154 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26156 wxPyEndAllowThreads(__tstate
);
26157 if (PyErr_Occurred()) SWIG_fail
;
26159 resultobj
= SWIG_PyObj_FromInt((int)result
);
26166 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26167 PyObject
*resultobj
;
26168 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26169 PyObject
* obj0
= 0 ;
26170 char *kwnames
[] = {
26171 (char *) "self", NULL
26174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 (arg1
)->base_OnLeave();
26180 wxPyEndAllowThreads(__tstate
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26183 Py_INCREF(Py_None
); resultobj
= Py_None
;
26190 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26191 PyObject
*resultobj
;
26192 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26196 PyObject
* obj0
= 0 ;
26197 PyObject
* obj1
= 0 ;
26198 PyObject
* obj2
= 0 ;
26199 char *kwnames
[] = {
26200 (char *) "self",(char *) "x",(char *) "y", NULL
26203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26206 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26210 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26211 if (PyErr_Occurred()) SWIG_fail
;
26214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26215 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26217 wxPyEndAllowThreads(__tstate
);
26218 if (PyErr_Occurred()) SWIG_fail
;
26220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26227 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26228 PyObject
*resultobj
;
26229 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26234 PyObject
* obj0
= 0 ;
26235 PyObject
* obj1
= 0 ;
26236 PyObject
* obj2
= 0 ;
26237 PyObject
* obj3
= 0 ;
26238 char *kwnames
[] = {
26239 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26245 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26246 if (PyErr_Occurred()) SWIG_fail
;
26249 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26250 if (PyErr_Occurred()) SWIG_fail
;
26253 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
26254 if (PyErr_Occurred()) SWIG_fail
;
26257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26258 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26263 resultobj
= SWIG_PyObj_FromInt((int)result
);
26270 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26273 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26275 return Py_BuildValue((char *)"");
26277 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26278 PyObject
*resultobj
;
26279 wxClipboard
*result
;
26280 char *kwnames
[] = {
26284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 result
= (wxClipboard
*)new wxClipboard();
26289 wxPyEndAllowThreads(__tstate
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26292 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboard
, 1);
26299 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26300 PyObject
*resultobj
;
26301 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26302 PyObject
* obj0
= 0 ;
26303 char *kwnames
[] = {
26304 (char *) "self", NULL
26307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26313 wxPyEndAllowThreads(__tstate
);
26314 if (PyErr_Occurred()) SWIG_fail
;
26316 Py_INCREF(Py_None
); resultobj
= Py_None
;
26323 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26324 PyObject
*resultobj
;
26325 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26327 PyObject
* obj0
= 0 ;
26328 char *kwnames
[] = {
26329 (char *) "self", NULL
26332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26336 result
= (bool)(arg1
)->Open();
26338 wxPyEndAllowThreads(__tstate
);
26339 if (PyErr_Occurred()) SWIG_fail
;
26341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26348 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26349 PyObject
*resultobj
;
26350 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26351 PyObject
* obj0
= 0 ;
26352 char *kwnames
[] = {
26353 (char *) "self", NULL
26356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26362 wxPyEndAllowThreads(__tstate
);
26363 if (PyErr_Occurred()) SWIG_fail
;
26365 Py_INCREF(Py_None
); resultobj
= Py_None
;
26372 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26373 PyObject
*resultobj
;
26374 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26376 PyObject
* obj0
= 0 ;
26377 char *kwnames
[] = {
26378 (char *) "self", NULL
26381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26385 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26387 wxPyEndAllowThreads(__tstate
);
26388 if (PyErr_Occurred()) SWIG_fail
;
26390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26397 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26398 PyObject
*resultobj
;
26399 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26400 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26402 PyObject
* obj0
= 0 ;
26403 PyObject
* obj1
= 0 ;
26404 char *kwnames
[] = {
26405 (char *) "self",(char *) "data", NULL
26408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26410 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26413 result
= (bool)(arg1
)->AddData(arg2
);
26415 wxPyEndAllowThreads(__tstate
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26425 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26426 PyObject
*resultobj
;
26427 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26428 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26430 PyObject
* obj0
= 0 ;
26431 PyObject
* obj1
= 0 ;
26432 char *kwnames
[] = {
26433 (char *) "self",(char *) "data", NULL
26436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26438 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26441 result
= (bool)(arg1
)->SetData(arg2
);
26443 wxPyEndAllowThreads(__tstate
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26453 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26454 PyObject
*resultobj
;
26455 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26456 wxDataFormat
*arg2
= 0 ;
26458 PyObject
* obj0
= 0 ;
26459 PyObject
* obj1
= 0 ;
26460 char *kwnames
[] = {
26461 (char *) "self",(char *) "format", NULL
26464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26466 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26467 if (arg2
== NULL
) {
26468 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26472 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26474 wxPyEndAllowThreads(__tstate
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26484 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26485 PyObject
*resultobj
;
26486 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26487 wxDataObject
*arg2
= 0 ;
26489 PyObject
* obj0
= 0 ;
26490 PyObject
* obj1
= 0 ;
26491 char *kwnames
[] = {
26492 (char *) "self",(char *) "data", NULL
26495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26497 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26498 if (arg2
== NULL
) {
26499 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26503 result
= (bool)(arg1
)->GetData(*arg2
);
26505 wxPyEndAllowThreads(__tstate
);
26506 if (PyErr_Occurred()) SWIG_fail
;
26508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26515 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26516 PyObject
*resultobj
;
26517 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26518 PyObject
* obj0
= 0 ;
26519 char *kwnames
[] = {
26520 (char *) "self", NULL
26523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
26524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26529 wxPyEndAllowThreads(__tstate
);
26530 if (PyErr_Occurred()) SWIG_fail
;
26532 Py_INCREF(Py_None
); resultobj
= Py_None
;
26539 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26540 PyObject
*resultobj
;
26541 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26543 PyObject
* obj0
= 0 ;
26544 char *kwnames
[] = {
26545 (char *) "self", NULL
26548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
26549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26552 result
= (bool)(arg1
)->Flush();
26554 wxPyEndAllowThreads(__tstate
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26564 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26565 PyObject
*resultobj
;
26566 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26567 bool arg2
= (bool) False
;
26568 PyObject
* obj0
= 0 ;
26569 PyObject
* obj1
= 0 ;
26570 char *kwnames
[] = {
26571 (char *) "self",(char *) "primary", NULL
26574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26578 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26584 (arg1
)->UsePrimarySelection(arg2
);
26586 wxPyEndAllowThreads(__tstate
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26589 Py_INCREF(Py_None
); resultobj
= Py_None
;
26596 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
26598 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26599 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
26601 return Py_BuildValue((char *)"");
26603 static int _wrap_TheClipboard_set(PyObject
*) {
26604 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
26609 static PyObject
*_wrap_TheClipboard_get() {
26612 pyobj
= SWIG_NewPointerObj((void *) wxTheClipboard
, SWIGTYPE_p_wxClipboard
, 0);
26617 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26618 PyObject
*resultobj
;
26619 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
26620 wxClipboardLocker
*result
;
26621 PyObject
* obj0
= 0 ;
26622 char *kwnames
[] = {
26623 (char *) "clipboard", NULL
26626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26632 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
26634 wxPyEndAllowThreads(__tstate
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26637 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboardLocker
, 1);
26644 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26645 PyObject
*resultobj
;
26646 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26647 PyObject
* obj0
= 0 ;
26648 char *kwnames
[] = {
26649 (char *) "self", NULL
26652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26658 wxPyEndAllowThreads(__tstate
);
26659 if (PyErr_Occurred()) SWIG_fail
;
26661 Py_INCREF(Py_None
); resultobj
= Py_None
;
26668 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26669 PyObject
*resultobj
;
26670 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26672 PyObject
* obj0
= 0 ;
26673 char *kwnames
[] = {
26674 (char *) "self", NULL
26677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
26678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26681 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
26683 wxPyEndAllowThreads(__tstate
);
26684 if (PyErr_Occurred()) SWIG_fail
;
26686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26693 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
26695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26696 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
26698 return Py_BuildValue((char *)"");
26700 static PyMethodDef SwigMethods
[] = {
26701 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
26702 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26703 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
26704 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
26705 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
26706 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
26707 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
26708 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
26709 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
26710 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
26711 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
26712 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
26713 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
26714 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
26715 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
26716 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
26717 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
26718 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
26719 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26720 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
26721 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
26722 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
26723 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
26724 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
26725 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
26726 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
26727 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
26728 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
26729 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
26730 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
26731 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
26732 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
26733 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
26734 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
26735 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
26736 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
26737 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
26738 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
26739 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
26740 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
26741 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
26742 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
26743 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26744 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26745 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26746 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
26747 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26748 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26749 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
26750 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
26751 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
26752 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26753 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
26754 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
26755 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
26756 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
26757 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
26758 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
26759 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
26760 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
26761 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
26762 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
26763 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26764 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
26765 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
26766 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
26767 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
26768 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
26769 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
26770 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
26771 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
26772 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
26773 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
26774 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
26775 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
26776 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
26777 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
26778 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
26779 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
26780 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
26781 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
26782 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
26783 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
26784 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
26785 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26786 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
26787 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26788 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
26789 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
26790 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
26791 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
26792 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
26793 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
26794 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
26795 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
26796 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
26797 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
26798 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
26799 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
26800 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
26801 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26802 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26803 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
26804 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
26805 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
26806 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
26807 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
26808 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
26809 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
26810 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
26811 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
26812 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
26813 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
26814 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
26815 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
26816 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
26817 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
26818 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
26819 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
26820 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
26821 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
26822 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
26823 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
26824 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
26825 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
26826 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
26827 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
26828 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26829 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
26830 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
26831 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
26832 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
26833 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
26834 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
26835 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
26836 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
26837 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
26838 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
26839 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
26840 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
26841 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
26842 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
26843 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26844 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
26845 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
26846 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
26847 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
26848 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
26849 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26850 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
26851 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
26852 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
26853 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
26854 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
26855 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
26856 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26857 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
26858 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
26859 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
26860 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
26861 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
26862 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
26863 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
26864 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
26865 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
26866 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26867 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
26868 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
26869 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
26870 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
26871 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
26872 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
26873 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
26874 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
26875 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
26876 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
26877 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
26878 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26879 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26880 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26881 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
26882 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
26883 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
26884 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
26885 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26886 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26887 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
26888 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
26889 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
26890 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26891 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
26892 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
26893 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
26894 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26895 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
26896 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
26897 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
26898 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
26899 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
26900 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
26901 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
26902 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
26903 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
26904 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
26905 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
26906 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
26907 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
26908 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
26909 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
26910 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
26911 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
26912 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
26913 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
26914 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
26915 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
26916 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
26917 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
26918 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
26919 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
26920 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
26921 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
26922 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
26923 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
26924 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
26925 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
26926 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
26927 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
26928 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
26929 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
26930 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26931 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
26932 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
26933 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
26934 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
26935 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
26936 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26937 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
26938 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
26939 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
26940 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
26941 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
26942 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
26943 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
26944 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
26945 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
26946 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
26947 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
26948 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
26949 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
26950 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
26951 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
26952 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
26953 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
26954 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
26955 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
26956 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
26957 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
26958 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
26959 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
26960 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26961 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
26962 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
26963 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
26964 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
26965 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
26966 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
26967 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
26968 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
26969 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
26970 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26971 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
26972 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
26973 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
26974 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
26975 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
26976 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
26977 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
26978 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
26979 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
26980 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
26981 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
26982 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
26983 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
26984 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
26985 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
26986 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
26987 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
26988 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
26989 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
26990 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
26991 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
26992 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
26993 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
26994 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
26995 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
26996 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
26997 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
26998 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
26999 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
27000 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
27001 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
27002 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
27003 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
27004 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
27005 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
27006 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
27007 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
27008 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
27009 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
27010 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
27011 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
27012 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
27013 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
27014 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27015 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
27016 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
27017 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
27018 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
27019 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
27020 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
27021 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
27022 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27023 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
27024 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
27025 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
27026 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
27027 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
27028 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
27029 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
27030 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
27031 { (char *)"new_Sound", _wrap_new_Sound
, METH_VARARGS
},
27032 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
27033 { (char *)"Sound_Create", _wrap_Sound_Create
, METH_VARARGS
},
27034 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
27035 { (char *)"Sound_Play", _wrap_Sound_Play
, METH_VARARGS
},
27036 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound
, METH_VARARGS
},
27037 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
27038 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
27039 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
27040 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
27041 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
27042 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
27043 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
27044 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
27045 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
27046 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
27047 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
27048 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
27049 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
27050 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
27051 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
27052 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
27053 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
27054 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
27055 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
27056 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
27057 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
27058 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
27059 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
27060 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
27061 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
27062 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
27063 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
27064 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
27065 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
27066 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
27067 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
27068 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
27069 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
27070 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
27071 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
27072 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
27073 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
27074 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
27075 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
27076 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
27077 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
27078 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
27079 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
27080 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
27081 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
27082 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
27083 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
27084 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
27085 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
27086 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27087 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
27088 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
27089 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
27090 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27091 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
27092 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27093 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
27094 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
27095 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
27096 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
27097 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
27098 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
27099 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
27100 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
27101 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
27102 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
27103 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
27104 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
27105 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
27106 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
27107 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
27108 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
27109 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
27110 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
27111 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
27112 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
27113 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
27114 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
27115 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
27116 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
27117 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
27118 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
27119 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
27120 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
27121 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
27122 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
27123 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
27124 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
27125 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27126 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27127 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
27128 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
27129 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27130 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
27131 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
27132 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
27133 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
27134 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27135 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27136 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
27137 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
27138 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
27139 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
27140 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
27141 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
27142 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
27143 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
27144 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
27145 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
27146 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
27147 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27148 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
27149 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
27150 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
27151 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
27152 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
27153 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
27154 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
27155 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
27156 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
27157 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
27158 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
27159 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
27160 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
27161 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
27162 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
27163 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
27164 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
27165 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
27166 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
27167 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
27168 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
27169 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
27170 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
27171 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
27172 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
27173 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
27174 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
27175 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
27176 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
27177 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
27178 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
27179 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
27180 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
27181 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
27182 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
27183 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
27184 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
27185 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
27186 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
27187 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
27188 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27189 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27190 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27191 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27192 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27193 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27194 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27195 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
27196 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
27197 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
27198 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
27199 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
27200 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
27201 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
27202 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
27203 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
27204 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
27205 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
27206 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
27207 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
27208 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
27209 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
27210 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
27211 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
27212 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
27213 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
27214 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
27215 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
27216 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27217 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
27218 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
27219 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
27220 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
27221 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
27222 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
27223 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
27224 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
27225 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
27226 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
27227 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
27228 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
27229 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
27230 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
27231 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
27232 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
27233 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
27234 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
27235 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
27236 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
27237 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
27238 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
27239 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
27240 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
27241 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
27242 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
27243 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
27244 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
27245 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
27246 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
27247 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
27248 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
27249 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
27250 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
27251 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
27252 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
27253 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
27254 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
27255 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
27256 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
27257 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
27258 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
27259 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
27260 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
27261 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
27262 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
27263 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
27264 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
27265 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
27266 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
27267 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
27268 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
27269 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
27270 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
27271 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
27272 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
27273 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
27274 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
27275 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
27276 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
27277 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
27278 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
27279 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
27280 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
27281 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
27282 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
27283 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
27284 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
27285 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
27286 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
27287 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
27288 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
27289 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
27290 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
27291 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
27292 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
27293 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
27294 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
27295 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
27296 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
27297 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
27298 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
27299 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
27300 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
27301 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
27302 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
27303 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
27304 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
27305 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
27306 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
27307 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
27308 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
27309 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
27310 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
27311 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
27312 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
27313 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
27314 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
27315 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
27316 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
27317 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
27318 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
27319 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
27320 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
27321 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
27322 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
27323 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
27324 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
27325 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
27326 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
27327 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
27328 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
27329 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
27330 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
27331 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
27332 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
27333 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
27334 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
27335 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
27336 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
27337 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
27338 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
27339 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
27340 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
27341 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
27342 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
27343 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
27344 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
27345 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
27346 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
27347 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
27348 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
27349 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27350 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
27351 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
27352 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
27353 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
27354 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
27355 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
27356 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
27357 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
27358 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
27359 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27360 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
27361 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
27362 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
27363 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
27364 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
27365 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
27366 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27367 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
27368 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
27369 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
27370 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
27371 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27372 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
27373 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
27374 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
27375 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
27376 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27377 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27378 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
27379 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27380 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27381 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27382 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
27383 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27384 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27385 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
27386 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27387 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
27388 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
27389 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
27390 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27391 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
27392 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27393 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
27394 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27395 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
27396 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27397 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
27398 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
27399 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
27400 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27401 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
27402 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
27403 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
27404 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
27405 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
27406 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27407 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
27408 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27409 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27410 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
27411 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
27412 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
27413 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
27414 { (char *)"new_PyDropTarget", (PyCFunction
) _wrap_new_PyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27415 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27416 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27417 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27418 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27419 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27420 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27421 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27422 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27423 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27424 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
27425 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27426 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27427 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27428 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27429 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27430 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27431 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
27432 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
27433 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27434 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27435 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27436 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27437 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27438 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27439 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
27440 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
27441 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
27442 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
27443 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
27444 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
27445 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
27446 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
27447 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27448 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
27449 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27450 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
27451 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
27452 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
27453 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
27454 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
27455 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
27456 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
27457 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
27462 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27464 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
27465 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27467 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
27468 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
27470 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
27471 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
27473 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
27474 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
27476 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
27477 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
27479 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
27480 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
27482 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
27483 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
27485 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
27486 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
27488 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
27489 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
27491 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
27492 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
27494 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
27495 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27497 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
27498 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
27500 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
27501 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
27503 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
27504 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27506 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
27507 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27509 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
27510 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
27512 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
27513 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
27515 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
27516 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
27518 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
27519 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
27521 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
27522 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
27524 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
27525 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
27527 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
27528 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
27530 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
27531 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27533 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
27534 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27536 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
27537 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27539 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
27540 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27542 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
27543 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27545 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
27546 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
27548 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
27549 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
27551 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
27552 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27554 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
27555 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
27557 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
27558 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
27560 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
27561 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
27563 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
27564 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27566 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
27567 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27569 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
27570 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27572 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
27573 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
27575 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
27576 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
27578 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
27579 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
27581 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
27582 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
27584 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
27585 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27587 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
27588 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27590 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
27591 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
27593 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
27594 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
27596 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
27597 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
27599 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
27600 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
27602 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
27603 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27605 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
27606 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
27608 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
27609 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27611 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
27612 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
27614 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
27615 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
27617 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
27618 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
27620 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
27621 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
27623 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
27624 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
27626 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
27627 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
27629 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
27630 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
27632 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
27633 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27635 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
27636 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
27638 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
27639 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27641 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
27642 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
27644 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
27645 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
27647 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
27648 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
27650 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27651 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27653 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27654 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27656 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27657 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27659 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27660 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27662 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
27663 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
27665 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27666 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27668 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27669 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27671 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27672 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27674 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27675 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27677 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
27678 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
27680 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
27681 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
27683 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27684 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27686 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27687 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27689 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27690 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27692 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27693 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27695 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27696 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27698 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27699 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27701 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27702 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27704 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27705 return (void *)((wxObject
*) ((wxSizer
*) x
));
27707 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27708 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27710 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
27711 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
27713 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27714 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27716 static void *_p_wxEventTo_p_wxObject(void *x
) {
27717 return (void *)((wxObject
*) ((wxEvent
*) x
));
27719 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27720 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27722 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27723 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27725 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27726 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27728 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27729 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27731 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27732 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27734 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27735 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27737 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27738 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27740 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27741 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27743 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27744 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27746 static void *_p_wxControlTo_p_wxObject(void *x
) {
27747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
27749 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
27750 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
27752 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
27753 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
27755 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
27756 return (void *)((wxObject
*) ((wxFSFile
*) x
));
27758 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
27759 return (void *)((wxObject
*) ((wxClipboard
*) x
));
27761 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
27762 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
27764 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
27765 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
27767 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
27768 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27770 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27771 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27773 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
27774 return (void *)((wxObject
*) ((wxToolTip
*) x
));
27776 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27777 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27779 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27780 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27782 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27783 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27785 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27786 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27788 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27789 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27791 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27792 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27794 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27795 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27797 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27798 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27800 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27801 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27803 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27804 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27806 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27807 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27809 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27810 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
27812 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
27813 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
27815 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
27816 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
27818 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
27819 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
27821 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
27822 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
27824 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
27825 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
27827 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
27828 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
27830 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
27831 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
27833 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
27834 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
27836 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
27837 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
27839 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
27840 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
27842 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
27843 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
27845 static void *_p_wxImageTo_p_wxObject(void *x
) {
27846 return (void *)((wxObject
*) ((wxImage
*) x
));
27848 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
27849 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
27851 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
27852 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
27854 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
27855 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
27857 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
27858 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27860 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
27861 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27863 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
27864 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
27866 static void *_p_wxWindowTo_p_wxObject(void *x
) {
27867 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
27869 static void *_p_wxMenuTo_p_wxObject(void *x
) {
27870 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
27872 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
27873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
27875 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
27876 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
27878 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
27879 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
27881 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
27882 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27884 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
27885 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
27887 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
27888 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
27890 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
27891 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
27893 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
27894 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
27896 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
27897 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
27899 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
27900 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
27902 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
27903 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27905 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
27906 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
27908 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
27909 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
27911 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
27912 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
27914 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
27915 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27917 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
27918 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
27920 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
27921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27923 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
27924 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
27926 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
27927 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
27929 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
27930 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
27932 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
27933 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
27935 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
27936 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
27938 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
27939 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
27941 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
27942 return (void *)((wxLog
*) ((wxLogChain
*) x
));
27944 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
27945 return (void *)((wxLog
*) ((wxLogGui
*) x
));
27947 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
27948 return (void *)((wxLog
*) ((wxPyLog
*) x
));
27950 static void *_p_wxControlTo_p_wxWindow(void *x
) {
27951 return (void *)((wxWindow
*) ((wxControl
*) x
));
27953 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
27954 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
27956 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
27957 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
27959 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
27960 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
27962 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
27963 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
27965 static swig_type_info _swigt__p_wxLogChain
[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
27966 static swig_type_info _swigt__p_wxMutexGuiLocker
[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
27967 static swig_type_info _swigt__p_wxMetafile
[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0},{"_p_wxMetafile"},{0}};
27968 static swig_type_info _swigt__p_wxFileHistory
[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
27969 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}};
27970 static swig_type_info _swigt__p_wxDateTime__TimeZone
[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
27971 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
27972 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}};
27973 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}};
27974 static swig_type_info _swigt__p_wxFileType
[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
27975 static swig_type_info _swigt__p_wxLogGui
[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
27976 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27977 static swig_type_info _swigt__p_wxDataFormat
[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
27978 static swig_type_info _swigt__p_wxTimerEvent
[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
27979 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
27980 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27981 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27982 static swig_type_info _swigt__p_wxClipboard
[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
27983 static swig_type_info _swigt__p_wxStopWatch
[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
27984 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27985 static swig_type_info _swigt__p_wxClipboardLocker
[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
27986 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27987 static swig_type_info _swigt__p_wxLogStderr
[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
27988 static swig_type_info _swigt__p_wxLogTextCtrl
[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
27989 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27990 static swig_type_info _swigt__p_wxBusyCursor
[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
27991 static swig_type_info _swigt__p_wxPyTextDataObject
[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
27992 static swig_type_info _swigt__p_wxBitmapDataObject
[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject
},{0}};
27993 static swig_type_info _swigt__p_wxTextDataObject
[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject
},{0}};
27994 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}};
27995 static swig_type_info _swigt__p_wxPyBitmapDataObject
[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
27996 static swig_type_info _swigt__p_wxFileDataObject
[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
27997 static swig_type_info _swigt__p_wxCustomDataObject
[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
27998 static swig_type_info _swigt__p_wxURLDataObject
[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
27999 static swig_type_info _swigt__p_wxMetafileDataObject
[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
28000 static swig_type_info _swigt__p_wxSound
[] = {{"_p_wxSound", 0, "wxSound *", 0},{"_p_wxSound"},{0}};
28001 static swig_type_info _swigt__p_wxTimerRunner
[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
28002 static swig_type_info _swigt__p_wxLogWindow
[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
28003 static swig_type_info _swigt__p_wxTimeSpan
[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
28004 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28005 static swig_type_info _swigt__p_wxWindowDisabler
[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
28006 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
28007 static swig_type_info _swigt__p_wxDataObjectComposite
[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite
},{0}};
28008 static swig_type_info _swigt__p_wxFileConfig
[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
28009 static swig_type_info _swigt__p_wxSystemSettings
[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
28010 static swig_type_info _swigt__p_wxPyDataObjectSimple
[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
28011 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}};
28012 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}};
28013 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28014 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
28015 static swig_type_info _swigt__p_wxSingleInstanceChecker
[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
28016 static swig_type_info _swigt__p_wxFileTypeInfo
[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
28017 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
28018 static swig_type_info _swigt__p_wxTimer
[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
28019 static swig_type_info _swigt__p_wxMimeTypesManager
[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
28020 static swig_type_info _swigt__p_wxPyArtProvider
[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
28021 static swig_type_info _swigt__p_wxPyTipProvider
[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
28022 static swig_type_info _swigt__p_wxTipProvider
[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider
},{0}};
28023 static swig_type_info _swigt__p_wxJoystick
[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
28024 static swig_type_info _swigt__p_wxSystemOptions
[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
28025 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28026 static swig_type_info _swigt__p_wxJoystickEvent
[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
28027 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
28028 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}};
28029 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
28030 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
28031 static swig_type_info _swigt__p_wxPyDropSource
[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
28032 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}};
28033 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28034 static swig_type_info _swigt__p_wxPyProcess
[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
28035 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28036 static swig_type_info _swigt__p_wxConfig
[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
28037 static swig_type_info _swigt__p_wxChar
[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
28038 static swig_type_info _swigt__p_wxBusyInfo
[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
28039 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}};
28040 static swig_type_info _swigt__p_wxPyTextDropTarget
[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
28041 static swig_type_info _swigt__p_wxPyFileDropTarget
[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
28042 static swig_type_info _swigt__p_wxProcessEvent
[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
28043 static swig_type_info _swigt__p_wxPyLog
[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
28044 static swig_type_info _swigt__p_wxLogNull
[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
28045 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28046 static swig_type_info _swigt__p_wxByte
[] = {{"_p_wxByte", 0, "wxByte *", 0},{"_p_wxByte"},{0}};
28047 static swig_type_info _swigt__p_wxConfigPathChanger
[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
28048 static swig_type_info _swigt__p_wxPyTimer
[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
28049 static swig_type_info _swigt__p_wxDateSpan
[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
28051 static swig_type_info
*swig_types_initial
[] = {
28052 _swigt__p_wxLogChain
,
28053 _swigt__p_wxMutexGuiLocker
,
28054 _swigt__p_wxMetafile
,
28055 _swigt__p_wxFileHistory
,
28057 _swigt__p_wxDateTime__TimeZone
,
28060 _swigt__p_wxConfigBase
,
28061 _swigt__p_wxFileType
,
28062 _swigt__p_wxLogGui
,
28064 _swigt__p_wxDataFormat
,
28065 _swigt__p_wxTimerEvent
,
28069 _swigt__p_wxClipboard
,
28070 _swigt__p_wxStopWatch
,
28072 _swigt__p_wxClipboardLocker
,
28074 _swigt__p_wxLogStderr
,
28075 _swigt__p_wxLogTextCtrl
,
28076 _swigt__p_wxTextCtrl
,
28077 _swigt__p_wxBusyCursor
,
28078 _swigt__p_wxPyTextDataObject
,
28079 _swigt__p_wxBitmapDataObject
,
28080 _swigt__p_wxTextDataObject
,
28081 _swigt__p_wxDataObject
,
28082 _swigt__p_wxPyBitmapDataObject
,
28083 _swigt__p_wxFileDataObject
,
28084 _swigt__p_wxCustomDataObject
,
28085 _swigt__p_wxURLDataObject
,
28086 _swigt__p_wxMetafileDataObject
,
28088 _swigt__p_wxTimerRunner
,
28089 _swigt__p_wxLogWindow
,
28090 _swigt__p_wxTimeSpan
,
28091 _swigt__p_wxArrayString
,
28092 _swigt__p_wxWindowDisabler
,
28093 _swigt__p_wxToolTip
,
28094 _swigt__p_wxDataObjectComposite
,
28095 _swigt__p_wxFileConfig
,
28096 _swigt__p_wxSystemSettings
,
28097 _swigt__p_wxPyDataObjectSimple
,
28098 _swigt__p_wxDataObjectSimple
,
28099 _swigt__p_wxEvtHandler
,
28102 _swigt__p_wxSingleInstanceChecker
,
28103 _swigt__p_wxFileTypeInfo
,
28106 _swigt__p_wxMimeTypesManager
,
28107 _swigt__p_wxPyArtProvider
,
28108 _swigt__p_wxPyTipProvider
,
28109 _swigt__p_wxTipProvider
,
28110 _swigt__p_wxJoystick
,
28111 _swigt__p_wxSystemOptions
,
28113 _swigt__p_wxJoystickEvent
,
28114 _swigt__p_wxCursor
,
28115 _swigt__p_wxObject
,
28116 _swigt__p_wxOutputStream
,
28117 _swigt__p_wxDateTime
,
28118 _swigt__p_wxPyDropSource
,
28119 _swigt__p_wxWindow
,
28120 _swigt__p_wxString
,
28121 _swigt__p_wxPyProcess
,
28122 _swigt__p_wxBitmap
,
28123 _swigt__p_wxConfig
,
28125 _swigt__p_wxBusyInfo
,
28126 _swigt__p_wxPyDropTarget
,
28127 _swigt__p_wxPyTextDropTarget
,
28128 _swigt__p_wxPyFileDropTarget
,
28129 _swigt__p_wxProcessEvent
,
28131 _swigt__p_wxLogNull
,
28132 _swigt__p_wxColour
,
28134 _swigt__p_wxConfigPathChanger
,
28135 _swigt__p_wxPyTimer
,
28136 _swigt__p_wxDateSpan
,
28141 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28143 static swig_const_info swig_const_table
[] = {
28144 { SWIG_PY_STRING
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
28145 { SWIG_PY_STRING
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
28146 { SWIG_PY_STRING
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
28147 { SWIG_PY_STRING
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
28148 { SWIG_PY_STRING
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
28158 SWIGEXPORT(void) SWIG_init(void) {
28159 static PyObject
*SWIG_globals
= 0;
28160 static int typeinit
= 0;
28163 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
28164 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
28165 d
= PyModule_GetDict(m
);
28168 for (i
= 0; swig_types_initial
[i
]; i
++) {
28169 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
28173 SWIG_InstallConstants(d
,swig_const_table
);
28175 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_OEM_FIXED_FONT
));
28176 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
28177 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_VAR_FONT
));
28178 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FONT
));
28179 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
28180 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_PALETTE
));
28181 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
28182 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
28183 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_PyObj_FromInt((int)wxSYS_ICONTITLE_FONT
));
28184 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
28185 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
28186 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_DESKTOP
));
28187 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
28188 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
28189 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENU
));
28190 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOW
));
28191 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
28192 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
28193 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
28194 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
28195 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
28196 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
28197 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
28198 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
28199 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
28200 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNFACE
));
28201 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DFACE
));
28202 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
28203 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
28204 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
28205 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
28206 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
28207 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
28208 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
28209 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
28210 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
28211 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
28212 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
28213 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
28214 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOBK
));
28215 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_LISTBOX
));
28216 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
28217 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
28218 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
28219 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
28220 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUBAR
));
28221 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MAX
));
28222 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_MOUSE_BUTTONS
));
28223 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_PyObj_FromInt((int)wxSYS_BORDER_X
));
28224 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_PyObj_FromInt((int)wxSYS_BORDER_Y
));
28225 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_X
));
28226 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_Y
));
28227 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_X
));
28228 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_Y
));
28229 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_PyObj_FromInt((int)wxSYS_DRAG_X
));
28230 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_PyObj_FromInt((int)wxSYS_DRAG_Y
));
28231 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_PyObj_FromInt((int)wxSYS_EDGE_X
));
28232 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_PyObj_FromInt((int)wxSYS_EDGE_Y
));
28233 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
28234 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
28235 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_PyObj_FromInt((int)wxSYS_HTHUMB_X
));
28236 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_PyObj_FromInt((int)wxSYS_ICON_X
));
28237 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_PyObj_FromInt((int)wxSYS_ICON_Y
));
28238 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_X
));
28239 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_Y
));
28240 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_X
));
28241 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_Y
));
28242 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_X
));
28243 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_Y
));
28244 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_X
));
28245 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_Y
));
28246 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_X
));
28247 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_Y
));
28248 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_Y
));
28249 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_X
));
28250 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
28251 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
28252 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_PyObj_FromInt((int)wxSYS_VTHUMB_Y
));
28253 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_PyObj_FromInt((int)wxSYS_CAPTION_Y
));
28254 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_PyObj_FromInt((int)wxSYS_MENU_Y
));
28255 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_NETWORK_PRESENT
));
28256 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
28257 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_PyObj_FromInt((int)wxSYS_SHOW_SOUNDS
));
28258 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_SWAP_BUTTONS
));
28259 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_PyObj_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
28260 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_PyObj_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
28261 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_NONE
));
28262 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_TINY
));
28263 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_PDA
));
28264 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_SMALL
));
28265 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_DESKTOP
));
28266 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
28267 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
28268 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
28269 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
28270 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_PyObj_FromInt((int)wxSHUTDOWN_POWEROFF
));
28271 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_PyObj_FromInt((int)wxSHUTDOWN_REBOOT
));
28272 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_PyObj_FromInt((int)wxTIMER_CONTINUOUS
));
28273 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_PyObj_FromInt((int)wxTIMER_ONE_SHOT
));
28274 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
28275 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_PyObj_FromInt((int)wxLOG_FatalError
));
28276 PyDict_SetItemString(d
,"LOG_Error", SWIG_PyObj_FromInt((int)wxLOG_Error
));
28277 PyDict_SetItemString(d
,"LOG_Warning", SWIG_PyObj_FromInt((int)wxLOG_Warning
));
28278 PyDict_SetItemString(d
,"LOG_Message", SWIG_PyObj_FromInt((int)wxLOG_Message
));
28279 PyDict_SetItemString(d
,"LOG_Status", SWIG_PyObj_FromInt((int)wxLOG_Status
));
28280 PyDict_SetItemString(d
,"LOG_Info", SWIG_PyObj_FromInt((int)wxLOG_Info
));
28281 PyDict_SetItemString(d
,"LOG_Debug", SWIG_PyObj_FromInt((int)wxLOG_Debug
));
28282 PyDict_SetItemString(d
,"LOG_Trace", SWIG_PyObj_FromInt((int)wxLOG_Trace
));
28283 PyDict_SetItemString(d
,"LOG_Progress", SWIG_PyObj_FromInt((int)wxLOG_Progress
));
28284 PyDict_SetItemString(d
,"LOG_User", SWIG_PyObj_FromInt((int)wxLOG_User
));
28285 PyDict_SetItemString(d
,"LOG_Max", SWIG_PyObj_FromInt((int)wxLOG_Max
));
28286 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_PyObj_FromInt((int)0x0001));
28287 PyDict_SetItemString(d
,"TraceMessages", SWIG_PyObj_FromInt((int)0x0002));
28288 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_PyObj_FromInt((int)0x0004));
28289 PyDict_SetItemString(d
,"TraceRefCount", SWIG_PyObj_FromInt((int)0x0008));
28290 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_PyObj_FromInt((int)0x0100));
28291 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_PyObj_FromInt((int)wxPROCESS_DEFAULT
));
28292 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_PyObj_FromInt((int)wxPROCESS_REDIRECT
));
28293 PyDict_SetItemString(d
,"KILL_OK", SWIG_PyObj_FromInt((int)wxKILL_OK
));
28294 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_PyObj_FromInt((int)wxKILL_BAD_SIGNAL
));
28295 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_PyObj_FromInt((int)wxKILL_ACCESS_DENIED
));
28296 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_PyObj_FromInt((int)wxKILL_NO_PROCESS
));
28297 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_PyObj_FromInt((int)wxKILL_ERROR
));
28298 PyDict_SetItemString(d
,"SIGNONE", SWIG_PyObj_FromInt((int)wxSIGNONE
));
28299 PyDict_SetItemString(d
,"SIGHUP", SWIG_PyObj_FromInt((int)wxSIGHUP
));
28300 PyDict_SetItemString(d
,"SIGINT", SWIG_PyObj_FromInt((int)wxSIGINT
));
28301 PyDict_SetItemString(d
,"SIGQUIT", SWIG_PyObj_FromInt((int)wxSIGQUIT
));
28302 PyDict_SetItemString(d
,"SIGILL", SWIG_PyObj_FromInt((int)wxSIGILL
));
28303 PyDict_SetItemString(d
,"SIGTRAP", SWIG_PyObj_FromInt((int)wxSIGTRAP
));
28304 PyDict_SetItemString(d
,"SIGABRT", SWIG_PyObj_FromInt((int)wxSIGABRT
));
28305 PyDict_SetItemString(d
,"SIGIOT", SWIG_PyObj_FromInt((int)wxSIGIOT
));
28306 PyDict_SetItemString(d
,"SIGEMT", SWIG_PyObj_FromInt((int)wxSIGEMT
));
28307 PyDict_SetItemString(d
,"SIGFPE", SWIG_PyObj_FromInt((int)wxSIGFPE
));
28308 PyDict_SetItemString(d
,"SIGKILL", SWIG_PyObj_FromInt((int)wxSIGKILL
));
28309 PyDict_SetItemString(d
,"SIGBUS", SWIG_PyObj_FromInt((int)wxSIGBUS
));
28310 PyDict_SetItemString(d
,"SIGSEGV", SWIG_PyObj_FromInt((int)wxSIGSEGV
));
28311 PyDict_SetItemString(d
,"SIGSYS", SWIG_PyObj_FromInt((int)wxSIGSYS
));
28312 PyDict_SetItemString(d
,"SIGPIPE", SWIG_PyObj_FromInt((int)wxSIGPIPE
));
28313 PyDict_SetItemString(d
,"SIGALRM", SWIG_PyObj_FromInt((int)wxSIGALRM
));
28314 PyDict_SetItemString(d
,"SIGTERM", SWIG_PyObj_FromInt((int)wxSIGTERM
));
28315 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
28316 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_PyObj_FromInt((int)wxEXEC_ASYNC
));
28317 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_PyObj_FromInt((int)wxEXEC_SYNC
));
28318 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_PyObj_FromInt((int)wxEXEC_NOHIDE
));
28319 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_PyObj_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
28321 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
28323 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_PyObj_FromInt((int)wxJOYSTICK1
));
28324 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_PyObj_FromInt((int)wxJOYSTICK2
));
28325 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_PyObj_FromInt((int)wxJOY_BUTTON_ANY
));
28326 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_PyObj_FromInt((int)wxJOY_BUTTON1
));
28327 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_PyObj_FromInt((int)wxJOY_BUTTON2
));
28328 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_PyObj_FromInt((int)wxJOY_BUTTON3
));
28329 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_PyObj_FromInt((int)wxJOY_BUTTON4
));
28330 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
28331 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
28332 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
28333 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
28334 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_PyObj_FromInt((int)wxSOUND_SYNC
));
28335 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_PyObj_FromInt((int)wxSOUND_ASYNC
));
28336 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_PyObj_FromInt((int)wxSOUND_LOOP
));
28337 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_PyObj_FromInt((int)wxMAILCAP_STANDARD
));
28338 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_PyObj_FromInt((int)wxMAILCAP_NETSCAPE
));
28339 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_PyObj_FromInt((int)wxMAILCAP_KDE
));
28340 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_PyObj_FromInt((int)wxMAILCAP_GNOME
));
28341 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_PyObj_FromInt((int)wxMAILCAP_ALL
));
28342 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
28343 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
28344 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
28345 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
28346 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
28347 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
28348 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
28349 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
28350 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
28351 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
28352 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
28353 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
28354 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
28355 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
28356 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
28357 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
28358 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
28359 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
28360 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
28361 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
28362 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
28363 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
28364 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
28365 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
28366 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
28367 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
28368 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
28369 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
28370 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
28371 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
28372 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
28373 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
28374 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
28375 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
28376 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
28377 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
28378 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
28379 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
28380 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
28382 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
28384 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
28385 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
28386 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_PyObj_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
28387 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_PyObj_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
28388 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Unknown
));
28389 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_PyObj_FromInt((int)wxConfigBase::Type_String
));
28390 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Boolean
));
28391 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Integer
));
28392 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Float
));
28393 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
28394 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
28395 PyDict_SetItemString(d
,"DateTime_Local", SWIG_PyObj_FromInt((int)wxDateTime::Local
));
28396 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_PyObj_FromInt((int)wxDateTime::GMT_12
));
28397 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_PyObj_FromInt((int)wxDateTime::GMT_11
));
28398 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_PyObj_FromInt((int)wxDateTime::GMT_10
));
28399 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_PyObj_FromInt((int)wxDateTime::GMT_9
));
28400 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_PyObj_FromInt((int)wxDateTime::GMT_8
));
28401 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_PyObj_FromInt((int)wxDateTime::GMT_7
));
28402 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_PyObj_FromInt((int)wxDateTime::GMT_6
));
28403 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_PyObj_FromInt((int)wxDateTime::GMT_5
));
28404 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_PyObj_FromInt((int)wxDateTime::GMT_4
));
28405 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_PyObj_FromInt((int)wxDateTime::GMT_3
));
28406 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_PyObj_FromInt((int)wxDateTime::GMT_2
));
28407 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_PyObj_FromInt((int)wxDateTime::GMT_1
));
28408 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_PyObj_FromInt((int)wxDateTime::GMT0
));
28409 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_PyObj_FromInt((int)wxDateTime::GMT1
));
28410 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_PyObj_FromInt((int)wxDateTime::GMT2
));
28411 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_PyObj_FromInt((int)wxDateTime::GMT3
));
28412 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_PyObj_FromInt((int)wxDateTime::GMT4
));
28413 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_PyObj_FromInt((int)wxDateTime::GMT5
));
28414 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_PyObj_FromInt((int)wxDateTime::GMT6
));
28415 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_PyObj_FromInt((int)wxDateTime::GMT7
));
28416 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_PyObj_FromInt((int)wxDateTime::GMT8
));
28417 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_PyObj_FromInt((int)wxDateTime::GMT9
));
28418 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_PyObj_FromInt((int)wxDateTime::GMT10
));
28419 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_PyObj_FromInt((int)wxDateTime::GMT11
));
28420 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_PyObj_FromInt((int)wxDateTime::GMT12
));
28421 PyDict_SetItemString(d
,"DateTime_WET", SWIG_PyObj_FromInt((int)wxDateTime::WET
));
28422 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_PyObj_FromInt((int)wxDateTime::WEST
));
28423 PyDict_SetItemString(d
,"DateTime_CET", SWIG_PyObj_FromInt((int)wxDateTime::CET
));
28424 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_PyObj_FromInt((int)wxDateTime::CEST
));
28425 PyDict_SetItemString(d
,"DateTime_EET", SWIG_PyObj_FromInt((int)wxDateTime::EET
));
28426 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_PyObj_FromInt((int)wxDateTime::EEST
));
28427 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_PyObj_FromInt((int)wxDateTime::MSK
));
28428 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_PyObj_FromInt((int)wxDateTime::MSD
));
28429 PyDict_SetItemString(d
,"DateTime_AST", SWIG_PyObj_FromInt((int)wxDateTime::AST
));
28430 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_PyObj_FromInt((int)wxDateTime::ADT
));
28431 PyDict_SetItemString(d
,"DateTime_EST", SWIG_PyObj_FromInt((int)wxDateTime::EST
));
28432 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_PyObj_FromInt((int)wxDateTime::EDT
));
28433 PyDict_SetItemString(d
,"DateTime_CST", SWIG_PyObj_FromInt((int)wxDateTime::CST
));
28434 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_PyObj_FromInt((int)wxDateTime::CDT
));
28435 PyDict_SetItemString(d
,"DateTime_MST", SWIG_PyObj_FromInt((int)wxDateTime::MST
));
28436 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_PyObj_FromInt((int)wxDateTime::MDT
));
28437 PyDict_SetItemString(d
,"DateTime_PST", SWIG_PyObj_FromInt((int)wxDateTime::PST
));
28438 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_PyObj_FromInt((int)wxDateTime::PDT
));
28439 PyDict_SetItemString(d
,"DateTime_HST", SWIG_PyObj_FromInt((int)wxDateTime::HST
));
28440 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_PyObj_FromInt((int)wxDateTime::AKST
));
28441 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_PyObj_FromInt((int)wxDateTime::AKDT
));
28442 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_PyObj_FromInt((int)wxDateTime::A_WST
));
28443 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_PyObj_FromInt((int)wxDateTime::A_CST
));
28444 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_PyObj_FromInt((int)wxDateTime::A_EST
));
28445 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_PyObj_FromInt((int)wxDateTime::A_ESST
));
28446 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_PyObj_FromInt((int)wxDateTime::UTC
));
28447 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_PyObj_FromInt((int)wxDateTime::Gregorian
));
28448 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_PyObj_FromInt((int)wxDateTime::Julian
));
28449 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Unknown
));
28450 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Standard
));
28451 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Alaska
));
28452 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Albania
));
28453 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria
));
28454 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
28455 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
28456 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
28457 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
28458 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Styria
));
28459 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Belgium
));
28460 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria
));
28461 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
28462 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
28463 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
28464 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Canada
));
28465 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China
));
28466 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_1
));
28467 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_2
));
28468 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
28469 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Denmark
));
28470 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Egypt
));
28471 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Estonia
));
28472 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Finland
));
28473 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France
));
28474 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Alsace
));
28475 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Lorraine
));
28476 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
28477 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany
));
28478 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
28479 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
28480 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
28481 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_GreatBritain
));
28482 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Greece
));
28483 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Hungary
));
28484 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Ireland
));
28485 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Italy
));
28486 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan
));
28487 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_1
));
28488 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_2
));
28489 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_3
));
28490 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Latvia
));
28491 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Lithuania
));
28492 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Luxemburg
));
28493 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands
));
28494 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
28495 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
28496 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
28497 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
28498 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Norway
));
28499 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Poland
));
28500 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Portugal
));
28501 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Romania
));
28502 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Russia
));
28503 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Scotland
));
28504 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Spain
));
28505 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Sweden
));
28506 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland
));
28507 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
28508 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
28509 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Turkey
));
28510 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_PyObj_FromInt((int)wxDateTime::Gr_USA
));
28511 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Wales
));
28512 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Yugoslavia
));
28513 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Country_Unknown
));
28514 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_PyObj_FromInt((int)wxDateTime::Country_Default
));
28515 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
28516 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_PyObj_FromInt((int)wxDateTime::Country_EEC
));
28517 PyDict_SetItemString(d
,"DateTime_France", SWIG_PyObj_FromInt((int)wxDateTime::France
));
28518 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Germany
));
28519 PyDict_SetItemString(d
,"DateTime_UK", SWIG_PyObj_FromInt((int)wxDateTime::UK
));
28520 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_End
));
28521 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Russia
));
28522 PyDict_SetItemString(d
,"DateTime_USA", SWIG_PyObj_FromInt((int)wxDateTime::USA
));
28523 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_PyObj_FromInt((int)wxDateTime::Jan
));
28524 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_PyObj_FromInt((int)wxDateTime::Feb
));
28525 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_PyObj_FromInt((int)wxDateTime::Mar
));
28526 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_PyObj_FromInt((int)wxDateTime::Apr
));
28527 PyDict_SetItemString(d
,"DateTime_May", SWIG_PyObj_FromInt((int)wxDateTime::May
));
28528 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_PyObj_FromInt((int)wxDateTime::Jun
));
28529 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_PyObj_FromInt((int)wxDateTime::Jul
));
28530 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_PyObj_FromInt((int)wxDateTime::Aug
));
28531 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_PyObj_FromInt((int)wxDateTime::Sep
));
28532 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_PyObj_FromInt((int)wxDateTime::Oct
));
28533 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_PyObj_FromInt((int)wxDateTime::Nov
));
28534 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_PyObj_FromInt((int)wxDateTime::Dec
));
28535 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Month
));
28536 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_PyObj_FromInt((int)wxDateTime::Sun
));
28537 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_PyObj_FromInt((int)wxDateTime::Mon
));
28538 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_PyObj_FromInt((int)wxDateTime::Tue
));
28539 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_PyObj_FromInt((int)wxDateTime::Wed
));
28540 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_PyObj_FromInt((int)wxDateTime::Thu
));
28541 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_PyObj_FromInt((int)wxDateTime::Fri
));
28542 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_PyObj_FromInt((int)wxDateTime::Sat
));
28543 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_PyObj_FromInt((int)wxDateTime::Inv_WeekDay
));
28544 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Year
));
28545 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_PyObj_FromInt((int)wxDateTime::Name_Full
));
28546 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_PyObj_FromInt((int)wxDateTime::Name_Abbr
));
28547 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_PyObj_FromInt((int)wxDateTime::Default_First
));
28548 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_PyObj_FromInt((int)wxDateTime::Monday_First
));
28549 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_PyObj_FromInt((int)wxDateTime::Sunday_First
));
28550 PyDict_SetItemString(d
,"DF_INVALID", SWIG_PyObj_FromInt((int)wxDF_INVALID
));
28551 PyDict_SetItemString(d
,"DF_TEXT", SWIG_PyObj_FromInt((int)wxDF_TEXT
));
28552 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_PyObj_FromInt((int)wxDF_BITMAP
));
28553 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_PyObj_FromInt((int)wxDF_METAFILE
));
28554 PyDict_SetItemString(d
,"DF_SYLK", SWIG_PyObj_FromInt((int)wxDF_SYLK
));
28555 PyDict_SetItemString(d
,"DF_DIF", SWIG_PyObj_FromInt((int)wxDF_DIF
));
28556 PyDict_SetItemString(d
,"DF_TIFF", SWIG_PyObj_FromInt((int)wxDF_TIFF
));
28557 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_PyObj_FromInt((int)wxDF_OEMTEXT
));
28558 PyDict_SetItemString(d
,"DF_DIB", SWIG_PyObj_FromInt((int)wxDF_DIB
));
28559 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_PyObj_FromInt((int)wxDF_PALETTE
));
28560 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_PyObj_FromInt((int)wxDF_PENDATA
));
28561 PyDict_SetItemString(d
,"DF_RIFF", SWIG_PyObj_FromInt((int)wxDF_RIFF
));
28562 PyDict_SetItemString(d
,"DF_WAVE", SWIG_PyObj_FromInt((int)wxDF_WAVE
));
28563 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_PyObj_FromInt((int)wxDF_UNICODETEXT
));
28564 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_PyObj_FromInt((int)wxDF_ENHMETAFILE
));
28565 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_PyObj_FromInt((int)wxDF_FILENAME
));
28566 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_PyObj_FromInt((int)wxDF_LOCALE
));
28567 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_PyObj_FromInt((int)wxDF_PRIVATE
));
28568 PyDict_SetItemString(d
,"DF_HTML", SWIG_PyObj_FromInt((int)wxDF_HTML
));
28569 PyDict_SetItemString(d
,"DF_MAX", SWIG_PyObj_FromInt((int)wxDF_MAX
));
28570 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
28571 PyDict_SetItemString(d
,"DataObject_Get", SWIG_PyObj_FromInt((int)wxDataObject::Get
));
28572 PyDict_SetItemString(d
,"DataObject_Set", SWIG_PyObj_FromInt((int)wxDataObject::Set
));
28573 PyDict_SetItemString(d
,"DataObject_Both", SWIG_PyObj_FromInt((int)wxDataObject::Both
));
28574 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_PyObj_FromInt((int)wxDrag_CopyOnly
));
28575 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_PyObj_FromInt((int)wxDrag_AllowMove
));
28576 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_PyObj_FromInt((int)wxDrag_DefaultMove
));
28577 PyDict_SetItemString(d
,"DragError", SWIG_PyObj_FromInt((int)wxDragError
));
28578 PyDict_SetItemString(d
,"DragNone", SWIG_PyObj_FromInt((int)wxDragNone
));
28579 PyDict_SetItemString(d
,"DragCopy", SWIG_PyObj_FromInt((int)wxDragCopy
));
28580 PyDict_SetItemString(d
,"DragMove", SWIG_PyObj_FromInt((int)wxDragMove
));
28581 PyDict_SetItemString(d
,"DragLink", SWIG_PyObj_FromInt((int)wxDragLink
));
28582 PyDict_SetItemString(d
,"DragCancel", SWIG_PyObj_FromInt((int)wxDragCancel
));
28584 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
28585 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
28586 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
28587 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
28589 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);