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 PyObject
* obj0
= 0 ;
11669 char *kwnames
[] = {
11670 (char *) "sArray", NULL
11673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11675 if (! PySequence_Check(obj0
)) {
11676 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11679 arg1
= new wxArrayString
;
11680 int i
, len
=PySequence_Length(obj0
);
11681 for (i
=0; i
<len
; i
++) {
11682 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11684 PyObject
* str
= PyObject_Unicode(item
);
11686 PyObject
* str
= PyObject_Str(item
);
11688 arg1
->Add(Py2wxString(str
));
11694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11700 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
11702 if (arg1
) delete arg1
;
11707 if (arg1
) delete arg1
;
11713 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11714 PyObject
*resultobj
;
11715 wxFileTypeInfo
*result
;
11716 char *kwnames
[] = {
11720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11723 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11728 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
11735 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11736 PyObject
*resultobj
;
11737 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11739 PyObject
* obj0
= 0 ;
11740 char *kwnames
[] = {
11741 (char *) "self", NULL
11744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11748 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11750 wxPyEndAllowThreads(__tstate
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11760 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11761 PyObject
*resultobj
;
11762 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11763 wxString
*arg2
= 0 ;
11764 int arg3
= (int) 0 ;
11765 bool temp2
= False
;
11766 PyObject
* obj0
= 0 ;
11767 PyObject
* obj1
= 0 ;
11768 PyObject
* obj2
= 0 ;
11769 char *kwnames
[] = {
11770 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11776 arg2
= wxString_in_helper(obj1
);
11777 if (arg2
== NULL
) SWIG_fail
;
11782 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11788 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
11790 wxPyEndAllowThreads(__tstate
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11793 Py_INCREF(Py_None
); resultobj
= Py_None
;
11808 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11809 PyObject
*resultobj
;
11810 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11811 wxString
*arg2
= 0 ;
11812 bool temp2
= False
;
11813 PyObject
* obj0
= 0 ;
11814 PyObject
* obj1
= 0 ;
11815 char *kwnames
[] = {
11816 (char *) "self",(char *) "shortDesc", NULL
11819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
11820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11822 arg2
= wxString_in_helper(obj1
);
11823 if (arg2
== NULL
) SWIG_fail
;
11827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11828 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
11830 wxPyEndAllowThreads(__tstate
);
11831 if (PyErr_Occurred()) SWIG_fail
;
11833 Py_INCREF(Py_None
); resultobj
= Py_None
;
11848 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
;
11850 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11852 PyObject
* obj0
= 0 ;
11853 char *kwnames
[] = {
11854 (char *) "self", NULL
11857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
11858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
11863 result
= (wxString
*) &_result_ref
;
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11871 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11873 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11882 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11883 PyObject
*resultobj
;
11884 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11886 PyObject
* obj0
= 0 ;
11887 char *kwnames
[] = {
11888 (char *) "self", NULL
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
11892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
11897 result
= (wxString
*) &_result_ref
;
11900 wxPyEndAllowThreads(__tstate
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11907 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11916 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11917 PyObject
*resultobj
;
11918 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11920 PyObject
* obj0
= 0 ;
11921 char *kwnames
[] = {
11922 (char *) "self", NULL
11925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
11926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11930 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
11931 result
= (wxString
*) &_result_ref
;
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11939 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11941 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11950 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11951 PyObject
*resultobj
;
11952 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11954 PyObject
* obj0
= 0 ;
11955 char *kwnames
[] = {
11956 (char *) "self", NULL
11959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
11960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11964 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
11965 result
= (wxString
*) &_result_ref
;
11968 wxPyEndAllowThreads(__tstate
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11973 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11975 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11984 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11985 PyObject
*resultobj
;
11986 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11988 PyObject
* obj0
= 0 ;
11989 char *kwnames
[] = {
11990 (char *) "self", NULL
11993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
11994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11998 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
11999 result
= (wxString
*) &_result_ref
;
12002 wxPyEndAllowThreads(__tstate
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12007 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12009 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12018 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12019 PyObject
*resultobj
;
12020 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12021 wxArrayString
*result
;
12022 PyObject
* obj0
= 0 ;
12023 char *kwnames
[] = {
12024 (char *) "self", NULL
12027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12032 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12033 result
= (wxArrayString
*) &_result_ref
;
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= wxArrayString2PyList_helper(*result
);
12048 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12049 PyObject
*resultobj
;
12050 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12052 PyObject
* obj0
= 0 ;
12053 char *kwnames
[] = {
12054 (char *) "self", NULL
12057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12063 wxPyEndAllowThreads(__tstate
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12066 resultobj
= SWIG_PyObj_FromInt((int)result
);
12073 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12074 PyObject
*resultobj
;
12075 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12077 PyObject
* obj0
= 0 ;
12078 char *kwnames
[] = {
12079 (char *) "self", NULL
12082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12088 result
= (wxString
*) &_result_ref
;
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12096 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12098 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12107 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12108 PyObject
*resultobj
;
12109 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12111 PyObject
* obj0
= 0 ;
12112 char *kwnames
[] = {
12113 (char *) "self", NULL
12116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12125 resultobj
= SWIG_PyObj_FromInt((int)result
);
12132 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12135 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12137 return Py_BuildValue((char *)"");
12139 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12140 PyObject
*resultobj
;
12141 wxFileTypeInfo
*arg1
= 0 ;
12142 wxFileType
*result
;
12143 PyObject
* obj0
= 0 ;
12144 char *kwnames
[] = {
12145 (char *) "ftInfo", NULL
12148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12150 if (arg1
== NULL
) {
12151 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12157 wxPyEndAllowThreads(__tstate
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12160 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12167 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12168 PyObject
*resultobj
;
12169 wxFileType
*arg1
= (wxFileType
*) 0 ;
12170 PyObject
* obj0
= 0 ;
12171 char *kwnames
[] = {
12172 (char *) "self", NULL
12175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12184 Py_INCREF(Py_None
); resultobj
= Py_None
;
12191 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxFileType
*arg1
= (wxFileType
*) 0 ;
12195 PyObject
* obj0
= 0 ;
12196 char *kwnames
[] = {
12197 (char *) "self", NULL
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12209 resultobj
= result
;
12216 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12217 PyObject
*resultobj
;
12218 wxFileType
*arg1
= (wxFileType
*) 0 ;
12220 PyObject
* obj0
= 0 ;
12221 char *kwnames
[] = {
12222 (char *) "self", NULL
12225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 resultobj
= result
;
12241 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
;
12243 wxFileType
*arg1
= (wxFileType
*) 0 ;
12245 PyObject
* obj0
= 0 ;
12246 char *kwnames
[] = {
12247 (char *) "self", NULL
12250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12254 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12256 wxPyEndAllowThreads(__tstate
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12259 resultobj
= result
;
12266 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12267 PyObject
*resultobj
;
12268 wxFileType
*arg1
= (wxFileType
*) 0 ;
12270 PyObject
* obj0
= 0 ;
12271 char *kwnames
[] = {
12272 (char *) "self", NULL
12275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12279 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12281 wxPyEndAllowThreads(__tstate
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
12291 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12292 PyObject
*resultobj
;
12293 wxFileType
*arg1
= (wxFileType
*) 0 ;
12295 PyObject
* obj0
= 0 ;
12296 char *kwnames
[] = {
12297 (char *) "self", NULL
12300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12304 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12309 resultobj
= result
;
12316 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12317 PyObject
*resultobj
;
12318 wxFileType
*arg1
= (wxFileType
*) 0 ;
12320 PyObject
* obj0
= 0 ;
12321 char *kwnames
[] = {
12322 (char *) "self", NULL
12325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12334 resultobj
= result
;
12341 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12342 PyObject
*resultobj
;
12343 wxFileType
*arg1
= (wxFileType
*) 0 ;
12344 wxString
*arg2
= 0 ;
12345 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12346 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12348 bool temp2
= False
;
12349 bool temp3
= False
;
12350 PyObject
* obj0
= 0 ;
12351 PyObject
* obj1
= 0 ;
12352 PyObject
* obj2
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12360 arg2
= wxString_in_helper(obj1
);
12361 if (arg2
== NULL
) SWIG_fail
;
12366 arg3
= wxString_in_helper(obj2
);
12367 if (arg3
== NULL
) SWIG_fail
;
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 resultobj
= result
;
12401 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
*resultobj
;
12403 wxFileType
*arg1
= (wxFileType
*) 0 ;
12404 wxString
*arg2
= 0 ;
12405 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12406 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12408 bool temp2
= False
;
12409 bool temp3
= False
;
12410 PyObject
* obj0
= 0 ;
12411 PyObject
* obj1
= 0 ;
12412 PyObject
* obj2
= 0 ;
12413 char *kwnames
[] = {
12414 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12420 arg2
= wxString_in_helper(obj1
);
12421 if (arg2
== NULL
) SWIG_fail
;
12426 arg3
= wxString_in_helper(obj2
);
12427 if (arg3
== NULL
) SWIG_fail
;
12432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12433 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12435 wxPyEndAllowThreads(__tstate
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12438 resultobj
= result
;
12461 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12462 PyObject
*resultobj
;
12463 wxFileType
*arg1
= (wxFileType
*) 0 ;
12464 wxString
*arg2
= 0 ;
12465 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12466 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12468 bool temp2
= False
;
12469 bool temp3
= False
;
12470 PyObject
* obj0
= 0 ;
12471 PyObject
* obj1
= 0 ;
12472 PyObject
* obj2
= 0 ;
12473 char *kwnames
[] = {
12474 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12480 arg2
= wxString_in_helper(obj1
);
12481 if (arg2
== NULL
) SWIG_fail
;
12486 arg3
= wxString_in_helper(obj2
);
12487 if (arg3
== NULL
) SWIG_fail
;
12492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12493 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12498 resultobj
= result
;
12521 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
;
12523 wxFileType
*arg1
= (wxFileType
*) 0 ;
12524 wxString
*arg2
= 0 ;
12525 wxString
*arg3
= 0 ;
12526 bool arg4
= (bool) True
;
12528 bool temp2
= False
;
12529 bool temp3
= False
;
12530 PyObject
* obj0
= 0 ;
12531 PyObject
* obj1
= 0 ;
12532 PyObject
* obj2
= 0 ;
12533 PyObject
* obj3
= 0 ;
12534 char *kwnames
[] = {
12535 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12541 arg2
= wxString_in_helper(obj1
);
12542 if (arg2
== NULL
) SWIG_fail
;
12546 arg3
= wxString_in_helper(obj2
);
12547 if (arg3
== NULL
) SWIG_fail
;
12552 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12586 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12587 PyObject
*resultobj
;
12588 wxFileType
*arg1
= (wxFileType
*) 0 ;
12589 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12590 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12591 int arg3
= (int) 0 ;
12593 bool temp2
= False
;
12594 PyObject
* obj0
= 0 ;
12595 PyObject
* obj1
= 0 ;
12596 PyObject
* obj2
= 0 ;
12597 char *kwnames
[] = {
12598 (char *) "self",(char *) "cmd",(char *) "index", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12605 arg2
= wxString_in_helper(obj1
);
12606 if (arg2
== NULL
) SWIG_fail
;
12612 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12638 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12639 PyObject
*resultobj
;
12640 wxFileType
*arg1
= (wxFileType
*) 0 ;
12642 PyObject
* obj0
= 0 ;
12643 char *kwnames
[] = {
12644 (char *) "self", NULL
12647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 result
= (bool)(arg1
)->Unassociate();
12653 wxPyEndAllowThreads(__tstate
);
12654 if (PyErr_Occurred()) SWIG_fail
;
12656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12663 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12664 PyObject
*resultobj
;
12665 wxString
*arg1
= 0 ;
12666 wxString
*arg2
= 0 ;
12667 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12668 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12670 bool temp1
= False
;
12671 bool temp2
= False
;
12672 bool temp3
= False
;
12673 PyObject
* obj0
= 0 ;
12674 PyObject
* obj1
= 0 ;
12675 PyObject
* obj2
= 0 ;
12676 char *kwnames
[] = {
12677 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12682 arg1
= wxString_in_helper(obj0
);
12683 if (arg1
== NULL
) SWIG_fail
;
12687 arg2
= wxString_in_helper(obj1
);
12688 if (arg2
== NULL
) SWIG_fail
;
12693 arg3
= wxString_in_helper(obj2
);
12694 if (arg3
== NULL
) SWIG_fail
;
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12742 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
12744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12745 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
12747 return Py_BuildValue((char *)"");
12749 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
12750 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
12755 static PyObject
*_wrap_TheMimeTypesManager_get() {
12758 pyobj
= SWIG_NewPointerObj((void *) wxTheMimeTypesManager
, SWIGTYPE_p_wxMimeTypesManager
, 0);
12763 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
;
12765 wxString
*arg1
= 0 ;
12766 wxString
*arg2
= 0 ;
12768 bool temp1
= False
;
12769 bool temp2
= False
;
12770 PyObject
* obj0
= 0 ;
12771 PyObject
* obj1
= 0 ;
12772 char *kwnames
[] = {
12773 (char *) "mimeType",(char *) "wildcard", NULL
12776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
12778 arg1
= wxString_in_helper(obj0
);
12779 if (arg1
== NULL
) SWIG_fail
;
12783 arg2
= wxString_in_helper(obj1
);
12784 if (arg2
== NULL
) SWIG_fail
;
12788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12789 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12817 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12818 PyObject
*resultobj
;
12819 wxMimeTypesManager
*result
;
12820 char *kwnames
[] = {
12824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
12829 wxPyEndAllowThreads(__tstate
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMimeTypesManager
, 1);
12839 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12840 PyObject
*resultobj
;
12841 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12842 int arg2
= (int) wxMAILCAP_ALL
;
12843 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12844 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12845 bool temp3
= False
;
12846 PyObject
* obj0
= 0 ;
12847 PyObject
* obj1
= 0 ;
12848 PyObject
* obj2
= 0 ;
12849 char *kwnames
[] = {
12850 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
12853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12857 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12863 arg3
= wxString_in_helper(obj2
);
12864 if (arg3
== NULL
) SWIG_fail
;
12869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
12872 wxPyEndAllowThreads(__tstate
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12875 Py_INCREF(Py_None
); resultobj
= Py_None
;
12890 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12891 PyObject
*resultobj
;
12892 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12893 PyObject
* obj0
= 0 ;
12894 char *kwnames
[] = {
12895 (char *) "self", NULL
12898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
12899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12902 (arg1
)->ClearData();
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12907 Py_INCREF(Py_None
); resultobj
= Py_None
;
12914 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
;
12916 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12917 wxString
*arg2
= 0 ;
12918 wxFileType
*result
;
12919 bool temp2
= False
;
12920 PyObject
* obj0
= 0 ;
12921 PyObject
* obj1
= 0 ;
12922 char *kwnames
[] = {
12923 (char *) "self",(char *) "ext", NULL
12926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
12927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12929 arg2
= wxString_in_helper(obj1
);
12930 if (arg2
== NULL
) SWIG_fail
;
12934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12935 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
12937 wxPyEndAllowThreads(__tstate
);
12938 if (PyErr_Occurred()) SWIG_fail
;
12940 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12955 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12956 PyObject
*resultobj
;
12957 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12958 wxString
*arg2
= 0 ;
12959 wxFileType
*result
;
12960 bool temp2
= False
;
12961 PyObject
* obj0
= 0 ;
12962 PyObject
* obj1
= 0 ;
12963 char *kwnames
[] = {
12964 (char *) "self",(char *) "mimeType", NULL
12967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
12968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12970 arg2
= wxString_in_helper(obj1
);
12971 if (arg2
== NULL
) SWIG_fail
;
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12981 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12996 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12997 PyObject
*resultobj
;
12998 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12999 wxString
*arg2
= 0 ;
13000 bool arg3
= (bool) False
;
13002 bool temp2
= False
;
13003 PyObject
* obj0
= 0 ;
13004 PyObject
* obj1
= 0 ;
13005 PyObject
* obj2
= 0 ;
13006 char *kwnames
[] = {
13007 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13013 arg2
= wxString_in_helper(obj1
);
13014 if (arg2
== NULL
) SWIG_fail
;
13019 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13045 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13046 PyObject
*resultobj
;
13047 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13048 wxString
*arg2
= 0 ;
13050 bool temp2
= False
;
13051 PyObject
* obj0
= 0 ;
13052 PyObject
* obj1
= 0 ;
13053 char *kwnames
[] = {
13054 (char *) "self",(char *) "filename", NULL
13057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13060 arg2
= wxString_in_helper(obj1
);
13061 if (arg2
== NULL
) SWIG_fail
;
13065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13066 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13068 wxPyEndAllowThreads(__tstate
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13086 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
;
13088 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13090 PyObject
* obj0
= 0 ;
13091 char *kwnames
[] = {
13092 (char *) "self", NULL
13095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 resultobj
= result
;
13111 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
;
13113 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13114 wxFileTypeInfo
*arg2
= 0 ;
13115 PyObject
* obj0
= 0 ;
13116 PyObject
* obj1
= 0 ;
13117 char *kwnames
[] = {
13118 (char *) "self",(char *) "ft", NULL
13121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13123 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13124 if (arg2
== NULL
) {
13125 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 Py_INCREF(Py_None
); resultobj
= Py_None
;
13141 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13144 wxFileTypeInfo
*arg2
= 0 ;
13145 wxFileType
*result
;
13146 PyObject
* obj0
= 0 ;
13147 PyObject
* obj1
= 0 ;
13148 char *kwnames
[] = {
13149 (char *) "self",(char *) "ftInfo", NULL
13152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13154 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13155 if (arg2
== NULL
) {
13156 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13160 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13165 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
13172 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13173 PyObject
*resultobj
;
13174 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13175 wxFileType
*arg2
= (wxFileType
*) 0 ;
13177 PyObject
* obj0
= 0 ;
13178 PyObject
* obj1
= 0 ;
13179 char *kwnames
[] = {
13180 (char *) "self",(char *) "ft", NULL
13183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13185 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13188 result
= (bool)(arg1
)->Unassociate(arg2
);
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13200 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
;
13202 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13203 PyObject
* obj0
= 0 ;
13204 char *kwnames
[] = {
13205 (char *) "self", NULL
13208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 Py_INCREF(Py_None
); resultobj
= Py_None
;
13224 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13227 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13229 return Py_BuildValue((char *)"");
13231 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
13232 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13237 static PyObject
*_wrap_ART_TOOLBAR_get() {
13242 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13244 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13251 static int _wrap_ART_MENU_set(PyObject
*) {
13252 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13257 static PyObject
*_wrap_ART_MENU_get() {
13262 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13264 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13271 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
13272 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13277 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13282 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13284 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13291 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
13292 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13297 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13302 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13304 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13311 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
13312 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13317 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13322 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13324 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13331 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
13332 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13337 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13342 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13344 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13351 static int _wrap_ART_OTHER_set(PyObject
*) {
13352 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13357 static PyObject
*_wrap_ART_OTHER_get() {
13362 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13364 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13371 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
13372 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13377 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13382 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13384 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13391 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
13392 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13397 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13402 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13404 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13411 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
13412 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13417 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13422 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13424 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13431 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
13432 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13437 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13442 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13444 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13451 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
13452 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13457 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13462 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13464 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13471 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
13472 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13477 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13482 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13484 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13491 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
13492 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13497 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13502 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13504 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13511 static int _wrap_ART_GO_BACK_set(PyObject
*) {
13512 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13517 static PyObject
*_wrap_ART_GO_BACK_get() {
13522 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13524 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13531 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
13532 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13537 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13542 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13544 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13551 static int _wrap_ART_GO_UP_set(PyObject
*) {
13552 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13557 static PyObject
*_wrap_ART_GO_UP_get() {
13562 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13564 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13571 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
13572 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13577 static PyObject
*_wrap_ART_GO_DOWN_get() {
13582 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13584 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13591 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
13592 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13597 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13602 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13604 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13611 static int _wrap_ART_GO_HOME_set(PyObject
*) {
13612 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13617 static PyObject
*_wrap_ART_GO_HOME_get() {
13622 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13624 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13631 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
13632 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13637 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13642 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13644 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13651 static int _wrap_ART_PRINT_set(PyObject
*) {
13652 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13657 static PyObject
*_wrap_ART_PRINT_get() {
13662 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13664 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13671 static int _wrap_ART_HELP_set(PyObject
*) {
13672 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13677 static PyObject
*_wrap_ART_HELP_get() {
13682 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13684 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13691 static int _wrap_ART_TIP_set(PyObject
*) {
13692 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13697 static PyObject
*_wrap_ART_TIP_get() {
13702 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13704 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13711 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
13712 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
13717 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
13722 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13724 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13731 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
13732 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
13737 static PyObject
*_wrap_ART_LIST_VIEW_get() {
13742 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13744 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13751 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
13752 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
13757 static PyObject
*_wrap_ART_NEW_DIR_get() {
13762 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13764 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13771 static int _wrap_ART_FOLDER_set(PyObject
*) {
13772 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
13777 static PyObject
*_wrap_ART_FOLDER_get() {
13782 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13784 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13791 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
13792 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
13797 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
13802 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13804 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13811 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
13812 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
13817 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
13822 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
13824 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
13831 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
13832 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
13837 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
13842 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
13844 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
13851 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
13852 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
13857 static PyObject
*_wrap_ART_TICK_MARK_get() {
13862 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
13864 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
13871 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
13872 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
13877 static PyObject
*_wrap_ART_CROSS_MARK_get() {
13882 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
13884 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
13891 static int _wrap_ART_ERROR_set(PyObject
*) {
13892 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
13897 static PyObject
*_wrap_ART_ERROR_get() {
13902 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
13904 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
13911 static int _wrap_ART_QUESTION_set(PyObject
*) {
13912 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
13917 static PyObject
*_wrap_ART_QUESTION_get() {
13922 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
13924 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
13931 static int _wrap_ART_WARNING_set(PyObject
*) {
13932 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
13937 static PyObject
*_wrap_ART_WARNING_get() {
13942 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
13944 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
13951 static int _wrap_ART_INFORMATION_set(PyObject
*) {
13952 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
13957 static PyObject
*_wrap_ART_INFORMATION_get() {
13962 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
13964 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
13971 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
13972 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
13977 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
13982 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
13984 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
13991 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13992 PyObject
*resultobj
;
13993 wxPyArtProvider
*result
;
13994 char *kwnames
[] = {
13998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14003 wxPyEndAllowThreads(__tstate
);
14004 if (PyErr_Occurred()) SWIG_fail
;
14006 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyArtProvider
, 1);
14013 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14014 PyObject
*resultobj
;
14015 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14016 PyObject
*arg2
= (PyObject
*) 0 ;
14017 PyObject
*arg3
= (PyObject
*) 0 ;
14018 PyObject
* obj0
= 0 ;
14019 PyObject
* obj1
= 0 ;
14020 PyObject
* obj2
= 0 ;
14021 char *kwnames
[] = {
14022 (char *) "self",(char *) "self",(char *) "_class", NULL
14025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14031 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14036 Py_INCREF(Py_None
); resultobj
= Py_None
;
14043 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14044 PyObject
*resultobj
;
14045 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14046 PyObject
* obj0
= 0 ;
14047 char *kwnames
[] = {
14048 (char *) "provider", NULL
14051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 wxPyArtProvider::PushProvider(arg1
);
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14060 Py_INCREF(Py_None
); resultobj
= Py_None
;
14067 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14068 PyObject
*resultobj
;
14070 char *kwnames
[] = {
14074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 result
= (bool)wxPyArtProvider::PopProvider();
14079 wxPyEndAllowThreads(__tstate
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14089 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14090 PyObject
*resultobj
;
14091 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14093 PyObject
* obj0
= 0 ;
14094 char *kwnames
[] = {
14095 (char *) "provider", NULL
14098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14102 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14104 wxPyEndAllowThreads(__tstate
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14114 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14115 PyObject
*resultobj
;
14116 wxString
*arg1
= 0 ;
14117 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14118 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14119 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14120 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14122 bool temp1
= False
;
14123 bool temp2
= False
;
14125 PyObject
* obj0
= 0 ;
14126 PyObject
* obj1
= 0 ;
14127 PyObject
* obj2
= 0 ;
14128 char *kwnames
[] = {
14129 (char *) "id",(char *) "client",(char *) "size", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14134 arg1
= wxString_in_helper(obj0
);
14135 if (arg1
== NULL
) SWIG_fail
;
14140 arg2
= wxString_in_helper(obj1
);
14141 if (arg2
== NULL
) SWIG_fail
;
14148 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14153 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14155 wxPyEndAllowThreads(__tstate
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14159 wxBitmap
* resultptr
;
14160 resultptr
= new wxBitmap((wxBitmap
&) result
);
14161 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
14185 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14186 PyObject
*resultobj
;
14187 wxString
*arg1
= 0 ;
14188 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14189 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14190 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14191 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14193 bool temp1
= False
;
14194 bool temp2
= False
;
14196 PyObject
* obj0
= 0 ;
14197 PyObject
* obj1
= 0 ;
14198 PyObject
* obj2
= 0 ;
14199 char *kwnames
[] = {
14200 (char *) "id",(char *) "client",(char *) "size", NULL
14203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14205 arg1
= wxString_in_helper(obj0
);
14206 if (arg1
== NULL
) SWIG_fail
;
14211 arg2
= wxString_in_helper(obj1
);
14212 if (arg2
== NULL
) SWIG_fail
;
14219 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14226 wxPyEndAllowThreads(__tstate
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14230 wxIcon
* resultptr
;
14231 resultptr
= new wxIcon((wxIcon
&) result
);
14232 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
14256 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14257 PyObject
*resultobj
;
14258 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14259 PyObject
* obj0
= 0 ;
14260 char *kwnames
[] = {
14261 (char *) "self", NULL
14264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 wxPyArtProvider_Destroy(arg1
);
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14273 Py_INCREF(Py_None
); resultobj
= Py_None
;
14280 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14283 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14285 return Py_BuildValue((char *)"");
14287 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
;
14289 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14290 PyObject
* obj0
= 0 ;
14291 char *kwnames
[] = {
14292 (char *) "self", NULL
14295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 wxPyEndAllowThreads(__tstate
);
14302 if (PyErr_Occurred()) SWIG_fail
;
14304 Py_INCREF(Py_None
); resultobj
= Py_None
;
14311 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14312 PyObject
*resultobj
;
14313 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14314 wxConfigBase
*result
;
14315 PyObject
* obj0
= 0 ;
14316 char *kwnames
[] = {
14317 (char *) "pConfig", NULL
14320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14329 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
14336 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14337 PyObject
*resultobj
;
14338 bool arg1
= (bool) True
;
14339 wxConfigBase
*result
;
14340 PyObject
* obj0
= 0 ;
14341 char *kwnames
[] = {
14342 (char *) "createOnDemand", NULL
14345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14348 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14356 wxPyEndAllowThreads(__tstate
);
14357 if (PyErr_Occurred()) SWIG_fail
;
14359 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
14366 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14367 PyObject
*resultobj
;
14368 wxConfigBase
*result
;
14369 char *kwnames
[] = {
14373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14376 result
= (wxConfigBase
*)wxConfigBase::Create();
14378 wxPyEndAllowThreads(__tstate
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14381 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
14388 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14389 PyObject
*resultobj
;
14390 char *kwnames
[] = {
14394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 wxConfigBase::DontCreateOnDemand();
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14402 Py_INCREF(Py_None
); resultobj
= Py_None
;
14409 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14410 PyObject
*resultobj
;
14411 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14412 wxString
*arg2
= 0 ;
14413 bool temp2
= False
;
14414 PyObject
* obj0
= 0 ;
14415 PyObject
* obj1
= 0 ;
14416 char *kwnames
[] = {
14417 (char *) "self",(char *) "strPath", NULL
14420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14423 arg2
= wxString_in_helper(obj1
);
14424 if (arg2
== NULL
) SWIG_fail
;
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 (arg1
)->SetPath((wxString
const &)*arg2
);
14431 wxPyEndAllowThreads(__tstate
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14434 Py_INCREF(Py_None
); resultobj
= Py_None
;
14449 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
;
14451 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14453 PyObject
* obj0
= 0 ;
14454 char *kwnames
[] = {
14455 (char *) "self", NULL
14458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14464 result
= (wxString
*) &_result_ref
;
14467 wxPyEndAllowThreads(__tstate
);
14468 if (PyErr_Occurred()) SWIG_fail
;
14472 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14474 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14483 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
;
14485 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14487 PyObject
* obj0
= 0 ;
14488 char *kwnames
[] = {
14489 (char *) "self", NULL
14492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14496 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14498 wxPyEndAllowThreads(__tstate
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14501 resultobj
= result
;
14508 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
;
14510 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14513 PyObject
* obj0
= 0 ;
14514 PyObject
* obj1
= 0 ;
14515 char *kwnames
[] = {
14516 (char *) "self",(char *) "index", NULL
14519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14522 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14532 resultobj
= result
;
14539 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
;
14541 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14543 PyObject
* obj0
= 0 ;
14544 char *kwnames
[] = {
14545 (char *) "self", NULL
14548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= result
;
14564 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
;
14566 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14569 PyObject
* obj0
= 0 ;
14570 PyObject
* obj1
= 0 ;
14571 char *kwnames
[] = {
14572 (char *) "self",(char *) "index", NULL
14575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14578 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
14579 if (PyErr_Occurred()) SWIG_fail
;
14582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14583 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14585 wxPyEndAllowThreads(__tstate
);
14586 if (PyErr_Occurred()) SWIG_fail
;
14588 resultobj
= result
;
14595 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14596 PyObject
*resultobj
;
14597 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14598 bool arg2
= (bool) False
;
14600 PyObject
* obj0
= 0 ;
14601 PyObject
* obj1
= 0 ;
14602 char *kwnames
[] = {
14603 (char *) "self",(char *) "bRecursive", NULL
14606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14610 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14621 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
14628 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14629 PyObject
*resultobj
;
14630 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14631 bool arg2
= (bool) False
;
14633 PyObject
* obj0
= 0 ;
14634 PyObject
* obj1
= 0 ;
14635 char *kwnames
[] = {
14636 (char *) "self",(char *) "bRecursive", NULL
14639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14643 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14649 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14651 wxPyEndAllowThreads(__tstate
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14654 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
14661 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14662 PyObject
*resultobj
;
14663 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14664 wxString
*arg2
= 0 ;
14666 bool temp2
= False
;
14667 PyObject
* obj0
= 0 ;
14668 PyObject
* obj1
= 0 ;
14669 char *kwnames
[] = {
14670 (char *) "self",(char *) "strName", NULL
14673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14676 arg2
= wxString_in_helper(obj1
);
14677 if (arg2
== NULL
) SWIG_fail
;
14681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14682 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14684 wxPyEndAllowThreads(__tstate
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14702 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14703 PyObject
*resultobj
;
14704 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14705 wxString
*arg2
= 0 ;
14707 bool temp2
= False
;
14708 PyObject
* obj0
= 0 ;
14709 PyObject
* obj1
= 0 ;
14710 char *kwnames
[] = {
14711 (char *) "self",(char *) "strName", NULL
14714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14717 arg2
= wxString_in_helper(obj1
);
14718 if (arg2
== NULL
) SWIG_fail
;
14722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
14725 wxPyEndAllowThreads(__tstate
);
14726 if (PyErr_Occurred()) SWIG_fail
;
14728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14743 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14744 PyObject
*resultobj
;
14745 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14746 wxString
*arg2
= 0 ;
14748 bool temp2
= False
;
14749 PyObject
* obj0
= 0 ;
14750 PyObject
* obj1
= 0 ;
14751 char *kwnames
[] = {
14752 (char *) "self",(char *) "strName", NULL
14755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
14756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14758 arg2
= wxString_in_helper(obj1
);
14759 if (arg2
== NULL
) SWIG_fail
;
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14784 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14785 PyObject
*resultobj
;
14786 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14787 wxString
*arg2
= 0 ;
14789 bool temp2
= False
;
14790 PyObject
* obj0
= 0 ;
14791 PyObject
* obj1
= 0 ;
14792 char *kwnames
[] = {
14793 (char *) "self",(char *) "name", NULL
14796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
14797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14799 arg2
= wxString_in_helper(obj1
);
14800 if (arg2
== NULL
) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= SWIG_PyObj_FromInt((int)result
);
14825 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14826 PyObject
*resultobj
;
14827 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14828 wxString
*arg2
= 0 ;
14829 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14830 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14832 bool temp2
= False
;
14833 bool temp3
= False
;
14834 PyObject
* obj0
= 0 ;
14835 PyObject
* obj1
= 0 ;
14836 PyObject
* obj2
= 0 ;
14837 char *kwnames
[] = {
14838 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14844 arg2
= wxString_in_helper(obj1
);
14845 if (arg2
== NULL
) SWIG_fail
;
14850 arg3
= wxString_in_helper(obj2
);
14851 if (arg3
== NULL
) SWIG_fail
;
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14891 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14892 PyObject
*resultobj
;
14893 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14894 wxString
*arg2
= 0 ;
14895 long arg3
= (long) 0 ;
14897 bool temp2
= False
;
14898 PyObject
* obj0
= 0 ;
14899 PyObject
* obj1
= 0 ;
14900 PyObject
* obj2
= 0 ;
14901 char *kwnames
[] = {
14902 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14908 arg2
= wxString_in_helper(obj1
);
14909 if (arg2
== NULL
) SWIG_fail
;
14914 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= SWIG_PyObj_FromLong((long)result
);
14940 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14941 PyObject
*resultobj
;
14942 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14943 wxString
*arg2
= 0 ;
14944 double arg3
= (double) 0.0 ;
14946 bool temp2
= False
;
14947 PyObject
* obj0
= 0 ;
14948 PyObject
* obj1
= 0 ;
14949 PyObject
* obj2
= 0 ;
14950 char *kwnames
[] = {
14951 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14957 arg2
= wxString_in_helper(obj1
);
14958 if (arg2
== NULL
) SWIG_fail
;
14963 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14969 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
14971 wxPyEndAllowThreads(__tstate
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14974 resultobj
= SWIG_PyObj_FromDouble((double)result
);
14989 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14990 PyObject
*resultobj
;
14991 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14992 wxString
*arg2
= 0 ;
14993 bool arg3
= (bool) False
;
14995 bool temp2
= False
;
14996 PyObject
* obj0
= 0 ;
14997 PyObject
* obj1
= 0 ;
14998 PyObject
* obj2
= 0 ;
14999 char *kwnames
[] = {
15000 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15006 arg2
= wxString_in_helper(obj1
);
15007 if (arg2
== NULL
) SWIG_fail
;
15012 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15038 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15039 PyObject
*resultobj
;
15040 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15041 wxString
*arg2
= 0 ;
15042 wxString
*arg3
= 0 ;
15044 bool temp2
= False
;
15045 bool temp3
= False
;
15046 PyObject
* obj0
= 0 ;
15047 PyObject
* obj1
= 0 ;
15048 PyObject
* obj2
= 0 ;
15049 char *kwnames
[] = {
15050 (char *) "self",(char *) "key",(char *) "value", NULL
15053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15056 arg2
= wxString_in_helper(obj1
);
15057 if (arg2
== NULL
) SWIG_fail
;
15061 arg3
= wxString_in_helper(obj2
);
15062 if (arg3
== NULL
) SWIG_fail
;
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15067 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15095 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15096 PyObject
*resultobj
;
15097 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15098 wxString
*arg2
= 0 ;
15101 bool temp2
= False
;
15102 PyObject
* obj0
= 0 ;
15103 PyObject
* obj1
= 0 ;
15104 PyObject
* obj2
= 0 ;
15105 char *kwnames
[] = {
15106 (char *) "self",(char *) "key",(char *) "value", NULL
15109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15112 arg2
= wxString_in_helper(obj1
);
15113 if (arg2
== NULL
) SWIG_fail
;
15117 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
15118 if (PyErr_Occurred()) SWIG_fail
;
15121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15122 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15124 wxPyEndAllowThreads(__tstate
);
15125 if (PyErr_Occurred()) SWIG_fail
;
15127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15142 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15145 wxString
*arg2
= 0 ;
15148 bool temp2
= False
;
15149 PyObject
* obj0
= 0 ;
15150 PyObject
* obj1
= 0 ;
15151 PyObject
* obj2
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self",(char *) "key",(char *) "value", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15159 arg2
= wxString_in_helper(obj1
);
15160 if (arg2
== NULL
) SWIG_fail
;
15164 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
15165 if (PyErr_Occurred()) SWIG_fail
;
15168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15169 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15171 wxPyEndAllowThreads(__tstate
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15189 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15190 PyObject
*resultobj
;
15191 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15192 wxString
*arg2
= 0 ;
15195 bool temp2
= False
;
15196 PyObject
* obj0
= 0 ;
15197 PyObject
* obj1
= 0 ;
15198 PyObject
* obj2
= 0 ;
15199 char *kwnames
[] = {
15200 (char *) "self",(char *) "key",(char *) "value", NULL
15203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15206 arg2
= wxString_in_helper(obj1
);
15207 if (arg2
== NULL
) SWIG_fail
;
15211 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15236 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15239 bool arg2
= (bool) False
;
15241 PyObject
* obj0
= 0 ;
15242 PyObject
* obj1
= 0 ;
15243 char *kwnames
[] = {
15244 (char *) "self",(char *) "bCurrentOnly", NULL
15247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15251 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 result
= (bool)(arg1
)->Flush(arg2
);
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15269 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
;
15271 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15272 wxString
*arg2
= 0 ;
15273 wxString
*arg3
= 0 ;
15275 bool temp2
= False
;
15276 bool temp3
= False
;
15277 PyObject
* obj0
= 0 ;
15278 PyObject
* obj1
= 0 ;
15279 PyObject
* obj2
= 0 ;
15280 char *kwnames
[] = {
15281 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15287 arg2
= wxString_in_helper(obj1
);
15288 if (arg2
== NULL
) SWIG_fail
;
15292 arg3
= wxString_in_helper(obj2
);
15293 if (arg3
== NULL
) SWIG_fail
;
15297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15298 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15300 wxPyEndAllowThreads(__tstate
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15326 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15327 PyObject
*resultobj
;
15328 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15329 wxString
*arg2
= 0 ;
15330 wxString
*arg3
= 0 ;
15332 bool temp2
= False
;
15333 bool temp3
= False
;
15334 PyObject
* obj0
= 0 ;
15335 PyObject
* obj1
= 0 ;
15336 PyObject
* obj2
= 0 ;
15337 char *kwnames
[] = {
15338 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15344 arg2
= wxString_in_helper(obj1
);
15345 if (arg2
== NULL
) SWIG_fail
;
15349 arg3
= wxString_in_helper(obj2
);
15350 if (arg3
== NULL
) SWIG_fail
;
15354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15355 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15357 wxPyEndAllowThreads(__tstate
);
15358 if (PyErr_Occurred()) SWIG_fail
;
15360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15383 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15384 PyObject
*resultobj
;
15385 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15386 wxString
*arg2
= 0 ;
15387 bool arg3
= (bool) True
;
15389 bool temp2
= False
;
15390 PyObject
* obj0
= 0 ;
15391 PyObject
* obj1
= 0 ;
15392 PyObject
* obj2
= 0 ;
15393 char *kwnames
[] = {
15394 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
15397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15400 arg2
= wxString_in_helper(obj1
);
15401 if (arg2
== NULL
) SWIG_fail
;
15406 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15432 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
;
15434 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15435 wxString
*arg2
= 0 ;
15437 bool temp2
= False
;
15438 PyObject
* obj0
= 0 ;
15439 PyObject
* obj1
= 0 ;
15440 char *kwnames
[] = {
15441 (char *) "self",(char *) "key", NULL
15444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15447 arg2
= wxString_in_helper(obj1
);
15448 if (arg2
== NULL
) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15473 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15477 PyObject
* obj0
= 0 ;
15478 char *kwnames
[] = {
15479 (char *) "self", NULL
15482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 result
= (bool)(arg1
)->DeleteAll();
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15498 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15499 PyObject
*resultobj
;
15500 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15502 PyObject
* obj0
= 0 ;
15503 char *kwnames
[] = {
15504 (char *) "self", NULL
15507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15511 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15513 wxPyEndAllowThreads(__tstate
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15523 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15524 PyObject
*resultobj
;
15525 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15526 bool arg2
= (bool) True
;
15527 PyObject
* obj0
= 0 ;
15528 PyObject
* obj1
= 0 ;
15529 char *kwnames
[] = {
15530 (char *) "self",(char *) "bDoIt", NULL
15533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15537 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 (arg1
)->SetExpandEnvVars(arg2
);
15545 wxPyEndAllowThreads(__tstate
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15548 Py_INCREF(Py_None
); resultobj
= Py_None
;
15555 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15556 PyObject
*resultobj
;
15557 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15558 bool arg2
= (bool) True
;
15559 PyObject
* obj0
= 0 ;
15560 PyObject
* obj1
= 0 ;
15561 char *kwnames
[] = {
15562 (char *) "self",(char *) "bDoIt", NULL
15565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15569 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15570 if (PyErr_Occurred()) SWIG_fail
;
15574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15575 (arg1
)->SetRecordDefaults(arg2
);
15577 wxPyEndAllowThreads(__tstate
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15580 Py_INCREF(Py_None
); resultobj
= Py_None
;
15587 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15588 PyObject
*resultobj
;
15589 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15591 PyObject
* obj0
= 0 ;
15592 char *kwnames
[] = {
15593 (char *) "self", NULL
15596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15600 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15602 wxPyEndAllowThreads(__tstate
);
15603 if (PyErr_Occurred()) SWIG_fail
;
15605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15612 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15613 PyObject
*resultobj
;
15614 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15615 wxString
*arg2
= 0 ;
15617 bool temp2
= False
;
15618 PyObject
* obj0
= 0 ;
15619 PyObject
* obj1
= 0 ;
15620 char *kwnames
[] = {
15621 (char *) "self",(char *) "str", NULL
15624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15627 arg2
= wxString_in_helper(obj1
);
15628 if (arg2
== NULL
) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15659 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15660 PyObject
*resultobj
;
15661 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15663 PyObject
* obj0
= 0 ;
15664 char *kwnames
[] = {
15665 (char *) "self", NULL
15668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
15674 wxPyEndAllowThreads(__tstate
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15690 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15691 PyObject
*resultobj
;
15692 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15694 PyObject
* obj0
= 0 ;
15695 char *kwnames
[] = {
15696 (char *) "self", NULL
15699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
15700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
15705 wxPyEndAllowThreads(__tstate
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15721 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15722 PyObject
*resultobj
;
15723 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15724 wxString
*arg2
= 0 ;
15725 bool temp2
= False
;
15726 PyObject
* obj0
= 0 ;
15727 PyObject
* obj1
= 0 ;
15728 char *kwnames
[] = {
15729 (char *) "self",(char *) "appName", NULL
15732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
15733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15735 arg2
= wxString_in_helper(obj1
);
15736 if (arg2
== NULL
) SWIG_fail
;
15740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15741 (arg1
)->SetAppName((wxString
const &)*arg2
);
15743 wxPyEndAllowThreads(__tstate
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15746 Py_INCREF(Py_None
); resultobj
= Py_None
;
15761 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15762 PyObject
*resultobj
;
15763 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15764 wxString
*arg2
= 0 ;
15765 bool temp2
= False
;
15766 PyObject
* obj0
= 0 ;
15767 PyObject
* obj1
= 0 ;
15768 char *kwnames
[] = {
15769 (char *) "self",(char *) "vendorName", NULL
15772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
15773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15775 arg2
= wxString_in_helper(obj1
);
15776 if (arg2
== NULL
) SWIG_fail
;
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 (arg1
)->SetVendorName((wxString
const &)*arg2
);
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15786 Py_INCREF(Py_None
); resultobj
= Py_None
;
15801 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15802 PyObject
*resultobj
;
15803 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15805 PyObject
* obj0
= 0 ;
15806 PyObject
* obj1
= 0 ;
15807 char *kwnames
[] = {
15808 (char *) "self",(char *) "style", NULL
15811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
15812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15814 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15819 (arg1
)->SetStyle(arg2
);
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15824 Py_INCREF(Py_None
); resultobj
= Py_None
;
15831 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
;
15833 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15835 PyObject
* obj0
= 0 ;
15836 char *kwnames
[] = {
15837 (char *) "self", NULL
15840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15844 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
15846 wxPyEndAllowThreads(__tstate
);
15847 if (PyErr_Occurred()) SWIG_fail
;
15849 resultobj
= SWIG_PyObj_FromLong((long)result
);
15856 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
15858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15859 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
15861 return Py_BuildValue((char *)"");
15863 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15864 PyObject
*resultobj
;
15865 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15866 wxString
*arg2
= 0 ;
15867 wxConfigPathChanger
*result
;
15868 bool temp2
= False
;
15869 PyObject
* obj0
= 0 ;
15870 PyObject
* obj1
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "pContainer",(char *) "strEntry", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
15876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15878 arg2
= wxString_in_helper(obj1
);
15879 if (arg2
== NULL
) SWIG_fail
;
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15889 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigPathChanger
, 1);
15904 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15905 PyObject
*resultobj
;
15906 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
15907 PyObject
* obj0
= 0 ;
15908 char *kwnames
[] = {
15909 (char *) "self", NULL
15912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
15913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15921 Py_INCREF(Py_None
); resultobj
= Py_None
;
15928 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15929 PyObject
*resultobj
;
15930 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
15932 PyObject
* obj0
= 0 ;
15933 char *kwnames
[] = {
15934 (char *) "self", NULL
15937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
15938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
15943 result
= (wxString
*) &_result_ref
;
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15951 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15953 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15962 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
15964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15965 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
15967 return Py_BuildValue((char *)"");
15969 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15970 PyObject
*resultobj
;
15971 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15972 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15973 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15974 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15975 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15976 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15977 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15978 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15979 long arg5
= (long) 0 ;
15981 bool temp1
= False
;
15982 bool temp2
= False
;
15983 bool temp3
= False
;
15984 bool temp4
= False
;
15985 PyObject
* obj0
= 0 ;
15986 PyObject
* obj1
= 0 ;
15987 PyObject
* obj2
= 0 ;
15988 PyObject
* obj3
= 0 ;
15989 PyObject
* obj4
= 0 ;
15990 char *kwnames
[] = {
15991 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15997 arg1
= wxString_in_helper(obj0
);
15998 if (arg1
== NULL
) SWIG_fail
;
16004 arg2
= wxString_in_helper(obj1
);
16005 if (arg2
== NULL
) SWIG_fail
;
16011 arg3
= wxString_in_helper(obj2
);
16012 if (arg3
== NULL
) SWIG_fail
;
16018 arg4
= wxString_in_helper(obj3
);
16019 if (arg4
== NULL
) SWIG_fail
;
16025 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16031 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16033 wxPyEndAllowThreads(__tstate
);
16034 if (PyErr_Occurred()) SWIG_fail
;
16036 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfig
, 1);
16075 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16076 PyObject
*resultobj
;
16077 wxConfig
*arg1
= (wxConfig
*) 0 ;
16078 PyObject
* obj0
= 0 ;
16079 char *kwnames
[] = {
16080 (char *) "self", NULL
16083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16089 wxPyEndAllowThreads(__tstate
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16092 Py_INCREF(Py_None
); resultobj
= Py_None
;
16099 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16102 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16104 return Py_BuildValue((char *)"");
16106 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16107 PyObject
*resultobj
;
16108 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16109 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16110 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16111 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16112 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16113 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16114 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16115 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16116 long arg5
= (long) 0 ;
16117 wxFileConfig
*result
;
16118 bool temp1
= False
;
16119 bool temp2
= False
;
16120 bool temp3
= False
;
16121 bool temp4
= False
;
16122 PyObject
* obj0
= 0 ;
16123 PyObject
* obj1
= 0 ;
16124 PyObject
* obj2
= 0 ;
16125 PyObject
* obj3
= 0 ;
16126 PyObject
* obj4
= 0 ;
16127 char *kwnames
[] = {
16128 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16134 arg1
= wxString_in_helper(obj0
);
16135 if (arg1
== NULL
) SWIG_fail
;
16141 arg2
= wxString_in_helper(obj1
);
16142 if (arg2
== NULL
) SWIG_fail
;
16148 arg3
= wxString_in_helper(obj2
);
16149 if (arg3
== NULL
) SWIG_fail
;
16155 arg4
= wxString_in_helper(obj3
);
16156 if (arg4
== NULL
) SWIG_fail
;
16162 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16168 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16170 wxPyEndAllowThreads(__tstate
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16173 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileConfig
, 1);
16212 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16213 PyObject
*resultobj
;
16214 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16215 PyObject
* obj0
= 0 ;
16216 char *kwnames
[] = {
16217 (char *) "self", NULL
16220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16229 Py_INCREF(Py_None
); resultobj
= Py_None
;
16236 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16239 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16241 return Py_BuildValue((char *)"");
16243 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16244 PyObject
*resultobj
;
16245 wxString
*arg1
= 0 ;
16247 bool temp1
= False
;
16248 PyObject
* obj0
= 0 ;
16249 char *kwnames
[] = {
16250 (char *) "sz", NULL
16253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16255 arg1
= wxString_in_helper(obj0
);
16256 if (arg1
== NULL
) SWIG_fail
;
16260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16261 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16263 wxPyEndAllowThreads(__tstate
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16287 static int _wrap_DateFormatStr_set(PyObject
*) {
16288 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16293 static PyObject
*_wrap_DateFormatStr_get() {
16298 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16300 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16307 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
16308 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16313 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16318 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16320 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16327 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
;
16330 PyObject
* obj0
= 0 ;
16331 char *kwnames
[] = {
16332 (char *) "country", NULL
16335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16337 arg1
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj0
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16342 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16344 wxPyEndAllowThreads(__tstate
);
16345 if (PyErr_Occurred()) SWIG_fail
;
16347 Py_INCREF(Py_None
); resultobj
= Py_None
;
16354 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16355 PyObject
*resultobj
;
16357 char *kwnames
[] = {
16361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 result
= (int)wxDateTime::GetCountry();
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16369 resultobj
= SWIG_PyObj_FromInt((int)result
);
16376 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16377 PyObject
*resultobj
;
16378 int arg1
= (int) wxDateTime::Country_Default
;
16380 PyObject
* obj0
= 0 ;
16381 char *kwnames
[] = {
16382 (char *) "country", NULL
16385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16388 arg1
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj0
);
16389 if (PyErr_Occurred()) SWIG_fail
;
16393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16394 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16396 wxPyEndAllowThreads(__tstate
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16406 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16407 PyObject
*resultobj
;
16408 int arg1
= (int) wxDateTime::Gregorian
;
16410 PyObject
* obj0
= 0 ;
16411 char *kwnames
[] = {
16412 (char *) "cal", NULL
16415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16418 arg1
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj0
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16424 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16426 wxPyEndAllowThreads(__tstate
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16429 resultobj
= SWIG_PyObj_FromInt((int)result
);
16436 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16437 PyObject
*resultobj
;
16440 PyObject
* obj0
= 0 ;
16441 char *kwnames
[] = {
16442 (char *) "year", NULL
16445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16447 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16452 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16454 wxPyEndAllowThreads(__tstate
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16457 resultobj
= SWIG_PyObj_FromInt((int)result
);
16464 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16465 PyObject
*resultobj
;
16466 int arg1
= (int) wxDateTime::Gregorian
;
16468 PyObject
* obj0
= 0 ;
16469 char *kwnames
[] = {
16470 (char *) "cal", NULL
16473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16476 arg1
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj0
);
16477 if (PyErr_Occurred()) SWIG_fail
;
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16482 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16487 resultobj
= SWIG_PyObj_FromInt((int)result
);
16494 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
;
16496 int arg1
= (int) wxDateTime::Inv_Year
;
16497 int arg2
= (int) wxDateTime::Gregorian
;
16499 PyObject
* obj0
= 0 ;
16500 PyObject
* obj1
= 0 ;
16501 char *kwnames
[] = {
16502 (char *) "year",(char *) "cal", NULL
16505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16508 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16509 if (PyErr_Occurred()) SWIG_fail
;
16514 arg2
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj1
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16520 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16522 wxPyEndAllowThreads(__tstate
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16532 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16533 PyObject
*resultobj
;
16534 int arg1
= (int) wxDateTime::Inv_Year
;
16536 PyObject
* obj0
= 0 ;
16537 char *kwnames
[] = {
16538 (char *) "year", NULL
16541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16544 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 result
= (int)wxDateTime::GetCentury(arg1
);
16552 wxPyEndAllowThreads(__tstate
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16555 resultobj
= SWIG_PyObj_FromInt((int)result
);
16562 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16563 PyObject
*resultobj
;
16565 int arg2
= (int) wxDateTime::Gregorian
;
16567 PyObject
* obj0
= 0 ;
16568 PyObject
* obj1
= 0 ;
16569 char *kwnames
[] = {
16570 (char *) "year",(char *) "cal", NULL
16573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16575 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16580 arg2
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj1
);
16581 if (PyErr_Occurred()) SWIG_fail
;
16585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16588 wxPyEndAllowThreads(__tstate
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16591 resultobj
= SWIG_PyObj_FromInt((int)result
);
16598 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16599 PyObject
*resultobj
;
16601 int arg2
= (int) wxDateTime::Inv_Year
;
16602 int arg3
= (int) wxDateTime::Gregorian
;
16604 PyObject
* obj0
= 0 ;
16605 PyObject
* obj1
= 0 ;
16606 PyObject
* obj2
= 0 ;
16607 char *kwnames
[] = {
16608 (char *) "month",(char *) "year",(char *) "cal", NULL
16611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16613 arg1
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj0
);
16614 if (PyErr_Occurred()) SWIG_fail
;
16618 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16624 arg3
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj2
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16635 resultobj
= SWIG_PyObj_FromInt((int)result
);
16642 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16643 PyObject
*resultobj
;
16645 int arg2
= (int) wxDateTime::Name_Full
;
16647 PyObject
* obj0
= 0 ;
16648 PyObject
* obj1
= 0 ;
16649 char *kwnames
[] = {
16650 (char *) "month",(char *) "flags", NULL
16653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16655 arg1
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj0
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16660 arg2
= (wxDateTime::NameFlags
) SWIG_PyObj_AsInt(obj1
);
16661 if (PyErr_Occurred()) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16684 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16685 PyObject
*resultobj
;
16687 int arg2
= (int) wxDateTime::Name_Full
;
16689 PyObject
* obj0
= 0 ;
16690 PyObject
* obj1
= 0 ;
16691 char *kwnames
[] = {
16692 (char *) "weekday",(char *) "flags", NULL
16695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
16697 arg1
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj0
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16702 arg2
= (wxDateTime::NameFlags
) SWIG_PyObj_AsInt(obj1
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16708 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16715 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16717 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16726 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16727 PyObject
*resultobj
;
16728 wxString
*arg1
= (wxString
*) 0 ;
16729 wxString
*arg2
= (wxString
*) 0 ;
16730 bool temp1
= False
;
16731 bool temp2
= False
;
16732 PyObject
* obj0
= 0 ;
16733 PyObject
* obj1
= 0 ;
16734 char *kwnames
[] = {
16735 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
16740 arg1
= wxString_in_helper(obj0
);
16741 if (arg1
== NULL
) SWIG_fail
;
16745 arg2
= wxString_in_helper(obj1
);
16746 if (arg2
== NULL
) SWIG_fail
;
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16751 wxDateTime::GetAmPmStrings(arg1
,arg2
);
16753 wxPyEndAllowThreads(__tstate
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16756 Py_INCREF(Py_None
); resultobj
= Py_None
;
16779 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16780 PyObject
*resultobj
;
16781 int arg1
= (int) wxDateTime::Inv_Year
;
16782 int arg2
= (int) wxDateTime::Country_Default
;
16784 PyObject
* obj0
= 0 ;
16785 PyObject
* obj1
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "year",(char *) "country", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
16793 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16799 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16805 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
16807 wxPyEndAllowThreads(__tstate
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16817 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16818 PyObject
*resultobj
;
16819 int arg1
= (int) wxDateTime::Inv_Year
;
16820 int arg2
= (int) wxDateTime::Country_Default
;
16822 PyObject
* obj0
= 0 ;
16823 PyObject
* obj1
= 0 ;
16824 char *kwnames
[] = {
16825 (char *) "year",(char *) "country", NULL
16828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
16831 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16837 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
16838 if (PyErr_Occurred()) SWIG_fail
;
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16843 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16849 wxDateTime
* resultptr
;
16850 resultptr
= new wxDateTime((wxDateTime
&) result
);
16851 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16859 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16860 PyObject
*resultobj
;
16861 int arg1
= (int) wxDateTime::Inv_Year
;
16862 int arg2
= (int) wxDateTime::Country_Default
;
16864 PyObject
* obj0
= 0 ;
16865 PyObject
* obj1
= 0 ;
16866 char *kwnames
[] = {
16867 (char *) "year",(char *) "country", NULL
16870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
16873 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16874 if (PyErr_Occurred()) SWIG_fail
;
16879 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16891 wxDateTime
* resultptr
;
16892 resultptr
= new wxDateTime((wxDateTime
&) result
);
16893 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16901 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16902 PyObject
*resultobj
;
16904 char *kwnames
[] = {
16908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
16910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16911 result
= wxDateTime::Now();
16913 wxPyEndAllowThreads(__tstate
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16917 wxDateTime
* resultptr
;
16918 resultptr
= new wxDateTime((wxDateTime
&) result
);
16919 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16927 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16928 PyObject
*resultobj
;
16930 char *kwnames
[] = {
16934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
16936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16937 result
= wxDateTime::UNow();
16939 wxPyEndAllowThreads(__tstate
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16943 wxDateTime
* resultptr
;
16944 resultptr
= new wxDateTime((wxDateTime
&) result
);
16945 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16953 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
;
16956 char *kwnames
[] = {
16960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
16962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16963 result
= wxDateTime::Today();
16965 wxPyEndAllowThreads(__tstate
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16969 wxDateTime
* resultptr
;
16970 resultptr
= new wxDateTime((wxDateTime
&) result
);
16971 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16979 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16980 PyObject
*resultobj
;
16981 wxDateTime
*result
;
16982 char *kwnames
[] = {
16986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 result
= (wxDateTime
*)new wxDateTime();
16991 wxPyEndAllowThreads(__tstate
);
16992 if (PyErr_Occurred()) SWIG_fail
;
16994 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17001 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
;
17004 wxDateTime
*result
;
17005 PyObject
* obj0
= 0 ;
17006 char *kwnames
[] = {
17007 (char *) "timet", NULL
17010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17012 arg1
= (time_t) SWIG_PyObj_AsUnsignedInt(obj0
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 result
= (wxDateTime
*)new wxDateTime(arg1
);
17019 wxPyEndAllowThreads(__tstate
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17022 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17029 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17030 PyObject
*resultobj
;
17032 wxDateTime
*result
;
17033 PyObject
* obj0
= 0 ;
17034 char *kwnames
[] = {
17035 (char *) "jdn", NULL
17038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17040 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
17041 if (PyErr_Occurred()) SWIG_fail
;
17044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17045 result
= (wxDateTime
*)new wxDateTime(arg1
);
17047 wxPyEndAllowThreads(__tstate
);
17048 if (PyErr_Occurred()) SWIG_fail
;
17050 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17057 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17058 PyObject
*resultobj
;
17060 int arg2
= (int) 0 ;
17061 int arg3
= (int) 0 ;
17062 int arg4
= (int) 0 ;
17063 wxDateTime
*result
;
17064 PyObject
* obj0
= 0 ;
17065 PyObject
* obj1
= 0 ;
17066 PyObject
* obj2
= 0 ;
17067 PyObject
* obj3
= 0 ;
17068 char *kwnames
[] = {
17069 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17074 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17079 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17085 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17091 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17097 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17099 wxPyEndAllowThreads(__tstate
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17102 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17109 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17110 PyObject
*resultobj
;
17112 int arg2
= (int) wxDateTime::Inv_Month
;
17113 int arg3
= (int) wxDateTime::Inv_Year
;
17114 int arg4
= (int) 0 ;
17115 int arg5
= (int) 0 ;
17116 int arg6
= (int) 0 ;
17117 int arg7
= (int) 0 ;
17118 wxDateTime
*result
;
17119 PyObject
* obj0
= 0 ;
17120 PyObject
* obj1
= 0 ;
17121 PyObject
* obj2
= 0 ;
17122 PyObject
* obj3
= 0 ;
17123 PyObject
* obj4
= 0 ;
17124 PyObject
* obj5
= 0 ;
17125 PyObject
* obj6
= 0 ;
17126 char *kwnames
[] = {
17127 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17132 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17137 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
17138 if (PyErr_Occurred()) SWIG_fail
;
17143 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17149 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17155 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17156 if (PyErr_Occurred()) SWIG_fail
;
17161 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17167 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
17168 if (PyErr_Occurred()) SWIG_fail
;
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17175 wxPyEndAllowThreads(__tstate
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17178 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17185 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17186 PyObject
*resultobj
;
17187 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17188 PyObject
* obj0
= 0 ;
17189 char *kwnames
[] = {
17190 (char *) "self", NULL
17193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17199 wxPyEndAllowThreads(__tstate
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17202 Py_INCREF(Py_None
); resultobj
= Py_None
;
17209 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17210 PyObject
*resultobj
;
17211 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17212 wxDateTime
*result
;
17213 PyObject
* obj0
= 0 ;
17214 char *kwnames
[] = {
17215 (char *) "self", NULL
17218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17223 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17224 result
= (wxDateTime
*) &_result_ref
;
17227 wxPyEndAllowThreads(__tstate
);
17228 if (PyErr_Occurred()) SWIG_fail
;
17230 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17237 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
;
17239 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17241 wxDateTime
*result
;
17242 PyObject
* obj0
= 0 ;
17243 PyObject
* obj1
= 0 ;
17244 char *kwnames
[] = {
17245 (char *) "self",(char *) "timet", NULL
17248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17251 arg2
= (time_t) SWIG_PyObj_AsUnsignedInt(obj1
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17257 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17258 result
= (wxDateTime
*) &_result_ref
;
17261 wxPyEndAllowThreads(__tstate
);
17262 if (PyErr_Occurred()) SWIG_fail
;
17264 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17271 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17272 PyObject
*resultobj
;
17273 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17275 wxDateTime
*result
;
17276 PyObject
* obj0
= 0 ;
17277 PyObject
* obj1
= 0 ;
17278 char *kwnames
[] = {
17279 (char *) "self",(char *) "jdn", NULL
17282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17285 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17292 result
= (wxDateTime
*) &_result_ref
;
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17298 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17305 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17306 PyObject
*resultobj
;
17307 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17309 int arg3
= (int) 0 ;
17310 int arg4
= (int) 0 ;
17311 int arg5
= (int) 0 ;
17312 wxDateTime
*result
;
17313 PyObject
* obj0
= 0 ;
17314 PyObject
* obj1
= 0 ;
17315 PyObject
* obj2
= 0 ;
17316 PyObject
* obj3
= 0 ;
17317 PyObject
* obj4
= 0 ;
17318 char *kwnames
[] = {
17319 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17325 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17330 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17336 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17342 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17350 result
= (wxDateTime
*) &_result_ref
;
17353 wxPyEndAllowThreads(__tstate
);
17354 if (PyErr_Occurred()) SWIG_fail
;
17356 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17363 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17364 PyObject
*resultobj
;
17365 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17367 int arg3
= (int) wxDateTime::Inv_Month
;
17368 int arg4
= (int) wxDateTime::Inv_Year
;
17369 int arg5
= (int) 0 ;
17370 int arg6
= (int) 0 ;
17371 int arg7
= (int) 0 ;
17372 int arg8
= (int) 0 ;
17373 wxDateTime
*result
;
17374 PyObject
* obj0
= 0 ;
17375 PyObject
* obj1
= 0 ;
17376 PyObject
* obj2
= 0 ;
17377 PyObject
* obj3
= 0 ;
17378 PyObject
* obj4
= 0 ;
17379 PyObject
* obj5
= 0 ;
17380 PyObject
* obj6
= 0 ;
17381 PyObject
* obj7
= 0 ;
17382 char *kwnames
[] = {
17383 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17389 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17394 arg3
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj2
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17400 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17406 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17412 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17418 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17424 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17431 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17432 result
= (wxDateTime
*) &_result_ref
;
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17445 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
;
17447 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17448 wxDateTime
*result
;
17449 PyObject
* obj0
= 0 ;
17450 char *kwnames
[] = {
17451 (char *) "self", NULL
17454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17460 result
= (wxDateTime
*) &_result_ref
;
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17473 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
;
17475 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17477 wxDateTime
*result
;
17478 PyObject
* obj0
= 0 ;
17479 PyObject
* obj1
= 0 ;
17480 char *kwnames
[] = {
17481 (char *) "self",(char *) "year", NULL
17484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17487 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17494 result
= (wxDateTime
*) &_result_ref
;
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17500 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17507 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
;
17509 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17511 wxDateTime
*result
;
17512 PyObject
* obj0
= 0 ;
17513 PyObject
* obj1
= 0 ;
17514 char *kwnames
[] = {
17515 (char *) "self",(char *) "month", NULL
17518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17521 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17527 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17528 result
= (wxDateTime
*) &_result_ref
;
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17534 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17541 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
;
17543 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17545 wxDateTime
*result
;
17546 PyObject
* obj0
= 0 ;
17547 PyObject
* obj1
= 0 ;
17548 char *kwnames
[] = {
17549 (char *) "self",(char *) "day", NULL
17552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17555 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17561 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17562 result
= (wxDateTime
*) &_result_ref
;
17565 wxPyEndAllowThreads(__tstate
);
17566 if (PyErr_Occurred()) SWIG_fail
;
17568 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17575 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17576 PyObject
*resultobj
;
17577 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17579 wxDateTime
*result
;
17580 PyObject
* obj0
= 0 ;
17581 PyObject
* obj1
= 0 ;
17582 char *kwnames
[] = {
17583 (char *) "self",(char *) "hour", NULL
17586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17589 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17595 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17596 result
= (wxDateTime
*) &_result_ref
;
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17609 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17610 PyObject
*resultobj
;
17611 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17613 wxDateTime
*result
;
17614 PyObject
* obj0
= 0 ;
17615 PyObject
* obj1
= 0 ;
17616 char *kwnames
[] = {
17617 (char *) "self",(char *) "minute", NULL
17620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17623 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17629 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17630 result
= (wxDateTime
*) &_result_ref
;
17633 wxPyEndAllowThreads(__tstate
);
17634 if (PyErr_Occurred()) SWIG_fail
;
17636 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17643 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17644 PyObject
*resultobj
;
17645 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17647 wxDateTime
*result
;
17648 PyObject
* obj0
= 0 ;
17649 PyObject
* obj1
= 0 ;
17650 char *kwnames
[] = {
17651 (char *) "self",(char *) "second", NULL
17654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17657 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17663 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17664 result
= (wxDateTime
*) &_result_ref
;
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17670 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17677 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17678 PyObject
*resultobj
;
17679 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17681 wxDateTime
*result
;
17682 PyObject
* obj0
= 0 ;
17683 PyObject
* obj1
= 0 ;
17684 char *kwnames
[] = {
17685 (char *) "self",(char *) "millisecond", NULL
17688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17691 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17697 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17698 result
= (wxDateTime
*) &_result_ref
;
17701 wxPyEndAllowThreads(__tstate
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17704 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17711 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17712 PyObject
*resultobj
;
17713 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17715 int arg3
= (int) wxDateTime::Monday_First
;
17716 wxDateTime
*result
;
17717 PyObject
* obj0
= 0 ;
17718 PyObject
* obj1
= 0 ;
17719 PyObject
* obj2
= 0 ;
17720 char *kwnames
[] = {
17721 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17727 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17732 arg3
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj2
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17740 result
= (wxDateTime
*) &_result_ref
;
17743 wxPyEndAllowThreads(__tstate
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17746 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17753 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17754 PyObject
*resultobj
;
17755 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17757 int arg3
= (int) wxDateTime::Monday_First
;
17759 PyObject
* obj0
= 0 ;
17760 PyObject
* obj1
= 0 ;
17761 PyObject
* obj2
= 0 ;
17762 char *kwnames
[] = {
17763 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17769 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17770 if (PyErr_Occurred()) SWIG_fail
;
17774 arg3
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj2
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17780 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17782 wxPyEndAllowThreads(__tstate
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17786 wxDateTime
* resultptr
;
17787 resultptr
= new wxDateTime((wxDateTime
&) result
);
17788 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17796 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17797 PyObject
*resultobj
;
17798 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17800 wxDateTime
*result
;
17801 PyObject
* obj0
= 0 ;
17802 PyObject
* obj1
= 0 ;
17803 char *kwnames
[] = {
17804 (char *) "self",(char *) "weekday", NULL
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17810 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
17817 result
= (wxDateTime
*) &_result_ref
;
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17823 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17830 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17831 PyObject
*resultobj
;
17832 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17835 PyObject
* obj0
= 0 ;
17836 PyObject
* obj1
= 0 ;
17837 char *kwnames
[] = {
17838 (char *) "self",(char *) "weekday", NULL
17841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17844 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17845 if (PyErr_Occurred()) SWIG_fail
;
17848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17849 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
17851 wxPyEndAllowThreads(__tstate
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17855 wxDateTime
* resultptr
;
17856 resultptr
= new wxDateTime((wxDateTime
&) result
);
17857 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17865 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17866 PyObject
*resultobj
;
17867 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17869 wxDateTime
*result
;
17870 PyObject
* obj0
= 0 ;
17871 PyObject
* obj1
= 0 ;
17872 char *kwnames
[] = {
17873 (char *) "self",(char *) "weekday", NULL
17876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17879 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17880 if (PyErr_Occurred()) SWIG_fail
;
17883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17885 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17886 result
= (wxDateTime
*) &_result_ref
;
17889 wxPyEndAllowThreads(__tstate
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17892 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17899 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17900 PyObject
*resultobj
;
17901 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17904 PyObject
* obj0
= 0 ;
17905 PyObject
* obj1
= 0 ;
17906 char *kwnames
[] = {
17907 (char *) "self",(char *) "weekday", NULL
17910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17913 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17918 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17924 wxDateTime
* resultptr
;
17925 resultptr
= new wxDateTime((wxDateTime
&) result
);
17926 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17934 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17935 PyObject
*resultobj
;
17936 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17938 int arg3
= (int) 1 ;
17939 int arg4
= (int) wxDateTime::Inv_Month
;
17940 int arg5
= (int) wxDateTime::Inv_Year
;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17944 PyObject
* obj2
= 0 ;
17945 PyObject
* obj3
= 0 ;
17946 PyObject
* obj4
= 0 ;
17947 char *kwnames
[] = {
17948 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
17951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17954 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17959 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17965 arg4
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj3
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17971 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17972 if (PyErr_Occurred()) SWIG_fail
;
17976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17989 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17990 PyObject
*resultobj
;
17991 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17993 int arg3
= (int) wxDateTime::Inv_Month
;
17994 int arg4
= (int) wxDateTime::Inv_Year
;
17996 PyObject
* obj0
= 0 ;
17997 PyObject
* obj1
= 0 ;
17998 PyObject
* obj2
= 0 ;
17999 PyObject
* obj3
= 0 ;
18000 char *kwnames
[] = {
18001 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18007 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18012 arg3
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj2
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18018 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18024 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18036 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
;
18038 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18040 int arg3
= (int) wxDateTime::Inv_Month
;
18041 int arg4
= (int) wxDateTime::Inv_Year
;
18043 PyObject
* obj0
= 0 ;
18044 PyObject
* obj1
= 0 ;
18045 PyObject
* obj2
= 0 ;
18046 PyObject
* obj3
= 0 ;
18047 char *kwnames
[] = {
18048 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18054 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18059 arg3
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj2
);
18060 if (PyErr_Occurred()) SWIG_fail
;
18065 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18077 wxDateTime
* resultptr
;
18078 resultptr
= new wxDateTime((wxDateTime
&) result
);
18079 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18087 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
;
18089 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18091 int arg3
= (int) wxDateTime::Mon
;
18092 int arg4
= (int) wxDateTime::Monday_First
;
18094 PyObject
* obj0
= 0 ;
18095 PyObject
* obj1
= 0 ;
18096 PyObject
* obj2
= 0 ;
18097 PyObject
* obj3
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18105 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18110 arg3
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj2
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18116 arg4
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj3
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18134 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18135 PyObject
*resultobj
;
18136 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18138 int arg3
= (int) wxDateTime::Mon
;
18139 int arg4
= (int) wxDateTime::Monday_First
;
18141 PyObject
* obj0
= 0 ;
18142 PyObject
* obj1
= 0 ;
18143 PyObject
* obj2
= 0 ;
18144 PyObject
* obj3
= 0 ;
18145 char *kwnames
[] = {
18146 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18152 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18157 arg3
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj2
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18163 arg4
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj3
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18169 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18171 wxPyEndAllowThreads(__tstate
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18175 wxDateTime
* resultptr
;
18176 resultptr
= new wxDateTime((wxDateTime
&) result
);
18177 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18185 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
;
18187 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18188 int arg2
= (int) wxDateTime::Inv_Month
;
18189 int arg3
= (int) wxDateTime::Inv_Year
;
18190 wxDateTime
*result
;
18191 PyObject
* obj0
= 0 ;
18192 PyObject
* obj1
= 0 ;
18193 PyObject
* obj2
= 0 ;
18194 char *kwnames
[] = {
18195 (char *) "self",(char *) "month",(char *) "year", NULL
18198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18202 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18208 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
18209 if (PyErr_Occurred()) SWIG_fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18215 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18216 result
= (wxDateTime
*) &_result_ref
;
18219 wxPyEndAllowThreads(__tstate
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18222 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18229 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18230 PyObject
*resultobj
;
18231 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18232 int arg2
= (int) wxDateTime::Inv_Month
;
18233 int arg3
= (int) wxDateTime::Inv_Year
;
18235 PyObject
* obj0
= 0 ;
18236 PyObject
* obj1
= 0 ;
18237 PyObject
* obj2
= 0 ;
18238 char *kwnames
[] = {
18239 (char *) "self",(char *) "month",(char *) "year", NULL
18242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18246 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18252 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18264 wxDateTime
* resultptr
;
18265 resultptr
= new wxDateTime((wxDateTime
&) result
);
18266 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18274 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18275 PyObject
*resultobj
;
18276 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18278 wxDateTime
*result
;
18279 PyObject
* obj0
= 0 ;
18280 PyObject
* obj1
= 0 ;
18281 char *kwnames
[] = {
18282 (char *) "self",(char *) "yday", NULL
18285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18288 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18294 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18295 result
= (wxDateTime
*) &_result_ref
;
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18301 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18308 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
;
18310 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18313 PyObject
* obj0
= 0 ;
18314 PyObject
* obj1
= 0 ;
18315 char *kwnames
[] = {
18316 (char *) "self",(char *) "yday", NULL
18319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18322 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18327 result
= (arg1
)->GetYearDay(arg2
);
18329 wxPyEndAllowThreads(__tstate
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18333 wxDateTime
* resultptr
;
18334 resultptr
= new wxDateTime((wxDateTime
&) result
);
18335 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18343 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18344 PyObject
*resultobj
;
18345 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18347 PyObject
* obj0
= 0 ;
18348 char *kwnames
[] = {
18349 (char *) "self", NULL
18352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18356 result
= (double)(arg1
)->GetJulianDayNumber();
18358 wxPyEndAllowThreads(__tstate
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18361 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18368 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18369 PyObject
*resultobj
;
18370 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18372 PyObject
* obj0
= 0 ;
18373 char *kwnames
[] = {
18374 (char *) "self", NULL
18377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 result
= (double)(arg1
)->GetJDN();
18383 wxPyEndAllowThreads(__tstate
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18386 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18393 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18394 PyObject
*resultobj
;
18395 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18397 PyObject
* obj0
= 0 ;
18398 char *kwnames
[] = {
18399 (char *) "self", NULL
18402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18406 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18408 wxPyEndAllowThreads(__tstate
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18411 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18418 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18419 PyObject
*resultobj
;
18420 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18422 PyObject
* obj0
= 0 ;
18423 char *kwnames
[] = {
18424 (char *) "self", NULL
18427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18431 result
= (double)(arg1
)->GetMJD();
18433 wxPyEndAllowThreads(__tstate
);
18434 if (PyErr_Occurred()) SWIG_fail
;
18436 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18443 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18444 PyObject
*resultobj
;
18445 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18447 PyObject
* obj0
= 0 ;
18448 char *kwnames
[] = {
18449 (char *) "self", NULL
18452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18456 result
= (double)(arg1
)->GetRataDie();
18458 wxPyEndAllowThreads(__tstate
);
18459 if (PyErr_Occurred()) SWIG_fail
;
18461 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18468 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18469 PyObject
*resultobj
;
18470 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18471 wxDateTime::TimeZone
*arg2
= 0 ;
18472 bool arg3
= (bool) False
;
18474 bool temp2
= False
;
18475 PyObject
* obj0
= 0 ;
18476 PyObject
* obj1
= 0 ;
18477 PyObject
* obj2
= 0 ;
18478 char *kwnames
[] = {
18479 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18485 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18490 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18502 wxDateTime
* resultptr
;
18503 resultptr
= new wxDateTime((wxDateTime
&) result
);
18504 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18507 if (temp2
) delete arg2
;
18512 if (temp2
) delete arg2
;
18518 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
;
18520 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18521 wxDateTime::TimeZone
*arg2
= 0 ;
18522 bool arg3
= (bool) False
;
18523 wxDateTime
*result
;
18524 bool temp2
= False
;
18525 PyObject
* obj0
= 0 ;
18526 PyObject
* obj1
= 0 ;
18527 PyObject
* obj2
= 0 ;
18528 char *kwnames
[] = {
18529 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18535 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18540 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18547 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18548 result
= (wxDateTime
*) &_result_ref
;
18551 wxPyEndAllowThreads(__tstate
);
18552 if (PyErr_Occurred()) SWIG_fail
;
18554 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18556 if (temp2
) delete arg2
;
18561 if (temp2
) delete arg2
;
18567 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18568 PyObject
*resultobj
;
18569 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18570 bool arg2
= (bool) False
;
18572 PyObject
* obj0
= 0 ;
18573 PyObject
* obj1
= 0 ;
18574 char *kwnames
[] = {
18575 (char *) "self",(char *) "noDST", NULL
18578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18582 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18588 result
= (arg1
)->ToGMT(arg2
);
18590 wxPyEndAllowThreads(__tstate
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18594 wxDateTime
* resultptr
;
18595 resultptr
= new wxDateTime((wxDateTime
&) result
);
18596 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18604 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18605 PyObject
*resultobj
;
18606 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18607 bool arg2
= (bool) False
;
18608 wxDateTime
*result
;
18609 PyObject
* obj0
= 0 ;
18610 PyObject
* obj1
= 0 ;
18611 char *kwnames
[] = {
18612 (char *) "self",(char *) "noDST", NULL
18615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18619 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18626 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18627 result
= (wxDateTime
*) &_result_ref
;
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18633 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18640 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18641 PyObject
*resultobj
;
18642 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18643 int arg2
= (int) wxDateTime::Country_Default
;
18645 PyObject
* obj0
= 0 ;
18646 PyObject
* obj1
= 0 ;
18647 char *kwnames
[] = {
18648 (char *) "self",(char *) "country", NULL
18651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18655 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
18656 if (PyErr_Occurred()) SWIG_fail
;
18660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18661 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18666 resultobj
= SWIG_PyObj_FromInt((int)result
);
18673 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18674 PyObject
*resultobj
;
18675 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18677 PyObject
* obj0
= 0 ;
18678 char *kwnames
[] = {
18679 (char *) "self", NULL
18682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18688 wxPyEndAllowThreads(__tstate
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18698 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18699 PyObject
*resultobj
;
18700 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18702 PyObject
* obj0
= 0 ;
18703 char *kwnames
[] = {
18704 (char *) "self", NULL
18707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18713 wxPyEndAllowThreads(__tstate
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18716 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
18723 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18724 PyObject
*resultobj
;
18725 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18726 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18727 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18729 bool temp2
= False
;
18730 PyObject
* obj0
= 0 ;
18731 PyObject
* obj1
= 0 ;
18732 char *kwnames
[] = {
18733 (char *) "self",(char *) "tz", NULL
18736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18740 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18746 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18751 resultobj
= SWIG_PyObj_FromInt((int)result
);
18753 if (temp2
) delete arg2
;
18758 if (temp2
) delete arg2
;
18764 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
;
18766 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18767 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18768 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18770 bool temp2
= False
;
18771 PyObject
* obj0
= 0 ;
18772 PyObject
* obj1
= 0 ;
18773 char *kwnames
[] = {
18774 (char *) "self",(char *) "tz", NULL
18777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18781 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18787 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
18789 wxPyEndAllowThreads(__tstate
);
18790 if (PyErr_Occurred()) SWIG_fail
;
18792 resultobj
= SWIG_PyObj_FromInt((int)result
);
18794 if (temp2
) delete arg2
;
18799 if (temp2
) delete arg2
;
18805 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18806 PyObject
*resultobj
;
18807 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18808 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18809 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18811 bool temp2
= False
;
18812 PyObject
* obj0
= 0 ;
18813 PyObject
* obj1
= 0 ;
18814 char *kwnames
[] = {
18815 (char *) "self",(char *) "tz", NULL
18818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18822 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18828 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
18830 wxPyEndAllowThreads(__tstate
);
18831 if (PyErr_Occurred()) SWIG_fail
;
18833 resultobj
= SWIG_PyObj_FromInt((int)result
);
18835 if (temp2
) delete arg2
;
18840 if (temp2
) delete arg2
;
18846 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18847 PyObject
*resultobj
;
18848 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18849 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18850 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18852 bool temp2
= False
;
18853 PyObject
* obj0
= 0 ;
18854 PyObject
* obj1
= 0 ;
18855 char *kwnames
[] = {
18856 (char *) "self",(char *) "tz", NULL
18859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18863 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18869 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
18871 wxPyEndAllowThreads(__tstate
);
18872 if (PyErr_Occurred()) SWIG_fail
;
18874 resultobj
= SWIG_PyObj_FromInt((int)result
);
18876 if (temp2
) delete arg2
;
18881 if (temp2
) delete arg2
;
18887 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18888 PyObject
*resultobj
;
18889 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18890 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18891 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18893 bool temp2
= False
;
18894 PyObject
* obj0
= 0 ;
18895 PyObject
* obj1
= 0 ;
18896 char *kwnames
[] = {
18897 (char *) "self",(char *) "tz", NULL
18900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18904 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18910 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
18912 wxPyEndAllowThreads(__tstate
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18915 resultobj
= SWIG_PyObj_FromInt((int)result
);
18917 if (temp2
) delete arg2
;
18922 if (temp2
) delete arg2
;
18928 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
;
18930 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18931 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18932 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18934 bool temp2
= False
;
18935 PyObject
* obj0
= 0 ;
18936 PyObject
* obj1
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self",(char *) "tz", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18945 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18951 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
18953 wxPyEndAllowThreads(__tstate
);
18954 if (PyErr_Occurred()) SWIG_fail
;
18956 resultobj
= SWIG_PyObj_FromInt((int)result
);
18958 if (temp2
) delete arg2
;
18963 if (temp2
) delete arg2
;
18969 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18970 PyObject
*resultobj
;
18971 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18972 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18973 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18975 bool temp2
= False
;
18976 PyObject
* obj0
= 0 ;
18977 PyObject
* obj1
= 0 ;
18978 char *kwnames
[] = {
18979 (char *) "self",(char *) "tz", NULL
18982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18986 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18992 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
18994 wxPyEndAllowThreads(__tstate
);
18995 if (PyErr_Occurred()) SWIG_fail
;
18997 resultobj
= SWIG_PyObj_FromInt((int)result
);
18999 if (temp2
) delete arg2
;
19004 if (temp2
) delete arg2
;
19010 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19011 PyObject
*resultobj
;
19012 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19013 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19014 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19016 bool temp2
= False
;
19017 PyObject
* obj0
= 0 ;
19018 PyObject
* obj1
= 0 ;
19019 char *kwnames
[] = {
19020 (char *) "self",(char *) "tz", NULL
19023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19027 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19033 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19035 wxPyEndAllowThreads(__tstate
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19038 resultobj
= SWIG_PyObj_FromInt((int)result
);
19040 if (temp2
) delete arg2
;
19045 if (temp2
) delete arg2
;
19051 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19052 PyObject
*resultobj
;
19053 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19054 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19055 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19057 bool temp2
= False
;
19058 PyObject
* obj0
= 0 ;
19059 PyObject
* obj1
= 0 ;
19060 char *kwnames
[] = {
19061 (char *) "self",(char *) "tz", NULL
19064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19068 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19074 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19076 wxPyEndAllowThreads(__tstate
);
19077 if (PyErr_Occurred()) SWIG_fail
;
19079 resultobj
= SWIG_PyObj_FromInt((int)result
);
19081 if (temp2
) delete arg2
;
19086 if (temp2
) delete arg2
;
19092 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
;
19094 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19095 int arg2
= (int) wxDateTime::Monday_First
;
19096 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19097 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19099 bool temp3
= False
;
19100 PyObject
* obj0
= 0 ;
19101 PyObject
* obj1
= 0 ;
19102 PyObject
* obj2
= 0 ;
19103 char *kwnames
[] = {
19104 (char *) "self",(char *) "flags",(char *) "tz", NULL
19107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19111 arg2
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj1
);
19112 if (PyErr_Occurred()) SWIG_fail
;
19117 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 resultobj
= SWIG_PyObj_FromInt((int)result
);
19130 if (temp3
) delete arg3
;
19135 if (temp3
) delete arg3
;
19141 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19142 PyObject
*resultobj
;
19143 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19144 int arg2
= (int) wxDateTime::Monday_First
;
19145 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19146 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19148 bool temp3
= False
;
19149 PyObject
* obj0
= 0 ;
19150 PyObject
* obj1
= 0 ;
19151 PyObject
* obj2
= 0 ;
19152 char *kwnames
[] = {
19153 (char *) "self",(char *) "flags",(char *) "tz", NULL
19156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19160 arg2
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj1
);
19161 if (PyErr_Occurred()) SWIG_fail
;
19166 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19172 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 resultobj
= SWIG_PyObj_FromInt((int)result
);
19179 if (temp3
) delete arg3
;
19184 if (temp3
) delete arg3
;
19190 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
;
19192 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19193 int arg2
= (int) wxDateTime::Country_Default
;
19195 PyObject
* obj0
= 0 ;
19196 PyObject
* obj1
= 0 ;
19197 char *kwnames
[] = {
19198 (char *) "self",(char *) "country", NULL
19201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19205 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19223 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
;
19225 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19226 wxDateTime
*arg2
= 0 ;
19228 PyObject
* obj0
= 0 ;
19229 PyObject
* obj1
= 0 ;
19230 char *kwnames
[] = {
19231 (char *) "self",(char *) "datetime", NULL
19234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19236 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19237 if (arg2
== NULL
) {
19238 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19242 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19244 wxPyEndAllowThreads(__tstate
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19254 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
;
19256 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19257 wxDateTime
*arg2
= 0 ;
19259 PyObject
* obj0
= 0 ;
19260 PyObject
* obj1
= 0 ;
19261 char *kwnames
[] = {
19262 (char *) "self",(char *) "datetime", NULL
19265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19267 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19268 if (arg2
== NULL
) {
19269 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19273 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19275 wxPyEndAllowThreads(__tstate
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19285 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
;
19287 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19288 wxDateTime
*arg2
= 0 ;
19290 PyObject
* obj0
= 0 ;
19291 PyObject
* obj1
= 0 ;
19292 char *kwnames
[] = {
19293 (char *) "self",(char *) "datetime", NULL
19296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19298 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19299 if (arg2
== NULL
) {
19300 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19304 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19306 wxPyEndAllowThreads(__tstate
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19316 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19317 PyObject
*resultobj
;
19318 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19319 wxDateTime
*arg2
= 0 ;
19320 wxDateTime
*arg3
= 0 ;
19322 PyObject
* obj0
= 0 ;
19323 PyObject
* obj1
= 0 ;
19324 PyObject
* obj2
= 0 ;
19325 char *kwnames
[] = {
19326 (char *) "self",(char *) "t1",(char *) "t2", NULL
19329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19331 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19332 if (arg2
== NULL
) {
19333 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19335 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19336 if (arg3
== NULL
) {
19337 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19353 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
;
19355 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19356 wxDateTime
*arg2
= 0 ;
19357 wxDateTime
*arg3
= 0 ;
19359 PyObject
* obj0
= 0 ;
19360 PyObject
* obj1
= 0 ;
19361 PyObject
* obj2
= 0 ;
19362 char *kwnames
[] = {
19363 (char *) "self",(char *) "t1",(char *) "t2", NULL
19366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19368 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19369 if (arg2
== NULL
) {
19370 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19372 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19373 if (arg3
== NULL
) {
19374 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19390 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19391 PyObject
*resultobj
;
19392 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19393 wxDateTime
*arg2
= 0 ;
19395 PyObject
* obj0
= 0 ;
19396 PyObject
* obj1
= 0 ;
19397 char *kwnames
[] = {
19398 (char *) "self",(char *) "dt", NULL
19401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19403 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19404 if (arg2
== NULL
) {
19405 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19409 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19421 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
;
19423 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19424 wxDateTime
*arg2
= 0 ;
19426 PyObject
* obj0
= 0 ;
19427 PyObject
* obj1
= 0 ;
19428 char *kwnames
[] = {
19429 (char *) "self",(char *) "dt", NULL
19432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19434 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19435 if (arg2
== NULL
) {
19436 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19452 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19453 PyObject
*resultobj
;
19454 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19455 wxDateTime
*arg2
= 0 ;
19456 wxTimeSpan
*arg3
= 0 ;
19458 PyObject
* obj0
= 0 ;
19459 PyObject
* obj1
= 0 ;
19460 PyObject
* obj2
= 0 ;
19461 char *kwnames
[] = {
19462 (char *) "self",(char *) "dt",(char *) "ts", NULL
19465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19467 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19468 if (arg2
== NULL
) {
19469 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19471 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19472 if (arg3
== NULL
) {
19473 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19477 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19479 wxPyEndAllowThreads(__tstate
);
19480 if (PyErr_Occurred()) SWIG_fail
;
19482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19489 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19490 PyObject
*resultobj
;
19491 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19492 wxTimeSpan
*arg2
= 0 ;
19493 wxDateTime
*result
;
19494 PyObject
* obj0
= 0 ;
19495 PyObject
* obj1
= 0 ;
19496 char *kwnames
[] = {
19497 (char *) "self",(char *) "diff", NULL
19500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19502 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19503 if (arg2
== NULL
) {
19504 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19509 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19510 result
= (wxDateTime
*) &_result_ref
;
19513 wxPyEndAllowThreads(__tstate
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19516 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19523 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19524 PyObject
*resultobj
;
19525 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19526 wxDateSpan
*arg2
= 0 ;
19527 wxDateTime
*result
;
19528 PyObject
* obj0
= 0 ;
19529 PyObject
* obj1
= 0 ;
19530 char *kwnames
[] = {
19531 (char *) "self",(char *) "diff", NULL
19534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19536 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19537 if (arg2
== NULL
) {
19538 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19544 result
= (wxDateTime
*) &_result_ref
;
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19550 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19557 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
;
19559 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19560 wxTimeSpan
*arg2
= 0 ;
19561 wxDateTime
*result
;
19562 PyObject
* obj0
= 0 ;
19563 PyObject
* obj1
= 0 ;
19564 char *kwnames
[] = {
19565 (char *) "self",(char *) "diff", NULL
19568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19570 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19571 if (arg2
== NULL
) {
19572 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19577 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19578 result
= (wxDateTime
*) &_result_ref
;
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19584 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19591 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
;
19593 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19594 wxDateSpan
*arg2
= 0 ;
19595 wxDateTime
*result
;
19596 PyObject
* obj0
= 0 ;
19597 PyObject
* obj1
= 0 ;
19598 char *kwnames
[] = {
19599 (char *) "self",(char *) "diff", NULL
19602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19604 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19605 if (arg2
== NULL
) {
19606 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19612 result
= (wxDateTime
*) &_result_ref
;
19615 wxPyEndAllowThreads(__tstate
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19618 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19625 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19626 PyObject
*resultobj
;
19627 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19628 wxDateTime
*arg2
= 0 ;
19630 PyObject
* obj0
= 0 ;
19631 PyObject
* obj1
= 0 ;
19632 char *kwnames
[] = {
19633 (char *) "self",(char *) "dt", NULL
19636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19638 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19639 if (arg2
== NULL
) {
19640 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19644 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19646 wxPyEndAllowThreads(__tstate
);
19647 if (PyErr_Occurred()) SWIG_fail
;
19650 wxTimeSpan
* resultptr
;
19651 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19652 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19660 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19661 PyObject
*resultobj
;
19662 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19663 wxTimeSpan
*arg2
= 0 ;
19664 wxDateTime
*result
;
19665 PyObject
* obj0
= 0 ;
19666 PyObject
* obj1
= 0 ;
19668 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19670 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19671 if (arg2
== NULL
) {
19672 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19678 result
= (wxDateTime
*) &_result_ref
;
19681 wxPyEndAllowThreads(__tstate
);
19682 if (PyErr_Occurred()) SWIG_fail
;
19684 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19691 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
19692 PyObject
*resultobj
;
19693 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19694 wxDateSpan
*arg2
= 0 ;
19695 wxDateTime
*result
;
19696 PyObject
* obj0
= 0 ;
19697 PyObject
* obj1
= 0 ;
19699 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19701 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19702 if (arg2
== NULL
) {
19703 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19708 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
19709 result
= (wxDateTime
*) &_result_ref
;
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19715 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19722 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
19727 argc
= PyObject_Length(args
);
19728 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19729 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19735 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19745 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19753 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
19761 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19771 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19779 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
19784 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
19789 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
19790 PyObject
*resultobj
;
19791 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19792 wxTimeSpan
*arg2
= 0 ;
19793 wxDateTime
*result
;
19794 PyObject
* obj0
= 0 ;
19795 PyObject
* obj1
= 0 ;
19797 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19799 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19800 if (arg2
== NULL
) {
19801 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19806 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
19807 result
= (wxDateTime
*) &_result_ref
;
19810 wxPyEndAllowThreads(__tstate
);
19811 if (PyErr_Occurred()) SWIG_fail
;
19813 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19820 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
19821 PyObject
*resultobj
;
19822 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19823 wxDateSpan
*arg2
= 0 ;
19824 wxDateTime
*result
;
19825 PyObject
* obj0
= 0 ;
19826 PyObject
* obj1
= 0 ;
19828 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19830 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19831 if (arg2
== NULL
) {
19832 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19837 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
19838 result
= (wxDateTime
*) &_result_ref
;
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19844 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19851 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
19856 argc
= PyObject_Length(args
);
19857 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19858 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19864 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19874 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19882 return _wrap_DateTime___isub____SWIG_0(self
,args
);
19890 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19900 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19908 return _wrap_DateTime___isub____SWIG_1(self
,args
);
19913 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
19918 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
19919 PyObject
*resultobj
;
19920 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19921 wxTimeSpan
*arg2
= 0 ;
19923 PyObject
* obj0
= 0 ;
19924 PyObject
* obj1
= 0 ;
19926 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
19927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19928 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19929 if (arg2
== NULL
) {
19930 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19934 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
19936 wxPyEndAllowThreads(__tstate
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19940 wxDateTime
* resultptr
;
19941 resultptr
= new wxDateTime((wxDateTime
&) result
);
19942 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
19950 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
19951 PyObject
*resultobj
;
19952 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19953 wxDateSpan
*arg2
= 0 ;
19955 PyObject
* obj0
= 0 ;
19956 PyObject
* obj1
= 0 ;
19958 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
19959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19960 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19961 if (arg2
== NULL
) {
19962 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
19968 wxPyEndAllowThreads(__tstate
);
19969 if (PyErr_Occurred()) SWIG_fail
;
19972 wxDateTime
* resultptr
;
19973 resultptr
= new wxDateTime((wxDateTime
&) result
);
19974 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
19982 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
19987 argc
= PyObject_Length(args
);
19988 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19989 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19995 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20005 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20013 return _wrap_DateTime___add____SWIG_0(self
,args
);
20021 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20031 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20039 return _wrap_DateTime___add____SWIG_1(self
,args
);
20044 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20049 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20050 PyObject
*resultobj
;
20051 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20052 wxDateTime
*arg2
= 0 ;
20054 PyObject
* obj0
= 0 ;
20055 PyObject
* obj1
= 0 ;
20057 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20059 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20060 if (arg2
== NULL
) {
20061 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20065 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20067 wxPyEndAllowThreads(__tstate
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20071 wxTimeSpan
* resultptr
;
20072 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20073 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20081 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20082 PyObject
*resultobj
;
20083 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20084 wxTimeSpan
*arg2
= 0 ;
20086 PyObject
* obj0
= 0 ;
20087 PyObject
* obj1
= 0 ;
20089 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20091 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20092 if (arg2
== NULL
) {
20093 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20099 wxPyEndAllowThreads(__tstate
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20103 wxDateTime
* resultptr
;
20104 resultptr
= new wxDateTime((wxDateTime
&) result
);
20105 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
20113 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20114 PyObject
*resultobj
;
20115 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20116 wxDateSpan
*arg2
= 0 ;
20118 PyObject
* obj0
= 0 ;
20119 PyObject
* obj1
= 0 ;
20121 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20123 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20124 if (arg2
== NULL
) {
20125 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20129 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20131 wxPyEndAllowThreads(__tstate
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20135 wxDateTime
* resultptr
;
20136 resultptr
= new wxDateTime((wxDateTime
&) result
);
20137 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
20145 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20150 argc
= PyObject_Length(args
);
20151 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20152 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20158 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20168 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20176 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20184 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20194 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20202 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20210 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20220 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20228 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20233 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20238 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20239 PyObject
*resultobj
;
20240 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20241 wxDateTime
*arg2
= 0 ;
20243 PyObject
* obj0
= 0 ;
20244 PyObject
* obj1
= 0 ;
20246 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20248 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20249 if (arg2
== NULL
) {
20250 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const &)*arg2
);
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20266 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20267 PyObject
*resultobj
;
20268 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20269 wxDateTime
*arg2
= 0 ;
20271 PyObject
* obj0
= 0 ;
20272 PyObject
* obj1
= 0 ;
20274 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20276 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20277 if (arg2
== NULL
) {
20278 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20282 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const &)*arg2
);
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20294 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20295 PyObject
*resultobj
;
20296 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20297 wxDateTime
*arg2
= 0 ;
20299 PyObject
* obj0
= 0 ;
20300 PyObject
* obj1
= 0 ;
20302 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20304 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20305 if (arg2
== NULL
) {
20306 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20310 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const &)*arg2
);
20312 wxPyEndAllowThreads(__tstate
);
20313 if (PyErr_Occurred()) SWIG_fail
;
20315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20322 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20323 PyObject
*resultobj
;
20324 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20325 wxDateTime
*arg2
= 0 ;
20327 PyObject
* obj0
= 0 ;
20328 PyObject
* obj1
= 0 ;
20330 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20332 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20333 if (arg2
== NULL
) {
20334 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20338 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const &)*arg2
);
20340 wxPyEndAllowThreads(__tstate
);
20341 if (PyErr_Occurred()) SWIG_fail
;
20343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20350 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20351 PyObject
*resultobj
;
20352 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20353 wxDateTime
*arg2
= 0 ;
20355 PyObject
* obj0
= 0 ;
20356 PyObject
* obj1
= 0 ;
20358 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20360 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20361 if (arg2
== NULL
) {
20362 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const &)*arg2
);
20368 wxPyEndAllowThreads(__tstate
);
20369 if (PyErr_Occurred()) SWIG_fail
;
20371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20378 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20379 PyObject
*resultobj
;
20380 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20381 wxDateTime
*arg2
= 0 ;
20383 PyObject
* obj0
= 0 ;
20384 PyObject
* obj1
= 0 ;
20386 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20388 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20389 if (arg2
== NULL
) {
20390 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const &)*arg2
);
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20406 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20407 PyObject
*resultobj
;
20408 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20409 wxString
*arg2
= 0 ;
20411 bool temp2
= False
;
20412 PyObject
* obj0
= 0 ;
20413 PyObject
* obj1
= 0 ;
20414 char *kwnames
[] = {
20415 (char *) "self",(char *) "date", NULL
20418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20421 arg2
= wxString_in_helper(obj1
);
20422 if (arg2
== NULL
) SWIG_fail
;
20426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20432 resultobj
= SWIG_PyObj_FromInt((int)result
);
20447 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20448 PyObject
*resultobj
;
20449 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20450 wxString
*arg2
= 0 ;
20451 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20452 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20453 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20454 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20456 bool temp2
= False
;
20457 bool temp3
= False
;
20458 PyObject
* obj0
= 0 ;
20459 PyObject
* obj1
= 0 ;
20460 PyObject
* obj2
= 0 ;
20461 PyObject
* obj3
= 0 ;
20462 char *kwnames
[] = {
20463 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20469 arg2
= wxString_in_helper(obj1
);
20470 if (arg2
== NULL
) SWIG_fail
;
20475 arg3
= wxString_in_helper(obj2
);
20476 if (arg3
== NULL
) SWIG_fail
;
20481 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20482 if (arg4
== NULL
) {
20483 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20488 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20490 wxPyEndAllowThreads(__tstate
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20493 resultobj
= SWIG_PyObj_FromInt((int)result
);
20516 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20517 PyObject
*resultobj
;
20518 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20519 wxString
*arg2
= 0 ;
20521 bool temp2
= False
;
20522 PyObject
* obj0
= 0 ;
20523 PyObject
* obj1
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "self",(char *) "datetime", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20531 arg2
= wxString_in_helper(obj1
);
20532 if (arg2
== NULL
) SWIG_fail
;
20536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20537 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20539 wxPyEndAllowThreads(__tstate
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 resultobj
= SWIG_PyObj_FromInt((int)result
);
20557 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20558 PyObject
*resultobj
;
20559 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20560 wxString
*arg2
= 0 ;
20562 bool temp2
= False
;
20563 PyObject
* obj0
= 0 ;
20564 PyObject
* obj1
= 0 ;
20565 char *kwnames
[] = {
20566 (char *) "self",(char *) "date", NULL
20569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20572 arg2
= wxString_in_helper(obj1
);
20573 if (arg2
== NULL
) SWIG_fail
;
20577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20578 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20583 resultobj
= SWIG_PyObj_FromInt((int)result
);
20598 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20599 PyObject
*resultobj
;
20600 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20601 wxString
*arg2
= 0 ;
20603 bool temp2
= False
;
20604 PyObject
* obj0
= 0 ;
20605 PyObject
* obj1
= 0 ;
20606 char *kwnames
[] = {
20607 (char *) "self",(char *) "time", NULL
20610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20613 arg2
= wxString_in_helper(obj1
);
20614 if (arg2
== NULL
) SWIG_fail
;
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20621 wxPyEndAllowThreads(__tstate
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20624 resultobj
= SWIG_PyObj_FromInt((int)result
);
20639 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
;
20641 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20642 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20643 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20644 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20645 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20647 bool temp2
= False
;
20648 bool temp3
= False
;
20649 PyObject
* obj0
= 0 ;
20650 PyObject
* obj1
= 0 ;
20651 PyObject
* obj2
= 0 ;
20652 char *kwnames
[] = {
20653 (char *) "self",(char *) "format",(char *) "tz", NULL
20656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20660 arg2
= wxString_in_helper(obj1
);
20661 if (arg2
== NULL
) SWIG_fail
;
20667 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20673 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20675 wxPyEndAllowThreads(__tstate
);
20676 if (PyErr_Occurred()) SWIG_fail
;
20680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20690 if (temp3
) delete arg3
;
20699 if (temp3
) delete arg3
;
20705 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20706 PyObject
*resultobj
;
20707 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20709 PyObject
* obj0
= 0 ;
20710 char *kwnames
[] = {
20711 (char *) "self", NULL
20714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
20715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20718 result
= ((wxDateTime
const *)arg1
)->FormatDate();
20720 wxPyEndAllowThreads(__tstate
);
20721 if (PyErr_Occurred()) SWIG_fail
;
20725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20736 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20737 PyObject
*resultobj
;
20738 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20740 PyObject
* obj0
= 0 ;
20741 char *kwnames
[] = {
20742 (char *) "self", NULL
20745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
20746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20749 result
= ((wxDateTime
const *)arg1
)->FormatTime();
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20767 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20768 PyObject
*resultobj
;
20769 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20771 PyObject
* obj0
= 0 ;
20772 char *kwnames
[] = {
20773 (char *) "self", NULL
20776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
20777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20780 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
20782 wxPyEndAllowThreads(__tstate
);
20783 if (PyErr_Occurred()) SWIG_fail
;
20787 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20789 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20798 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20799 PyObject
*resultobj
;
20800 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20802 PyObject
* obj0
= 0 ;
20803 char *kwnames
[] = {
20804 (char *) "self", NULL
20807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
20808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20811 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
20813 wxPyEndAllowThreads(__tstate
);
20814 if (PyErr_Occurred()) SWIG_fail
;
20818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20829 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
20831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20832 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
20834 return Py_BuildValue((char *)"");
20836 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20837 PyObject
*resultobj
;
20840 PyObject
* obj0
= 0 ;
20841 char *kwnames
[] = {
20842 (char *) "sec", NULL
20845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
20847 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
20848 if (PyErr_Occurred()) SWIG_fail
;
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 result
= wxTimeSpan::Seconds(arg1
);
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20858 wxTimeSpan
* resultptr
;
20859 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20860 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20868 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20869 PyObject
*resultobj
;
20871 char *kwnames
[] = {
20875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 result
= wxTimeSpan::Second();
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20884 wxTimeSpan
* resultptr
;
20885 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20886 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20894 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
;
20898 PyObject
* obj0
= 0 ;
20899 char *kwnames
[] = {
20900 (char *) "min", NULL
20903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
20905 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
20906 if (PyErr_Occurred()) SWIG_fail
;
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 result
= wxTimeSpan::Minutes(arg1
);
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20916 wxTimeSpan
* resultptr
;
20917 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20918 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20926 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20927 PyObject
*resultobj
;
20929 char *kwnames
[] = {
20933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 result
= wxTimeSpan::Minute();
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20942 wxTimeSpan
* resultptr
;
20943 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20944 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20952 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20953 PyObject
*resultobj
;
20956 PyObject
* obj0
= 0 ;
20957 char *kwnames
[] = {
20958 (char *) "hours", NULL
20961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
20963 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20968 result
= wxTimeSpan::Hours(arg1
);
20970 wxPyEndAllowThreads(__tstate
);
20971 if (PyErr_Occurred()) SWIG_fail
;
20974 wxTimeSpan
* resultptr
;
20975 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20976 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20984 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20985 PyObject
*resultobj
;
20987 char *kwnames
[] = {
20991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
20993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20994 result
= wxTimeSpan::Hour();
20996 wxPyEndAllowThreads(__tstate
);
20997 if (PyErr_Occurred()) SWIG_fail
;
21000 wxTimeSpan
* resultptr
;
21001 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21002 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21010 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21011 PyObject
*resultobj
;
21014 PyObject
* obj0
= 0 ;
21015 char *kwnames
[] = {
21016 (char *) "days", NULL
21019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21021 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
21022 if (PyErr_Occurred()) SWIG_fail
;
21025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21026 result
= wxTimeSpan::Days(arg1
);
21028 wxPyEndAllowThreads(__tstate
);
21029 if (PyErr_Occurred()) SWIG_fail
;
21032 wxTimeSpan
* resultptr
;
21033 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21034 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21042 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
;
21045 char *kwnames
[] = {
21049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 result
= wxTimeSpan::Day();
21054 wxPyEndAllowThreads(__tstate
);
21055 if (PyErr_Occurred()) SWIG_fail
;
21058 wxTimeSpan
* resultptr
;
21059 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21060 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21068 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21069 PyObject
*resultobj
;
21072 PyObject
* obj0
= 0 ;
21073 char *kwnames
[] = {
21074 (char *) "days", NULL
21077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21079 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
21080 if (PyErr_Occurred()) SWIG_fail
;
21083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21084 result
= wxTimeSpan::Weeks(arg1
);
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21090 wxTimeSpan
* resultptr
;
21091 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21092 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21100 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21101 PyObject
*resultobj
;
21103 char *kwnames
[] = {
21107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 result
= wxTimeSpan::Week();
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21116 wxTimeSpan
* resultptr
;
21117 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21118 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21126 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
;
21128 long arg1
= (long) 0 ;
21129 long arg2
= (long) 0 ;
21130 long arg3
= (long) 0 ;
21131 long arg4
= (long) 0 ;
21132 wxTimeSpan
*result
;
21133 PyObject
* obj0
= 0 ;
21134 PyObject
* obj1
= 0 ;
21135 PyObject
* obj2
= 0 ;
21136 PyObject
* obj3
= 0 ;
21137 char *kwnames
[] = {
21138 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21144 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21150 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21156 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21162 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
21163 if (PyErr_Occurred()) SWIG_fail
;
21167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21168 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21170 wxPyEndAllowThreads(__tstate
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21173 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 1);
21180 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21181 PyObject
*resultobj
;
21182 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21183 PyObject
* obj0
= 0 ;
21184 char *kwnames
[] = {
21185 (char *) "self", NULL
21188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21194 wxPyEndAllowThreads(__tstate
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21197 Py_INCREF(Py_None
); resultobj
= Py_None
;
21204 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
;
21206 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21207 wxTimeSpan
*arg2
= 0 ;
21208 wxTimeSpan
*result
;
21209 PyObject
* obj0
= 0 ;
21210 PyObject
* obj1
= 0 ;
21211 char *kwnames
[] = {
21212 (char *) "self",(char *) "diff", NULL
21215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21217 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21218 if (arg2
== NULL
) {
21219 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21225 result
= (wxTimeSpan
*) &_result_ref
;
21228 wxPyEndAllowThreads(__tstate
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21231 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21238 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21239 PyObject
*resultobj
;
21240 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21241 wxTimeSpan
*arg2
= 0 ;
21242 wxTimeSpan
*result
;
21243 PyObject
* obj0
= 0 ;
21244 PyObject
* obj1
= 0 ;
21245 char *kwnames
[] = {
21246 (char *) "self",(char *) "diff", NULL
21249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21251 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21252 if (arg2
== NULL
) {
21253 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21258 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21259 result
= (wxTimeSpan
*) &_result_ref
;
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21265 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21272 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
;
21274 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21276 wxTimeSpan
*result
;
21277 PyObject
* obj0
= 0 ;
21278 PyObject
* obj1
= 0 ;
21279 char *kwnames
[] = {
21280 (char *) "self",(char *) "n", NULL
21283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21286 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21287 if (PyErr_Occurred()) SWIG_fail
;
21290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21292 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21293 result
= (wxTimeSpan
*) &_result_ref
;
21296 wxPyEndAllowThreads(__tstate
);
21297 if (PyErr_Occurred()) SWIG_fail
;
21299 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21306 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21307 PyObject
*resultobj
;
21308 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21309 wxTimeSpan
*result
;
21310 PyObject
* obj0
= 0 ;
21311 char *kwnames
[] = {
21312 (char *) "self", NULL
21315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21321 result
= (wxTimeSpan
*) &_result_ref
;
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21327 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21334 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
;
21336 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21338 PyObject
* obj0
= 0 ;
21339 char *kwnames
[] = {
21340 (char *) "self", NULL
21343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21353 wxTimeSpan
* resultptr
;
21354 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21355 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21363 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21364 PyObject
*resultobj
;
21365 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21366 wxTimeSpan
*arg2
= 0 ;
21367 wxTimeSpan
*result
;
21368 PyObject
* obj0
= 0 ;
21369 PyObject
* obj1
= 0 ;
21370 char *kwnames
[] = {
21371 (char *) "self",(char *) "diff", NULL
21374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21376 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21377 if (arg2
== NULL
) {
21378 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21383 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21384 result
= (wxTimeSpan
*) &_result_ref
;
21387 wxPyEndAllowThreads(__tstate
);
21388 if (PyErr_Occurred()) SWIG_fail
;
21390 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21397 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21398 PyObject
*resultobj
;
21399 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21400 wxTimeSpan
*arg2
= 0 ;
21401 wxTimeSpan
*result
;
21402 PyObject
* obj0
= 0 ;
21403 PyObject
* obj1
= 0 ;
21404 char *kwnames
[] = {
21405 (char *) "self",(char *) "diff", NULL
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21410 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21411 if (arg2
== NULL
) {
21412 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21417 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21418 result
= (wxTimeSpan
*) &_result_ref
;
21421 wxPyEndAllowThreads(__tstate
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21424 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21431 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21432 PyObject
*resultobj
;
21433 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21435 wxTimeSpan
*result
;
21436 PyObject
* obj0
= 0 ;
21437 PyObject
* obj1
= 0 ;
21438 char *kwnames
[] = {
21439 (char *) "self",(char *) "n", NULL
21442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21445 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21451 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21452 result
= (wxTimeSpan
*) &_result_ref
;
21455 wxPyEndAllowThreads(__tstate
);
21456 if (PyErr_Occurred()) SWIG_fail
;
21458 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21465 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21466 PyObject
*resultobj
;
21467 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21468 wxTimeSpan
*result
;
21469 PyObject
* obj0
= 0 ;
21470 char *kwnames
[] = {
21471 (char *) "self", NULL
21474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21479 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21480 result
= (wxTimeSpan
*) &_result_ref
;
21483 wxPyEndAllowThreads(__tstate
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21486 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21493 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21494 PyObject
*resultobj
;
21495 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21496 wxTimeSpan
*arg2
= 0 ;
21498 PyObject
* obj0
= 0 ;
21499 PyObject
* obj1
= 0 ;
21500 char *kwnames
[] = {
21501 (char *) "self",(char *) "other", NULL
21504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21506 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21507 if (arg2
== NULL
) {
21508 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21518 wxTimeSpan
* resultptr
;
21519 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21520 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21528 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21529 PyObject
*resultobj
;
21530 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21531 wxTimeSpan
*arg2
= 0 ;
21533 PyObject
* obj0
= 0 ;
21534 PyObject
* obj1
= 0 ;
21535 char *kwnames
[] = {
21536 (char *) "self",(char *) "other", NULL
21539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21541 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21542 if (arg2
== NULL
) {
21543 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21547 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21553 wxTimeSpan
* resultptr
;
21554 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21555 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21563 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21564 PyObject
*resultobj
;
21565 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21568 PyObject
* obj0
= 0 ;
21569 PyObject
* obj1
= 0 ;
21570 char *kwnames
[] = {
21571 (char *) "self",(char *) "n", NULL
21574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21577 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21582 result
= wxTimeSpan___mul__(arg1
,arg2
);
21584 wxPyEndAllowThreads(__tstate
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21588 wxTimeSpan
* resultptr
;
21589 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21590 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21598 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21599 PyObject
*resultobj
;
21600 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21603 PyObject
* obj0
= 0 ;
21604 PyObject
* obj1
= 0 ;
21605 char *kwnames
[] = {
21606 (char *) "self",(char *) "n", NULL
21609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21612 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21617 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21619 wxPyEndAllowThreads(__tstate
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21623 wxTimeSpan
* resultptr
;
21624 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21625 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21633 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21634 PyObject
*resultobj
;
21635 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21636 wxTimeSpan
*arg2
= 0 ;
21638 PyObject
* obj0
= 0 ;
21639 PyObject
* obj1
= 0 ;
21640 char *kwnames
[] = {
21641 (char *) "self",(char *) "other", NULL
21644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21646 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21647 if (arg2
== NULL
) {
21648 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const &)*arg2
);
21654 wxPyEndAllowThreads(__tstate
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21664 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21665 PyObject
*resultobj
;
21666 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21667 wxTimeSpan
*arg2
= 0 ;
21669 PyObject
* obj0
= 0 ;
21670 PyObject
* obj1
= 0 ;
21671 char *kwnames
[] = {
21672 (char *) "self",(char *) "other", NULL
21675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
21676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21677 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21678 if (arg2
== NULL
) {
21679 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21683 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const &)*arg2
);
21685 wxPyEndAllowThreads(__tstate
);
21686 if (PyErr_Occurred()) SWIG_fail
;
21688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21695 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21696 PyObject
*resultobj
;
21697 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21698 wxTimeSpan
*arg2
= 0 ;
21700 PyObject
* obj0
= 0 ;
21701 PyObject
* obj1
= 0 ;
21702 char *kwnames
[] = {
21703 (char *) "self",(char *) "other", NULL
21706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21708 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21709 if (arg2
== NULL
) {
21710 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21714 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const &)*arg2
);
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21726 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
;
21728 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21729 wxTimeSpan
*arg2
= 0 ;
21731 PyObject
* obj0
= 0 ;
21732 PyObject
* obj1
= 0 ;
21733 char *kwnames
[] = {
21734 (char *) "self",(char *) "other", NULL
21737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
21738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21739 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21740 if (arg2
== NULL
) {
21741 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const &)*arg2
);
21747 wxPyEndAllowThreads(__tstate
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21757 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21758 PyObject
*resultobj
;
21759 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21760 wxTimeSpan
*arg2
= 0 ;
21762 PyObject
* obj0
= 0 ;
21763 PyObject
* obj1
= 0 ;
21764 char *kwnames
[] = {
21765 (char *) "self",(char *) "other", NULL
21768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
21769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21770 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21771 if (arg2
== NULL
) {
21772 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const &)*arg2
);
21778 wxPyEndAllowThreads(__tstate
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21788 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21789 PyObject
*resultobj
;
21790 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21791 wxTimeSpan
*arg2
= 0 ;
21793 PyObject
* obj0
= 0 ;
21794 PyObject
* obj1
= 0 ;
21795 char *kwnames
[] = {
21796 (char *) "self",(char *) "other", NULL
21799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
21800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21801 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21802 if (arg2
== NULL
) {
21803 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21807 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const &)*arg2
);
21809 wxPyEndAllowThreads(__tstate
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21819 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21820 PyObject
*resultobj
;
21821 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21823 PyObject
* obj0
= 0 ;
21824 char *kwnames
[] = {
21825 (char *) "self", NULL
21828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
21829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21832 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21844 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21845 PyObject
*resultobj
;
21846 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21848 PyObject
* obj0
= 0 ;
21849 char *kwnames
[] = {
21850 (char *) "self", NULL
21853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
21854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21857 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
21859 wxPyEndAllowThreads(__tstate
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21869 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21870 PyObject
*resultobj
;
21871 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21873 PyObject
* obj0
= 0 ;
21874 char *kwnames
[] = {
21875 (char *) "self", NULL
21878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
21879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21882 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
21884 wxPyEndAllowThreads(__tstate
);
21885 if (PyErr_Occurred()) SWIG_fail
;
21887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21894 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21895 PyObject
*resultobj
;
21896 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21897 wxTimeSpan
*arg2
= 0 ;
21899 PyObject
* obj0
= 0 ;
21900 PyObject
* obj1
= 0 ;
21901 char *kwnames
[] = {
21902 (char *) "self",(char *) "ts", NULL
21905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21907 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21908 if (arg2
== NULL
) {
21909 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21913 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
21915 wxPyEndAllowThreads(__tstate
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21925 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21926 PyObject
*resultobj
;
21927 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21928 wxTimeSpan
*arg2
= 0 ;
21930 PyObject
* obj0
= 0 ;
21931 PyObject
* obj1
= 0 ;
21932 char *kwnames
[] = {
21933 (char *) "self",(char *) "ts", NULL
21936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21938 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21939 if (arg2
== NULL
) {
21940 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
21946 wxPyEndAllowThreads(__tstate
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21956 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21957 PyObject
*resultobj
;
21958 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21959 wxTimeSpan
*arg2
= 0 ;
21961 PyObject
* obj0
= 0 ;
21962 PyObject
* obj1
= 0 ;
21963 char *kwnames
[] = {
21964 (char *) "self",(char *) "t", NULL
21967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21969 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21970 if (arg2
== NULL
) {
21971 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21987 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
;
21989 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21991 PyObject
* obj0
= 0 ;
21992 char *kwnames
[] = {
21993 (char *) "self", NULL
21996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
21997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22000 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22005 resultobj
= SWIG_PyObj_FromInt((int)result
);
22012 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22013 PyObject
*resultobj
;
22014 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22016 PyObject
* obj0
= 0 ;
22017 char *kwnames
[] = {
22018 (char *) "self", NULL
22021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22025 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22027 wxPyEndAllowThreads(__tstate
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22030 resultobj
= SWIG_PyObj_FromInt((int)result
);
22037 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22038 PyObject
*resultobj
;
22039 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22041 PyObject
* obj0
= 0 ;
22042 char *kwnames
[] = {
22043 (char *) "self", NULL
22046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22050 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22052 wxPyEndAllowThreads(__tstate
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22055 resultobj
= SWIG_PyObj_FromInt((int)result
);
22062 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22063 PyObject
*resultobj
;
22064 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22066 PyObject
* obj0
= 0 ;
22067 char *kwnames
[] = {
22068 (char *) "self", NULL
22071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22075 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22077 wxPyEndAllowThreads(__tstate
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22080 resultobj
= SWIG_PyObj_FromInt((int)result
);
22087 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22088 PyObject
*resultobj
;
22089 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22091 PyObject
* obj0
= 0 ;
22092 char *kwnames
[] = {
22093 (char *) "self", NULL
22096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22100 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22102 wxPyEndAllowThreads(__tstate
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22106 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22107 hi
= PyLong_FromLong( (&result
)->GetHi() );
22108 lo
= PyLong_FromLong( (&result
)->GetLo() );
22109 shifter
= PyLong_FromLong(32);
22110 shifted
= PyNumber_Lshift(hi
, shifter
);
22111 resultobj
= PyNumber_Or(shifted
, lo
);
22114 Py_DECREF(shifter
);
22115 Py_DECREF(shifted
);
22123 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22124 PyObject
*resultobj
;
22125 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22127 PyObject
* obj0
= 0 ;
22128 char *kwnames
[] = {
22129 (char *) "self", NULL
22132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22138 wxPyEndAllowThreads(__tstate
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22142 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22143 hi
= PyLong_FromLong( (&result
)->GetHi() );
22144 lo
= PyLong_FromLong( (&result
)->GetLo() );
22145 shifter
= PyLong_FromLong(32);
22146 shifted
= PyNumber_Lshift(hi
, shifter
);
22147 resultobj
= PyNumber_Or(shifted
, lo
);
22150 Py_DECREF(shifter
);
22151 Py_DECREF(shifted
);
22159 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22160 PyObject
*resultobj
;
22161 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22162 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22163 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22165 bool temp2
= False
;
22166 PyObject
* obj0
= 0 ;
22167 PyObject
* obj1
= 0 ;
22168 char *kwnames
[] = {
22169 (char *) "self",(char *) "format", NULL
22172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22176 arg2
= wxString_in_helper(obj1
);
22177 if (arg2
== NULL
) SWIG_fail
;
22182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22183 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22209 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22212 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22214 return Py_BuildValue((char *)"");
22216 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22217 PyObject
*resultobj
;
22218 int arg1
= (int) 0 ;
22219 int arg2
= (int) 0 ;
22220 int arg3
= (int) 0 ;
22221 int arg4
= (int) 0 ;
22222 wxDateSpan
*result
;
22223 PyObject
* obj0
= 0 ;
22224 PyObject
* obj1
= 0 ;
22225 PyObject
* obj2
= 0 ;
22226 PyObject
* obj3
= 0 ;
22227 char *kwnames
[] = {
22228 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22234 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22240 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22246 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22252 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22263 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 1);
22270 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22271 PyObject
*resultobj
;
22272 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22273 PyObject
* obj0
= 0 ;
22274 char *kwnames
[] = {
22275 (char *) "self", NULL
22278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22287 Py_INCREF(Py_None
); resultobj
= Py_None
;
22294 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22295 PyObject
*resultobj
;
22298 PyObject
* obj0
= 0 ;
22299 char *kwnames
[] = {
22300 (char *) "days", NULL
22303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22305 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22306 if (PyErr_Occurred()) SWIG_fail
;
22309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 result
= wxDateSpan::Days(arg1
);
22312 wxPyEndAllowThreads(__tstate
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22316 wxDateSpan
* resultptr
;
22317 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22318 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22326 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22327 PyObject
*resultobj
;
22329 char *kwnames
[] = {
22333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22336 result
= wxDateSpan::Day();
22338 wxPyEndAllowThreads(__tstate
);
22339 if (PyErr_Occurred()) SWIG_fail
;
22342 wxDateSpan
* resultptr
;
22343 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22344 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22352 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
;
22356 PyObject
* obj0
= 0 ;
22357 char *kwnames
[] = {
22358 (char *) "weeks", NULL
22361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22363 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22364 if (PyErr_Occurred()) SWIG_fail
;
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 result
= wxDateSpan::Weeks(arg1
);
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22374 wxDateSpan
* resultptr
;
22375 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22376 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22384 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22385 PyObject
*resultobj
;
22387 char *kwnames
[] = {
22391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22394 result
= wxDateSpan::Week();
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22400 wxDateSpan
* resultptr
;
22401 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22402 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22410 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22411 PyObject
*resultobj
;
22414 PyObject
* obj0
= 0 ;
22415 char *kwnames
[] = {
22416 (char *) "mon", NULL
22419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22421 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 result
= wxDateSpan::Months(arg1
);
22428 wxPyEndAllowThreads(__tstate
);
22429 if (PyErr_Occurred()) SWIG_fail
;
22432 wxDateSpan
* resultptr
;
22433 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22434 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22442 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22443 PyObject
*resultobj
;
22445 char *kwnames
[] = {
22449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22452 result
= wxDateSpan::Month();
22454 wxPyEndAllowThreads(__tstate
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22458 wxDateSpan
* resultptr
;
22459 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22460 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22468 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22469 PyObject
*resultobj
;
22472 PyObject
* obj0
= 0 ;
22473 char *kwnames
[] = {
22474 (char *) "years", NULL
22477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22479 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22484 result
= wxDateSpan::Years(arg1
);
22486 wxPyEndAllowThreads(__tstate
);
22487 if (PyErr_Occurred()) SWIG_fail
;
22490 wxDateSpan
* resultptr
;
22491 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22492 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22500 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22501 PyObject
*resultobj
;
22503 char *kwnames
[] = {
22507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22510 result
= wxDateSpan::Year();
22512 wxPyEndAllowThreads(__tstate
);
22513 if (PyErr_Occurred()) SWIG_fail
;
22516 wxDateSpan
* resultptr
;
22517 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22518 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22526 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22527 PyObject
*resultobj
;
22528 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22530 wxDateSpan
*result
;
22531 PyObject
* obj0
= 0 ;
22532 PyObject
* obj1
= 0 ;
22533 char *kwnames
[] = {
22534 (char *) "self",(char *) "n", NULL
22537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22540 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22547 result
= (wxDateSpan
*) &_result_ref
;
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22553 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22560 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22561 PyObject
*resultobj
;
22562 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22564 wxDateSpan
*result
;
22565 PyObject
* obj0
= 0 ;
22566 PyObject
* obj1
= 0 ;
22567 char *kwnames
[] = {
22568 (char *) "self",(char *) "n", NULL
22571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22574 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22580 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22581 result
= (wxDateSpan
*) &_result_ref
;
22584 wxPyEndAllowThreads(__tstate
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22587 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22594 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
;
22596 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22598 wxDateSpan
*result
;
22599 PyObject
* obj0
= 0 ;
22600 PyObject
* obj1
= 0 ;
22601 char *kwnames
[] = {
22602 (char *) "self",(char *) "n", NULL
22605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22608 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22609 if (PyErr_Occurred()) SWIG_fail
;
22612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22614 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22615 result
= (wxDateSpan
*) &_result_ref
;
22618 wxPyEndAllowThreads(__tstate
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22621 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22628 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22629 PyObject
*resultobj
;
22630 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22632 wxDateSpan
*result
;
22633 PyObject
* obj0
= 0 ;
22634 PyObject
* obj1
= 0 ;
22635 char *kwnames
[] = {
22636 (char *) "self",(char *) "n", NULL
22639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
22640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22642 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
22649 result
= (wxDateSpan
*) &_result_ref
;
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22662 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
;
22664 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22666 PyObject
* obj0
= 0 ;
22667 char *kwnames
[] = {
22668 (char *) "self", NULL
22671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
22672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22680 resultobj
= SWIG_PyObj_FromInt((int)result
);
22687 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22688 PyObject
*resultobj
;
22689 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22691 PyObject
* obj0
= 0 ;
22692 char *kwnames
[] = {
22693 (char *) "self", NULL
22696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
22697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22700 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
22702 wxPyEndAllowThreads(__tstate
);
22703 if (PyErr_Occurred()) SWIG_fail
;
22705 resultobj
= SWIG_PyObj_FromInt((int)result
);
22712 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22713 PyObject
*resultobj
;
22714 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22716 PyObject
* obj0
= 0 ;
22717 char *kwnames
[] = {
22718 (char *) "self", NULL
22721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
22727 wxPyEndAllowThreads(__tstate
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22730 resultobj
= SWIG_PyObj_FromInt((int)result
);
22737 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22738 PyObject
*resultobj
;
22739 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22741 PyObject
* obj0
= 0 ;
22742 char *kwnames
[] = {
22743 (char *) "self", NULL
22746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22750 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
22752 wxPyEndAllowThreads(__tstate
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22755 resultobj
= SWIG_PyObj_FromInt((int)result
);
22762 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22763 PyObject
*resultobj
;
22764 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22766 PyObject
* obj0
= 0 ;
22767 char *kwnames
[] = {
22768 (char *) "self", NULL
22771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
22772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
22777 wxPyEndAllowThreads(__tstate
);
22778 if (PyErr_Occurred()) SWIG_fail
;
22780 resultobj
= SWIG_PyObj_FromInt((int)result
);
22787 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22788 PyObject
*resultobj
;
22789 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22790 wxDateSpan
*arg2
= 0 ;
22791 wxDateSpan
*result
;
22792 PyObject
* obj0
= 0 ;
22793 PyObject
* obj1
= 0 ;
22794 char *kwnames
[] = {
22795 (char *) "self",(char *) "other", NULL
22798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22800 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22801 if (arg2
== NULL
) {
22802 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22808 result
= (wxDateSpan
*) &_result_ref
;
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22821 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22822 PyObject
*resultobj
;
22823 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22824 wxDateSpan
*arg2
= 0 ;
22825 wxDateSpan
*result
;
22826 PyObject
* obj0
= 0 ;
22827 PyObject
* obj1
= 0 ;
22828 char *kwnames
[] = {
22829 (char *) "self",(char *) "other", NULL
22832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22834 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22835 if (arg2
== NULL
) {
22836 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22841 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22842 result
= (wxDateSpan
*) &_result_ref
;
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22848 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22855 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22856 PyObject
*resultobj
;
22857 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22858 wxDateSpan
*result
;
22859 PyObject
* obj0
= 0 ;
22860 char *kwnames
[] = {
22861 (char *) "self", NULL
22864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
22865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22869 wxDateSpan
&_result_ref
= (arg1
)->Neg();
22870 result
= (wxDateSpan
*) &_result_ref
;
22873 wxPyEndAllowThreads(__tstate
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22876 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22883 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
;
22885 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22887 wxDateSpan
*result
;
22888 PyObject
* obj0
= 0 ;
22889 PyObject
* obj1
= 0 ;
22890 char *kwnames
[] = {
22891 (char *) "self",(char *) "factor", NULL
22894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22897 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22903 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22904 result
= (wxDateSpan
*) &_result_ref
;
22907 wxPyEndAllowThreads(__tstate
);
22908 if (PyErr_Occurred()) SWIG_fail
;
22910 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22917 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22918 PyObject
*resultobj
;
22919 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22920 wxDateSpan
*arg2
= 0 ;
22921 wxDateSpan
*result
;
22922 PyObject
* obj0
= 0 ;
22923 PyObject
* obj1
= 0 ;
22924 char *kwnames
[] = {
22925 (char *) "self",(char *) "other", NULL
22928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22930 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22931 if (arg2
== NULL
) {
22932 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22938 result
= (wxDateSpan
*) &_result_ref
;
22941 wxPyEndAllowThreads(__tstate
);
22942 if (PyErr_Occurred()) SWIG_fail
;
22944 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22951 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22952 PyObject
*resultobj
;
22953 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22954 wxDateSpan
*arg2
= 0 ;
22955 wxDateSpan
*result
;
22956 PyObject
* obj0
= 0 ;
22957 PyObject
* obj1
= 0 ;
22958 char *kwnames
[] = {
22959 (char *) "self",(char *) "other", NULL
22962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22964 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22965 if (arg2
== NULL
) {
22966 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22971 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22972 result
= (wxDateSpan
*) &_result_ref
;
22975 wxPyEndAllowThreads(__tstate
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22978 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22985 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22986 PyObject
*resultobj
;
22987 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22988 wxDateSpan
*result
;
22989 PyObject
* obj0
= 0 ;
22990 char *kwnames
[] = {
22991 (char *) "self", NULL
22994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
22995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22999 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23000 result
= (wxDateSpan
*) &_result_ref
;
23003 wxPyEndAllowThreads(__tstate
);
23004 if (PyErr_Occurred()) SWIG_fail
;
23006 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
23013 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23014 PyObject
*resultobj
;
23015 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23017 wxDateSpan
*result
;
23018 PyObject
* obj0
= 0 ;
23019 PyObject
* obj1
= 0 ;
23020 char *kwnames
[] = {
23021 (char *) "self",(char *) "factor", NULL
23024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23027 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23033 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23034 result
= (wxDateSpan
*) &_result_ref
;
23037 wxPyEndAllowThreads(__tstate
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23040 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
23047 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23048 PyObject
*resultobj
;
23049 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23050 wxDateSpan
*arg2
= 0 ;
23052 PyObject
* obj0
= 0 ;
23053 PyObject
* obj1
= 0 ;
23054 char *kwnames
[] = {
23055 (char *) "self",(char *) "other", NULL
23058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23060 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23061 if (arg2
== NULL
) {
23062 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23072 wxDateSpan
* resultptr
;
23073 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23074 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
23082 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23083 PyObject
*resultobj
;
23084 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23085 wxDateSpan
*arg2
= 0 ;
23087 PyObject
* obj0
= 0 ;
23088 PyObject
* obj1
= 0 ;
23089 char *kwnames
[] = {
23090 (char *) "self",(char *) "other", NULL
23093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23095 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23096 if (arg2
== NULL
) {
23097 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23107 wxDateSpan
* resultptr
;
23108 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23109 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
23117 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23118 PyObject
*resultobj
;
23119 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23122 PyObject
* obj0
= 0 ;
23123 PyObject
* obj1
= 0 ;
23124 char *kwnames
[] = {
23125 (char *) "self",(char *) "n", NULL
23128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23131 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23132 if (PyErr_Occurred()) SWIG_fail
;
23135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23136 result
= wxDateSpan___mul__(arg1
,arg2
);
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23142 wxDateSpan
* resultptr
;
23143 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23144 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
23152 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23153 PyObject
*resultobj
;
23154 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23157 PyObject
* obj0
= 0 ;
23158 PyObject
* obj1
= 0 ;
23159 char *kwnames
[] = {
23160 (char *) "self",(char *) "n", NULL
23163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23166 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23171 result
= wxDateSpan___rmul__(arg1
,arg2
);
23173 wxPyEndAllowThreads(__tstate
);
23174 if (PyErr_Occurred()) SWIG_fail
;
23177 wxDateSpan
* resultptr
;
23178 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23179 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
23187 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
;
23189 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23190 wxDateSpan
*arg2
= 0 ;
23192 PyObject
* obj0
= 0 ;
23193 PyObject
* obj1
= 0 ;
23194 char *kwnames
[] = {
23195 (char *) "self",(char *) "other", NULL
23198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23200 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23201 if (arg2
== NULL
) {
23202 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23206 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const &)*arg2
);
23208 wxPyEndAllowThreads(__tstate
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23218 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23219 PyObject
*resultobj
;
23220 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23221 wxDateSpan
*arg2
= 0 ;
23223 PyObject
* obj0
= 0 ;
23224 PyObject
* obj1
= 0 ;
23225 char *kwnames
[] = {
23226 (char *) "self",(char *) "other", NULL
23229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23231 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23232 if (arg2
== NULL
) {
23233 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const &)*arg2
);
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23249 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23252 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23254 return Py_BuildValue((char *)"");
23256 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23257 PyObject
*resultobj
;
23259 char *kwnames
[] = {
23263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23266 result
= (long)wxGetLocalTime();
23268 wxPyEndAllowThreads(__tstate
);
23269 if (PyErr_Occurred()) SWIG_fail
;
23271 resultobj
= SWIG_PyObj_FromLong((long)result
);
23278 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23279 PyObject
*resultobj
;
23281 char *kwnames
[] = {
23285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 result
= (long)wxGetUTCTime();
23290 wxPyEndAllowThreads(__tstate
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23293 resultobj
= SWIG_PyObj_FromLong((long)result
);
23300 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23301 PyObject
*resultobj
;
23303 char *kwnames
[] = {
23307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23310 result
= (long)wxGetCurrentTime();
23312 wxPyEndAllowThreads(__tstate
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23315 resultobj
= SWIG_PyObj_FromLong((long)result
);
23322 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23323 PyObject
*resultobj
;
23325 char *kwnames
[] = {
23329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 result
= wxGetLocalTimeMillis();
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23338 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23339 hi
= PyLong_FromLong( (&result
)->GetHi() );
23340 lo
= PyLong_FromLong( (&result
)->GetLo() );
23341 shifter
= PyLong_FromLong(32);
23342 shifted
= PyNumber_Lshift(hi
, shifter
);
23343 resultobj
= PyNumber_Or(shifted
, lo
);
23346 Py_DECREF(shifter
);
23347 Py_DECREF(shifted
);
23355 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23358 wxDataFormat
*result
;
23359 PyObject
* obj0
= 0 ;
23360 char *kwnames
[] = {
23361 (char *) "type", NULL
23364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23366 arg1
= (wxDataFormatId
) SWIG_PyObj_AsInt(obj0
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23371 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23373 wxPyEndAllowThreads(__tstate
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23376 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
23383 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23384 PyObject
*resultobj
;
23385 wxString
*arg1
= 0 ;
23386 wxDataFormat
*result
;
23387 bool temp1
= False
;
23388 PyObject
* obj0
= 0 ;
23389 char *kwnames
[] = {
23390 (char *) "format", NULL
23393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23395 arg1
= wxString_in_helper(obj0
);
23396 if (arg1
== NULL
) SWIG_fail
;
23400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23401 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23403 wxPyEndAllowThreads(__tstate
);
23404 if (PyErr_Occurred()) SWIG_fail
;
23406 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
23421 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23422 PyObject
*resultobj
;
23423 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23424 PyObject
* obj0
= 0 ;
23425 char *kwnames
[] = {
23426 (char *) "self", NULL
23429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23438 Py_INCREF(Py_None
); resultobj
= Py_None
;
23445 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23446 PyObject
*resultobj
;
23447 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23450 PyObject
* obj0
= 0 ;
23451 PyObject
* obj1
= 0 ;
23453 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23456 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23461 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
23463 wxPyEndAllowThreads(__tstate
);
23464 if (PyErr_Occurred()) SWIG_fail
;
23466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23473 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23474 PyObject
*resultobj
;
23475 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23478 PyObject
* obj0
= 0 ;
23479 PyObject
* obj1
= 0 ;
23481 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23484 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23485 if (PyErr_Occurred()) SWIG_fail
;
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23501 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23502 PyObject
*resultobj
;
23503 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23504 wxDataFormat
*arg2
= 0 ;
23506 PyObject
* obj0
= 0 ;
23507 PyObject
* obj1
= 0 ;
23509 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23511 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23512 if (arg2
== NULL
) {
23513 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23529 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23534 argc
= PyObject_Length(args
);
23535 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23536 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23542 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23552 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23560 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23568 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23577 SWIG_PyObj_AsInt(argv
[1]);
23578 if (PyErr_Occurred()) {
23586 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
23591 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
23596 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
23597 PyObject
*resultobj
;
23598 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23599 wxDataFormat
*arg2
= 0 ;
23601 PyObject
* obj0
= 0 ;
23602 PyObject
* obj1
= 0 ;
23604 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23606 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23607 if (arg2
== NULL
) {
23608 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23612 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
23614 wxPyEndAllowThreads(__tstate
);
23615 if (PyErr_Occurred()) SWIG_fail
;
23617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23624 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
23629 argc
= PyObject_Length(args
);
23630 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23631 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23637 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23647 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23655 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
23663 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23672 SWIG_PyObj_AsInt(argv
[1]);
23673 if (PyErr_Occurred()) {
23681 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
23686 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
23691 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23692 PyObject
*resultobj
;
23693 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23695 PyObject
* obj0
= 0 ;
23696 PyObject
* obj1
= 0 ;
23697 char *kwnames
[] = {
23698 (char *) "self",(char *) "format", NULL
23701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
23702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23704 arg2
= (wxDataFormatId
) SWIG_PyObj_AsInt(obj1
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23709 (arg1
)->SetType((wxDataFormatId
)arg2
);
23711 wxPyEndAllowThreads(__tstate
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23714 Py_INCREF(Py_None
); resultobj
= Py_None
;
23721 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23722 PyObject
*resultobj
;
23723 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23725 PyObject
* obj0
= 0 ;
23726 char *kwnames
[] = {
23727 (char *) "self", NULL
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
23731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= SWIG_PyObj_FromInt((int)result
);
23746 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23747 PyObject
*resultobj
;
23748 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23750 PyObject
* obj0
= 0 ;
23751 char *kwnames
[] = {
23752 (char *) "self", NULL
23755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
23756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 result
= ((wxDataFormat
const *)arg1
)->GetId();
23761 wxPyEndAllowThreads(__tstate
);
23762 if (PyErr_Occurred()) SWIG_fail
;
23766 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23768 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23777 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23778 PyObject
*resultobj
;
23779 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23780 wxString
*arg2
= 0 ;
23781 bool temp2
= False
;
23782 PyObject
* obj0
= 0 ;
23783 PyObject
* obj1
= 0 ;
23784 char *kwnames
[] = {
23785 (char *) "self",(char *) "format", NULL
23788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23791 arg2
= wxString_in_helper(obj1
);
23792 if (arg2
== NULL
) SWIG_fail
;
23796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23797 (arg1
)->SetId((wxString
const &)*arg2
);
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23802 Py_INCREF(Py_None
); resultobj
= Py_None
;
23817 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
23819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23820 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
23822 return Py_BuildValue((char *)"");
23824 static int _wrap_FormatInvalid_set(PyObject
*) {
23825 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
23830 static PyObject
*_wrap_FormatInvalid_get() {
23833 pyobj
= SWIG_NewPointerObj((void *) &wxFormatInvalid
, SWIGTYPE_p_wxDataFormat
, 0);
23838 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23839 PyObject
*resultobj
;
23840 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23841 PyObject
* obj0
= 0 ;
23842 char *kwnames
[] = {
23843 (char *) "self", NULL
23846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
23847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23855 Py_INCREF(Py_None
); resultobj
= Py_None
;
23862 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23863 PyObject
*resultobj
;
23864 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23865 int arg2
= (int) wxDataObject::Get
;
23866 SwigValueWrapper
< wxDataFormat
> result
;
23867 PyObject
* obj0
= 0 ;
23868 PyObject
* obj1
= 0 ;
23869 char *kwnames
[] = {
23870 (char *) "self",(char *) "dir", NULL
23873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
23874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23877 arg2
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj1
);
23878 if (PyErr_Occurred()) SWIG_fail
;
23882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23883 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23889 wxDataFormat
* resultptr
;
23890 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
23891 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDataFormat
, 1);
23899 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23900 PyObject
*resultobj
;
23901 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23902 int arg2
= (int) wxDataObject::Get
;
23904 PyObject
* obj0
= 0 ;
23905 PyObject
* obj1
= 0 ;
23906 char *kwnames
[] = {
23907 (char *) "self",(char *) "dir", NULL
23910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23914 arg2
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj1
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23920 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
23922 wxPyEndAllowThreads(__tstate
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23925 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
23932 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23933 PyObject
*resultobj
;
23934 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23935 wxDataFormat
*arg2
= 0 ;
23936 int arg3
= (int) wxDataObject::Get
;
23938 PyObject
* obj0
= 0 ;
23939 PyObject
* obj1
= 0 ;
23940 PyObject
* obj2
= 0 ;
23941 char *kwnames
[] = {
23942 (char *) "self",(char *) "format",(char *) "dir", NULL
23945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23947 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23948 if (arg2
== NULL
) {
23949 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23953 arg3
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj2
);
23954 if (PyErr_Occurred()) SWIG_fail
;
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
23961 wxPyEndAllowThreads(__tstate
);
23962 if (PyErr_Occurred()) SWIG_fail
;
23964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23971 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23972 PyObject
*resultobj
;
23973 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23974 wxDataFormat
*arg2
= 0 ;
23976 PyObject
* obj0
= 0 ;
23977 PyObject
* obj1
= 0 ;
23978 char *kwnames
[] = {
23979 (char *) "self",(char *) "format", NULL
23982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23984 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23985 if (arg2
== NULL
) {
23986 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23990 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
23992 wxPyEndAllowThreads(__tstate
);
23993 if (PyErr_Occurred()) SWIG_fail
;
23995 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24002 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24003 PyObject
*resultobj
;
24004 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24005 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24006 int arg3
= (int) wxDataObject::Get
;
24007 PyObject
* obj0
= 0 ;
24008 PyObject
* obj1
= 0 ;
24009 PyObject
* obj2
= 0 ;
24010 char *kwnames
[] = {
24011 (char *) "self",(char *) "formats",(char *) "dir", NULL
24014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24016 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24019 arg3
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj2
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24025 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24027 wxPyEndAllowThreads(__tstate
);
24028 if (PyErr_Occurred()) SWIG_fail
;
24030 Py_INCREF(Py_None
); resultobj
= Py_None
;
24037 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24038 PyObject
*resultobj
;
24039 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24040 wxDataFormat
*arg2
= 0 ;
24041 void *arg3
= (void *) 0 ;
24043 PyObject
* obj0
= 0 ;
24044 PyObject
* obj1
= 0 ;
24045 PyObject
* obj2
= 0 ;
24046 char *kwnames
[] = {
24047 (char *) "self",(char *) "format",(char *) "buf", NULL
24050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24052 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24053 if (arg2
== NULL
) {
24054 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24056 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24059 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24061 wxPyEndAllowThreads(__tstate
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24071 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24072 PyObject
*resultobj
;
24073 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24074 wxDataFormat
*arg2
= 0 ;
24076 void *arg4
= (void *) 0 ;
24078 PyObject
* obj0
= 0 ;
24079 PyObject
* obj1
= 0 ;
24080 PyObject
* obj2
= 0 ;
24081 PyObject
* obj3
= 0 ;
24082 char *kwnames
[] = {
24083 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24088 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24089 if (arg2
== NULL
) {
24090 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24093 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
24094 if (PyErr_Occurred()) SWIG_fail
;
24096 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24099 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24101 wxPyEndAllowThreads(__tstate
);
24102 if (PyErr_Occurred()) SWIG_fail
;
24104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24111 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24114 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24116 return Py_BuildValue((char *)"");
24118 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24119 PyObject
*resultobj
;
24120 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24121 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24122 wxDataObjectSimple
*result
;
24123 PyObject
* obj0
= 0 ;
24124 char *kwnames
[] = {
24125 (char *) "format", NULL
24128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24131 if (arg1
== NULL
) {
24132 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24137 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24139 wxPyEndAllowThreads(__tstate
);
24140 if (PyErr_Occurred()) SWIG_fail
;
24142 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectSimple
, 1);
24149 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24150 PyObject
*resultobj
;
24151 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24152 wxDataFormat
*result
;
24153 PyObject
* obj0
= 0 ;
24154 char *kwnames
[] = {
24155 (char *) "self", NULL
24158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24163 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24164 result
= (wxDataFormat
*) &_result_ref
;
24167 wxPyEndAllowThreads(__tstate
);
24168 if (PyErr_Occurred()) SWIG_fail
;
24170 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 0);
24177 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24178 PyObject
*resultobj
;
24179 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24180 wxDataFormat
*arg2
= 0 ;
24181 PyObject
* obj0
= 0 ;
24182 PyObject
* obj1
= 0 ;
24183 char *kwnames
[] = {
24184 (char *) "self",(char *) "format", NULL
24187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24189 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24190 if (arg2
== NULL
) {
24191 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24195 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24197 wxPyEndAllowThreads(__tstate
);
24198 if (PyErr_Occurred()) SWIG_fail
;
24200 Py_INCREF(Py_None
); resultobj
= Py_None
;
24207 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24210 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24212 return Py_BuildValue((char *)"");
24214 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24215 PyObject
*resultobj
;
24216 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24217 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24218 wxPyDataObjectSimple
*result
;
24219 PyObject
* obj0
= 0 ;
24220 char *kwnames
[] = {
24221 (char *) "format", NULL
24224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24227 if (arg1
== NULL
) {
24228 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24235 wxPyEndAllowThreads(__tstate
);
24236 if (PyErr_Occurred()) SWIG_fail
;
24238 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24245 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24246 PyObject
*resultobj
;
24247 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24248 PyObject
*arg2
= (PyObject
*) 0 ;
24249 PyObject
*arg3
= (PyObject
*) 0 ;
24250 PyObject
* obj0
= 0 ;
24251 PyObject
* obj1
= 0 ;
24252 PyObject
* obj2
= 0 ;
24253 char *kwnames
[] = {
24254 (char *) "self",(char *) "self",(char *) "_class", NULL
24257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24263 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24268 Py_INCREF(Py_None
); resultobj
= Py_None
;
24275 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24278 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24280 return Py_BuildValue((char *)"");
24282 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24283 PyObject
*resultobj
;
24284 wxDataObjectComposite
*result
;
24285 char *kwnames
[] = {
24289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24292 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24294 wxPyEndAllowThreads(__tstate
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24297 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectComposite
, 1);
24304 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24305 PyObject
*resultobj
;
24306 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24307 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24308 int arg3
= (int) False
;
24309 PyObject
* obj0
= 0 ;
24310 PyObject
* obj1
= 0 ;
24311 PyObject
* obj2
= 0 ;
24312 char *kwnames
[] = {
24313 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectComposite
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24318 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24321 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 (arg1
)->Add(arg2
,arg3
);
24329 wxPyEndAllowThreads(__tstate
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24332 Py_INCREF(Py_None
); resultobj
= Py_None
;
24339 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24342 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24344 return Py_BuildValue((char *)"");
24346 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24347 PyObject
*resultobj
;
24348 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24349 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24350 wxTextDataObject
*result
;
24351 bool temp1
= False
;
24352 PyObject
* obj0
= 0 ;
24353 char *kwnames
[] = {
24354 (char *) "text", NULL
24357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24360 arg1
= wxString_in_helper(obj0
);
24361 if (arg1
== NULL
) SWIG_fail
;
24366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24367 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24369 wxPyEndAllowThreads(__tstate
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24372 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextDataObject
, 1);
24387 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24388 PyObject
*resultobj
;
24389 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24391 PyObject
* obj0
= 0 ;
24392 char *kwnames
[] = {
24393 (char *) "self", NULL
24396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 result
= (size_t)(arg1
)->GetTextLength();
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24405 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24412 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24413 PyObject
*resultobj
;
24414 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24416 PyObject
* obj0
= 0 ;
24417 char *kwnames
[] = {
24418 (char *) "self", NULL
24421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24425 result
= (arg1
)->GetText();
24427 wxPyEndAllowThreads(__tstate
);
24428 if (PyErr_Occurred()) SWIG_fail
;
24432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24443 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24444 PyObject
*resultobj
;
24445 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24446 wxString
*arg2
= 0 ;
24447 bool temp2
= False
;
24448 PyObject
* obj0
= 0 ;
24449 PyObject
* obj1
= 0 ;
24450 char *kwnames
[] = {
24451 (char *) "self",(char *) "text", NULL
24454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24457 arg2
= wxString_in_helper(obj1
);
24458 if (arg2
== NULL
) SWIG_fail
;
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24463 (arg1
)->SetText((wxString
const &)*arg2
);
24465 wxPyEndAllowThreads(__tstate
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24468 Py_INCREF(Py_None
); resultobj
= Py_None
;
24483 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24486 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24488 return Py_BuildValue((char *)"");
24490 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24491 PyObject
*resultobj
;
24492 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24493 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24494 wxPyTextDataObject
*result
;
24495 bool temp1
= False
;
24496 PyObject
* obj0
= 0 ;
24497 char *kwnames
[] = {
24498 (char *) "text", NULL
24501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24504 arg1
= wxString_in_helper(obj0
);
24505 if (arg1
== NULL
) SWIG_fail
;
24510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24511 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24516 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDataObject
, 1);
24531 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24532 PyObject
*resultobj
;
24533 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24534 PyObject
*arg2
= (PyObject
*) 0 ;
24535 PyObject
*arg3
= (PyObject
*) 0 ;
24536 PyObject
* obj0
= 0 ;
24537 PyObject
* obj1
= 0 ;
24538 PyObject
* obj2
= 0 ;
24539 char *kwnames
[] = {
24540 (char *) "self",(char *) "self",(char *) "_class", NULL
24543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24551 wxPyEndAllowThreads(__tstate
);
24552 if (PyErr_Occurred()) SWIG_fail
;
24554 Py_INCREF(Py_None
); resultobj
= Py_None
;
24561 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24564 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
24566 return Py_BuildValue((char *)"");
24568 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24569 PyObject
*resultobj
;
24570 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24571 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24572 wxBitmapDataObject
*result
;
24573 PyObject
* obj0
= 0 ;
24574 char *kwnames
[] = {
24575 (char *) "bitmap", NULL
24578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
24580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24581 if (arg1
== NULL
) {
24582 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24587 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
24589 wxPyEndAllowThreads(__tstate
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24592 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmapDataObject
, 1);
24599 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24600 PyObject
*resultobj
;
24601 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24603 PyObject
* obj0
= 0 ;
24604 char *kwnames
[] = {
24605 (char *) "self", NULL
24608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
24609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24612 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
24614 wxPyEndAllowThreads(__tstate
);
24615 if (PyErr_Occurred()) SWIG_fail
;
24618 wxBitmap
* resultptr
;
24619 resultptr
= new wxBitmap((wxBitmap
&) result
);
24620 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
24628 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
;
24630 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24631 wxBitmap
*arg2
= 0 ;
24632 PyObject
* obj0
= 0 ;
24633 PyObject
* obj1
= 0 ;
24634 char *kwnames
[] = {
24635 (char *) "self",(char *) "bitmap", NULL
24638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
24639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24640 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24641 if (arg2
== NULL
) {
24642 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24646 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24651 Py_INCREF(Py_None
); resultobj
= Py_None
;
24658 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24661 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
24663 return Py_BuildValue((char *)"");
24665 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24666 PyObject
*resultobj
;
24667 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24668 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24669 wxPyBitmapDataObject
*result
;
24670 PyObject
* obj0
= 0 ;
24671 char *kwnames
[] = {
24672 (char *) "bitmap", NULL
24675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
24677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24678 if (arg1
== NULL
) {
24679 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24684 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
24686 wxPyEndAllowThreads(__tstate
);
24687 if (PyErr_Occurred()) SWIG_fail
;
24689 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyBitmapDataObject
, 1);
24696 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24697 PyObject
*resultobj
;
24698 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
24699 PyObject
*arg2
= (PyObject
*) 0 ;
24700 PyObject
*arg3
= (PyObject
*) 0 ;
24701 PyObject
* obj0
= 0 ;
24702 PyObject
* obj1
= 0 ;
24703 PyObject
* obj2
= 0 ;
24704 char *kwnames
[] = {
24705 (char *) "self",(char *) "self",(char *) "_class", NULL
24708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24716 wxPyEndAllowThreads(__tstate
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24719 Py_INCREF(Py_None
); resultobj
= Py_None
;
24726 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24729 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
24731 return Py_BuildValue((char *)"");
24733 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24734 PyObject
*resultobj
;
24735 wxFileDataObject
*result
;
24736 char *kwnames
[] = {
24740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
24742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24743 result
= (wxFileDataObject
*)new wxFileDataObject();
24745 wxPyEndAllowThreads(__tstate
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24748 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDataObject
, 1);
24755 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24756 PyObject
*resultobj
;
24757 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
24758 wxArrayString
*result
;
24759 PyObject
* obj0
= 0 ;
24760 char *kwnames
[] = {
24761 (char *) "self", NULL
24764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
24765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24769 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
24770 result
= (wxArrayString
*) &_result_ref
;
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24777 resultobj
= wxArrayString2PyList_helper(*result
);
24785 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24786 PyObject
*resultobj
;
24787 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
24788 wxString
*arg2
= 0 ;
24789 bool temp2
= False
;
24790 PyObject
* obj0
= 0 ;
24791 PyObject
* obj1
= 0 ;
24792 char *kwnames
[] = {
24793 (char *) "self",(char *) "filename", NULL
24796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
24797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24799 arg2
= wxString_in_helper(obj1
);
24800 if (arg2
== NULL
) SWIG_fail
;
24804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24805 (arg1
)->AddFile((wxString
const &)*arg2
);
24807 wxPyEndAllowThreads(__tstate
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24810 Py_INCREF(Py_None
); resultobj
= Py_None
;
24825 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24828 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
24830 return Py_BuildValue((char *)"");
24832 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
;
24834 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24835 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24836 wxCustomDataObject
*result
;
24837 PyObject
* obj0
= 0 ;
24838 char *kwnames
[] = {
24839 (char *) "format", NULL
24842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
24844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24845 if (arg1
== NULL
) {
24846 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24851 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
24853 wxPyEndAllowThreads(__tstate
);
24854 if (PyErr_Occurred()) SWIG_fail
;
24856 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCustomDataObject
, 1);
24863 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24864 PyObject
*resultobj
;
24865 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24866 PyObject
*arg2
= (PyObject
*) 0 ;
24867 PyObject
* obj0
= 0 ;
24868 PyObject
* obj1
= 0 ;
24869 char *kwnames
[] = {
24870 (char *) "self",(char *) "data", NULL
24873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
24874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24878 wxCustomDataObject_TakeData(arg1
,arg2
);
24880 wxPyEndAllowThreads(__tstate
);
24881 if (PyErr_Occurred()) SWIG_fail
;
24883 Py_INCREF(Py_None
); resultobj
= Py_None
;
24890 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24891 PyObject
*resultobj
;
24892 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24893 PyObject
*arg2
= (PyObject
*) 0 ;
24895 PyObject
* obj0
= 0 ;
24896 PyObject
* obj1
= 0 ;
24897 char *kwnames
[] = {
24898 (char *) "self",(char *) "data", NULL
24901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24918 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24919 PyObject
*resultobj
;
24920 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24922 PyObject
* obj0
= 0 ;
24923 char *kwnames
[] = {
24924 (char *) "self", NULL
24927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
24928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24931 result
= (size_t)(arg1
)->GetSize();
24933 wxPyEndAllowThreads(__tstate
);
24934 if (PyErr_Occurred()) SWIG_fail
;
24936 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24943 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24944 PyObject
*resultobj
;
24945 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24947 PyObject
* obj0
= 0 ;
24948 char *kwnames
[] = {
24949 (char *) "self", NULL
24952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
24953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24956 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
24958 wxPyEndAllowThreads(__tstate
);
24959 if (PyErr_Occurred()) SWIG_fail
;
24961 resultobj
= result
;
24968 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24971 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
24973 return Py_BuildValue((char *)"");
24975 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24976 PyObject
*resultobj
;
24977 wxURLDataObject
*result
;
24978 char *kwnames
[] = {
24982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
24984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24985 result
= (wxURLDataObject
*)new wxURLDataObject();
24987 wxPyEndAllowThreads(__tstate
);
24988 if (PyErr_Occurred()) SWIG_fail
;
24990 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxURLDataObject
, 1);
24997 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24998 PyObject
*resultobj
;
24999 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25001 PyObject
* obj0
= 0 ;
25002 char *kwnames
[] = {
25003 (char *) "self", NULL
25006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25010 result
= (arg1
)->GetURL();
25012 wxPyEndAllowThreads(__tstate
);
25013 if (PyErr_Occurred()) SWIG_fail
;
25017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25028 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25029 PyObject
*resultobj
;
25030 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25031 wxString
*arg2
= 0 ;
25032 bool temp2
= False
;
25033 PyObject
* obj0
= 0 ;
25034 PyObject
* obj1
= 0 ;
25035 char *kwnames
[] = {
25036 (char *) "self",(char *) "url", NULL
25039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25042 arg2
= wxString_in_helper(obj1
);
25043 if (arg2
== NULL
) SWIG_fail
;
25047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25048 (arg1
)->SetURL((wxString
const &)*arg2
);
25050 wxPyEndAllowThreads(__tstate
);
25051 if (PyErr_Occurred()) SWIG_fail
;
25053 Py_INCREF(Py_None
); resultobj
= Py_None
;
25068 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25071 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25073 return Py_BuildValue((char *)"");
25075 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25076 PyObject
*resultobj
;
25077 wxMetafileDataObject
*result
;
25078 char *kwnames
[] = {
25082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25085 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25087 wxPyEndAllowThreads(__tstate
);
25088 if (PyErr_Occurred()) SWIG_fail
;
25090 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetafileDataObject
, 1);
25097 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25098 PyObject
*resultobj
;
25099 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25100 wxMetafile
*arg2
= 0 ;
25101 PyObject
* obj0
= 0 ;
25102 PyObject
* obj1
= 0 ;
25103 char *kwnames
[] = {
25104 (char *) "self",(char *) "metafile", NULL
25107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetafileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25109 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMetafile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25110 if (arg2
== NULL
) {
25111 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25115 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25117 wxPyEndAllowThreads(__tstate
);
25118 if (PyErr_Occurred()) SWIG_fail
;
25120 Py_INCREF(Py_None
); resultobj
= Py_None
;
25127 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25128 PyObject
*resultobj
;
25129 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25131 PyObject
* obj0
= 0 ;
25132 char *kwnames
[] = {
25133 (char *) "self", NULL
25136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetafileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25140 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25142 wxPyEndAllowThreads(__tstate
);
25143 if (PyErr_Occurred()) SWIG_fail
;
25146 wxMetafile
* resultptr
;
25147 resultptr
= new wxMetafile((wxMetafile
&) result
);
25148 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxMetafile
, 1);
25156 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25159 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25161 return Py_BuildValue((char *)"");
25163 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
;
25167 PyObject
* obj0
= 0 ;
25168 char *kwnames
[] = {
25169 (char *) "res", NULL
25172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25174 arg1
= (wxDragResult
) SWIG_PyObj_AsInt(obj0
);
25175 if (PyErr_Occurred()) SWIG_fail
;
25178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25179 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25181 wxPyEndAllowThreads(__tstate
);
25182 if (PyErr_Occurred()) SWIG_fail
;
25184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25191 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25192 PyObject
*resultobj
;
25193 wxWindow
*arg1
= (wxWindow
*) 0 ;
25194 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25195 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25196 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25197 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25198 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25199 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25200 wxPyDropSource
*result
;
25201 PyObject
* obj0
= 0 ;
25202 PyObject
* obj1
= 0 ;
25203 PyObject
* obj2
= 0 ;
25204 PyObject
* obj3
= 0 ;
25205 char *kwnames
[] = {
25206 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25212 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25213 if (arg2
== NULL
) {
25214 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25218 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25219 if (arg3
== NULL
) {
25220 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25224 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25225 if (arg4
== NULL
) {
25226 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25231 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25233 wxPyEndAllowThreads(__tstate
);
25234 if (PyErr_Occurred()) SWIG_fail
;
25236 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropSource
, 1);
25243 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25244 PyObject
*resultobj
;
25245 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25246 PyObject
*arg2
= (PyObject
*) 0 ;
25247 PyObject
*arg3
= (PyObject
*) 0 ;
25249 PyObject
* obj0
= 0 ;
25250 PyObject
* obj1
= 0 ;
25251 PyObject
* obj2
= 0 ;
25252 PyObject
* obj3
= 0 ;
25253 char *kwnames
[] = {
25254 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25262 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25267 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25269 wxPyEndAllowThreads(__tstate
);
25270 if (PyErr_Occurred()) SWIG_fail
;
25272 Py_INCREF(Py_None
); resultobj
= Py_None
;
25279 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25280 PyObject
*resultobj
;
25281 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25282 PyObject
* obj0
= 0 ;
25283 char *kwnames
[] = {
25284 (char *) "self", NULL
25287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25293 wxPyEndAllowThreads(__tstate
);
25294 if (PyErr_Occurred()) SWIG_fail
;
25296 Py_INCREF(Py_None
); resultobj
= Py_None
;
25303 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25304 PyObject
*resultobj
;
25305 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25306 wxDataObject
*arg2
= 0 ;
25307 PyObject
* obj0
= 0 ;
25308 PyObject
* obj1
= 0 ;
25309 char *kwnames
[] = {
25310 (char *) "self",(char *) "data", NULL
25313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25315 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25316 if (arg2
== NULL
) {
25317 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25321 (arg1
)->SetData(*arg2
);
25323 wxPyEndAllowThreads(__tstate
);
25324 if (PyErr_Occurred()) SWIG_fail
;
25326 Py_INCREF(Py_None
); resultobj
= Py_None
;
25333 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
;
25335 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25336 wxDataObject
*result
;
25337 PyObject
* obj0
= 0 ;
25338 char *kwnames
[] = {
25339 (char *) "self", NULL
25342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25346 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25348 wxPyEndAllowThreads(__tstate
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25351 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
25358 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25359 PyObject
*resultobj
;
25360 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25362 wxCursor
*arg3
= 0 ;
25363 PyObject
* obj0
= 0 ;
25364 PyObject
* obj1
= 0 ;
25365 PyObject
* obj2
= 0 ;
25366 char *kwnames
[] = {
25367 (char *) "self",(char *) "res",(char *) "cursor", NULL
25370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25373 arg2
= (wxDragResult
) SWIG_PyObj_AsInt(obj1
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25376 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25377 if (arg3
== NULL
) {
25378 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25387 Py_INCREF(Py_None
); resultobj
= Py_None
;
25394 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25395 PyObject
*resultobj
;
25396 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25397 int arg2
= (int) wxDrag_CopyOnly
;
25399 PyObject
* obj0
= 0 ;
25400 PyObject
* obj1
= 0 ;
25401 char *kwnames
[] = {
25402 (char *) "self",(char *) "flags", NULL
25405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25409 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25410 if (PyErr_Occurred()) SWIG_fail
;
25414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25415 result
= (int)(arg1
)->DoDragDrop(arg2
);
25417 wxPyEndAllowThreads(__tstate
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25420 resultobj
= SWIG_PyObj_FromInt((int)result
);
25427 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25428 PyObject
*resultobj
;
25429 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25432 PyObject
* obj0
= 0 ;
25433 PyObject
* obj1
= 0 ;
25434 char *kwnames
[] = {
25435 (char *) "self",(char *) "effect", NULL
25438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25441 arg2
= (wxDragResult
) SWIG_PyObj_AsInt(obj1
);
25442 if (PyErr_Occurred()) SWIG_fail
;
25445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25446 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25448 wxPyEndAllowThreads(__tstate
);
25449 if (PyErr_Occurred()) SWIG_fail
;
25451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25458 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25461 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25463 return Py_BuildValue((char *)"");
25465 static PyObject
*_wrap_new_PyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25466 PyObject
*resultobj
;
25467 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25468 wxPyDropTarget
*result
;
25469 PyObject
* obj0
= 0 ;
25470 char *kwnames
[] = {
25471 (char *) "dataObject", NULL
25474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDropTarget",kwnames
,&obj0
)) goto fail
;
25476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25480 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25482 wxPyEndAllowThreads(__tstate
);
25483 if (PyErr_Occurred()) SWIG_fail
;
25485 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 1);
25492 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25493 PyObject
*resultobj
;
25494 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25495 PyObject
*arg2
= (PyObject
*) 0 ;
25496 PyObject
*arg3
= (PyObject
*) 0 ;
25497 PyObject
* obj0
= 0 ;
25498 PyObject
* obj1
= 0 ;
25499 PyObject
* obj2
= 0 ;
25500 char *kwnames
[] = {
25501 (char *) "self",(char *) "self",(char *) "_class", NULL
25504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25515 Py_INCREF(Py_None
); resultobj
= Py_None
;
25522 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25523 PyObject
*resultobj
;
25524 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25525 PyObject
* obj0
= 0 ;
25526 char *kwnames
[] = {
25527 (char *) "self", NULL
25530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
25531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25536 wxPyEndAllowThreads(__tstate
);
25537 if (PyErr_Occurred()) SWIG_fail
;
25539 Py_INCREF(Py_None
); resultobj
= Py_None
;
25546 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25547 PyObject
*resultobj
;
25548 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25549 wxDataObject
*result
;
25550 PyObject
* obj0
= 0 ;
25551 char *kwnames
[] = {
25552 (char *) "self", NULL
25555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
25556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25559 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25561 wxPyEndAllowThreads(__tstate
);
25562 if (PyErr_Occurred()) SWIG_fail
;
25564 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
25571 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25572 PyObject
*resultobj
;
25573 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25574 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
25575 PyObject
* obj0
= 0 ;
25576 PyObject
* obj1
= 0 ;
25577 char *kwnames
[] = {
25578 (char *) "self",(char *) "dataObject", NULL
25581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
25582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25583 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25586 (arg1
)->SetDataObject(arg2
);
25588 wxPyEndAllowThreads(__tstate
);
25589 if (PyErr_Occurred()) SWIG_fail
;
25591 Py_INCREF(Py_None
); resultobj
= Py_None
;
25598 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25599 PyObject
*resultobj
;
25600 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25605 PyObject
* obj0
= 0 ;
25606 PyObject
* obj1
= 0 ;
25607 PyObject
* obj2
= 0 ;
25608 PyObject
* obj3
= 0 ;
25609 char *kwnames
[] = {
25610 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25616 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25617 if (PyErr_Occurred()) SWIG_fail
;
25620 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25621 if (PyErr_Occurred()) SWIG_fail
;
25624 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25629 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
25631 wxPyEndAllowThreads(__tstate
);
25632 if (PyErr_Occurred()) SWIG_fail
;
25634 resultobj
= SWIG_PyObj_FromInt((int)result
);
25641 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25642 PyObject
*resultobj
;
25643 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25648 PyObject
* obj0
= 0 ;
25649 PyObject
* obj1
= 0 ;
25650 PyObject
* obj2
= 0 ;
25651 PyObject
* obj3
= 0 ;
25652 char *kwnames
[] = {
25653 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25659 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25663 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25667 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25668 if (PyErr_Occurred()) SWIG_fail
;
25671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25672 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
25674 wxPyEndAllowThreads(__tstate
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25677 resultobj
= SWIG_PyObj_FromInt((int)result
);
25684 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25685 PyObject
*resultobj
;
25686 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25687 PyObject
* obj0
= 0 ;
25688 char *kwnames
[] = {
25689 (char *) "self", NULL
25692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
25693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25696 (arg1
)->base_OnLeave();
25698 wxPyEndAllowThreads(__tstate
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25701 Py_INCREF(Py_None
); resultobj
= Py_None
;
25708 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25709 PyObject
*resultobj
;
25710 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25714 PyObject
* obj0
= 0 ;
25715 PyObject
* obj1
= 0 ;
25716 PyObject
* obj2
= 0 ;
25717 char *kwnames
[] = {
25718 (char *) "self",(char *) "x",(char *) "y", NULL
25721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25724 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25725 if (PyErr_Occurred()) SWIG_fail
;
25728 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25733 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
25735 wxPyEndAllowThreads(__tstate
);
25736 if (PyErr_Occurred()) SWIG_fail
;
25738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25745 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25746 PyObject
*resultobj
;
25747 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25749 PyObject
* obj0
= 0 ;
25750 char *kwnames
[] = {
25751 (char *) "self", NULL
25754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
25755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25758 result
= (bool)(arg1
)->GetData();
25760 wxPyEndAllowThreads(__tstate
);
25761 if (PyErr_Occurred()) SWIG_fail
;
25763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25770 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
25772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25773 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
25775 return Py_BuildValue((char *)"");
25777 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25778 PyObject
*resultobj
;
25779 wxPyTextDropTarget
*result
;
25780 char *kwnames
[] = {
25784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
25786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25787 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
25789 wxPyEndAllowThreads(__tstate
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25792 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDropTarget
, 1);
25799 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25800 PyObject
*resultobj
;
25801 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25802 PyObject
*arg2
= (PyObject
*) 0 ;
25803 PyObject
*arg3
= (PyObject
*) 0 ;
25804 PyObject
* obj0
= 0 ;
25805 PyObject
* obj1
= 0 ;
25806 PyObject
* obj2
= 0 ;
25807 char *kwnames
[] = {
25808 (char *) "self",(char *) "self",(char *) "_class", NULL
25811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25817 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25819 wxPyEndAllowThreads(__tstate
);
25820 if (PyErr_Occurred()) SWIG_fail
;
25822 Py_INCREF(Py_None
); resultobj
= Py_None
;
25829 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25830 PyObject
*resultobj
;
25831 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25836 PyObject
* obj0
= 0 ;
25837 PyObject
* obj1
= 0 ;
25838 PyObject
* obj2
= 0 ;
25839 PyObject
* obj3
= 0 ;
25840 char *kwnames
[] = {
25841 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25847 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25848 if (PyErr_Occurred()) SWIG_fail
;
25851 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25852 if (PyErr_Occurred()) SWIG_fail
;
25855 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25856 if (PyErr_Occurred()) SWIG_fail
;
25859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25860 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
25862 wxPyEndAllowThreads(__tstate
);
25863 if (PyErr_Occurred()) SWIG_fail
;
25865 resultobj
= SWIG_PyObj_FromInt((int)result
);
25872 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25873 PyObject
*resultobj
;
25874 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25879 PyObject
* obj0
= 0 ;
25880 PyObject
* obj1
= 0 ;
25881 PyObject
* obj2
= 0 ;
25882 PyObject
* obj3
= 0 ;
25883 char *kwnames
[] = {
25884 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25890 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25891 if (PyErr_Occurred()) SWIG_fail
;
25894 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25898 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25899 if (PyErr_Occurred()) SWIG_fail
;
25902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
25905 wxPyEndAllowThreads(__tstate
);
25906 if (PyErr_Occurred()) SWIG_fail
;
25908 resultobj
= SWIG_PyObj_FromInt((int)result
);
25915 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25916 PyObject
*resultobj
;
25917 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25918 PyObject
* obj0
= 0 ;
25919 char *kwnames
[] = {
25920 (char *) "self", NULL
25923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
25924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25927 (arg1
)->base_OnLeave();
25929 wxPyEndAllowThreads(__tstate
);
25930 if (PyErr_Occurred()) SWIG_fail
;
25932 Py_INCREF(Py_None
); resultobj
= Py_None
;
25939 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25940 PyObject
*resultobj
;
25941 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25945 PyObject
* obj0
= 0 ;
25946 PyObject
* obj1
= 0 ;
25947 PyObject
* obj2
= 0 ;
25948 char *kwnames
[] = {
25949 (char *) "self",(char *) "x",(char *) "y", NULL
25952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25955 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25959 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25964 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
25966 wxPyEndAllowThreads(__tstate
);
25967 if (PyErr_Occurred()) SWIG_fail
;
25969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25976 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25977 PyObject
*resultobj
;
25978 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25983 PyObject
* obj0
= 0 ;
25984 PyObject
* obj1
= 0 ;
25985 PyObject
* obj2
= 0 ;
25986 PyObject
* obj3
= 0 ;
25987 char *kwnames
[] = {
25988 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25994 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25995 if (PyErr_Occurred()) SWIG_fail
;
25998 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25999 if (PyErr_Occurred()) SWIG_fail
;
26002 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
26003 if (PyErr_Occurred()) SWIG_fail
;
26006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26007 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26009 wxPyEndAllowThreads(__tstate
);
26010 if (PyErr_Occurred()) SWIG_fail
;
26012 resultobj
= SWIG_PyObj_FromInt((int)result
);
26019 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26022 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26024 return Py_BuildValue((char *)"");
26026 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26027 PyObject
*resultobj
;
26028 wxPyFileDropTarget
*result
;
26029 char *kwnames
[] = {
26033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26036 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26038 wxPyEndAllowThreads(__tstate
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26041 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileDropTarget
, 1);
26048 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26049 PyObject
*resultobj
;
26050 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26051 PyObject
*arg2
= (PyObject
*) 0 ;
26052 PyObject
*arg3
= (PyObject
*) 0 ;
26053 PyObject
* obj0
= 0 ;
26054 PyObject
* obj1
= 0 ;
26055 PyObject
* obj2
= 0 ;
26056 char *kwnames
[] = {
26057 (char *) "self",(char *) "self",(char *) "_class", NULL
26060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26068 wxPyEndAllowThreads(__tstate
);
26069 if (PyErr_Occurred()) SWIG_fail
;
26071 Py_INCREF(Py_None
); resultobj
= Py_None
;
26078 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26079 PyObject
*resultobj
;
26080 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26085 PyObject
* obj0
= 0 ;
26086 PyObject
* obj1
= 0 ;
26087 PyObject
* obj2
= 0 ;
26088 PyObject
* obj3
= 0 ;
26089 char *kwnames
[] = {
26090 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26096 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26100 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26101 if (PyErr_Occurred()) SWIG_fail
;
26104 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
26105 if (PyErr_Occurred()) SWIG_fail
;
26108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26109 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26111 wxPyEndAllowThreads(__tstate
);
26112 if (PyErr_Occurred()) SWIG_fail
;
26114 resultobj
= SWIG_PyObj_FromInt((int)result
);
26121 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26122 PyObject
*resultobj
;
26123 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26128 PyObject
* obj0
= 0 ;
26129 PyObject
* obj1
= 0 ;
26130 PyObject
* obj2
= 0 ;
26131 PyObject
* obj3
= 0 ;
26132 char *kwnames
[] = {
26133 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26139 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26140 if (PyErr_Occurred()) SWIG_fail
;
26143 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26144 if (PyErr_Occurred()) SWIG_fail
;
26147 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
26148 if (PyErr_Occurred()) SWIG_fail
;
26151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26152 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26154 wxPyEndAllowThreads(__tstate
);
26155 if (PyErr_Occurred()) SWIG_fail
;
26157 resultobj
= SWIG_PyObj_FromInt((int)result
);
26164 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26165 PyObject
*resultobj
;
26166 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26167 PyObject
* obj0
= 0 ;
26168 char *kwnames
[] = {
26169 (char *) "self", NULL
26172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26176 (arg1
)->base_OnLeave();
26178 wxPyEndAllowThreads(__tstate
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26181 Py_INCREF(Py_None
); resultobj
= Py_None
;
26188 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26189 PyObject
*resultobj
;
26190 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26194 PyObject
* obj0
= 0 ;
26195 PyObject
* obj1
= 0 ;
26196 PyObject
* obj2
= 0 ;
26197 char *kwnames
[] = {
26198 (char *) "self",(char *) "x",(char *) "y", NULL
26201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26204 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26208 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26209 if (PyErr_Occurred()) SWIG_fail
;
26212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26213 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26215 wxPyEndAllowThreads(__tstate
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26225 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26226 PyObject
*resultobj
;
26227 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26232 PyObject
* obj0
= 0 ;
26233 PyObject
* obj1
= 0 ;
26234 PyObject
* obj2
= 0 ;
26235 PyObject
* obj3
= 0 ;
26236 char *kwnames
[] = {
26237 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26243 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26244 if (PyErr_Occurred()) SWIG_fail
;
26247 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26248 if (PyErr_Occurred()) SWIG_fail
;
26251 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
26252 if (PyErr_Occurred()) SWIG_fail
;
26255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26256 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26261 resultobj
= SWIG_PyObj_FromInt((int)result
);
26268 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26271 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26273 return Py_BuildValue((char *)"");
26275 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26276 PyObject
*resultobj
;
26277 wxClipboard
*result
;
26278 char *kwnames
[] = {
26282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26285 result
= (wxClipboard
*)new wxClipboard();
26287 wxPyEndAllowThreads(__tstate
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26290 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboard
, 1);
26297 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26298 PyObject
*resultobj
;
26299 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26300 PyObject
* obj0
= 0 ;
26301 char *kwnames
[] = {
26302 (char *) "self", NULL
26305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26311 wxPyEndAllowThreads(__tstate
);
26312 if (PyErr_Occurred()) SWIG_fail
;
26314 Py_INCREF(Py_None
); resultobj
= Py_None
;
26321 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26322 PyObject
*resultobj
;
26323 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26325 PyObject
* obj0
= 0 ;
26326 char *kwnames
[] = {
26327 (char *) "self", NULL
26330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26334 result
= (bool)(arg1
)->Open();
26336 wxPyEndAllowThreads(__tstate
);
26337 if (PyErr_Occurred()) SWIG_fail
;
26339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26346 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26347 PyObject
*resultobj
;
26348 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26349 PyObject
* obj0
= 0 ;
26350 char *kwnames
[] = {
26351 (char *) "self", NULL
26354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26360 wxPyEndAllowThreads(__tstate
);
26361 if (PyErr_Occurred()) SWIG_fail
;
26363 Py_INCREF(Py_None
); resultobj
= Py_None
;
26370 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26371 PyObject
*resultobj
;
26372 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26374 PyObject
* obj0
= 0 ;
26375 char *kwnames
[] = {
26376 (char *) "self", NULL
26379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26383 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26385 wxPyEndAllowThreads(__tstate
);
26386 if (PyErr_Occurred()) SWIG_fail
;
26388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26395 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26396 PyObject
*resultobj
;
26397 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26398 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26400 PyObject
* obj0
= 0 ;
26401 PyObject
* obj1
= 0 ;
26402 char *kwnames
[] = {
26403 (char *) "self",(char *) "data", NULL
26406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26408 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26411 result
= (bool)(arg1
)->AddData(arg2
);
26413 wxPyEndAllowThreads(__tstate
);
26414 if (PyErr_Occurred()) SWIG_fail
;
26416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26423 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26424 PyObject
*resultobj
;
26425 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26426 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26428 PyObject
* obj0
= 0 ;
26429 PyObject
* obj1
= 0 ;
26430 char *kwnames
[] = {
26431 (char *) "self",(char *) "data", NULL
26434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26436 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 result
= (bool)(arg1
)->SetData(arg2
);
26441 wxPyEndAllowThreads(__tstate
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26451 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26452 PyObject
*resultobj
;
26453 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26454 wxDataFormat
*arg2
= 0 ;
26456 PyObject
* obj0
= 0 ;
26457 PyObject
* obj1
= 0 ;
26458 char *kwnames
[] = {
26459 (char *) "self",(char *) "format", NULL
26462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26464 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26465 if (arg2
== NULL
) {
26466 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26470 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26472 wxPyEndAllowThreads(__tstate
);
26473 if (PyErr_Occurred()) SWIG_fail
;
26475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26482 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26483 PyObject
*resultobj
;
26484 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26485 wxDataObject
*arg2
= 0 ;
26487 PyObject
* obj0
= 0 ;
26488 PyObject
* obj1
= 0 ;
26489 char *kwnames
[] = {
26490 (char *) "self",(char *) "data", NULL
26493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26495 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26496 if (arg2
== NULL
) {
26497 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26501 result
= (bool)(arg1
)->GetData(*arg2
);
26503 wxPyEndAllowThreads(__tstate
);
26504 if (PyErr_Occurred()) SWIG_fail
;
26506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26513 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26514 PyObject
*resultobj
;
26515 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26516 PyObject
* obj0
= 0 ;
26517 char *kwnames
[] = {
26518 (char *) "self", NULL
26521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
26522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26527 wxPyEndAllowThreads(__tstate
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26530 Py_INCREF(Py_None
); resultobj
= Py_None
;
26537 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26538 PyObject
*resultobj
;
26539 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26541 PyObject
* obj0
= 0 ;
26542 char *kwnames
[] = {
26543 (char *) "self", NULL
26546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
26547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26550 result
= (bool)(arg1
)->Flush();
26552 wxPyEndAllowThreads(__tstate
);
26553 if (PyErr_Occurred()) SWIG_fail
;
26555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26562 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26563 PyObject
*resultobj
;
26564 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26565 bool arg2
= (bool) False
;
26566 PyObject
* obj0
= 0 ;
26567 PyObject
* obj1
= 0 ;
26568 char *kwnames
[] = {
26569 (char *) "self",(char *) "primary", NULL
26572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26576 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26582 (arg1
)->UsePrimarySelection(arg2
);
26584 wxPyEndAllowThreads(__tstate
);
26585 if (PyErr_Occurred()) SWIG_fail
;
26587 Py_INCREF(Py_None
); resultobj
= Py_None
;
26594 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
26596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26597 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
26599 return Py_BuildValue((char *)"");
26601 static int _wrap_TheClipboard_set(PyObject
*) {
26602 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
26607 static PyObject
*_wrap_TheClipboard_get() {
26610 pyobj
= SWIG_NewPointerObj((void *) wxTheClipboard
, SWIGTYPE_p_wxClipboard
, 0);
26615 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26616 PyObject
*resultobj
;
26617 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
26618 wxClipboardLocker
*result
;
26619 PyObject
* obj0
= 0 ;
26620 char *kwnames
[] = {
26621 (char *) "clipboard", NULL
26624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26630 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
26632 wxPyEndAllowThreads(__tstate
);
26633 if (PyErr_Occurred()) SWIG_fail
;
26635 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboardLocker
, 1);
26642 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26643 PyObject
*resultobj
;
26644 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26645 PyObject
* obj0
= 0 ;
26646 char *kwnames
[] = {
26647 (char *) "self", NULL
26650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26656 wxPyEndAllowThreads(__tstate
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26659 Py_INCREF(Py_None
); resultobj
= Py_None
;
26666 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26667 PyObject
*resultobj
;
26668 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26670 PyObject
* obj0
= 0 ;
26671 char *kwnames
[] = {
26672 (char *) "self", NULL
26675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
26676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26679 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
26681 wxPyEndAllowThreads(__tstate
);
26682 if (PyErr_Occurred()) SWIG_fail
;
26684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26691 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
26693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26694 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
26696 return Py_BuildValue((char *)"");
26698 static PyMethodDef SwigMethods
[] = {
26699 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
26700 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26701 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
26702 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
26703 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
26704 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
26705 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
26706 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
26707 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
26708 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
26709 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
26710 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
26711 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
26712 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
26713 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
26714 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
26715 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
26716 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
26717 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26718 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
26719 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
26720 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
26721 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
26722 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
26723 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
26724 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
26725 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
26726 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
26727 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
26728 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
26729 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
26730 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
26731 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
26732 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
26733 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
26734 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
26735 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
26736 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
26737 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
26738 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
26739 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
26740 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
26741 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26742 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26743 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26744 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
26745 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26746 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26747 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
26748 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
26749 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
26750 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26751 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
26752 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
26753 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
26754 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
26755 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
26756 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
26757 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
26758 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
26759 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
26760 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
26761 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26762 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
26763 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
26764 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
26765 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
26766 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
26767 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
26768 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
26769 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
26770 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
26771 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
26772 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
26773 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
26774 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
26775 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
26776 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
26777 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
26778 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
26779 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
26780 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
26781 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
26782 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
26783 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26784 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
26785 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26786 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
26787 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
26788 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
26789 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
26790 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
26791 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
26792 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
26793 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
26794 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
26795 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
26796 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
26797 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
26798 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
26799 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26800 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26801 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
26802 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
26803 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
26804 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
26805 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
26806 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
26807 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
26808 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
26809 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
26810 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
26811 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
26812 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
26813 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
26814 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
26815 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
26816 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
26817 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
26818 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
26819 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
26820 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
26821 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
26822 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
26823 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
26824 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
26825 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
26826 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26827 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
26828 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
26829 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
26830 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
26831 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
26832 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
26833 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
26834 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
26835 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
26836 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
26837 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
26838 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
26839 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
26840 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
26841 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26842 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
26843 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
26844 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
26845 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
26846 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
26847 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26848 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
26849 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
26850 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
26851 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
26852 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
26853 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
26854 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26855 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
26856 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
26857 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
26858 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
26859 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
26860 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
26861 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
26862 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
26863 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
26864 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26865 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
26866 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
26867 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
26868 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
26869 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
26870 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
26871 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
26872 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
26873 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
26874 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
26875 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
26876 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26877 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26878 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26879 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
26880 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
26881 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
26882 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
26883 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26884 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26885 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
26886 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
26887 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
26888 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26889 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
26890 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
26891 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
26892 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26893 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
26894 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
26895 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
26896 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
26897 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
26898 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
26899 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
26900 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
26901 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
26902 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
26903 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
26904 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
26905 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
26906 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
26907 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
26908 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
26909 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
26910 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
26911 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
26912 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
26913 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
26914 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
26915 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
26916 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
26917 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
26918 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
26919 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
26920 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
26921 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
26922 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
26923 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
26924 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
26925 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
26926 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
26927 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
26928 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26929 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
26930 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
26931 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
26932 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
26933 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
26934 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26935 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
26936 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
26937 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
26938 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
26939 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
26940 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
26941 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
26942 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
26943 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
26944 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
26945 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
26946 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
26947 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
26948 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
26949 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
26950 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
26951 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
26952 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
26953 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
26954 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
26955 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
26956 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
26957 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
26958 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26959 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
26960 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
26961 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
26962 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
26963 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
26964 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
26965 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
26966 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
26967 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
26968 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26969 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
26970 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
26971 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
26972 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
26973 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
26974 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
26975 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
26976 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
26977 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
26978 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
26979 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
26980 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
26981 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
26982 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
26983 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
26984 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
26985 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
26986 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
26987 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
26988 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
26989 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
26990 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
26991 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
26992 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
26993 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
26994 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
26995 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
26996 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
26997 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
26998 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
26999 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
27000 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
27001 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
27002 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
27003 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
27004 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
27005 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
27006 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
27007 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
27008 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
27009 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
27010 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
27011 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
27012 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27013 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
27014 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
27015 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
27016 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
27017 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
27018 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
27019 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
27020 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27021 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
27022 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
27023 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
27024 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
27025 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
27026 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
27027 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
27028 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
27029 { (char *)"new_Sound", _wrap_new_Sound
, METH_VARARGS
},
27030 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
27031 { (char *)"Sound_Create", _wrap_Sound_Create
, METH_VARARGS
},
27032 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
27033 { (char *)"Sound_Play", _wrap_Sound_Play
, METH_VARARGS
},
27034 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound
, METH_VARARGS
},
27035 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
27036 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
27037 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
27038 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
27039 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
27040 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
27041 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
27042 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
27043 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
27044 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
27045 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
27046 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
27047 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
27048 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
27049 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
27050 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
27051 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
27052 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
27053 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
27054 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
27055 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
27056 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
27057 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
27058 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
27059 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
27060 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
27061 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
27062 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
27063 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
27064 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
27065 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
27066 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
27067 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
27068 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
27069 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
27070 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
27071 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
27072 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
27073 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
27074 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
27075 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
27076 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
27077 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
27078 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
27079 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
27080 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
27081 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
27082 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
27083 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
27084 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27085 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
27086 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
27087 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
27088 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27089 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
27090 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27091 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
27092 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
27093 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
27094 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
27095 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
27096 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
27097 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
27098 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
27099 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
27100 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
27101 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
27102 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
27103 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
27104 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
27105 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
27106 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
27107 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
27108 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
27109 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
27110 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
27111 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
27112 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
27113 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
27114 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
27115 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
27116 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
27117 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
27118 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
27119 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
27120 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
27121 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
27122 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
27123 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27124 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27125 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
27126 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
27127 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27128 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
27129 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
27130 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
27131 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
27132 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27133 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27134 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
27135 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
27136 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
27137 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
27138 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
27139 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
27140 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
27141 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
27142 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
27143 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
27144 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
27145 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27146 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
27147 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
27148 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
27149 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
27150 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
27151 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
27152 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
27153 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
27154 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
27155 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
27156 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
27157 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
27158 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
27159 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
27160 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
27161 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
27162 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
27163 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
27164 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
27165 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
27166 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
27167 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
27168 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
27169 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
27170 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
27171 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
27172 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
27173 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
27174 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
27175 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
27176 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
27177 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
27178 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
27179 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
27180 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
27181 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
27182 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
27183 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
27184 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
27185 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
27186 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27187 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27188 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27189 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27190 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27191 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27192 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27193 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
27194 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
27195 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
27196 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
27197 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
27198 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
27199 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
27200 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
27201 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
27202 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
27203 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
27204 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
27205 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
27206 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
27207 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
27208 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
27209 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
27210 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
27211 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
27212 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
27213 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
27214 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27215 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
27216 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
27217 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
27218 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
27219 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
27220 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
27221 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
27222 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
27223 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
27224 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
27225 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
27226 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
27227 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
27228 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
27229 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
27230 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
27231 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
27232 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
27233 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
27234 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
27235 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
27236 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
27237 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
27238 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
27239 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
27240 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
27241 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
27242 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
27243 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
27244 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
27245 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
27246 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
27247 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
27248 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
27249 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
27250 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
27251 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
27252 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
27253 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
27254 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
27255 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
27256 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
27257 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
27258 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
27259 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
27260 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
27261 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
27262 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
27263 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
27264 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
27265 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
27266 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
27267 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
27268 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
27269 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
27270 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
27271 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
27272 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
27273 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
27274 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
27275 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
27276 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
27277 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
27278 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
27279 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
27280 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
27281 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
27282 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
27283 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
27284 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
27285 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
27286 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
27287 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
27288 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
27289 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
27290 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
27291 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
27292 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
27293 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
27294 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
27295 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
27296 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
27297 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
27298 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
27299 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
27300 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
27301 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
27302 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
27303 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
27304 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
27305 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
27306 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
27307 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
27308 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
27309 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
27310 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
27311 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
27312 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
27313 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
27314 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
27315 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
27316 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
27317 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
27318 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
27319 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
27320 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
27321 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
27322 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
27323 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
27324 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
27325 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
27326 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
27327 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
27328 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
27329 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
27330 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
27331 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
27332 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
27333 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
27334 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
27335 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
27336 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
27337 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
27338 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
27339 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
27340 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
27341 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
27342 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
27343 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
27344 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
27345 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
27346 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
27347 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27348 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
27349 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
27350 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
27351 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
27352 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
27353 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
27354 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
27355 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
27356 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
27357 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27358 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
27359 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
27360 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
27361 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
27362 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
27363 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
27364 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27365 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
27366 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
27367 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
27368 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
27369 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27370 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
27371 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
27372 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
27373 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
27374 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27375 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27376 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
27377 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27378 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27379 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27380 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
27381 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27382 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27383 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
27384 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27385 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
27386 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
27387 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
27388 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27389 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
27390 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27391 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
27392 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27393 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
27394 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27395 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
27396 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
27397 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
27398 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27399 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
27400 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
27401 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
27402 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
27403 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
27404 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27405 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
27406 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27407 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27408 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
27409 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
27410 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
27411 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
27412 { (char *)"new_PyDropTarget", (PyCFunction
) _wrap_new_PyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27413 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27414 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27415 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27416 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27417 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27418 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27419 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27420 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27421 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27422 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
27423 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27424 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27425 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27426 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27427 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27428 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27429 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
27430 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
27431 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27432 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27433 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27434 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27435 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27436 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27437 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
27438 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
27439 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
27440 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
27441 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
27442 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
27443 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
27444 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
27445 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27446 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
27447 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27448 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
27449 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
27450 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
27451 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
27452 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
27453 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
27454 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
27455 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
27460 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27462 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
27463 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27465 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
27466 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
27468 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
27469 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
27471 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
27472 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
27474 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
27475 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
27477 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
27478 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
27480 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
27481 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
27483 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
27484 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
27486 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
27487 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
27489 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
27490 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
27492 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
27493 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27495 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
27496 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
27498 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
27499 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
27501 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
27502 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27504 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
27505 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27507 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
27508 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
27510 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
27511 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
27513 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
27514 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
27516 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
27517 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
27519 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
27520 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
27522 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
27523 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
27525 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
27526 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
27528 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
27529 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27531 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
27532 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27534 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
27535 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27537 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
27538 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27540 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
27541 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27543 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
27544 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
27546 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
27547 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
27549 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
27550 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27552 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
27553 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
27555 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
27556 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
27558 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
27559 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
27561 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
27562 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27564 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
27565 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27567 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
27568 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27570 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
27571 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
27573 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
27574 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
27576 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
27577 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
27579 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
27580 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
27582 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
27583 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27585 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
27586 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27588 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
27589 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
27591 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
27592 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
27594 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
27595 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
27597 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
27598 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
27600 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
27601 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27603 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
27604 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
27606 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
27607 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27609 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
27610 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
27612 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
27613 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
27615 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
27616 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
27618 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
27619 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
27621 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
27622 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
27624 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
27625 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
27627 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
27628 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
27630 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
27631 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27633 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
27634 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
27636 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
27637 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27639 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
27640 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
27642 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
27643 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
27645 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
27646 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
27648 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27649 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27651 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27652 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27654 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27655 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27657 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27658 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27660 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
27661 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
27663 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27664 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27666 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27667 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27669 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27670 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27672 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27673 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27675 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
27676 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
27678 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
27679 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
27681 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27682 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27684 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27685 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27687 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27688 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27690 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27691 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27693 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27694 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27696 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27697 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27699 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27700 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27702 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27703 return (void *)((wxObject
*) ((wxSizer
*) x
));
27705 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27706 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27708 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
27709 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
27711 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27712 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27714 static void *_p_wxEventTo_p_wxObject(void *x
) {
27715 return (void *)((wxObject
*) ((wxEvent
*) x
));
27717 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27718 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27720 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27721 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27723 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27724 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27726 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27727 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27729 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27730 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27732 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27733 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27735 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27736 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27738 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27739 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27741 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27742 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27744 static void *_p_wxControlTo_p_wxObject(void *x
) {
27745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
27747 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
27748 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
27750 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
27751 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
27753 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
27754 return (void *)((wxObject
*) ((wxFSFile
*) x
));
27756 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
27757 return (void *)((wxObject
*) ((wxClipboard
*) x
));
27759 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
27760 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
27762 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
27763 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
27765 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
27766 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27768 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27769 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27771 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
27772 return (void *)((wxObject
*) ((wxToolTip
*) x
));
27774 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27775 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27777 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27778 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27780 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27781 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27783 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27784 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27786 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27787 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27789 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27790 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27792 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27793 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27795 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27796 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27798 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27799 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27801 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27802 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27804 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27805 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27807 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27808 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
27810 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
27811 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
27813 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
27814 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
27816 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
27817 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
27819 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
27820 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
27822 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
27823 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
27825 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
27826 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
27828 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
27829 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
27831 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
27832 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
27834 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
27835 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
27837 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
27838 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
27840 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
27841 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
27843 static void *_p_wxImageTo_p_wxObject(void *x
) {
27844 return (void *)((wxObject
*) ((wxImage
*) x
));
27846 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
27847 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
27849 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
27850 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
27852 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
27853 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
27855 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
27856 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27858 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
27859 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27861 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
27862 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
27864 static void *_p_wxWindowTo_p_wxObject(void *x
) {
27865 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
27867 static void *_p_wxMenuTo_p_wxObject(void *x
) {
27868 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
27870 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
27871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
27873 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
27874 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
27876 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
27877 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
27879 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
27880 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27882 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
27883 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
27885 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
27886 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
27888 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
27889 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
27891 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
27892 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
27894 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
27895 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
27897 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
27898 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
27900 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
27901 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27903 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
27904 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
27906 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
27907 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
27909 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
27910 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
27912 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
27913 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27915 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
27916 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
27918 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
27919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27921 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
27922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
27924 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
27925 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
27927 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
27928 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
27930 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
27931 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
27933 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
27934 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
27936 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
27937 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
27939 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
27940 return (void *)((wxLog
*) ((wxLogChain
*) x
));
27942 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
27943 return (void *)((wxLog
*) ((wxLogGui
*) x
));
27945 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
27946 return (void *)((wxLog
*) ((wxPyLog
*) x
));
27948 static void *_p_wxControlTo_p_wxWindow(void *x
) {
27949 return (void *)((wxWindow
*) ((wxControl
*) x
));
27951 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
27952 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
27954 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
27955 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
27957 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
27958 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
27960 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
27961 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
27963 static swig_type_info _swigt__p_wxLogChain
[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
27964 static swig_type_info _swigt__p_wxMutexGuiLocker
[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
27965 static swig_type_info _swigt__p_wxMetafile
[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0},{"_p_wxMetafile"},{0}};
27966 static swig_type_info _swigt__p_wxFileHistory
[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
27967 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}};
27968 static swig_type_info _swigt__p_wxDateTime__TimeZone
[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
27969 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
27970 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}};
27971 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}};
27972 static swig_type_info _swigt__p_wxFileType
[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
27973 static swig_type_info _swigt__p_wxLogGui
[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
27974 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27975 static swig_type_info _swigt__p_wxDataFormat
[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
27976 static swig_type_info _swigt__p_wxTimerEvent
[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
27977 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
27978 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27979 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27980 static swig_type_info _swigt__p_wxClipboard
[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
27981 static swig_type_info _swigt__p_wxStopWatch
[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
27982 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27983 static swig_type_info _swigt__p_wxClipboardLocker
[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
27984 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27985 static swig_type_info _swigt__p_wxLogStderr
[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
27986 static swig_type_info _swigt__p_wxLogTextCtrl
[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
27987 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27988 static swig_type_info _swigt__p_wxBusyCursor
[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
27989 static swig_type_info _swigt__p_wxPyTextDataObject
[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
27990 static swig_type_info _swigt__p_wxBitmapDataObject
[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject
},{0}};
27991 static swig_type_info _swigt__p_wxTextDataObject
[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject
},{0}};
27992 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}};
27993 static swig_type_info _swigt__p_wxPyBitmapDataObject
[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
27994 static swig_type_info _swigt__p_wxFileDataObject
[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
27995 static swig_type_info _swigt__p_wxCustomDataObject
[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
27996 static swig_type_info _swigt__p_wxURLDataObject
[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
27997 static swig_type_info _swigt__p_wxMetafileDataObject
[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
27998 static swig_type_info _swigt__p_wxSound
[] = {{"_p_wxSound", 0, "wxSound *", 0},{"_p_wxSound"},{0}};
27999 static swig_type_info _swigt__p_wxTimerRunner
[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
28000 static swig_type_info _swigt__p_wxLogWindow
[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
28001 static swig_type_info _swigt__p_wxTimeSpan
[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
28002 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28003 static swig_type_info _swigt__p_wxWindowDisabler
[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
28004 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
28005 static swig_type_info _swigt__p_wxDataObjectComposite
[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite
},{0}};
28006 static swig_type_info _swigt__p_wxFileConfig
[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
28007 static swig_type_info _swigt__p_wxSystemSettings
[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
28008 static swig_type_info _swigt__p_wxPyDataObjectSimple
[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
28009 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}};
28010 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}};
28011 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28012 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
28013 static swig_type_info _swigt__p_wxSingleInstanceChecker
[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
28014 static swig_type_info _swigt__p_wxFileTypeInfo
[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
28015 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
28016 static swig_type_info _swigt__p_wxTimer
[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
28017 static swig_type_info _swigt__p_wxMimeTypesManager
[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
28018 static swig_type_info _swigt__p_wxPyArtProvider
[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
28019 static swig_type_info _swigt__p_wxPyTipProvider
[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
28020 static swig_type_info _swigt__p_wxTipProvider
[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider
},{0}};
28021 static swig_type_info _swigt__p_wxJoystick
[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
28022 static swig_type_info _swigt__p_wxSystemOptions
[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
28023 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28024 static swig_type_info _swigt__p_wxJoystickEvent
[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
28025 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
28026 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}};
28027 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
28028 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
28029 static swig_type_info _swigt__p_wxPyDropSource
[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
28030 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}};
28031 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28032 static swig_type_info _swigt__p_wxPyProcess
[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
28033 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28034 static swig_type_info _swigt__p_wxConfig
[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
28035 static swig_type_info _swigt__p_wxChar
[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
28036 static swig_type_info _swigt__p_wxBusyInfo
[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
28037 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}};
28038 static swig_type_info _swigt__p_wxPyTextDropTarget
[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
28039 static swig_type_info _swigt__p_wxPyFileDropTarget
[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
28040 static swig_type_info _swigt__p_wxProcessEvent
[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
28041 static swig_type_info _swigt__p_wxPyLog
[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
28042 static swig_type_info _swigt__p_wxLogNull
[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
28043 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28044 static swig_type_info _swigt__p_wxByte
[] = {{"_p_wxByte", 0, "wxByte *", 0},{"_p_wxByte"},{0}};
28045 static swig_type_info _swigt__p_wxConfigPathChanger
[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
28046 static swig_type_info _swigt__p_wxPyTimer
[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
28047 static swig_type_info _swigt__p_wxDateSpan
[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
28049 static swig_type_info
*swig_types_initial
[] = {
28050 _swigt__p_wxLogChain
,
28051 _swigt__p_wxMutexGuiLocker
,
28052 _swigt__p_wxMetafile
,
28053 _swigt__p_wxFileHistory
,
28055 _swigt__p_wxDateTime__TimeZone
,
28058 _swigt__p_wxConfigBase
,
28059 _swigt__p_wxFileType
,
28060 _swigt__p_wxLogGui
,
28062 _swigt__p_wxDataFormat
,
28063 _swigt__p_wxTimerEvent
,
28067 _swigt__p_wxClipboard
,
28068 _swigt__p_wxStopWatch
,
28070 _swigt__p_wxClipboardLocker
,
28072 _swigt__p_wxLogStderr
,
28073 _swigt__p_wxLogTextCtrl
,
28074 _swigt__p_wxTextCtrl
,
28075 _swigt__p_wxBusyCursor
,
28076 _swigt__p_wxPyTextDataObject
,
28077 _swigt__p_wxBitmapDataObject
,
28078 _swigt__p_wxTextDataObject
,
28079 _swigt__p_wxDataObject
,
28080 _swigt__p_wxPyBitmapDataObject
,
28081 _swigt__p_wxFileDataObject
,
28082 _swigt__p_wxCustomDataObject
,
28083 _swigt__p_wxURLDataObject
,
28084 _swigt__p_wxMetafileDataObject
,
28086 _swigt__p_wxTimerRunner
,
28087 _swigt__p_wxLogWindow
,
28088 _swigt__p_wxTimeSpan
,
28089 _swigt__p_wxArrayString
,
28090 _swigt__p_wxWindowDisabler
,
28091 _swigt__p_wxToolTip
,
28092 _swigt__p_wxDataObjectComposite
,
28093 _swigt__p_wxFileConfig
,
28094 _swigt__p_wxSystemSettings
,
28095 _swigt__p_wxPyDataObjectSimple
,
28096 _swigt__p_wxDataObjectSimple
,
28097 _swigt__p_wxEvtHandler
,
28100 _swigt__p_wxSingleInstanceChecker
,
28101 _swigt__p_wxFileTypeInfo
,
28104 _swigt__p_wxMimeTypesManager
,
28105 _swigt__p_wxPyArtProvider
,
28106 _swigt__p_wxPyTipProvider
,
28107 _swigt__p_wxTipProvider
,
28108 _swigt__p_wxJoystick
,
28109 _swigt__p_wxSystemOptions
,
28111 _swigt__p_wxJoystickEvent
,
28112 _swigt__p_wxCursor
,
28113 _swigt__p_wxObject
,
28114 _swigt__p_wxOutputStream
,
28115 _swigt__p_wxDateTime
,
28116 _swigt__p_wxPyDropSource
,
28117 _swigt__p_wxWindow
,
28118 _swigt__p_wxString
,
28119 _swigt__p_wxPyProcess
,
28120 _swigt__p_wxBitmap
,
28121 _swigt__p_wxConfig
,
28123 _swigt__p_wxBusyInfo
,
28124 _swigt__p_wxPyDropTarget
,
28125 _swigt__p_wxPyTextDropTarget
,
28126 _swigt__p_wxPyFileDropTarget
,
28127 _swigt__p_wxProcessEvent
,
28129 _swigt__p_wxLogNull
,
28130 _swigt__p_wxColour
,
28132 _swigt__p_wxConfigPathChanger
,
28133 _swigt__p_wxPyTimer
,
28134 _swigt__p_wxDateSpan
,
28139 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28141 static swig_const_info swig_const_table
[] = {
28142 { SWIG_PY_STRING
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
28143 { SWIG_PY_STRING
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
28144 { SWIG_PY_STRING
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
28145 { SWIG_PY_STRING
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
28146 { SWIG_PY_STRING
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
28156 SWIGEXPORT(void) SWIG_init(void) {
28157 static PyObject
*SWIG_globals
= 0;
28158 static int typeinit
= 0;
28161 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
28162 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
28163 d
= PyModule_GetDict(m
);
28166 for (i
= 0; swig_types_initial
[i
]; i
++) {
28167 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
28171 SWIG_InstallConstants(d
,swig_const_table
);
28173 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_OEM_FIXED_FONT
));
28174 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
28175 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_VAR_FONT
));
28176 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FONT
));
28177 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
28178 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_PALETTE
));
28179 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
28180 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
28181 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_PyObj_FromInt((int)wxSYS_ICONTITLE_FONT
));
28182 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
28183 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
28184 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_DESKTOP
));
28185 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
28186 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
28187 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENU
));
28188 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOW
));
28189 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
28190 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
28191 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
28192 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
28193 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
28194 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
28195 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
28196 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
28197 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
28198 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNFACE
));
28199 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DFACE
));
28200 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
28201 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
28202 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
28203 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
28204 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
28205 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
28206 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
28207 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
28208 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
28209 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
28210 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
28211 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
28212 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOBK
));
28213 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_LISTBOX
));
28214 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
28215 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
28216 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
28217 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
28218 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUBAR
));
28219 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MAX
));
28220 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_MOUSE_BUTTONS
));
28221 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_PyObj_FromInt((int)wxSYS_BORDER_X
));
28222 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_PyObj_FromInt((int)wxSYS_BORDER_Y
));
28223 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_X
));
28224 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_Y
));
28225 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_X
));
28226 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_Y
));
28227 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_PyObj_FromInt((int)wxSYS_DRAG_X
));
28228 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_PyObj_FromInt((int)wxSYS_DRAG_Y
));
28229 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_PyObj_FromInt((int)wxSYS_EDGE_X
));
28230 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_PyObj_FromInt((int)wxSYS_EDGE_Y
));
28231 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
28232 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
28233 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_PyObj_FromInt((int)wxSYS_HTHUMB_X
));
28234 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_PyObj_FromInt((int)wxSYS_ICON_X
));
28235 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_PyObj_FromInt((int)wxSYS_ICON_Y
));
28236 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_X
));
28237 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_Y
));
28238 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_X
));
28239 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_Y
));
28240 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_X
));
28241 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_Y
));
28242 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_X
));
28243 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_Y
));
28244 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_X
));
28245 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_Y
));
28246 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_Y
));
28247 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_X
));
28248 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
28249 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
28250 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_PyObj_FromInt((int)wxSYS_VTHUMB_Y
));
28251 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_PyObj_FromInt((int)wxSYS_CAPTION_Y
));
28252 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_PyObj_FromInt((int)wxSYS_MENU_Y
));
28253 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_NETWORK_PRESENT
));
28254 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
28255 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_PyObj_FromInt((int)wxSYS_SHOW_SOUNDS
));
28256 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_SWAP_BUTTONS
));
28257 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_PyObj_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
28258 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_PyObj_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
28259 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_NONE
));
28260 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_TINY
));
28261 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_PDA
));
28262 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_SMALL
));
28263 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_DESKTOP
));
28264 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
28265 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
28266 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
28267 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
28268 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_PyObj_FromInt((int)wxSHUTDOWN_POWEROFF
));
28269 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_PyObj_FromInt((int)wxSHUTDOWN_REBOOT
));
28270 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_PyObj_FromInt((int)wxTIMER_CONTINUOUS
));
28271 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_PyObj_FromInt((int)wxTIMER_ONE_SHOT
));
28272 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
28273 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_PyObj_FromInt((int)wxLOG_FatalError
));
28274 PyDict_SetItemString(d
,"LOG_Error", SWIG_PyObj_FromInt((int)wxLOG_Error
));
28275 PyDict_SetItemString(d
,"LOG_Warning", SWIG_PyObj_FromInt((int)wxLOG_Warning
));
28276 PyDict_SetItemString(d
,"LOG_Message", SWIG_PyObj_FromInt((int)wxLOG_Message
));
28277 PyDict_SetItemString(d
,"LOG_Status", SWIG_PyObj_FromInt((int)wxLOG_Status
));
28278 PyDict_SetItemString(d
,"LOG_Info", SWIG_PyObj_FromInt((int)wxLOG_Info
));
28279 PyDict_SetItemString(d
,"LOG_Debug", SWIG_PyObj_FromInt((int)wxLOG_Debug
));
28280 PyDict_SetItemString(d
,"LOG_Trace", SWIG_PyObj_FromInt((int)wxLOG_Trace
));
28281 PyDict_SetItemString(d
,"LOG_Progress", SWIG_PyObj_FromInt((int)wxLOG_Progress
));
28282 PyDict_SetItemString(d
,"LOG_User", SWIG_PyObj_FromInt((int)wxLOG_User
));
28283 PyDict_SetItemString(d
,"LOG_Max", SWIG_PyObj_FromInt((int)wxLOG_Max
));
28284 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_PyObj_FromInt((int)0x0001));
28285 PyDict_SetItemString(d
,"TraceMessages", SWIG_PyObj_FromInt((int)0x0002));
28286 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_PyObj_FromInt((int)0x0004));
28287 PyDict_SetItemString(d
,"TraceRefCount", SWIG_PyObj_FromInt((int)0x0008));
28288 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_PyObj_FromInt((int)0x0100));
28289 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_PyObj_FromInt((int)wxPROCESS_DEFAULT
));
28290 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_PyObj_FromInt((int)wxPROCESS_REDIRECT
));
28291 PyDict_SetItemString(d
,"KILL_OK", SWIG_PyObj_FromInt((int)wxKILL_OK
));
28292 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_PyObj_FromInt((int)wxKILL_BAD_SIGNAL
));
28293 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_PyObj_FromInt((int)wxKILL_ACCESS_DENIED
));
28294 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_PyObj_FromInt((int)wxKILL_NO_PROCESS
));
28295 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_PyObj_FromInt((int)wxKILL_ERROR
));
28296 PyDict_SetItemString(d
,"SIGNONE", SWIG_PyObj_FromInt((int)wxSIGNONE
));
28297 PyDict_SetItemString(d
,"SIGHUP", SWIG_PyObj_FromInt((int)wxSIGHUP
));
28298 PyDict_SetItemString(d
,"SIGINT", SWIG_PyObj_FromInt((int)wxSIGINT
));
28299 PyDict_SetItemString(d
,"SIGQUIT", SWIG_PyObj_FromInt((int)wxSIGQUIT
));
28300 PyDict_SetItemString(d
,"SIGILL", SWIG_PyObj_FromInt((int)wxSIGILL
));
28301 PyDict_SetItemString(d
,"SIGTRAP", SWIG_PyObj_FromInt((int)wxSIGTRAP
));
28302 PyDict_SetItemString(d
,"SIGABRT", SWIG_PyObj_FromInt((int)wxSIGABRT
));
28303 PyDict_SetItemString(d
,"SIGIOT", SWIG_PyObj_FromInt((int)wxSIGIOT
));
28304 PyDict_SetItemString(d
,"SIGEMT", SWIG_PyObj_FromInt((int)wxSIGEMT
));
28305 PyDict_SetItemString(d
,"SIGFPE", SWIG_PyObj_FromInt((int)wxSIGFPE
));
28306 PyDict_SetItemString(d
,"SIGKILL", SWIG_PyObj_FromInt((int)wxSIGKILL
));
28307 PyDict_SetItemString(d
,"SIGBUS", SWIG_PyObj_FromInt((int)wxSIGBUS
));
28308 PyDict_SetItemString(d
,"SIGSEGV", SWIG_PyObj_FromInt((int)wxSIGSEGV
));
28309 PyDict_SetItemString(d
,"SIGSYS", SWIG_PyObj_FromInt((int)wxSIGSYS
));
28310 PyDict_SetItemString(d
,"SIGPIPE", SWIG_PyObj_FromInt((int)wxSIGPIPE
));
28311 PyDict_SetItemString(d
,"SIGALRM", SWIG_PyObj_FromInt((int)wxSIGALRM
));
28312 PyDict_SetItemString(d
,"SIGTERM", SWIG_PyObj_FromInt((int)wxSIGTERM
));
28313 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
28314 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_PyObj_FromInt((int)wxEXEC_ASYNC
));
28315 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_PyObj_FromInt((int)wxEXEC_SYNC
));
28316 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_PyObj_FromInt((int)wxEXEC_NOHIDE
));
28317 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_PyObj_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
28319 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
28321 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_PyObj_FromInt((int)wxJOYSTICK1
));
28322 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_PyObj_FromInt((int)wxJOYSTICK2
));
28323 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_PyObj_FromInt((int)wxJOY_BUTTON_ANY
));
28324 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_PyObj_FromInt((int)wxJOY_BUTTON1
));
28325 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_PyObj_FromInt((int)wxJOY_BUTTON2
));
28326 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_PyObj_FromInt((int)wxJOY_BUTTON3
));
28327 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_PyObj_FromInt((int)wxJOY_BUTTON4
));
28328 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
28329 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
28330 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
28331 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
28332 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_PyObj_FromInt((int)wxSOUND_SYNC
));
28333 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_PyObj_FromInt((int)wxSOUND_ASYNC
));
28334 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_PyObj_FromInt((int)wxSOUND_LOOP
));
28335 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_PyObj_FromInt((int)wxMAILCAP_STANDARD
));
28336 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_PyObj_FromInt((int)wxMAILCAP_NETSCAPE
));
28337 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_PyObj_FromInt((int)wxMAILCAP_KDE
));
28338 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_PyObj_FromInt((int)wxMAILCAP_GNOME
));
28339 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_PyObj_FromInt((int)wxMAILCAP_ALL
));
28340 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
28341 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
28342 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
28343 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
28344 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
28345 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
28346 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
28347 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
28348 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
28349 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
28350 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
28351 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
28352 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
28353 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
28354 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
28355 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
28356 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
28357 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
28358 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
28359 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
28360 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
28361 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
28362 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
28363 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
28364 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
28365 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
28366 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
28367 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
28368 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
28369 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
28370 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
28371 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
28372 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
28373 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
28374 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
28375 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
28376 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
28377 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
28378 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
28380 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
28382 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
28383 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
28384 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_PyObj_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
28385 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_PyObj_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
28386 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Unknown
));
28387 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_PyObj_FromInt((int)wxConfigBase::Type_String
));
28388 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Boolean
));
28389 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Integer
));
28390 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Float
));
28391 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
28392 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
28393 PyDict_SetItemString(d
,"DateTime_Local", SWIG_PyObj_FromInt((int)wxDateTime::Local
));
28394 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_PyObj_FromInt((int)wxDateTime::GMT_12
));
28395 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_PyObj_FromInt((int)wxDateTime::GMT_11
));
28396 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_PyObj_FromInt((int)wxDateTime::GMT_10
));
28397 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_PyObj_FromInt((int)wxDateTime::GMT_9
));
28398 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_PyObj_FromInt((int)wxDateTime::GMT_8
));
28399 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_PyObj_FromInt((int)wxDateTime::GMT_7
));
28400 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_PyObj_FromInt((int)wxDateTime::GMT_6
));
28401 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_PyObj_FromInt((int)wxDateTime::GMT_5
));
28402 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_PyObj_FromInt((int)wxDateTime::GMT_4
));
28403 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_PyObj_FromInt((int)wxDateTime::GMT_3
));
28404 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_PyObj_FromInt((int)wxDateTime::GMT_2
));
28405 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_PyObj_FromInt((int)wxDateTime::GMT_1
));
28406 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_PyObj_FromInt((int)wxDateTime::GMT0
));
28407 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_PyObj_FromInt((int)wxDateTime::GMT1
));
28408 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_PyObj_FromInt((int)wxDateTime::GMT2
));
28409 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_PyObj_FromInt((int)wxDateTime::GMT3
));
28410 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_PyObj_FromInt((int)wxDateTime::GMT4
));
28411 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_PyObj_FromInt((int)wxDateTime::GMT5
));
28412 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_PyObj_FromInt((int)wxDateTime::GMT6
));
28413 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_PyObj_FromInt((int)wxDateTime::GMT7
));
28414 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_PyObj_FromInt((int)wxDateTime::GMT8
));
28415 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_PyObj_FromInt((int)wxDateTime::GMT9
));
28416 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_PyObj_FromInt((int)wxDateTime::GMT10
));
28417 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_PyObj_FromInt((int)wxDateTime::GMT11
));
28418 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_PyObj_FromInt((int)wxDateTime::GMT12
));
28419 PyDict_SetItemString(d
,"DateTime_WET", SWIG_PyObj_FromInt((int)wxDateTime::WET
));
28420 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_PyObj_FromInt((int)wxDateTime::WEST
));
28421 PyDict_SetItemString(d
,"DateTime_CET", SWIG_PyObj_FromInt((int)wxDateTime::CET
));
28422 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_PyObj_FromInt((int)wxDateTime::CEST
));
28423 PyDict_SetItemString(d
,"DateTime_EET", SWIG_PyObj_FromInt((int)wxDateTime::EET
));
28424 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_PyObj_FromInt((int)wxDateTime::EEST
));
28425 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_PyObj_FromInt((int)wxDateTime::MSK
));
28426 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_PyObj_FromInt((int)wxDateTime::MSD
));
28427 PyDict_SetItemString(d
,"DateTime_AST", SWIG_PyObj_FromInt((int)wxDateTime::AST
));
28428 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_PyObj_FromInt((int)wxDateTime::ADT
));
28429 PyDict_SetItemString(d
,"DateTime_EST", SWIG_PyObj_FromInt((int)wxDateTime::EST
));
28430 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_PyObj_FromInt((int)wxDateTime::EDT
));
28431 PyDict_SetItemString(d
,"DateTime_CST", SWIG_PyObj_FromInt((int)wxDateTime::CST
));
28432 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_PyObj_FromInt((int)wxDateTime::CDT
));
28433 PyDict_SetItemString(d
,"DateTime_MST", SWIG_PyObj_FromInt((int)wxDateTime::MST
));
28434 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_PyObj_FromInt((int)wxDateTime::MDT
));
28435 PyDict_SetItemString(d
,"DateTime_PST", SWIG_PyObj_FromInt((int)wxDateTime::PST
));
28436 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_PyObj_FromInt((int)wxDateTime::PDT
));
28437 PyDict_SetItemString(d
,"DateTime_HST", SWIG_PyObj_FromInt((int)wxDateTime::HST
));
28438 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_PyObj_FromInt((int)wxDateTime::AKST
));
28439 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_PyObj_FromInt((int)wxDateTime::AKDT
));
28440 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_PyObj_FromInt((int)wxDateTime::A_WST
));
28441 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_PyObj_FromInt((int)wxDateTime::A_CST
));
28442 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_PyObj_FromInt((int)wxDateTime::A_EST
));
28443 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_PyObj_FromInt((int)wxDateTime::A_ESST
));
28444 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_PyObj_FromInt((int)wxDateTime::UTC
));
28445 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_PyObj_FromInt((int)wxDateTime::Gregorian
));
28446 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_PyObj_FromInt((int)wxDateTime::Julian
));
28447 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Unknown
));
28448 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Standard
));
28449 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Alaska
));
28450 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Albania
));
28451 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria
));
28452 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
28453 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
28454 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
28455 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
28456 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Styria
));
28457 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Belgium
));
28458 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria
));
28459 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
28460 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
28461 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
28462 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Canada
));
28463 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China
));
28464 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_1
));
28465 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_2
));
28466 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
28467 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Denmark
));
28468 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Egypt
));
28469 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Estonia
));
28470 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Finland
));
28471 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France
));
28472 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Alsace
));
28473 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Lorraine
));
28474 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
28475 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany
));
28476 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
28477 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
28478 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
28479 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_GreatBritain
));
28480 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Greece
));
28481 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Hungary
));
28482 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Ireland
));
28483 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Italy
));
28484 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan
));
28485 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_1
));
28486 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_2
));
28487 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_3
));
28488 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Latvia
));
28489 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Lithuania
));
28490 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Luxemburg
));
28491 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands
));
28492 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
28493 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
28494 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
28495 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
28496 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Norway
));
28497 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Poland
));
28498 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Portugal
));
28499 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Romania
));
28500 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Russia
));
28501 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Scotland
));
28502 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Spain
));
28503 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Sweden
));
28504 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland
));
28505 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
28506 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
28507 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Turkey
));
28508 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_PyObj_FromInt((int)wxDateTime::Gr_USA
));
28509 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Wales
));
28510 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Yugoslavia
));
28511 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Country_Unknown
));
28512 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_PyObj_FromInt((int)wxDateTime::Country_Default
));
28513 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
28514 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_PyObj_FromInt((int)wxDateTime::Country_EEC
));
28515 PyDict_SetItemString(d
,"DateTime_France", SWIG_PyObj_FromInt((int)wxDateTime::France
));
28516 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Germany
));
28517 PyDict_SetItemString(d
,"DateTime_UK", SWIG_PyObj_FromInt((int)wxDateTime::UK
));
28518 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_End
));
28519 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Russia
));
28520 PyDict_SetItemString(d
,"DateTime_USA", SWIG_PyObj_FromInt((int)wxDateTime::USA
));
28521 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_PyObj_FromInt((int)wxDateTime::Jan
));
28522 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_PyObj_FromInt((int)wxDateTime::Feb
));
28523 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_PyObj_FromInt((int)wxDateTime::Mar
));
28524 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_PyObj_FromInt((int)wxDateTime::Apr
));
28525 PyDict_SetItemString(d
,"DateTime_May", SWIG_PyObj_FromInt((int)wxDateTime::May
));
28526 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_PyObj_FromInt((int)wxDateTime::Jun
));
28527 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_PyObj_FromInt((int)wxDateTime::Jul
));
28528 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_PyObj_FromInt((int)wxDateTime::Aug
));
28529 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_PyObj_FromInt((int)wxDateTime::Sep
));
28530 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_PyObj_FromInt((int)wxDateTime::Oct
));
28531 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_PyObj_FromInt((int)wxDateTime::Nov
));
28532 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_PyObj_FromInt((int)wxDateTime::Dec
));
28533 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Month
));
28534 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_PyObj_FromInt((int)wxDateTime::Sun
));
28535 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_PyObj_FromInt((int)wxDateTime::Mon
));
28536 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_PyObj_FromInt((int)wxDateTime::Tue
));
28537 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_PyObj_FromInt((int)wxDateTime::Wed
));
28538 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_PyObj_FromInt((int)wxDateTime::Thu
));
28539 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_PyObj_FromInt((int)wxDateTime::Fri
));
28540 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_PyObj_FromInt((int)wxDateTime::Sat
));
28541 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_PyObj_FromInt((int)wxDateTime::Inv_WeekDay
));
28542 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Year
));
28543 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_PyObj_FromInt((int)wxDateTime::Name_Full
));
28544 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_PyObj_FromInt((int)wxDateTime::Name_Abbr
));
28545 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_PyObj_FromInt((int)wxDateTime::Default_First
));
28546 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_PyObj_FromInt((int)wxDateTime::Monday_First
));
28547 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_PyObj_FromInt((int)wxDateTime::Sunday_First
));
28548 PyDict_SetItemString(d
,"DF_INVALID", SWIG_PyObj_FromInt((int)wxDF_INVALID
));
28549 PyDict_SetItemString(d
,"DF_TEXT", SWIG_PyObj_FromInt((int)wxDF_TEXT
));
28550 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_PyObj_FromInt((int)wxDF_BITMAP
));
28551 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_PyObj_FromInt((int)wxDF_METAFILE
));
28552 PyDict_SetItemString(d
,"DF_SYLK", SWIG_PyObj_FromInt((int)wxDF_SYLK
));
28553 PyDict_SetItemString(d
,"DF_DIF", SWIG_PyObj_FromInt((int)wxDF_DIF
));
28554 PyDict_SetItemString(d
,"DF_TIFF", SWIG_PyObj_FromInt((int)wxDF_TIFF
));
28555 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_PyObj_FromInt((int)wxDF_OEMTEXT
));
28556 PyDict_SetItemString(d
,"DF_DIB", SWIG_PyObj_FromInt((int)wxDF_DIB
));
28557 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_PyObj_FromInt((int)wxDF_PALETTE
));
28558 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_PyObj_FromInt((int)wxDF_PENDATA
));
28559 PyDict_SetItemString(d
,"DF_RIFF", SWIG_PyObj_FromInt((int)wxDF_RIFF
));
28560 PyDict_SetItemString(d
,"DF_WAVE", SWIG_PyObj_FromInt((int)wxDF_WAVE
));
28561 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_PyObj_FromInt((int)wxDF_UNICODETEXT
));
28562 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_PyObj_FromInt((int)wxDF_ENHMETAFILE
));
28563 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_PyObj_FromInt((int)wxDF_FILENAME
));
28564 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_PyObj_FromInt((int)wxDF_LOCALE
));
28565 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_PyObj_FromInt((int)wxDF_PRIVATE
));
28566 PyDict_SetItemString(d
,"DF_HTML", SWIG_PyObj_FromInt((int)wxDF_HTML
));
28567 PyDict_SetItemString(d
,"DF_MAX", SWIG_PyObj_FromInt((int)wxDF_MAX
));
28568 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
28569 PyDict_SetItemString(d
,"DataObject_Get", SWIG_PyObj_FromInt((int)wxDataObject::Get
));
28570 PyDict_SetItemString(d
,"DataObject_Set", SWIG_PyObj_FromInt((int)wxDataObject::Set
));
28571 PyDict_SetItemString(d
,"DataObject_Both", SWIG_PyObj_FromInt((int)wxDataObject::Both
));
28572 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_PyObj_FromInt((int)wxDrag_CopyOnly
));
28573 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_PyObj_FromInt((int)wxDrag_AllowMove
));
28574 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_PyObj_FromInt((int)wxDrag_DefaultMove
));
28575 PyDict_SetItemString(d
,"DragError", SWIG_PyObj_FromInt((int)wxDragError
));
28576 PyDict_SetItemString(d
,"DragNone", SWIG_PyObj_FromInt((int)wxDragNone
));
28577 PyDict_SetItemString(d
,"DragCopy", SWIG_PyObj_FromInt((int)wxDragCopy
));
28578 PyDict_SetItemString(d
,"DragMove", SWIG_PyObj_FromInt((int)wxDragMove
));
28579 PyDict_SetItemString(d
,"DragLink", SWIG_PyObj_FromInt((int)wxDragLink
));
28580 PyDict_SetItemString(d
,"DragCancel", SWIG_PyObj_FromInt((int)wxDragCancel
));
28582 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
28583 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
28584 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
28585 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
28587 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);