1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxLogChain swig_types[0]
234 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
235 #define SWIGTYPE_p_wxMetafile swig_types[2]
236 #define SWIGTYPE_p_wxFileHistory swig_types[3]
237 #define SWIGTYPE_p_wxLog swig_types[4]
238 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
239 #define SWIGTYPE_p_wxMenu swig_types[6]
240 #define SWIGTYPE_p_wxEvent swig_types[7]
241 #define SWIGTYPE_p_wxConfigBase swig_types[8]
242 #define SWIGTYPE_p_wxFileType swig_types[9]
243 #define SWIGTYPE_p_wxLogGui swig_types[10]
244 #define SWIGTYPE_p_wxFont swig_types[11]
245 #define SWIGTYPE_p_wxDataFormat swig_types[12]
246 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
247 #define SWIGTYPE_p_wxCaret swig_types[14]
248 #define SWIGTYPE_p_int swig_types[15]
249 #define SWIGTYPE_p_wxSize swig_types[16]
250 #define SWIGTYPE_p_wxClipboard swig_types[17]
251 #define SWIGTYPE_p_wxStopWatch swig_types[18]
252 #define SWIGTYPE_p_wxDC swig_types[19]
253 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
254 #define SWIGTYPE_p_wxIcon swig_types[21]
255 #define SWIGTYPE_p_wxLogStderr swig_types[22]
256 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
257 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
258 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
259 #define SWIGTYPE_p_wxPyTextDataObject swig_types[26]
260 #define SWIGTYPE_p_wxBitmapDataObject swig_types[27]
261 #define SWIGTYPE_p_wxTextDataObject swig_types[28]
262 #define SWIGTYPE_p_wxDataObject swig_types[29]
263 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[30]
264 #define SWIGTYPE_p_wxFileDataObject swig_types[31]
265 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
266 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
267 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
268 #define SWIGTYPE_p_wxSound swig_types[35]
269 #define SWIGTYPE_p_wxTimerRunner swig_types[36]
270 #define SWIGTYPE_p_wxLogWindow swig_types[37]
271 #define SWIGTYPE_p_wxTimeSpan swig_types[38]
272 #define SWIGTYPE_p_wxArrayString swig_types[39]
273 #define SWIGTYPE_p_wxWindowDisabler swig_types[40]
274 #define SWIGTYPE_p_wxToolTip swig_types[41]
275 #define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
276 #define SWIGTYPE_p_wxFileConfig swig_types[43]
277 #define SWIGTYPE_p_wxSystemSettings swig_types[44]
278 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[45]
279 #define SWIGTYPE_p_wxDataObjectSimple swig_types[46]
280 #define SWIGTYPE_p_wxEvtHandler swig_types[47]
281 #define SWIGTYPE_p_wxRect swig_types[48]
282 #define SWIGTYPE_p_char swig_types[49]
283 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[50]
284 #define SWIGTYPE_p_wxFileTypeInfo swig_types[51]
285 #define SWIGTYPE_p_wxFrame swig_types[52]
286 #define SWIGTYPE_p_wxTimer swig_types[53]
287 #define SWIGTYPE_p_wxMimeTypesManager swig_types[54]
288 #define SWIGTYPE_p_wxPyArtProvider swig_types[55]
289 #define SWIGTYPE_p_wxPyTipProvider swig_types[56]
290 #define SWIGTYPE_p_wxTipProvider swig_types[57]
291 #define SWIGTYPE_p_wxJoystick swig_types[58]
292 #define SWIGTYPE_p_wxSystemOptions swig_types[59]
293 #define SWIGTYPE_p_wxPoint swig_types[60]
294 #define SWIGTYPE_p_wxJoystickEvent swig_types[61]
295 #define SWIGTYPE_p_wxCursor swig_types[62]
296 #define SWIGTYPE_p_wxObject swig_types[63]
297 #define SWIGTYPE_p_wxOutputStream swig_types[64]
298 #define SWIGTYPE_p_wxDateTime swig_types[65]
299 #define SWIGTYPE_p_wxPyDropSource swig_types[66]
300 #define SWIGTYPE_p_wxWindow swig_types[67]
301 #define SWIGTYPE_p_wxString swig_types[68]
302 #define SWIGTYPE_p_wxPyProcess swig_types[69]
303 #define SWIGTYPE_p_wxBitmap swig_types[70]
304 #define SWIGTYPE_p_wxConfig swig_types[71]
305 #define SWIGTYPE_p_wxChar swig_types[72]
306 #define SWIGTYPE_p_wxBusyInfo swig_types[73]
307 #define SWIGTYPE_p_wxPyDropTarget swig_types[74]
308 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[75]
309 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[76]
310 #define SWIGTYPE_p_wxProcessEvent swig_types[77]
311 #define SWIGTYPE_p_wxPyLog swig_types[78]
312 #define SWIGTYPE_p_wxLogNull swig_types[79]
313 #define SWIGTYPE_p_wxColour swig_types[80]
314 #define SWIGTYPE_p_wxByte swig_types[81]
315 #define SWIGTYPE_p_wxConfigPathChanger swig_types[82]
316 #define SWIGTYPE_p_wxPyTimer swig_types[83]
317 #define SWIGTYPE_p_wxDateSpan swig_types[84]
318 static swig_type_info
*swig_types
[86];
320 /* -------- TYPES TABLE (END) -------- */
323 /*-----------------------------------------------
325 ------------------------------------------------*/
326 #define SWIG_init init_misc
328 #define SWIG_name "_misc"
336 #define SWIGSTATIC(a) static inline a
338 #define SWIGSTATIC(a) static a
344 #ifdef HAVE_NUMERIC_CAST
345 #define numeric_cast(type,a) numeric_cast<type>(a)
347 #define numeric_cast(type,a) static_cast<type>(a)
350 #define numeric_cast(type,a) (type)(a)
356 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
357 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
358 #define SWIG_PyObj_FromShort PyInt_FromLong
359 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
360 #define SWIG_PyObj_FromInt PyInt_FromLong
361 #define SWIG_PyObj_FromLong PyInt_FromLong
362 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
363 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
364 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
365 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
368 #include "wx/wxPython/wxPython.h"
369 #include "wx/wxPython/pyclasses.h"
370 #include "wx/wxPython/pyistream.h"
373 static const wxString
wxPyEmptyString(wxEmptyString
);
378 SWIG_PyObj_AsInt(PyObject
*obj
)
380 return numeric_cast(int,
381 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
384 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
385 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
386 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
389 SWIG_PyObj_AsLong(PyObject
* obj
)
391 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
396 SWIG_PyObj_AsBool(PyObject
*obj
)
398 return PyObject_IsTrue(obj
) ? true : false;
402 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
408 } else if (target
== Py_None
) {
412 if (!PyTuple_Check(target
)) {
414 target
= PyTuple_New(1);
415 PyTuple_SetItem(target
, 0, o2
);
418 PyTuple_SetItem(o3
, 0, o
);
421 target
= PySequence_Concat(o2
, o3
);
429 SWIGSTATIC(PyObject
* )
430 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
432 return (value
> (unsigned long)(LONG_MAX
)) ?
433 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
437 bool wxThread_IsMain() {
438 #ifdef WXP_WITH_THREAD
439 return wxThread::IsMain();
446 int wxCaret_GetBlinkTime() {
447 return wxCaret::GetBlinkTime();
450 void wxCaret_SetBlinkTime(int milliseconds
) {
451 wxCaret::SetBlinkTime(milliseconds
);
455 #include <wx/snglinst.h>
459 #include <wx/msw/private.h>
460 #include <wx/dynload.h>
465 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
472 // This one only partially works. Appears to be an undocumented
473 // "standard" convention that not all widgets adhear to. For
474 // example, for some widgets backgrounds or non-client areas may
476 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
480 // This one works much better, except for on XP. On Win2k nearly
481 // all widgets and their children are captured correctly[**]. On
482 // XP with Themes activated most native widgets draw only
483 // partially, if at all. Without themes it works just like on
486 // ** For example the radio buttons in a wxRadioBox are not its
487 // children by default, but you can capture it via the panel
488 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
489 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
490 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
491 PRF_ERASEBKGND
| PRF_OWNED
);
495 // This one is only defined in the latest SDK and is only
496 // available on XP. MSDN says it is similar to sending WM_PRINT
497 // so I expect that it will work similar to the above. Since it
498 // is avaialble only on XP, it can't be compiled like this and
499 // will have to be loaded dynamically.
500 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
505 // Use PrintWindow if available, or fallback to WM_PRINT
506 // otherwise. Unfortunately using PrintWindow is even worse than
507 // WM_PRINT. For most native widgets nothing is drawn to the dc
508 // at all, with or without Themes.
509 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
510 static bool s_triedToLoad
= False
;
511 static PrintWindow_t pfnPrintWindow
= NULL
;
512 if ( !s_triedToLoad
)
515 s_triedToLoad
= True
;
516 wxDynamicLibrary
dllUser32(_T("user32.dll"));
517 if ( dllUser32
.IsLoaded() )
519 wxLogNull nolog
; // Don't report errors here
520 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
525 printf("Using PrintWindow\n");
526 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
530 printf("Using WM_PRINT\n");
531 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
532 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
540 #include <wx/tipdlg.h>
543 class wxPyTipProvider
: public wxTipProvider
{
545 wxPyTipProvider(size_t currentTip
)
546 : wxTipProvider(currentTip
) {}
548 DEC_PYCALLBACK_STRING__pure(GetTip
);
549 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
553 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
554 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
557 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
560 SWIGSTATIC(unsigned int)
561 SWIG_PyObj_AsUnsignedInt(PyObject
*obj
)
563 return numeric_cast(unsigned int,
564 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned int", UINT_MAX
));
567 wxString
Log_TimeStamp(){
569 wxLog::TimeStamp(&msg
);
572 void wxLog_Destroy(wxLog
*self
){ delete self
; }
574 // A wxLog class that can be derived from in wxPython
575 class wxPyLog
: public wxLog
{
577 wxPyLog() : wxLog() {}
579 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
581 wxPyBeginBlockThreads();
582 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
583 PyObject
* s
= wx2PyString(szString
);
584 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
587 wxPyEndBlockThreads();
589 wxLog::DoLog(level
, szString
, t
);
592 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
594 wxPyBeginBlockThreads();
595 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
596 PyObject
* s
= wx2PyString(szString
);
597 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
600 wxPyEndBlockThreads();
602 wxLog::DoLogString(szString
, t
);
611 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
614 #include <wx/joystick.h>
617 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
618 // A C++ stub class for wxJoystick for platforms that don't have it.
619 class wxJoystick
: public wxObject
{
621 wxJoystick(int joystick
= wxJOYSTICK1
) {
622 wxPyBeginBlockThreads();
623 PyErr_SetString(PyExc_NotImplementedError
,
624 "wxJoystick is not available on this platform.");
625 wxPyEndBlockThreads();
627 wxPoint
GetPosition() { return wxPoint(-1,-1); }
628 int GetZPosition() { return -1; }
629 int GetButtonState() { return -1; }
630 int GetPOVPosition() { return -1; }
631 int GetPOVCTSPosition() { return -1; }
632 int GetRudderPosition() { return -1; }
633 int GetUPosition() { return -1; }
634 int GetVPosition() { return -1; }
635 int GetMovementThreshold() { return -1; }
636 void SetMovementThreshold(int threshold
) {}
638 bool IsOk(void) { return False
; }
639 int GetNumberJoysticks() { return -1; }
640 int GetManufacturerId() { return -1; }
641 int GetProductId() { return -1; }
642 wxString
GetProductName() { return ""; }
643 int GetXMin() { return -1; }
644 int GetYMin() { return -1; }
645 int GetZMin() { return -1; }
646 int GetXMax() { return -1; }
647 int GetYMax() { return -1; }
648 int GetZMax() { return -1; }
649 int GetNumberButtons() { return -1; }
650 int GetNumberAxes() { return -1; }
651 int GetMaxButtons() { return -1; }
652 int GetMaxAxes() { return -1; }
653 int GetPollingMin() { return -1; }
654 int GetPollingMax() { return -1; }
655 int GetRudderMin() { return -1; }
656 int GetRudderMax() { return -1; }
657 int GetUMin() { return -1; }
658 int GetUMax() { return -1; }
659 int GetVMin() { return -1; }
660 int GetVMax() { return -1; }
662 bool HasRudder() { return False
; }
663 bool HasZ() { return False
; }
664 bool HasU() { return False
; }
665 bool HasV() { return False
; }
666 bool HasPOV() { return False
; }
667 bool HasPOV4Dir() { return False
; }
668 bool HasPOVCTS() { return False
; }
670 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
671 bool ReleaseCapture() { return False
; }
676 #include <wx/sound.h>
680 // A C++ stub class for wxWave for platforms that don't have it.
681 class wxSound
: public wxObject
685 wxPyBeginBlockThreads();
686 PyErr_SetString(PyExc_NotImplementedError
,
687 "wxSound is not available on this platform.");
688 wxPyEndBlockThreads();
690 wxSound(const wxString
&, bool) {
691 wxPyBeginBlockThreads();
692 PyErr_SetString(PyExc_NotImplementedError
,
693 "wxSound is not available on this platform.");
694 wxPyEndBlockThreads();
696 wxSound(int, const wxByte
*) {
697 wxPyBeginBlockThreads();
698 PyErr_SetString(PyExc_NotImplementedError
,
699 "wxSound is not available on this platform.");
700 wxPyEndBlockThreads();
705 bool Create(const wxString
&, bool) { return false; }
706 bool Create(int, const wxByte
*) { return false; };
707 bool IsOk() { return false; };
708 bool Play(unsigned) const { return false; }
709 static bool Play(const wxString
&, unsigned) { return false; }
710 static void Stop() {}
715 bool wxSound_Create__SWIG_1(wxSound
*self
,int size
,wxByte
const *data
){
716 wxPyBeginBlockThreads();
717 PyErr_SetString(PyExc_NotImplementedError
,
718 "Create from data is not available on this platform.");
719 wxPyEndBlockThreads();
724 #include <wx/mimetype.h>
726 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
728 if (self
->GetMimeType(&str
))
729 return wx2PyString(str
);
733 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
735 if (self
->GetMimeTypes(arr
))
736 return wxArrayString2PyList_helper(arr
);
740 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
742 if (self
->GetExtensions(arr
))
743 return wxArrayString2PyList_helper(arr
);
747 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
749 if (self
->GetIcon(&loc
))
750 return new wxIcon(loc
);
754 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
756 if (self
->GetIcon(&loc
)) {
757 wxString iconFile
= loc
.GetFileName();
762 // Make a tuple and put the values in it
763 wxPyBeginBlockThreads();
764 PyObject
* tuple
= PyTuple_New(3);
765 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
766 wxT("wxIcon"), True
));
767 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
768 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
769 wxPyEndBlockThreads();
775 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
777 if (self
->GetDescription(&str
))
778 return wx2PyString(str
);
782 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
784 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
785 return wx2PyString(str
);
789 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
791 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
792 return wx2PyString(str
);
796 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
798 wxArrayString commands
;
799 if (self
->GetAllCommands(&verbs
, &commands
,
800 wxFileType::MessageParameters(filename
, mimetype
))) {
801 wxPyBeginBlockThreads();
802 PyObject
* tuple
= PyTuple_New(2);
803 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
804 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
805 wxPyEndBlockThreads();
811 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
812 return wxFileType::ExpandCommand(command
,
813 wxFileType::MessageParameters(filename
, mimetype
));
815 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
817 self
->EnumAllFileTypes(arr
);
818 return wxArrayString2PyList_helper(arr
);
821 #include <wx/artprov.h>
823 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
824 static const wxString
wxPyART_MENU(wxART_MENU
);
825 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
826 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
827 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
828 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
829 static const wxString
wxPyART_OTHER(wxART_OTHER
);
830 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
831 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
832 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
833 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
834 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
835 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
836 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
837 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
838 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
839 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
840 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
841 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
842 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
843 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
844 static const wxString
wxPyART_PRINT(wxART_PRINT
);
845 static const wxString
wxPyART_HELP(wxART_HELP
);
846 static const wxString
wxPyART_TIP(wxART_TIP
);
847 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
848 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
849 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
850 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
851 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
852 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
853 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
854 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
855 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
856 static const wxString
wxPyART_ERROR(wxART_ERROR
);
857 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
858 static const wxString
wxPyART_WARNING(wxART_WARNING
);
859 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
860 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
861 // Python aware wxArtProvider
862 class wxPyArtProvider
: public wxArtProvider
{
865 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
866 const wxArtClient
& client
,
867 const wxSize
& size
) {
868 wxBitmap rval
= wxNullBitmap
;
869 wxPyBeginBlockThreads();
870 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
871 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
875 s1
= wx2PyString(id
);
876 s2
= wx2PyString(client
);
877 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
882 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
887 wxPyEndBlockThreads();
894 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
898 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
899 PyObject
* ret
= PyTuple_New(3);
901 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
902 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
903 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
908 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
913 cont
= self
->GetFirstGroup(value
, index
);
914 return __EnumerationHelper(cont
, value
, index
);
916 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
920 cont
= self
->GetNextGroup(value
, index
);
921 return __EnumerationHelper(cont
, value
, index
);
923 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
928 cont
= self
->GetFirstEntry(value
, index
);
929 return __EnumerationHelper(cont
, value
, index
);
931 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
935 cont
= self
->GetNextEntry(value
, index
);
936 return __EnumerationHelper(cont
, value
, index
);
938 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
940 self
->Read(key
, &rv
, defaultVal
);
945 SWIG_PyObj_AsDouble(PyObject
*obj
)
947 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
949 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
951 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
953 if (PyErr_Occurred()) {
955 PyErr_SetString(PyExc_TypeError
, "a double is expected");
959 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
961 self
->Read(key
, &rv
, defaultVal
);
964 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
966 self
->Read(key
, &rv
, defaultVal
);
970 #include <wx/datetime.h>
973 static const wxString
wxPyDateFormatStr(wxT("%c"));
974 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
976 #define LOCAL_TZ wxDateTime::Local
979 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
981 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
982 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
983 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
984 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
985 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
986 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
< *other
) : False
; }
987 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
<= *other
) : False
; }
988 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
> *other
) : True
; }
989 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
>= *other
) : True
; }
990 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
== *other
) : False
; }
991 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
!= *other
) : True
; }
992 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
994 const wxChar
* _date
= date
;
995 rv
= self
->ParseRfc822Date(_date
);
996 if (rv
== NULL
) return -1;
999 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1001 const wxChar
* _date
= date
;
1002 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1003 if (rv
== NULL
) return -1;
1006 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1008 const wxChar
* _datetime
= datetime
;
1009 rv
= self
->ParseDateTime(_datetime
);
1010 if (rv
== NULL
) return -1;
1011 return rv
- _datetime
;
1013 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1015 const wxChar
* _date
= date
;
1016 rv
= self
->ParseDate(_date
);
1017 if (rv
== NULL
) return -1;
1020 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1022 const wxChar
* _time
= time
;
1023 rv
= self
->ParseTime(_time
);
1024 if (rv
== NULL
) return -1;
1027 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1028 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1029 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1030 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1031 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1032 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1033 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1034 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1035 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1036 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1037 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1038 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1039 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1040 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1041 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1042 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1044 #include <wx/dataobj.h>
1046 // Create a new class for wxPython to use
1047 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1049 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1050 : wxDataObjectSimple(format
) {}
1052 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1053 bool GetDataHere(void *buf
) const;
1054 bool SetData(size_t len
, const void *buf
) const;
1058 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1060 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1061 // We need to get the data for this object and write it to buf. I think
1062 // the best way to do this for wxPython is to have the Python method
1063 // return either a string or None and then act appropriately with the
1067 wxPyBeginBlockThreads();
1068 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1070 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1072 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1074 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1078 wxPyEndBlockThreads();
1082 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1083 // For this one we simply need to make a string from buf and len
1084 // and send it to the Python method.
1086 wxPyBeginBlockThreads();
1087 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1088 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1089 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1092 wxPyEndBlockThreads();
1096 // Create a new class for wxPython to use
1097 class wxPyTextDataObject
: public wxTextDataObject
{
1099 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1100 : wxTextDataObject(text
) {}
1102 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1103 DEC_PYCALLBACK_STRING__const(GetText
);
1104 DEC_PYCALLBACK__STRING(SetText
);
1108 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1109 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1110 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1113 // Create a new class for wxPython to use
1114 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1116 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1117 : wxBitmapDataObject(bitmap
) {}
1119 wxBitmap
GetBitmap() const;
1120 void SetBitmap(const wxBitmap
& bitmap
);
1124 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1125 wxBitmap
* rval
= &wxNullBitmap
;
1126 wxPyBeginBlockThreads();
1127 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1130 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1132 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1137 wxPyEndBlockThreads();
1141 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1142 wxPyBeginBlockThreads();
1143 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1144 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1145 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1148 wxPyEndBlockThreads();
1151 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1152 if (PyString_Check(data
)) {
1153 // for Python we just call SetData here since we always need it to make a copy.
1154 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1157 // raise a TypeError if not a string
1158 PyErr_SetString(PyExc_TypeError
, "String expected.");
1161 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1162 if (PyString_Check(data
)) {
1163 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1166 // raise a TypeError if not a string
1167 PyErr_SetString(PyExc_TypeError
, "String expected.");
1171 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1172 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1175 #include <wx/metafile.h>
1178 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1181 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1182 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1183 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1184 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1185 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1188 class wxPyTextDropTarget
: public wxTextDropTarget
{
1190 wxPyTextDropTarget() {}
1192 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1194 DEC_PYCALLBACK__(OnLeave
);
1195 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1196 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1197 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1198 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1203 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1204 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1205 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1206 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1207 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1208 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1212 class wxPyFileDropTarget
: public wxFileDropTarget
{
1214 wxPyFileDropTarget() {}
1216 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1218 DEC_PYCALLBACK__(OnLeave
);
1219 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1220 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1221 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1222 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1227 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1228 const wxArrayString
& filenames
) {
1230 wxPyBeginBlockThreads();
1231 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1232 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1233 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1236 wxPyEndBlockThreads();
1242 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1243 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1244 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1245 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1246 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1251 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1255 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1256 PyObject
*resultobj
;
1259 PyObject
* obj0
= 0 ;
1261 (char *) "index", NULL
1264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1266 arg1
= (wxSystemColour
) SWIG_PyObj_AsInt(obj0
);
1267 if (PyErr_Occurred()) SWIG_fail
;
1270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1271 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1273 wxPyEndAllowThreads(__tstate
);
1274 if (PyErr_Occurred()) SWIG_fail
;
1277 wxColour
* resultptr
;
1278 resultptr
= new wxColour((wxColour
&) result
);
1279 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1287 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1288 PyObject
*resultobj
;
1291 PyObject
* obj0
= 0 ;
1293 (char *) "index", NULL
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1298 arg1
= (wxSystemFont
) SWIG_PyObj_AsInt(obj0
);
1299 if (PyErr_Occurred()) SWIG_fail
;
1302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1303 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1305 wxPyEndAllowThreads(__tstate
);
1306 if (PyErr_Occurred()) SWIG_fail
;
1310 resultptr
= new wxFont((wxFont
&) result
);
1311 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
1319 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
*resultobj
;
1323 PyObject
* obj0
= 0 ;
1325 (char *) "index", NULL
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1330 arg1
= (wxSystemMetric
) SWIG_PyObj_AsInt(obj0
);
1331 if (PyErr_Occurred()) SWIG_fail
;
1334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1335 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1337 wxPyEndAllowThreads(__tstate
);
1338 if (PyErr_Occurred()) SWIG_fail
;
1340 resultobj
= SWIG_PyObj_FromInt((int)result
);
1347 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1348 PyObject
*resultobj
;
1351 PyObject
* obj0
= 0 ;
1353 (char *) "index", NULL
1356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1358 arg1
= (wxSystemFeature
) SWIG_PyObj_AsInt(obj0
);
1359 if (PyErr_Occurred()) SWIG_fail
;
1362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1363 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1365 wxPyEndAllowThreads(__tstate
);
1366 if (PyErr_Occurred()) SWIG_fail
;
1368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1375 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1376 PyObject
*resultobj
;
1382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1385 result
= (int)wxSystemSettings::GetScreenType();
1387 wxPyEndAllowThreads(__tstate
);
1388 if (PyErr_Occurred()) SWIG_fail
;
1390 resultobj
= SWIG_PyObj_FromInt((int)result
);
1397 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1398 PyObject
*resultobj
;
1400 PyObject
* obj0
= 0 ;
1402 (char *) "screen", NULL
1405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1407 arg1
= (wxSystemScreenType
) SWIG_PyObj_AsInt(obj0
);
1408 if (PyErr_Occurred()) SWIG_fail
;
1411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1412 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1414 wxPyEndAllowThreads(__tstate
);
1415 if (PyErr_Occurred()) SWIG_fail
;
1417 Py_INCREF(Py_None
); resultobj
= Py_None
;
1424 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1427 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1429 return Py_BuildValue((char *)"");
1431 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1432 PyObject
*resultobj
;
1433 wxSystemOptions
*result
;
1438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1441 result
= (wxSystemOptions
*)new wxSystemOptions();
1443 wxPyEndAllowThreads(__tstate
);
1444 if (PyErr_Occurred()) SWIG_fail
;
1446 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSystemOptions
, 1);
1453 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
*resultobj
;
1455 wxString
*arg1
= 0 ;
1456 wxString
*arg2
= 0 ;
1457 bool temp1
= False
;
1458 bool temp2
= False
;
1459 PyObject
* obj0
= 0 ;
1460 PyObject
* obj1
= 0 ;
1462 (char *) "name",(char *) "value", NULL
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1467 arg1
= wxString_in_helper(obj0
);
1468 if (arg1
== NULL
) SWIG_fail
;
1472 arg2
= wxString_in_helper(obj1
);
1473 if (arg2
== NULL
) SWIG_fail
;
1477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1478 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1480 wxPyEndAllowThreads(__tstate
);
1481 if (PyErr_Occurred()) SWIG_fail
;
1483 Py_INCREF(Py_None
); resultobj
= Py_None
;
1506 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
*resultobj
;
1508 wxString
*arg1
= 0 ;
1510 bool temp1
= False
;
1511 PyObject
* obj0
= 0 ;
1512 PyObject
* obj1
= 0 ;
1514 (char *) "name",(char *) "value", NULL
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1519 arg1
= wxString_in_helper(obj0
);
1520 if (arg1
== NULL
) SWIG_fail
;
1524 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1525 if (PyErr_Occurred()) SWIG_fail
;
1528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1529 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1531 wxPyEndAllowThreads(__tstate
);
1532 if (PyErr_Occurred()) SWIG_fail
;
1534 Py_INCREF(Py_None
); resultobj
= Py_None
;
1549 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
*resultobj
;
1551 wxString
*arg1
= 0 ;
1553 bool temp1
= False
;
1554 PyObject
* obj0
= 0 ;
1556 (char *) "name", NULL
1559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1561 arg1
= wxString_in_helper(obj0
);
1562 if (arg1
== NULL
) SWIG_fail
;
1566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1567 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1569 wxPyEndAllowThreads(__tstate
);
1570 if (PyErr_Occurred()) SWIG_fail
;
1574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1593 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1594 PyObject
*resultobj
;
1595 wxString
*arg1
= 0 ;
1597 bool temp1
= False
;
1598 PyObject
* obj0
= 0 ;
1600 (char *) "name", NULL
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1605 arg1
= wxString_in_helper(obj0
);
1606 if (arg1
== NULL
) SWIG_fail
;
1610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1611 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1613 wxPyEndAllowThreads(__tstate
);
1614 if (PyErr_Occurred()) SWIG_fail
;
1616 resultobj
= SWIG_PyObj_FromInt((int)result
);
1631 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1632 PyObject
*resultobj
;
1633 wxString
*arg1
= 0 ;
1635 bool temp1
= False
;
1636 PyObject
* obj0
= 0 ;
1638 (char *) "name", NULL
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1643 arg1
= wxString_in_helper(obj0
);
1644 if (arg1
== NULL
) SWIG_fail
;
1648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1649 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1651 wxPyEndAllowThreads(__tstate
);
1652 if (PyErr_Occurred()) SWIG_fail
;
1654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1669 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1672 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1674 return Py_BuildValue((char *)"");
1676 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
1677 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1682 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1687 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1689 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1696 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
1697 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1702 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1707 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1709 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1716 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
1717 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1722 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1727 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1729 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1736 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
*resultobj
;
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1746 result
= (long)wxNewId();
1748 wxPyEndAllowThreads(__tstate
);
1749 if (PyErr_Occurred()) SWIG_fail
;
1751 resultobj
= SWIG_PyObj_FromLong((long)result
);
1758 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
*resultobj
;
1761 PyObject
* obj0
= 0 ;
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
1768 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
1769 if (PyErr_Occurred()) SWIG_fail
;
1772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1775 wxPyEndAllowThreads(__tstate
);
1776 if (PyErr_Occurred()) SWIG_fail
;
1778 Py_INCREF(Py_None
); resultobj
= Py_None
;
1785 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
*resultobj
;
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1795 result
= (long)wxGetCurrentId();
1797 wxPyEndAllowThreads(__tstate
);
1798 if (PyErr_Occurred()) SWIG_fail
;
1800 resultobj
= SWIG_PyObj_FromLong((long)result
);
1807 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
*resultobj
;
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1818 wxPyEndAllowThreads(__tstate
);
1819 if (PyErr_Occurred()) SWIG_fail
;
1821 Py_INCREF(Py_None
); resultobj
= Py_None
;
1828 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1829 PyObject
*resultobj
;
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
1836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1839 wxPyEndAllowThreads(__tstate
);
1840 if (PyErr_Occurred()) SWIG_fail
;
1842 Py_INCREF(Py_None
); resultobj
= Py_None
;
1849 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
*resultobj
;
1851 bool arg1
= (bool) True
;
1853 PyObject
* obj0
= 0 ;
1855 (char *) "resetTimer", NULL
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
1861 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
1862 if (PyErr_Occurred()) SWIG_fail
;
1866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1867 result
= (long)wxGetElapsedTime(arg1
);
1869 wxPyEndAllowThreads(__tstate
);
1870 if (PyErr_Occurred()) SWIG_fail
;
1872 resultobj
= SWIG_PyObj_FromLong((long)result
);
1879 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1880 PyObject
*resultobj
;
1881 int *arg1
= (int *) 0 ;
1882 int *arg2
= (int *) 0 ;
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
1893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1894 wxGetMousePosition(arg1
,arg2
);
1896 wxPyEndAllowThreads(__tstate
);
1897 if (PyErr_Occurred()) SWIG_fail
;
1899 Py_INCREF(Py_None
); resultobj
= Py_None
;
1901 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1902 resultobj
= t_output_helper(resultobj
,o
);
1905 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1906 resultobj
= t_output_helper(resultobj
,o
);
1914 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1915 PyObject
*resultobj
;
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
1923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1924 result
= (bool)wxIsBusy();
1926 wxPyEndAllowThreads(__tstate
);
1927 if (PyErr_Occurred()) SWIG_fail
;
1929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1936 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
*resultobj
;
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 wxPyEndAllowThreads(__tstate
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1964 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
*resultobj
;
1966 wxString
const &arg1_defvalue
= wxPyEmptyString
;
1967 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
1969 bool temp1
= False
;
1970 PyObject
* obj0
= 0 ;
1972 (char *) "command", NULL
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
1978 arg1
= wxString_in_helper(obj0
);
1979 if (arg1
== NULL
) SWIG_fail
;
1984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1985 result
= (bool)wxShell((wxString
const &)*arg1
);
1987 wxPyEndAllowThreads(__tstate
);
1988 if (PyErr_Occurred()) SWIG_fail
;
1990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2005 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2006 PyObject
*resultobj
;
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2016 wxPyEndAllowThreads(__tstate
);
2017 if (PyErr_Occurred()) SWIG_fail
;
2019 Py_INCREF(Py_None
); resultobj
= Py_None
;
2026 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
*resultobj
;
2028 int *arg1
= (int *) 0 ;
2029 int *arg2
= (int *) 0 ;
2039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2042 result
= (int)wxGetOsVersion(arg1
,arg2
);
2044 wxPyEndAllowThreads(__tstate
);
2045 if (PyErr_Occurred()) SWIG_fail
;
2047 resultobj
= SWIG_PyObj_FromInt((int)result
);
2049 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2050 resultobj
= t_output_helper(resultobj
,o
);
2053 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2054 resultobj
= t_output_helper(resultobj
,o
);
2062 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
*resultobj
;
2069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2072 result
= wxGetOsDescription();
2074 wxPyEndAllowThreads(__tstate
);
2075 if (PyErr_Occurred()) SWIG_fail
;
2079 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2081 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2090 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
*resultobj
;
2097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2100 result
= (long)wxGetFreeMemory();
2102 wxPyEndAllowThreads(__tstate
);
2103 if (PyErr_Occurred()) SWIG_fail
;
2105 resultobj
= SWIG_PyObj_FromLong((long)result
);
2112 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
*resultobj
;
2116 PyObject
* obj0
= 0 ;
2118 (char *) "wFlags", NULL
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2123 arg1
= (wxShutdownFlags
) SWIG_PyObj_AsInt(obj0
);
2124 if (PyErr_Occurred()) SWIG_fail
;
2127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2128 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2130 wxPyEndAllowThreads(__tstate
);
2131 if (PyErr_Occurred()) SWIG_fail
;
2133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2140 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2141 PyObject
*resultobj
;
2143 PyObject
* obj0
= 0 ;
2145 (char *) "secs", NULL
2148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2150 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2151 if (PyErr_Occurred()) SWIG_fail
;
2154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2157 wxPyEndAllowThreads(__tstate
);
2158 if (PyErr_Occurred()) SWIG_fail
;
2160 Py_INCREF(Py_None
); resultobj
= Py_None
;
2167 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
*resultobj
;
2169 unsigned long arg1
;
2170 PyObject
* obj0
= 0 ;
2172 (char *) "milliseconds", NULL
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2177 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
2178 if (PyErr_Occurred()) SWIG_fail
;
2181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2184 wxPyEndAllowThreads(__tstate
);
2185 if (PyErr_Occurred()) SWIG_fail
;
2187 Py_INCREF(Py_None
); resultobj
= Py_None
;
2194 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
*resultobj
;
2197 PyObject
* obj0
= 0 ;
2199 (char *) "enable", NULL
2202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2204 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
2205 if (PyErr_Occurred()) SWIG_fail
;
2208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2209 wxEnableTopLevelWindows(arg1
);
2211 wxPyEndAllowThreads(__tstate
);
2212 if (PyErr_Occurred()) SWIG_fail
;
2214 Py_INCREF(Py_None
); resultobj
= Py_None
;
2221 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
*resultobj
;
2223 wxString
*arg1
= 0 ;
2225 bool temp1
= False
;
2226 PyObject
* obj0
= 0 ;
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2233 arg1
= wxString_in_helper(obj0
);
2234 if (arg1
== NULL
) SWIG_fail
;
2238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2239 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2241 wxPyEndAllowThreads(__tstate
);
2242 if (PyErr_Occurred()) SWIG_fail
;
2246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2265 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2266 PyObject
*resultobj
;
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2275 result
= wxGetEmailAddress();
2277 wxPyEndAllowThreads(__tstate
);
2278 if (PyErr_Occurred()) SWIG_fail
;
2282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2293 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2294 PyObject
*resultobj
;
2300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 result
= wxGetHostName();
2305 wxPyEndAllowThreads(__tstate
);
2306 if (PyErr_Occurred()) SWIG_fail
;
2310 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2312 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2321 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
*resultobj
;
2328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2331 result
= wxGetFullHostName();
2333 wxPyEndAllowThreads(__tstate
);
2334 if (PyErr_Occurred()) SWIG_fail
;
2338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2349 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
*resultobj
;
2356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 result
= wxGetUserId();
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) SWIG_fail
;
2366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2377 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
*resultobj
;
2384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2387 result
= wxGetUserName();
2389 wxPyEndAllowThreads(__tstate
);
2390 if (PyErr_Occurred()) SWIG_fail
;
2394 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2396 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2405 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
*resultobj
;
2412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2415 result
= wxGetHomeDir();
2417 wxPyEndAllowThreads(__tstate
);
2418 if (PyErr_Occurred()) SWIG_fail
;
2422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2433 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2434 PyObject
*resultobj
;
2435 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2436 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2438 bool temp1
= False
;
2439 PyObject
* obj0
= 0 ;
2441 (char *) "user", NULL
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2447 arg1
= wxString_in_helper(obj0
);
2448 if (arg1
== NULL
) SWIG_fail
;
2453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2454 result
= wxGetUserHome((wxString
const &)*arg1
);
2456 wxPyEndAllowThreads(__tstate
);
2457 if (PyErr_Occurred()) SWIG_fail
;
2461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2480 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2481 PyObject
*resultobj
;
2482 unsigned long result
;
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2490 result
= (unsigned long)wxGetProcessId();
2492 wxPyEndAllowThreads(__tstate
);
2493 if (PyErr_Occurred()) SWIG_fail
;
2495 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
2502 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2503 PyObject
*resultobj
;
2508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2516 Py_INCREF(Py_None
); resultobj
= Py_None
;
2523 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2524 PyObject
*resultobj
;
2525 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2526 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2527 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2528 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2529 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2530 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2531 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2532 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2533 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2534 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2535 int arg6
= (int) 0 ;
2536 wxWindow
*arg7
= (wxWindow
*) NULL
;
2537 int arg8
= (int) -1 ;
2538 int arg9
= (int) -1 ;
2540 bool temp1
= False
;
2541 bool temp2
= False
;
2542 bool temp3
= False
;
2543 bool temp4
= False
;
2544 bool temp5
= False
;
2545 PyObject
* obj0
= 0 ;
2546 PyObject
* obj1
= 0 ;
2547 PyObject
* obj2
= 0 ;
2548 PyObject
* obj3
= 0 ;
2549 PyObject
* obj4
= 0 ;
2550 PyObject
* obj5
= 0 ;
2551 PyObject
* obj6
= 0 ;
2552 PyObject
* obj7
= 0 ;
2553 PyObject
* obj8
= 0 ;
2555 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2561 arg1
= wxString_in_helper(obj0
);
2562 if (arg1
== NULL
) SWIG_fail
;
2568 arg2
= wxString_in_helper(obj1
);
2569 if (arg2
== NULL
) SWIG_fail
;
2575 arg3
= wxString_in_helper(obj2
);
2576 if (arg3
== NULL
) SWIG_fail
;
2582 arg4
= wxString_in_helper(obj3
);
2583 if (arg4
== NULL
) SWIG_fail
;
2589 arg5
= wxString_in_helper(obj4
);
2590 if (arg5
== NULL
) SWIG_fail
;
2596 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
2597 if (PyErr_Occurred()) SWIG_fail
;
2601 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2605 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
2606 if (PyErr_Occurred()) SWIG_fail
;
2611 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
2612 if (PyErr_Occurred()) SWIG_fail
;
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2619 wxPyEndAllowThreads(__tstate
);
2620 if (PyErr_Occurred()) SWIG_fail
;
2624 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2626 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2675 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
*resultobj
;
2677 wxString
*arg1
= 0 ;
2678 wxString
*arg2
= 0 ;
2679 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2680 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2681 wxWindow
*arg4
= (wxWindow
*) NULL
;
2683 bool temp1
= False
;
2684 bool temp2
= False
;
2685 bool temp3
= False
;
2686 PyObject
* obj0
= 0 ;
2687 PyObject
* obj1
= 0 ;
2688 PyObject
* obj2
= 0 ;
2689 PyObject
* obj3
= 0 ;
2691 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2696 arg1
= wxString_in_helper(obj0
);
2697 if (arg1
== NULL
) SWIG_fail
;
2701 arg2
= wxString_in_helper(obj1
);
2702 if (arg2
== NULL
) SWIG_fail
;
2707 arg3
= wxString_in_helper(obj2
);
2708 if (arg3
== NULL
) SWIG_fail
;
2713 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2717 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2719 wxPyEndAllowThreads(__tstate
);
2720 if (PyErr_Occurred()) SWIG_fail
;
2724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2759 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
*resultobj
;
2761 wxString
*arg1
= 0 ;
2762 wxString
*arg2
= 0 ;
2763 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2764 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2765 wxWindow
*arg4
= (wxWindow
*) NULL
;
2767 bool temp1
= False
;
2768 bool temp2
= False
;
2769 bool temp3
= False
;
2770 PyObject
* obj0
= 0 ;
2771 PyObject
* obj1
= 0 ;
2772 PyObject
* obj2
= 0 ;
2773 PyObject
* obj3
= 0 ;
2775 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2780 arg1
= wxString_in_helper(obj0
);
2781 if (arg1
== NULL
) SWIG_fail
;
2785 arg2
= wxString_in_helper(obj1
);
2786 if (arg2
== NULL
) SWIG_fail
;
2791 arg3
= wxString_in_helper(obj2
);
2792 if (arg3
== NULL
) SWIG_fail
;
2797 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2801 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2803 wxPyEndAllowThreads(__tstate
);
2804 if (PyErr_Occurred()) SWIG_fail
;
2808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2843 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
*resultobj
;
2845 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
2846 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2847 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2848 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2849 long arg3
= (long) wxDD_DEFAULT_STYLE
;
2850 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2851 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2852 wxWindow
*arg5
= (wxWindow
*) NULL
;
2854 bool temp1
= False
;
2855 bool temp2
= False
;
2857 PyObject
* obj0
= 0 ;
2858 PyObject
* obj1
= 0 ;
2859 PyObject
* obj2
= 0 ;
2860 PyObject
* obj3
= 0 ;
2861 PyObject
* obj4
= 0 ;
2863 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2869 arg1
= wxString_in_helper(obj0
);
2870 if (arg1
== NULL
) SWIG_fail
;
2876 arg2
= wxString_in_helper(obj1
);
2877 if (arg2
== NULL
) SWIG_fail
;
2883 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
2884 if (PyErr_Occurred()) SWIG_fail
;
2890 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2894 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2898 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
2900 wxPyEndAllowThreads(__tstate
);
2901 if (PyErr_Occurred()) SWIG_fail
;
2905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2932 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
*resultobj
;
2934 wxString
*arg1
= 0 ;
2935 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2936 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2937 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2938 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2939 wxWindow
*arg4
= (wxWindow
*) NULL
;
2940 int arg5
= (int) -1 ;
2941 int arg6
= (int) -1 ;
2942 bool arg7
= (bool) True
;
2944 bool temp1
= False
;
2945 bool temp2
= False
;
2946 bool temp3
= False
;
2947 PyObject
* obj0
= 0 ;
2948 PyObject
* obj1
= 0 ;
2949 PyObject
* obj2
= 0 ;
2950 PyObject
* obj3
= 0 ;
2951 PyObject
* obj4
= 0 ;
2952 PyObject
* obj5
= 0 ;
2953 PyObject
* obj6
= 0 ;
2955 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2960 arg1
= wxString_in_helper(obj0
);
2961 if (arg1
== NULL
) SWIG_fail
;
2966 arg2
= wxString_in_helper(obj1
);
2967 if (arg2
== NULL
) SWIG_fail
;
2973 arg3
= wxString_in_helper(obj2
);
2974 if (arg3
== NULL
) SWIG_fail
;
2979 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2983 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2984 if (PyErr_Occurred()) SWIG_fail
;
2989 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2995 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
2996 if (PyErr_Occurred()) SWIG_fail
;
3000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3001 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3003 wxPyEndAllowThreads(__tstate
);
3004 if (PyErr_Occurred()) SWIG_fail
;
3008 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3010 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3043 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
*resultobj
;
3045 wxString
*arg1
= 0 ;
3046 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3047 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3048 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3049 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3050 wxWindow
*arg4
= (wxWindow
*) NULL
;
3052 bool temp1
= False
;
3053 bool temp2
= False
;
3054 bool temp3
= False
;
3055 PyObject
* obj0
= 0 ;
3056 PyObject
* obj1
= 0 ;
3057 PyObject
* obj2
= 0 ;
3058 PyObject
* obj3
= 0 ;
3060 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3065 arg1
= wxString_in_helper(obj0
);
3066 if (arg1
== NULL
) SWIG_fail
;
3071 arg2
= wxString_in_helper(obj1
);
3072 if (arg2
== NULL
) SWIG_fail
;
3078 arg3
= wxString_in_helper(obj2
);
3079 if (arg3
== NULL
) SWIG_fail
;
3084 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3130 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
*resultobj
;
3132 wxString
*arg1
= 0 ;
3133 wxString
*arg2
= 0 ;
3135 wxString
*arg4
= (wxString
*) 0 ;
3136 wxWindow
*arg5
= (wxWindow
*) NULL
;
3137 int arg6
= (int) -1 ;
3138 int arg7
= (int) -1 ;
3139 bool arg8
= (bool) True
;
3140 int arg9
= (int) 150 ;
3141 int arg10
= (int) 200 ;
3143 bool temp1
= False
;
3144 bool temp2
= False
;
3145 PyObject
* obj0
= 0 ;
3146 PyObject
* obj1
= 0 ;
3147 PyObject
* obj2
= 0 ;
3148 PyObject
* obj3
= 0 ;
3149 PyObject
* obj4
= 0 ;
3150 PyObject
* obj5
= 0 ;
3151 PyObject
* obj6
= 0 ;
3152 PyObject
* obj7
= 0 ;
3153 PyObject
* obj8
= 0 ;
3155 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3160 arg1
= wxString_in_helper(obj0
);
3161 if (arg1
== NULL
) SWIG_fail
;
3165 arg2
= wxString_in_helper(obj1
);
3166 if (arg2
== NULL
) SWIG_fail
;
3170 arg3
= PyList_Size(obj2
);
3171 arg4
= wxString_LIST_helper(obj2
);
3172 if (arg4
== NULL
) SWIG_fail
;
3175 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3179 arg6
= (int) SWIG_PyObj_AsInt(obj4
);
3180 if (PyErr_Occurred()) SWIG_fail
;
3185 arg7
= (int) SWIG_PyObj_AsInt(obj5
);
3186 if (PyErr_Occurred()) SWIG_fail
;
3191 arg8
= (bool) SWIG_PyObj_AsBool(obj6
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3197 arg9
= (int) SWIG_PyObj_AsInt(obj7
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3203 arg10
= (int) SWIG_PyObj_AsInt(obj8
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3209 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3211 wxPyEndAllowThreads(__tstate
);
3212 if (PyErr_Occurred()) SWIG_fail
;
3216 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3218 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3230 if (arg4
) delete [] arg4
;
3243 if (arg4
) delete [] arg4
;
3249 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3250 PyObject
*resultobj
;
3251 wxString
*arg1
= 0 ;
3252 wxString
*arg2
= 0 ;
3254 wxString
*arg4
= (wxString
*) 0 ;
3255 wxWindow
*arg5
= (wxWindow
*) NULL
;
3256 int arg6
= (int) -1 ;
3257 int arg7
= (int) -1 ;
3258 bool arg8
= (bool) True
;
3259 int arg9
= (int) 150 ;
3260 int arg10
= (int) 200 ;
3262 bool temp1
= False
;
3263 bool temp2
= False
;
3264 PyObject
* obj0
= 0 ;
3265 PyObject
* obj1
= 0 ;
3266 PyObject
* obj2
= 0 ;
3267 PyObject
* obj3
= 0 ;
3268 PyObject
* obj4
= 0 ;
3269 PyObject
* obj5
= 0 ;
3270 PyObject
* obj6
= 0 ;
3271 PyObject
* obj7
= 0 ;
3272 PyObject
* obj8
= 0 ;
3274 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3279 arg1
= wxString_in_helper(obj0
);
3280 if (arg1
== NULL
) SWIG_fail
;
3284 arg2
= wxString_in_helper(obj1
);
3285 if (arg2
== NULL
) SWIG_fail
;
3289 arg3
= PyList_Size(obj2
);
3290 arg4
= wxString_LIST_helper(obj2
);
3291 if (arg4
== NULL
) SWIG_fail
;
3294 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3298 arg6
= (int) SWIG_PyObj_AsInt(obj4
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3304 arg7
= (int) SWIG_PyObj_AsInt(obj5
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3310 arg8
= (bool) SWIG_PyObj_AsBool(obj6
);
3311 if (PyErr_Occurred()) SWIG_fail
;
3316 arg9
= (int) SWIG_PyObj_AsInt(obj7
);
3317 if (PyErr_Occurred()) SWIG_fail
;
3322 arg10
= (int) SWIG_PyObj_AsInt(obj8
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3328 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) SWIG_fail
;
3333 resultobj
= SWIG_PyObj_FromInt((int)result
);
3343 if (arg4
) delete [] arg4
;
3356 if (arg4
) delete [] arg4
;
3362 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
*resultobj
;
3364 wxString
*arg1
= 0 ;
3365 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3366 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3367 int arg3
= (int) wxOK
|wxCENTRE
;
3368 wxWindow
*arg4
= (wxWindow
*) NULL
;
3369 int arg5
= (int) -1 ;
3370 int arg6
= (int) -1 ;
3372 bool temp1
= False
;
3373 bool temp2
= False
;
3374 PyObject
* obj0
= 0 ;
3375 PyObject
* obj1
= 0 ;
3376 PyObject
* obj2
= 0 ;
3377 PyObject
* obj3
= 0 ;
3378 PyObject
* obj4
= 0 ;
3379 PyObject
* obj5
= 0 ;
3381 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3386 arg1
= wxString_in_helper(obj0
);
3387 if (arg1
== NULL
) SWIG_fail
;
3392 arg2
= wxString_in_helper(obj1
);
3393 if (arg2
== NULL
) SWIG_fail
;
3399 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3400 if (PyErr_Occurred()) SWIG_fail
;
3404 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3408 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3414 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
3415 if (PyErr_Occurred()) SWIG_fail
;
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3425 resultobj
= SWIG_PyObj_FromInt((int)result
);
3448 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
*resultobj
;
3450 wxString
*arg1
= 0 ;
3451 wxString
*arg2
= 0 ;
3452 wxString
*arg3
= 0 ;
3454 long arg5
= (long) 0 ;
3455 long arg6
= (long) 100 ;
3456 wxWindow
*arg7
= (wxWindow
*) NULL
;
3457 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3458 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3460 bool temp1
= False
;
3461 bool temp2
= False
;
3462 bool temp3
= False
;
3464 PyObject
* obj0
= 0 ;
3465 PyObject
* obj1
= 0 ;
3466 PyObject
* obj2
= 0 ;
3467 PyObject
* obj3
= 0 ;
3468 PyObject
* obj4
= 0 ;
3469 PyObject
* obj5
= 0 ;
3470 PyObject
* obj6
= 0 ;
3471 PyObject
* obj7
= 0 ;
3473 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3478 arg1
= wxString_in_helper(obj0
);
3479 if (arg1
== NULL
) SWIG_fail
;
3483 arg2
= wxString_in_helper(obj1
);
3484 if (arg2
== NULL
) SWIG_fail
;
3488 arg3
= wxString_in_helper(obj2
);
3489 if (arg3
== NULL
) SWIG_fail
;
3493 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
3494 if (PyErr_Occurred()) SWIG_fail
;
3498 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3504 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3509 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3514 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3521 wxPyEndAllowThreads(__tstate
);
3522 if (PyErr_Occurred()) SWIG_fail
;
3524 resultobj
= SWIG_PyObj_FromLong((long)result
);
3555 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
*resultobj
;
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3565 result
= (bool)wxColourDisplay();
3567 wxPyEndAllowThreads(__tstate
);
3568 if (PyErr_Occurred()) SWIG_fail
;
3570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3577 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3578 PyObject
*resultobj
;
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3587 result
= (int)wxDisplayDepth();
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) SWIG_fail
;
3592 resultobj
= SWIG_PyObj_FromInt((int)result
);
3599 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
*resultobj
;
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3609 result
= (int)wxGetDisplayDepth();
3611 wxPyEndAllowThreads(__tstate
);
3612 if (PyErr_Occurred()) SWIG_fail
;
3614 resultobj
= SWIG_PyObj_FromInt((int)result
);
3621 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3622 PyObject
*resultobj
;
3623 int *arg1
= (int *) 0 ;
3624 int *arg2
= (int *) 0 ;
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 wxDisplaySize(arg1
,arg2
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3641 Py_INCREF(Py_None
); resultobj
= Py_None
;
3643 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3644 resultobj
= t_output_helper(resultobj
,o
);
3647 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3648 resultobj
= t_output_helper(resultobj
,o
);
3656 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
;
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3666 result
= wxGetDisplaySize();
3668 wxPyEndAllowThreads(__tstate
);
3669 if (PyErr_Occurred()) SWIG_fail
;
3673 resultptr
= new wxSize((wxSize
&) result
);
3674 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3682 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
*resultobj
;
3684 int *arg1
= (int *) 0 ;
3685 int *arg2
= (int *) 0 ;
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 wxDisplaySizeMM(arg1
,arg2
);
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) SWIG_fail
;
3702 Py_INCREF(Py_None
); resultobj
= Py_None
;
3704 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3705 resultobj
= t_output_helper(resultobj
,o
);
3708 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3709 resultobj
= t_output_helper(resultobj
,o
);
3717 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
*resultobj
;
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 result
= wxGetDisplaySizeMM();
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3734 resultptr
= new wxSize((wxSize
&) result
);
3735 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3743 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
*resultobj
;
3745 int *arg1
= (int *) 0 ;
3746 int *arg2
= (int *) 0 ;
3747 int *arg3
= (int *) 0 ;
3748 int *arg4
= (int *) 0 ;
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3764 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3766 wxPyEndAllowThreads(__tstate
);
3767 if (PyErr_Occurred()) SWIG_fail
;
3769 Py_INCREF(Py_None
); resultobj
= Py_None
;
3771 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3772 resultobj
= t_output_helper(resultobj
,o
);
3775 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3776 resultobj
= t_output_helper(resultobj
,o
);
3779 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3780 resultobj
= t_output_helper(resultobj
,o
);
3783 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3784 resultobj
= t_output_helper(resultobj
,o
);
3792 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
;
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3802 result
= wxGetClientDisplayRect();
3804 wxPyEndAllowThreads(__tstate
);
3805 if (PyErr_Occurred()) SWIG_fail
;
3809 resultptr
= new wxRect((wxRect
&) result
);
3810 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3818 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
*resultobj
;
3820 wxCursor
*arg1
= 0 ;
3821 PyObject
* obj0
= 0 ;
3823 (char *) "cursor", NULL
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3829 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3838 Py_INCREF(Py_None
); resultobj
= Py_None
;
3845 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
*resultobj
;
3847 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3848 PyObject
* obj0
= 0 ;
3850 (char *) "cursor", NULL
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 wxBeginBusyCursor(arg1
);
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3864 Py_INCREF(Py_None
); resultobj
= Py_None
;
3871 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 result
= (wxWindow
*)wxGetActiveWindow();
3883 wxPyEndAllowThreads(__tstate
);
3884 if (PyErr_Occurred()) SWIG_fail
;
3887 resultobj
= wxPyMake_wxObject(result
);
3895 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
*resultobj
;
3900 PyObject
* obj0
= 0 ;
3905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3908 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3918 resultobj
= wxPyMake_wxObject(result
);
3926 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
*resultobj
;
3931 PyObject
* obj0
= 0 ;
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3939 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3949 resultobj
= wxPyMake_wxObject(result
);
3957 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
*resultobj
;
3959 wxWindow
*arg1
= (wxWindow
*) 0 ;
3961 PyObject
* obj0
= 0 ;
3963 (char *) "win", NULL
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
3967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3976 resultobj
= wxPyMake_wxObject(result
);
3984 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
*resultobj
;
3988 PyObject
* obj0
= 0 ;
3990 (char *) "key", NULL
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
3995 arg1
= (wxKeyCode
) SWIG_PyObj_AsInt(obj0
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4002 wxPyEndAllowThreads(__tstate
);
4003 if (PyErr_Occurred()) SWIG_fail
;
4005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4012 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
*resultobj
;
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4021 wxWakeUpMainThread();
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4026 Py_INCREF(Py_None
); resultobj
= Py_None
;
4033 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
*resultobj
;
4039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4044 wxPyEndAllowThreads(__tstate
);
4045 if (PyErr_Occurred()) SWIG_fail
;
4047 Py_INCREF(Py_None
); resultobj
= Py_None
;
4054 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4055 PyObject
*resultobj
;
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 wxPyEndAllowThreads(__tstate
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4068 Py_INCREF(Py_None
); resultobj
= Py_None
;
4075 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
*resultobj
;
4077 wxMutexGuiLocker
*result
;
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMutexGuiLocker
, 1);
4097 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4098 PyObject
*resultobj
;
4099 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4100 PyObject
* obj0
= 0 ;
4102 (char *) "self", NULL
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMutexGuiLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4114 Py_INCREF(Py_None
); resultobj
= Py_None
;
4121 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4124 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4126 return Py_BuildValue((char *)"");
4128 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
*resultobj
;
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 result
= (bool)wxThread_IsMain();
4140 wxPyEndAllowThreads(__tstate
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4150 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
*resultobj
;
4152 wxString
*arg1
= 0 ;
4154 bool temp1
= False
;
4155 PyObject
* obj0
= 0 ;
4157 (char *) "tip", NULL
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4162 arg1
= wxString_in_helper(obj0
);
4163 if (arg1
== NULL
) SWIG_fail
;
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= wxPyMake_wxObject(result
);
4190 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
*resultobj
;
4192 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4193 wxString
*arg2
= 0 ;
4194 bool temp2
= False
;
4195 PyObject
* obj0
= 0 ;
4196 PyObject
* obj1
= 0 ;
4198 (char *) "self",(char *) "tip", NULL
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4204 arg2
= wxString_in_helper(obj1
);
4205 if (arg2
== NULL
) SWIG_fail
;
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 (arg1
)->SetTip((wxString
const &)*arg2
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 Py_INCREF(Py_None
); resultobj
= Py_None
;
4230 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
*resultobj
;
4232 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4234 PyObject
* obj0
= 0 ;
4236 (char *) "self", NULL
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 result
= (arg1
)->GetTip();
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4261 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
*resultobj
;
4263 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4265 PyObject
* obj0
= 0 ;
4267 (char *) "self", NULL
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4274 result
= (wxWindow
*)(arg1
)->GetWindow();
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) SWIG_fail
;
4280 resultobj
= wxPyMake_wxObject(result
);
4288 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
*resultobj
;
4291 PyObject
* obj0
= 0 ;
4293 (char *) "flag", NULL
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4298 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4303 wxToolTip::Enable(arg1
);
4305 wxPyEndAllowThreads(__tstate
);
4306 if (PyErr_Occurred()) SWIG_fail
;
4308 Py_INCREF(Py_None
); resultobj
= Py_None
;
4315 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
*resultobj
;
4318 PyObject
* obj0
= 0 ;
4320 (char *) "milliseconds", NULL
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4325 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 wxToolTip::SetDelay(arg1
);
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4335 Py_INCREF(Py_None
); resultobj
= Py_None
;
4342 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4345 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4347 return Py_BuildValue((char *)"");
4349 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4351 wxWindow
*arg1
= (wxWindow
*) 0 ;
4355 PyObject
* obj0
= 0 ;
4356 PyObject
* obj1
= 0 ;
4358 (char *) "window",(char *) "size", NULL
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4365 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4369 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4374 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 1);
4381 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
*resultobj
;
4383 wxCaret
*arg1
= (wxCaret
*) 0 ;
4384 PyObject
* obj0
= 0 ;
4386 (char *) "self", NULL
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4398 Py_INCREF(Py_None
); resultobj
= Py_None
;
4405 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
*resultobj
;
4407 wxCaret
*arg1
= (wxCaret
*) 0 ;
4409 PyObject
* obj0
= 0 ;
4411 (char *) "self", NULL
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 result
= (bool)(arg1
)->IsOk();
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4430 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
;
4432 wxCaret
*arg1
= (wxCaret
*) 0 ;
4434 PyObject
* obj0
= 0 ;
4436 (char *) "self", NULL
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4443 result
= (bool)(arg1
)->IsVisible();
4445 wxPyEndAllowThreads(__tstate
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4455 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
*resultobj
;
4457 wxCaret
*arg1
= (wxCaret
*) 0 ;
4459 PyObject
* obj0
= 0 ;
4461 (char *) "self", NULL
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 result
= (arg1
)->GetPosition();
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4474 wxPoint
* resultptr
;
4475 resultptr
= new wxPoint((wxPoint
&) result
);
4476 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
4484 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
;
4486 wxCaret
*arg1
= (wxCaret
*) 0 ;
4487 int *arg2
= (int *) 0 ;
4488 int *arg3
= (int *) 0 ;
4491 PyObject
* obj0
= 0 ;
4493 (char *) "self", NULL
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 (arg1
)->GetPosition(arg2
,arg3
);
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4507 Py_INCREF(Py_None
); resultobj
= Py_None
;
4509 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4510 resultobj
= t_output_helper(resultobj
,o
);
4513 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4514 resultobj
= t_output_helper(resultobj
,o
);
4522 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
;
4524 wxCaret
*arg1
= (wxCaret
*) 0 ;
4526 PyObject
* obj0
= 0 ;
4528 (char *) "self", NULL
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 result
= (arg1
)->GetSize();
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4542 resultptr
= new wxSize((wxSize
&) result
);
4543 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
4551 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
;
4553 wxCaret
*arg1
= (wxCaret
*) 0 ;
4554 int *arg2
= (int *) 0 ;
4555 int *arg3
= (int *) 0 ;
4558 PyObject
* obj0
= 0 ;
4560 (char *) "self", NULL
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 (arg1
)->GetSize(arg2
,arg3
);
4571 wxPyEndAllowThreads(__tstate
);
4572 if (PyErr_Occurred()) SWIG_fail
;
4574 Py_INCREF(Py_None
); resultobj
= Py_None
;
4576 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4577 resultobj
= t_output_helper(resultobj
,o
);
4580 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4581 resultobj
= t_output_helper(resultobj
,o
);
4589 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
*resultobj
;
4591 wxCaret
*arg1
= (wxCaret
*) 0 ;
4593 PyObject
* obj0
= 0 ;
4595 (char *) "self", NULL
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 result
= (wxWindow
*)(arg1
)->GetWindow();
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4608 resultobj
= wxPyMake_wxObject(result
);
4616 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
*resultobj
;
4618 wxCaret
*arg1
= (wxCaret
*) 0 ;
4621 PyObject
* obj0
= 0 ;
4622 PyObject
* obj1
= 0 ;
4623 PyObject
* obj2
= 0 ;
4625 (char *) "self",(char *) "x",(char *) "y", NULL
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4631 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4635 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4640 (arg1
)->Move(arg2
,arg3
);
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4645 Py_INCREF(Py_None
); resultobj
= Py_None
;
4652 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
*resultobj
;
4654 wxCaret
*arg1
= (wxCaret
*) 0 ;
4657 PyObject
* obj0
= 0 ;
4658 PyObject
* obj1
= 0 ;
4660 (char *) "self",(char *) "pt", NULL
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4667 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 (arg1
)->Move((wxPoint
const &)*arg2
);
4673 wxPyEndAllowThreads(__tstate
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4676 Py_INCREF(Py_None
); resultobj
= Py_None
;
4683 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
;
4685 wxCaret
*arg1
= (wxCaret
*) 0 ;
4688 PyObject
* obj0
= 0 ;
4689 PyObject
* obj1
= 0 ;
4690 PyObject
* obj2
= 0 ;
4692 (char *) "self",(char *) "width",(char *) "height", NULL
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4698 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4702 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 (arg1
)->SetSize(arg2
,arg3
);
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4712 Py_INCREF(Py_None
); resultobj
= Py_None
;
4719 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
;
4721 wxCaret
*arg1
= (wxCaret
*) 0 ;
4724 PyObject
* obj0
= 0 ;
4725 PyObject
* obj1
= 0 ;
4727 (char *) "self",(char *) "size", NULL
4730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4734 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 (arg1
)->SetSize((wxSize
const &)*arg2
);
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 Py_INCREF(Py_None
); resultobj
= Py_None
;
4750 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
;
4752 wxCaret
*arg1
= (wxCaret
*) 0 ;
4753 int arg2
= (int) True
;
4754 PyObject
* obj0
= 0 ;
4755 PyObject
* obj1
= 0 ;
4757 (char *) "self",(char *) "show", NULL
4760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4764 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4775 Py_INCREF(Py_None
); resultobj
= Py_None
;
4782 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
*resultobj
;
4784 wxCaret
*arg1
= (wxCaret
*) 0 ;
4785 PyObject
* obj0
= 0 ;
4787 (char *) "self", NULL
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4796 wxPyEndAllowThreads(__tstate
);
4797 if (PyErr_Occurred()) SWIG_fail
;
4799 Py_INCREF(Py_None
); resultobj
= Py_None
;
4806 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4809 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4811 return Py_BuildValue((char *)"");
4813 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
*resultobj
;
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 result
= (int)wxCaret_GetBlinkTime();
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4828 resultobj
= SWIG_PyObj_FromInt((int)result
);
4835 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
*resultobj
;
4838 PyObject
* obj0
= 0 ;
4840 (char *) "milliseconds", NULL
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
4845 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4850 wxCaret_SetBlinkTime(arg1
);
4852 wxPyEndAllowThreads(__tstate
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4855 Py_INCREF(Py_None
); resultobj
= Py_None
;
4862 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4863 PyObject
*resultobj
;
4864 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4865 wxBusyCursor
*result
;
4866 PyObject
* obj0
= 0 ;
4868 (char *) "cursor", NULL
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
4873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4882 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyCursor
, 1);
4889 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
*resultobj
;
4891 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
4892 PyObject
* obj0
= 0 ;
4894 (char *) "self", NULL
4897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
4898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4906 Py_INCREF(Py_None
); resultobj
= Py_None
;
4913 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
4915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4916 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
4918 return Py_BuildValue((char *)"");
4920 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
*resultobj
;
4922 wxWindow
*arg1
= (wxWindow
*) NULL
;
4923 wxWindowDisabler
*result
;
4924 PyObject
* obj0
= 0 ;
4926 (char *) "winToSkip", NULL
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4935 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4940 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDisabler
, 1);
4947 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
*resultobj
;
4949 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
4950 PyObject
* obj0
= 0 ;
4952 (char *) "self", NULL
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 wxPyEndAllowThreads(__tstate
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4964 Py_INCREF(Py_None
); resultobj
= Py_None
;
4971 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
4973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4974 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
4976 return Py_BuildValue((char *)"");
4978 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
*resultobj
;
4980 wxString
*arg1
= 0 ;
4982 bool temp1
= False
;
4983 PyObject
* obj0
= 0 ;
4985 (char *) "message", NULL
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
4990 arg1
= wxString_in_helper(obj0
);
4991 if (arg1
== NULL
) SWIG_fail
;
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5001 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyInfo
, 1);
5016 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
*resultobj
;
5018 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5019 PyObject
* obj0
= 0 ;
5021 (char *) "self", NULL
5024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 wxPyEndAllowThreads(__tstate
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5033 Py_INCREF(Py_None
); resultobj
= Py_None
;
5040 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5043 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5045 return Py_BuildValue((char *)"");
5047 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
*resultobj
;
5049 wxStopWatch
*result
;
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 result
= (wxStopWatch
*)new wxStopWatch();
5059 wxPyEndAllowThreads(__tstate
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5062 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStopWatch
, 1);
5069 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
*resultobj
;
5071 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5072 long arg2
= (long) 0 ;
5073 PyObject
* obj0
= 0 ;
5074 PyObject
* obj1
= 0 ;
5076 (char *) "self",(char *) "t0", NULL
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5083 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 (arg1
)->Start(arg2
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 Py_INCREF(Py_None
); resultobj
= Py_None
;
5101 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
;
5103 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5104 PyObject
* obj0
= 0 ;
5106 (char *) "self", NULL
5109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5118 Py_INCREF(Py_None
); resultobj
= Py_None
;
5125 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
*resultobj
;
5127 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5128 PyObject
* obj0
= 0 ;
5130 (char *) "self", NULL
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5142 Py_INCREF(Py_None
); resultobj
= Py_None
;
5149 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
*resultobj
;
5151 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5153 PyObject
* obj0
= 0 ;
5155 (char *) "self", NULL
5158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 resultobj
= SWIG_PyObj_FromLong((long)result
);
5174 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5177 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5179 return Py_BuildValue((char *)"");
5181 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
;
5183 int arg1
= (int) 9 ;
5184 wxFileHistory
*result
;
5185 PyObject
* obj0
= 0 ;
5187 (char *) "maxFiles", NULL
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5193 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
5194 if (PyErr_Occurred()) SWIG_fail
;
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileHistory
, 1);
5211 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
;
5213 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5214 PyObject
* obj0
= 0 ;
5216 (char *) "self", NULL
5219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 Py_INCREF(Py_None
); resultobj
= Py_None
;
5235 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
;
5237 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5238 wxString
*arg2
= 0 ;
5239 bool temp2
= False
;
5240 PyObject
* obj0
= 0 ;
5241 PyObject
* obj1
= 0 ;
5243 (char *) "self",(char *) "file", NULL
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5249 arg2
= wxString_in_helper(obj1
);
5250 if (arg2
== NULL
) SWIG_fail
;
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5260 Py_INCREF(Py_None
); resultobj
= Py_None
;
5275 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
*resultobj
;
5277 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5279 PyObject
* obj0
= 0 ;
5280 PyObject
* obj1
= 0 ;
5282 (char *) "self",(char *) "i", NULL
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5288 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 (arg1
)->RemoveFileFromHistory(arg2
);
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5298 Py_INCREF(Py_None
); resultobj
= Py_None
;
5305 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
*resultobj
;
5307 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5309 PyObject
* obj0
= 0 ;
5311 (char *) "self", NULL
5314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5323 resultobj
= SWIG_PyObj_FromInt((int)result
);
5330 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5331 PyObject
*resultobj
;
5332 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5333 wxMenu
*arg2
= (wxMenu
*) 0 ;
5334 PyObject
* obj0
= 0 ;
5335 PyObject
* obj1
= 0 ;
5337 (char *) "self",(char *) "menu", NULL
5340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5342 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5345 (arg1
)->UseMenu(arg2
);
5347 wxPyEndAllowThreads(__tstate
);
5348 if (PyErr_Occurred()) SWIG_fail
;
5350 Py_INCREF(Py_None
); resultobj
= Py_None
;
5357 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
*resultobj
;
5359 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5360 wxMenu
*arg2
= (wxMenu
*) 0 ;
5361 PyObject
* obj0
= 0 ;
5362 PyObject
* obj1
= 0 ;
5364 (char *) "self",(char *) "menu", NULL
5367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5369 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5372 (arg1
)->RemoveMenu(arg2
);
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 Py_INCREF(Py_None
); resultobj
= Py_None
;
5384 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
;
5386 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5387 wxConfigBase
*arg2
= 0 ;
5388 PyObject
* obj0
= 0 ;
5389 PyObject
* obj1
= 0 ;
5391 (char *) "self",(char *) "config", NULL
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5396 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5398 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 (arg1
)->Load(*arg2
);
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5407 Py_INCREF(Py_None
); resultobj
= Py_None
;
5414 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5415 PyObject
*resultobj
;
5416 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5417 wxConfigBase
*arg2
= 0 ;
5418 PyObject
* obj0
= 0 ;
5419 PyObject
* obj1
= 0 ;
5421 (char *) "self",(char *) "config", NULL
5424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5426 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5428 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 (arg1
)->Save(*arg2
);
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 Py_INCREF(Py_None
); resultobj
= Py_None
;
5444 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
*resultobj
;
5446 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5447 PyObject
* obj0
= 0 ;
5449 (char *) "self", NULL
5452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 (arg1
)->AddFilesToMenu();
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 Py_INCREF(Py_None
); resultobj
= Py_None
;
5468 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
*resultobj
;
5470 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5471 wxMenu
*arg2
= (wxMenu
*) 0 ;
5472 PyObject
* obj0
= 0 ;
5473 PyObject
* obj1
= 0 ;
5475 (char *) "self",(char *) "menu", NULL
5478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5480 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 (arg1
)->AddFilesToMenu(arg2
);
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5488 Py_INCREF(Py_None
); resultobj
= Py_None
;
5495 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
*resultobj
;
5497 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5500 PyObject
* obj0
= 0 ;
5501 PyObject
* obj1
= 0 ;
5503 (char *) "self",(char *) "i", NULL
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5509 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5532 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
*resultobj
;
5534 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5536 PyObject
* obj0
= 0 ;
5538 (char *) "self", NULL
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5545 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5547 wxPyEndAllowThreads(__tstate
);
5548 if (PyErr_Occurred()) SWIG_fail
;
5550 resultobj
= SWIG_PyObj_FromInt((int)result
);
5557 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5560 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5562 return Py_BuildValue((char *)"");
5564 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
*resultobj
;
5566 wxString
*arg1
= 0 ;
5567 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5568 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5569 wxSingleInstanceChecker
*result
;
5570 bool temp1
= False
;
5571 bool temp2
= False
;
5572 PyObject
* obj0
= 0 ;
5573 PyObject
* obj1
= 0 ;
5575 (char *) "name",(char *) "path", NULL
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5580 arg1
= wxString_in_helper(obj0
);
5581 if (arg1
== NULL
) SWIG_fail
;
5586 arg2
= wxString_in_helper(obj1
);
5587 if (arg2
== NULL
) SWIG_fail
;
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5598 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5621 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5622 PyObject
*resultobj
;
5623 wxSingleInstanceChecker
*result
;
5628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5633 wxPyEndAllowThreads(__tstate
);
5634 if (PyErr_Occurred()) SWIG_fail
;
5636 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5643 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
*resultobj
;
5645 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5646 PyObject
* obj0
= 0 ;
5648 (char *) "self", NULL
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 Py_INCREF(Py_None
); resultobj
= Py_None
;
5667 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
;
5669 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5670 wxString
*arg2
= 0 ;
5671 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5672 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5674 bool temp2
= False
;
5675 bool temp3
= False
;
5676 PyObject
* obj0
= 0 ;
5677 PyObject
* obj1
= 0 ;
5678 PyObject
* obj2
= 0 ;
5680 (char *) "self",(char *) "name",(char *) "path", NULL
5683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5686 arg2
= wxString_in_helper(obj1
);
5687 if (arg2
== NULL
) SWIG_fail
;
5692 arg3
= wxString_in_helper(obj2
);
5693 if (arg3
== NULL
) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5727 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
*resultobj
;
5729 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5731 PyObject
* obj0
= 0 ;
5733 (char *) "self", NULL
5736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5740 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5742 wxPyEndAllowThreads(__tstate
);
5743 if (PyErr_Occurred()) SWIG_fail
;
5745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5752 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5755 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5757 return Py_BuildValue((char *)"");
5759 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
;
5761 wxWindow
*arg1
= (wxWindow
*) 0 ;
5764 PyObject
* obj0
= 0 ;
5765 PyObject
* obj1
= 0 ;
5766 PyObject
* obj2
= 0 ;
5768 (char *) "window",(char *) "dc",(char *) "method", NULL
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5773 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5775 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5778 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 Py_INCREF(Py_None
); resultobj
= Py_None
;
5795 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
*resultobj
;
5797 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5798 PyObject
* obj0
= 0 ;
5800 (char *) "self", NULL
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 wxPyEndAllowThreads(__tstate
);
5810 if (PyErr_Occurred()) SWIG_fail
;
5812 Py_INCREF(Py_None
); resultobj
= Py_None
;
5819 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5820 PyObject
*resultobj
;
5821 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5823 PyObject
* obj0
= 0 ;
5825 (char *) "self", NULL
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
5829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 result
= (arg1
)->GetTip();
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5850 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
*resultobj
;
5852 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5854 PyObject
* obj0
= 0 ;
5856 (char *) "self", NULL
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
5860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= (size_t)(arg1
)->GetCurrentTip();
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5868 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
5875 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5878 wxString
*arg2
= 0 ;
5880 bool temp2
= False
;
5881 PyObject
* obj0
= 0 ;
5882 PyObject
* obj1
= 0 ;
5884 (char *) "self",(char *) "tip", NULL
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
5888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5890 arg2
= wxString_in_helper(obj1
);
5891 if (arg2
== NULL
) SWIG_fail
;
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5922 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5925 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
5927 return Py_BuildValue((char *)"");
5929 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5930 PyObject
*resultobj
;
5932 wxPyTipProvider
*result
;
5933 PyObject
* obj0
= 0 ;
5935 (char *) "currentTip", NULL
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
5940 arg1
= (size_t) SWIG_PyObj_AsUnsignedLong(obj0
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTipProvider
, 1);
5957 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
*resultobj
;
5959 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
5960 PyObject
*arg2
= (PyObject
*) 0 ;
5961 PyObject
*arg3
= (PyObject
*) 0 ;
5962 PyObject
* obj0
= 0 ;
5963 PyObject
* obj1
= 0 ;
5964 PyObject
* obj2
= 0 ;
5966 (char *) "self",(char *) "self",(char *) "_class", NULL
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5980 Py_INCREF(Py_None
); resultobj
= Py_None
;
5987 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5990 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
5992 return Py_BuildValue((char *)"");
5994 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
*resultobj
;
5996 wxWindow
*arg1
= (wxWindow
*) 0 ;
5997 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
5998 bool arg3
= (bool) True
;
6000 PyObject
* obj0
= 0 ;
6001 PyObject
* obj1
= 0 ;
6002 PyObject
* obj2
= 0 ;
6004 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6009 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6012 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6030 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6031 PyObject
*resultobj
;
6032 wxString
*arg1
= 0 ;
6034 wxTipProvider
*result
;
6035 bool temp1
= False
;
6036 PyObject
* obj0
= 0 ;
6037 PyObject
* obj1
= 0 ;
6039 (char *) "filename",(char *) "currentTip", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6044 arg1
= wxString_in_helper(obj0
);
6045 if (arg1
== NULL
) SWIG_fail
;
6049 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6059 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipProvider
, 1);
6074 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
;
6076 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6077 int arg2
= (int) -1 ;
6079 PyObject
* obj0
= 0 ;
6080 PyObject
* obj1
= 0 ;
6082 (char *) "owner",(char *) "id", NULL
6085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6091 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6097 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6099 wxPyEndAllowThreads(__tstate
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6102 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTimer
, 1);
6109 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
;
6111 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6112 PyObject
* obj0
= 0 ;
6114 (char *) "self", NULL
6117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6126 Py_INCREF(Py_None
); resultobj
= Py_None
;
6133 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
*resultobj
;
6135 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6136 PyObject
*arg2
= (PyObject
*) 0 ;
6137 PyObject
*arg3
= (PyObject
*) 0 ;
6138 PyObject
* obj0
= 0 ;
6139 PyObject
* obj1
= 0 ;
6140 PyObject
* obj2
= 0 ;
6142 (char *) "self",(char *) "self",(char *) "_class", NULL
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6156 Py_INCREF(Py_None
); resultobj
= Py_None
;
6163 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
*resultobj
;
6165 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6166 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6167 int arg3
= (int) -1 ;
6168 PyObject
* obj0
= 0 ;
6169 PyObject
* obj1
= 0 ;
6170 PyObject
* obj2
= 0 ;
6172 (char *) "self",(char *) "owner",(char *) "id", NULL
6175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6177 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6180 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 (arg1
)->SetOwner(arg2
,arg3
);
6188 wxPyEndAllowThreads(__tstate
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6191 Py_INCREF(Py_None
); resultobj
= Py_None
;
6198 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6199 PyObject
*resultobj
;
6200 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6201 int arg2
= (int) -1 ;
6202 bool arg3
= (bool) False
;
6204 PyObject
* obj0
= 0 ;
6205 PyObject
* obj1
= 0 ;
6206 PyObject
* obj2
= 0 ;
6208 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6215 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6221 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6227 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6239 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6240 PyObject
*resultobj
;
6241 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6242 PyObject
* obj0
= 0 ;
6244 (char *) "self", NULL
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) SWIG_fail
;
6256 Py_INCREF(Py_None
); resultobj
= Py_None
;
6263 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
*resultobj
;
6265 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6267 PyObject
* obj0
= 0 ;
6269 (char *) "self", NULL
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6276 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6278 wxPyEndAllowThreads(__tstate
);
6279 if (PyErr_Occurred()) SWIG_fail
;
6281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6288 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6289 PyObject
*resultobj
;
6290 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6292 PyObject
* obj0
= 0 ;
6294 (char *) "self", NULL
6297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6301 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6303 wxPyEndAllowThreads(__tstate
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6306 resultobj
= SWIG_PyObj_FromInt((int)result
);
6313 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
*resultobj
;
6315 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6317 PyObject
* obj0
= 0 ;
6319 (char *) "self", NULL
6322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) SWIG_fail
;
6331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6338 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
*resultobj
;
6340 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6342 PyObject
* obj0
= 0 ;
6344 (char *) "self", NULL
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 resultobj
= SWIG_PyObj_FromInt((int)result
);
6363 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6366 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6368 return Py_BuildValue((char *)"");
6370 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
*resultobj
;
6372 int arg1
= (int) 0 ;
6373 int arg2
= (int) 0 ;
6374 wxTimerEvent
*result
;
6375 PyObject
* obj0
= 0 ;
6376 PyObject
* obj1
= 0 ;
6378 (char *) "timerid",(char *) "interval", NULL
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6384 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
6385 if (PyErr_Occurred()) SWIG_fail
;
6390 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6396 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6401 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerEvent
, 1);
6408 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
*resultobj
;
6410 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6412 PyObject
* obj0
= 0 ;
6414 (char *) "self", NULL
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= SWIG_PyObj_FromInt((int)result
);
6433 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6436 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6438 return Py_BuildValue((char *)"");
6440 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6441 PyObject
*resultobj
;
6443 wxTimerRunner
*result
;
6444 PyObject
* obj0
= 0 ;
6446 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6449 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6458 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
6465 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6466 PyObject
*resultobj
;
6469 bool arg3
= (bool) False
;
6470 wxTimerRunner
*result
;
6471 PyObject
* obj0
= 0 ;
6472 PyObject
* obj1
= 0 ;
6473 PyObject
* obj2
= 0 ;
6475 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6478 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6481 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6486 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6492 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
6504 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6509 argc
= PyObject_Length(args
);
6510 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6511 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6517 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6525 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6528 if ((argc
>= 2) && (argc
<= 3)) {
6532 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6541 SWIG_PyObj_AsInt(argv
[1]);
6542 if (PyErr_Occurred()) {
6551 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6554 SWIG_PyObj_AsBool(argv
[2]);
6555 if (PyErr_Occurred()) {
6563 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6569 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6574 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
*resultobj
;
6576 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6577 PyObject
* obj0
= 0 ;
6579 (char *) "self", NULL
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6591 Py_INCREF(Py_None
); resultobj
= Py_None
;
6598 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
*resultobj
;
6600 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6602 bool arg3
= (bool) False
;
6603 PyObject
* obj0
= 0 ;
6604 PyObject
* obj1
= 0 ;
6605 PyObject
* obj2
= 0 ;
6607 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6613 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6618 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6624 (arg1
)->Start(arg2
,arg3
);
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6629 Py_INCREF(Py_None
); resultobj
= Py_None
;
6636 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6639 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6641 return Py_BuildValue((char *)"");
6643 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
*resultobj
;
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 result
= (wxLog
*)new wxLog();
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 1);
6665 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
;
6672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 result
= (bool)wxLog::IsEnabled();
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6687 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
;
6689 bool arg1
= (bool) True
;
6691 PyObject
* obj0
= 0 ;
6693 (char *) "doIt", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6699 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6705 result
= (bool)wxLog::EnableLogging(arg1
);
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6717 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
*resultobj
;
6720 wxChar
*arg2
= (wxChar
*) 0 ;
6722 PyObject
* obj0
= 0 ;
6723 PyObject
* obj1
= 0 ;
6724 PyObject
* obj2
= 0 ;
6726 (char *) "level",(char *) "szString",(char *) "t", NULL
6729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6731 arg1
= (wxLogLevel
) SWIG_PyObj_AsUnsignedLong(obj0
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6734 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6736 arg3
= (time_t) SWIG_PyObj_AsUnsignedInt(obj2
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6741 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6746 Py_INCREF(Py_None
); resultobj
= Py_None
;
6753 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
*resultobj
;
6755 wxLog
*arg1
= (wxLog
*) 0 ;
6756 PyObject
* obj0
= 0 ;
6758 (char *) "self", NULL
6761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6770 Py_INCREF(Py_None
); resultobj
= Py_None
;
6777 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
;
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 wxLog::FlushActive();
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6791 Py_INCREF(Py_None
); resultobj
= Py_None
;
6798 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
;
6805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 result
= (wxLog
*)wxLog::GetActiveTarget();
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6813 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6820 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxLog
*arg1
= (wxLog
*) 0 ;
6824 PyObject
* obj0
= 0 ;
6826 (char *) "pLogger", NULL
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
6830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6838 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6845 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
6853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6856 wxPyEndAllowThreads(__tstate
);
6857 if (PyErr_Occurred()) SWIG_fail
;
6859 Py_INCREF(Py_None
); resultobj
= Py_None
;
6866 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6867 PyObject
*resultobj
;
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
6874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 wxPyEndAllowThreads(__tstate
);
6878 if (PyErr_Occurred()) SWIG_fail
;
6880 Py_INCREF(Py_None
); resultobj
= Py_None
;
6887 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6888 PyObject
*resultobj
;
6889 bool arg1
= (bool) True
;
6890 PyObject
* obj0
= 0 ;
6892 (char *) "bVerbose", NULL
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
6898 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6904 wxLog::SetVerbose(arg1
);
6906 wxPyEndAllowThreads(__tstate
);
6907 if (PyErr_Occurred()) SWIG_fail
;
6909 Py_INCREF(Py_None
); resultobj
= Py_None
;
6916 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6917 PyObject
*resultobj
;
6919 PyObject
* obj0
= 0 ;
6921 (char *) "logLevel", NULL
6924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
6926 arg1
= (wxLogLevel
) SWIG_PyObj_AsUnsignedLong(obj0
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 wxLog::SetLogLevel(arg1
);
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6936 Py_INCREF(Py_None
); resultobj
= Py_None
;
6943 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
;
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 wxLog::DontCreateOnDemand();
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 Py_INCREF(Py_None
); resultobj
= Py_None
;
6964 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
;
6967 PyObject
* obj0
= 0 ;
6969 (char *) "ulMask", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
6974 arg1
= (wxTraceMask
) SWIG_PyObj_AsUnsignedLong(obj0
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 wxLog::SetTraceMask(arg1
);
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6984 Py_INCREF(Py_None
); resultobj
= Py_None
;
6991 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
*resultobj
;
6993 wxString
*arg1
= 0 ;
6994 bool temp1
= False
;
6995 PyObject
* obj0
= 0 ;
6997 (char *) "str", NULL
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7002 arg1
= wxString_in_helper(obj0
);
7003 if (arg1
== NULL
) SWIG_fail
;
7007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7008 wxLog::AddTraceMask((wxString
const &)*arg1
);
7010 wxPyEndAllowThreads(__tstate
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7013 Py_INCREF(Py_None
); resultobj
= Py_None
;
7028 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
*resultobj
;
7030 wxString
*arg1
= 0 ;
7031 bool temp1
= False
;
7032 PyObject
* obj0
= 0 ;
7034 (char *) "str", NULL
7037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7039 arg1
= wxString_in_helper(obj0
);
7040 if (arg1
== NULL
) SWIG_fail
;
7044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7045 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7047 wxPyEndAllowThreads(__tstate
);
7048 if (PyErr_Occurred()) SWIG_fail
;
7050 Py_INCREF(Py_None
); resultobj
= Py_None
;
7065 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
*resultobj
;
7071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 wxLog::ClearTraceMasks();
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 Py_INCREF(Py_None
); resultobj
= Py_None
;
7086 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
;
7088 wxArrayString
*result
;
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7098 result
= (wxArrayString
*) &_result_ref
;
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7105 resultobj
= wxArrayString2PyList_helper(*result
);
7113 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7114 PyObject
*resultobj
;
7115 wxChar
*arg1
= (wxChar
*) 0 ;
7116 PyObject
* obj0
= 0 ;
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 wxLog::SetTimestamp((wxChar
const *)arg1
);
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7130 Py_INCREF(Py_None
); resultobj
= Py_None
;
7137 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
*resultobj
;
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7147 result
= (bool)wxLog::GetVerbose();
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7159 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
*resultobj
;
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 result
= (wxTraceMask
)wxLog::GetTraceMask();
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7174 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
7181 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
*resultobj
;
7183 wxChar
*arg1
= (wxChar
*) 0 ;
7185 PyObject
* obj0
= 0 ;
7187 (char *) "mask", NULL
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7194 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7206 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
;
7213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 result
= (wxLogLevel
)wxLog::GetLogLevel();
7218 wxPyEndAllowThreads(__tstate
);
7219 if (PyErr_Occurred()) SWIG_fail
;
7221 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
7228 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
*resultobj
;
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 result
= (wxChar
*)wxLog::GetTimestamp();
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7243 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChar
, 0);
7250 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
;
7257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 result
= Log_TimeStamp();
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7278 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7279 PyObject
*resultobj
;
7280 wxLog
*arg1
= (wxLog
*) 0 ;
7281 PyObject
* obj0
= 0 ;
7283 (char *) "self", NULL
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 wxLog_Destroy(arg1
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7295 Py_INCREF(Py_None
); resultobj
= Py_None
;
7302 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7305 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7307 return Py_BuildValue((char *)"");
7309 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
*resultobj
;
7311 wxLogStderr
*result
;
7316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 result
= (wxLogStderr
*)new wxLogStderr();
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7324 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogStderr
, 1);
7331 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7334 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7336 return Py_BuildValue((char *)"");
7338 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
*resultobj
;
7340 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7341 wxLogTextCtrl
*result
;
7342 PyObject
* obj0
= 0 ;
7344 (char *) "pTextCtrl", NULL
7347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7351 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7353 wxPyEndAllowThreads(__tstate
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7356 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogTextCtrl
, 1);
7363 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7366 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7368 return Py_BuildValue((char *)"");
7370 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7371 PyObject
*resultobj
;
7377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7380 result
= (wxLogGui
*)new wxLogGui();
7382 wxPyEndAllowThreads(__tstate
);
7383 if (PyErr_Occurred()) SWIG_fail
;
7385 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogGui
, 1);
7392 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7395 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7397 return Py_BuildValue((char *)"");
7399 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxFrame
*arg1
= (wxFrame
*) 0 ;
7402 wxString
*arg2
= 0 ;
7403 bool arg3
= (bool) True
;
7404 bool arg4
= (bool) True
;
7405 wxLogWindow
*result
;
7406 bool temp2
= False
;
7407 PyObject
* obj0
= 0 ;
7408 PyObject
* obj1
= 0 ;
7409 PyObject
* obj2
= 0 ;
7410 PyObject
* obj3
= 0 ;
7412 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7418 arg2
= wxString_in_helper(obj1
);
7419 if (arg2
== NULL
) SWIG_fail
;
7424 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7430 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogWindow
, 1);
7456 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
*resultobj
;
7458 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7459 bool arg2
= (bool) True
;
7460 PyObject
* obj0
= 0 ;
7461 PyObject
* obj1
= 0 ;
7463 (char *) "self",(char *) "bShow", NULL
7466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7470 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7481 Py_INCREF(Py_None
); resultobj
= Py_None
;
7488 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
*resultobj
;
7490 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7492 PyObject
* obj0
= 0 ;
7494 (char *) "self", NULL
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7503 wxPyEndAllowThreads(__tstate
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7507 resultobj
= wxPyMake_wxObject(result
);
7515 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7516 PyObject
*resultobj
;
7517 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7519 PyObject
* obj0
= 0 ;
7521 (char *) "self", NULL
7524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7533 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7540 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7541 PyObject
*resultobj
;
7542 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7544 PyObject
* obj0
= 0 ;
7546 (char *) "self", NULL
7549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7553 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7555 wxPyEndAllowThreads(__tstate
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7565 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
;
7567 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7569 PyObject
* obj0
= 0 ;
7570 PyObject
* obj1
= 0 ;
7572 (char *) "self",(char *) "bDoPass", NULL
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7578 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 (arg1
)->PassMessages(arg2
);
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7588 Py_INCREF(Py_None
); resultobj
= Py_None
;
7595 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7598 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7600 return Py_BuildValue((char *)"");
7602 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7603 PyObject
*resultobj
;
7604 wxLog
*arg1
= (wxLog
*) 0 ;
7606 PyObject
* obj0
= 0 ;
7608 (char *) "logger", NULL
7611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 result
= (wxLogChain
*)new wxLogChain(arg1
);
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogChain
, 1);
7627 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
*resultobj
;
7629 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7630 wxLog
*arg2
= (wxLog
*) 0 ;
7631 PyObject
* obj0
= 0 ;
7632 PyObject
* obj1
= 0 ;
7634 (char *) "self",(char *) "logger", NULL
7637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7639 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 (arg1
)->SetLog(arg2
);
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 Py_INCREF(Py_None
); resultobj
= Py_None
;
7654 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
;
7656 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7658 PyObject
* obj0
= 0 ;
7659 PyObject
* obj1
= 0 ;
7661 (char *) "self",(char *) "bDoPass", NULL
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7667 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7668 if (PyErr_Occurred()) SWIG_fail
;
7671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7672 (arg1
)->PassMessages(arg2
);
7674 wxPyEndAllowThreads(__tstate
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7677 Py_INCREF(Py_None
); resultobj
= Py_None
;
7684 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
;
7686 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7688 PyObject
* obj0
= 0 ;
7690 (char *) "self", NULL
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 result
= (bool)(arg1
)->IsPassingMessages();
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7709 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
;
7711 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7713 PyObject
* obj0
= 0 ;
7715 (char *) "self", NULL
7718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7722 result
= (wxLog
*)(arg1
)->GetOldLog();
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7727 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7734 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7737 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7739 return Py_BuildValue((char *)"");
7741 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
;
7743 unsigned long result
;
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7751 result
= (unsigned long)wxSysErrorCode();
7753 wxPyEndAllowThreads(__tstate
);
7754 if (PyErr_Occurred()) SWIG_fail
;
7756 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
7763 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7764 PyObject
*resultobj
;
7765 unsigned long arg1
= (unsigned long) 0 ;
7767 PyObject
* obj0
= 0 ;
7769 (char *) "nErrCode", NULL
7772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7775 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 result
= wxSysErrorMsg(arg1
);
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7788 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7790 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7799 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
*resultobj
;
7801 wxString
*arg1
= 0 ;
7802 bool temp1
= False
;
7803 PyObject
* obj0
= 0 ;
7805 (char *) "msg", NULL
7808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7810 arg1
= wxString_in_helper(obj0
);
7811 if (arg1
== NULL
) SWIG_fail
;
7815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7816 wxLogFatalError((wxString
const &)*arg1
);
7818 wxPyEndAllowThreads(__tstate
);
7819 if (PyErr_Occurred()) SWIG_fail
;
7821 Py_INCREF(Py_None
); resultobj
= Py_None
;
7836 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
*resultobj
;
7838 wxString
*arg1
= 0 ;
7839 bool temp1
= False
;
7840 PyObject
* obj0
= 0 ;
7842 (char *) "msg", NULL
7845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
7847 arg1
= wxString_in_helper(obj0
);
7848 if (arg1
== NULL
) SWIG_fail
;
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 wxLogError((wxString
const &)*arg1
);
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 Py_INCREF(Py_None
); resultobj
= Py_None
;
7873 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
*resultobj
;
7875 wxString
*arg1
= 0 ;
7876 bool temp1
= False
;
7877 PyObject
* obj0
= 0 ;
7879 (char *) "msg", NULL
7882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
7884 arg1
= wxString_in_helper(obj0
);
7885 if (arg1
== NULL
) SWIG_fail
;
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 wxLogWarning((wxString
const &)*arg1
);
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7895 Py_INCREF(Py_None
); resultobj
= Py_None
;
7910 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7911 PyObject
*resultobj
;
7912 wxString
*arg1
= 0 ;
7913 bool temp1
= False
;
7914 PyObject
* obj0
= 0 ;
7916 (char *) "msg", NULL
7919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
7921 arg1
= wxString_in_helper(obj0
);
7922 if (arg1
== NULL
) SWIG_fail
;
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 wxLogMessage((wxString
const &)*arg1
);
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7932 Py_INCREF(Py_None
); resultobj
= Py_None
;
7947 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7948 PyObject
*resultobj
;
7949 wxString
*arg1
= 0 ;
7950 bool temp1
= False
;
7951 PyObject
* obj0
= 0 ;
7953 (char *) "msg", NULL
7956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
7958 arg1
= wxString_in_helper(obj0
);
7959 if (arg1
== NULL
) SWIG_fail
;
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 wxLogInfo((wxString
const &)*arg1
);
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7969 Py_INCREF(Py_None
); resultobj
= Py_None
;
7984 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
*resultobj
;
7986 wxString
*arg1
= 0 ;
7987 bool temp1
= False
;
7988 PyObject
* obj0
= 0 ;
7990 (char *) "msg", NULL
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
7995 arg1
= wxString_in_helper(obj0
);
7996 if (arg1
== NULL
) SWIG_fail
;
8000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8001 wxLogDebug((wxString
const &)*arg1
);
8003 wxPyEndAllowThreads(__tstate
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8006 Py_INCREF(Py_None
); resultobj
= Py_None
;
8021 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8022 PyObject
*resultobj
;
8023 wxString
*arg1
= 0 ;
8024 bool temp1
= False
;
8025 PyObject
* obj0
= 0 ;
8027 (char *) "msg", NULL
8030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8032 arg1
= wxString_in_helper(obj0
);
8033 if (arg1
== NULL
) SWIG_fail
;
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 wxLogVerbose((wxString
const &)*arg1
);
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8043 Py_INCREF(Py_None
); resultobj
= Py_None
;
8058 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
;
8060 wxString
*arg1
= 0 ;
8061 bool temp1
= False
;
8062 PyObject
* obj0
= 0 ;
8064 (char *) "msg", NULL
8067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8069 arg1
= wxString_in_helper(obj0
);
8070 if (arg1
== NULL
) SWIG_fail
;
8074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8075 wxLogStatus((wxString
const &)*arg1
);
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 Py_INCREF(Py_None
); resultobj
= Py_None
;
8095 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8096 PyObject
*resultobj
;
8097 wxFrame
*arg1
= (wxFrame
*) 0 ;
8098 wxString
*arg2
= 0 ;
8099 bool temp2
= False
;
8100 PyObject
* obj0
= 0 ;
8101 PyObject
* obj1
= 0 ;
8103 (char *) "pFrame",(char *) "msg", NULL
8106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8109 arg2
= wxString_in_helper(obj1
);
8110 if (arg2
== NULL
) SWIG_fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 Py_INCREF(Py_None
); resultobj
= Py_None
;
8135 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
;
8137 wxString
*arg1
= 0 ;
8138 bool temp1
= False
;
8139 PyObject
* obj0
= 0 ;
8141 (char *) "msg", NULL
8144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8146 arg1
= wxString_in_helper(obj0
);
8147 if (arg1
== NULL
) SWIG_fail
;
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 wxLogSysError((wxString
const &)*arg1
);
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8157 Py_INCREF(Py_None
); resultobj
= Py_None
;
8172 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8173 PyObject
*resultobj
;
8174 unsigned long arg1
;
8175 wxString
*arg2
= 0 ;
8176 bool temp2
= False
;
8177 PyObject
* obj0
= 0 ;
8178 PyObject
* obj1
= 0 ;
8180 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8182 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8186 arg2
= wxString_in_helper(obj1
);
8187 if (arg2
== NULL
) SWIG_fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 Py_INCREF(Py_None
); resultobj
= Py_None
;
8212 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8213 PyObject
*resultobj
;
8214 wxString
*arg1
= 0 ;
8215 wxString
*arg2
= 0 ;
8216 bool temp1
= False
;
8217 bool temp2
= False
;
8218 PyObject
* obj0
= 0 ;
8219 PyObject
* obj1
= 0 ;
8221 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8223 arg1
= wxString_in_helper(obj0
);
8224 if (arg1
== NULL
) SWIG_fail
;
8228 arg2
= wxString_in_helper(obj1
);
8229 if (arg2
== NULL
) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 Py_INCREF(Py_None
); resultobj
= Py_None
;
8262 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8267 argc
= PyObject_Length(args
);
8268 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8269 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8274 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8278 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8281 return _wrap_LogTrace__SWIG_1(self
,args
);
8288 SWIG_PyObj_AsUnsignedLong(argv
[0]);
8289 if (PyErr_Occurred()) {
8298 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8301 return _wrap_LogTrace__SWIG_0(self
,args
);
8306 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8311 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
;
8313 unsigned long arg1
;
8314 wxString
*arg2
= 0 ;
8315 bool temp2
= False
;
8316 PyObject
* obj0
= 0 ;
8317 PyObject
* obj1
= 0 ;
8319 (char *) "level",(char *) "msg", NULL
8322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8324 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8328 arg2
= wxString_in_helper(obj1
);
8329 if (arg2
== NULL
) SWIG_fail
;
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 Py_INCREF(Py_None
); resultobj
= Py_None
;
8354 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8355 PyObject
*resultobj
;
8356 wxString
*arg1
= 0 ;
8357 wxString
*arg2
= 0 ;
8358 bool temp1
= False
;
8359 bool temp2
= False
;
8360 PyObject
* obj0
= 0 ;
8361 PyObject
* obj1
= 0 ;
8363 (char *) "title",(char *) "text", NULL
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8368 arg1
= wxString_in_helper(obj0
);
8369 if (arg1
== NULL
) SWIG_fail
;
8373 arg2
= wxString_in_helper(obj1
);
8374 if (arg2
== NULL
) SWIG_fail
;
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8384 Py_INCREF(Py_None
); resultobj
= Py_None
;
8407 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
;
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8417 result
= (wxLogNull
*)new wxLogNull();
8419 wxPyEndAllowThreads(__tstate
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8422 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogNull
, 1);
8429 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
*resultobj
;
8431 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8432 PyObject
* obj0
= 0 ;
8434 (char *) "self", NULL
8437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogNull
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8446 Py_INCREF(Py_None
); resultobj
= Py_None
;
8453 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8456 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8458 return Py_BuildValue((char *)"");
8460 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
;
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 result
= (wxPyLog
*)new wxPyLog();
8472 wxPyEndAllowThreads(__tstate
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyLog
, 1);
8482 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
*resultobj
;
8484 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8485 PyObject
*arg2
= (PyObject
*) 0 ;
8486 PyObject
*arg3
= (PyObject
*) 0 ;
8487 PyObject
* obj0
= 0 ;
8488 PyObject
* obj1
= 0 ;
8489 PyObject
* obj2
= 0 ;
8491 (char *) "self",(char *) "self",(char *) "_class", NULL
8494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8505 Py_INCREF(Py_None
); resultobj
= Py_None
;
8512 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8515 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8517 return Py_BuildValue((char *)"");
8519 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
*resultobj
;
8522 int arg2
= (int) wxSIGTERM
;
8524 PyObject
* obj0
= 0 ;
8525 PyObject
* obj1
= 0 ;
8527 (char *) "pid",(char *) "sig", NULL
8530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8532 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8537 arg2
= (wxSignal
) SWIG_PyObj_AsInt(obj1
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8543 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8545 wxPyEndAllowThreads(__tstate
);
8546 if (PyErr_Occurred()) SWIG_fail
;
8548 resultobj
= SWIG_PyObj_FromInt((int)result
);
8555 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
*resultobj
;
8559 PyObject
* obj0
= 0 ;
8561 (char *) "pid", NULL
8564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8566 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 result
= (bool)wxPyProcess::Exists(arg1
);
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8583 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
;
8585 wxString
*arg1
= 0 ;
8586 int arg2
= (int) wxEXEC_ASYNC
;
8587 wxPyProcess
*result
;
8588 bool temp1
= False
;
8589 PyObject
* obj0
= 0 ;
8590 PyObject
* obj1
= 0 ;
8592 (char *) "cmd",(char *) "flags", NULL
8595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8597 arg1
= wxString_in_helper(obj0
);
8598 if (arg1
== NULL
) SWIG_fail
;
8603 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8609 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8611 wxPyEndAllowThreads(__tstate
);
8612 if (PyErr_Occurred()) SWIG_fail
;
8614 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 0);
8629 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
*resultobj
;
8631 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8632 int arg2
= (int) -1 ;
8633 wxPyProcess
*result
;
8634 PyObject
* obj0
= 0 ;
8635 PyObject
* obj1
= 0 ;
8637 (char *) "parent",(char *) "id", NULL
8640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8646 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8657 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 1);
8664 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
*resultobj
;
8666 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8667 PyObject
*arg2
= (PyObject
*) 0 ;
8668 PyObject
*arg3
= (PyObject
*) 0 ;
8669 PyObject
* obj0
= 0 ;
8670 PyObject
* obj1
= 0 ;
8671 PyObject
* obj2
= 0 ;
8673 (char *) "self",(char *) "self",(char *) "_class", NULL
8676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8682 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8684 wxPyEndAllowThreads(__tstate
);
8685 if (PyErr_Occurred()) SWIG_fail
;
8687 Py_INCREF(Py_None
); resultobj
= Py_None
;
8694 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8695 PyObject
*resultobj
;
8696 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8699 PyObject
* obj0
= 0 ;
8700 PyObject
* obj1
= 0 ;
8701 PyObject
* obj2
= 0 ;
8703 (char *) "self",(char *) "pid",(char *) "status", NULL
8706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8709 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8713 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 (arg1
)->base_OnTerminate(arg2
,arg3
);
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 Py_INCREF(Py_None
); resultobj
= Py_None
;
8730 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
;
8732 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8733 PyObject
* obj0
= 0 ;
8735 (char *) "self", NULL
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8744 wxPyEndAllowThreads(__tstate
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8747 Py_INCREF(Py_None
); resultobj
= Py_None
;
8754 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8755 PyObject
*resultobj
;
8756 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8758 PyObject
* obj0
= 0 ;
8760 (char *) "self", NULL
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 result
= (bool)(arg1
)->IsRedirected();
8769 wxPyEndAllowThreads(__tstate
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8779 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8780 PyObject
*resultobj
;
8781 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8782 PyObject
* obj0
= 0 ;
8784 (char *) "self", NULL
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 Py_INCREF(Py_None
); resultobj
= Py_None
;
8803 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
;
8805 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8806 wxInputStream
*result
;
8807 PyObject
* obj0
= 0 ;
8809 (char *) "self", NULL
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8822 wxPyInputStream
* _ptr
= NULL
;
8825 _ptr
= new wxPyInputStream(result
);
8827 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8835 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
;
8837 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8838 wxInputStream
*result
;
8839 PyObject
* obj0
= 0 ;
8841 (char *) "self", NULL
8844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
8845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8854 wxPyInputStream
* _ptr
= NULL
;
8857 _ptr
= new wxPyInputStream(result
);
8859 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8867 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
*resultobj
;
8869 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8870 wxOutputStream
*result
;
8871 PyObject
* obj0
= 0 ;
8873 (char *) "self", NULL
8876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
8877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8880 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8885 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxOutputStream
, 0);
8892 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8893 PyObject
*resultobj
;
8894 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8895 PyObject
* obj0
= 0 ;
8897 (char *) "self", NULL
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
8901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 (arg1
)->CloseOutput();
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 Py_INCREF(Py_None
); resultobj
= Py_None
;
8916 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8920 PyObject
* obj0
= 0 ;
8922 (char *) "self", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
8926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8941 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
;
8943 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8945 PyObject
* obj0
= 0 ;
8947 (char *) "self", NULL
8950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
8951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8966 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8967 PyObject
*resultobj
;
8968 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8970 PyObject
* obj0
= 0 ;
8972 (char *) "self", NULL
8975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
8976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8991 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
8993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8994 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
8996 return Py_BuildValue((char *)"");
8998 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
;
9000 int arg1
= (int) 0 ;
9001 int arg2
= (int) 0 ;
9002 int arg3
= (int) 0 ;
9003 wxProcessEvent
*result
;
9004 PyObject
* obj0
= 0 ;
9005 PyObject
* obj1
= 0 ;
9006 PyObject
* obj2
= 0 ;
9008 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9014 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9020 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9026 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9037 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProcessEvent
, 1);
9044 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
;
9046 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9048 PyObject
* obj0
= 0 ;
9050 (char *) "self", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 result
= (int)(arg1
)->GetPid();
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9062 resultobj
= SWIG_PyObj_FromInt((int)result
);
9069 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
;
9071 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9073 PyObject
* obj0
= 0 ;
9075 (char *) "self", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 result
= (int)(arg1
)->GetExitCode();
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9087 resultobj
= SWIG_PyObj_FromInt((int)result
);
9094 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9095 PyObject
*resultobj
;
9096 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9098 PyObject
* obj0
= 0 ;
9099 PyObject
* obj1
= 0 ;
9101 (char *) "self",(char *) "m_pid", NULL
9104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9107 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9110 if (arg1
) (arg1
)->m_pid
= arg2
;
9112 Py_INCREF(Py_None
); resultobj
= Py_None
;
9119 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
;
9121 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9123 PyObject
* obj0
= 0 ;
9125 (char *) "self", NULL
9128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9130 result
= (int) ((arg1
)->m_pid
);
9132 resultobj
= SWIG_PyObj_FromInt((int)result
);
9139 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
*resultobj
;
9141 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9143 PyObject
* obj0
= 0 ;
9144 PyObject
* obj1
= 0 ;
9146 (char *) "self",(char *) "m_exitcode", NULL
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9152 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9155 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9157 Py_INCREF(Py_None
); resultobj
= Py_None
;
9164 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9165 PyObject
*resultobj
;
9166 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9168 PyObject
* obj0
= 0 ;
9170 (char *) "self", NULL
9173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9175 result
= (int) ((arg1
)->m_exitcode
);
9177 resultobj
= SWIG_PyObj_FromInt((int)result
);
9184 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9187 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9189 return Py_BuildValue((char *)"");
9191 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
*resultobj
;
9193 wxString
*arg1
= 0 ;
9194 int arg2
= (int) wxEXEC_ASYNC
;
9195 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9197 bool temp1
= False
;
9198 PyObject
* obj0
= 0 ;
9199 PyObject
* obj1
= 0 ;
9200 PyObject
* obj2
= 0 ;
9202 (char *) "command",(char *) "flags",(char *) "process", NULL
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9207 arg1
= wxString_in_helper(obj0
);
9208 if (arg1
== NULL
) SWIG_fail
;
9213 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9218 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 resultobj
= SWIG_PyObj_FromLong((long)result
);
9242 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
*resultobj
;
9244 int arg1
= (int) wxJOYSTICK1
;
9246 PyObject
* obj0
= 0 ;
9248 (char *) "joystick", NULL
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9254 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9255 if (PyErr_Occurred()) SWIG_fail
;
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 result
= (wxJoystick
*)new wxJoystick(arg1
);
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9265 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystick
, 1);
9272 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9273 PyObject
*resultobj
;
9274 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9275 PyObject
* obj0
= 0 ;
9277 (char *) "self", NULL
9280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 Py_INCREF(Py_None
); resultobj
= Py_None
;
9296 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
;
9298 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9300 PyObject
* obj0
= 0 ;
9302 (char *) "self", NULL
9305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 result
= (arg1
)->GetPosition();
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9315 wxPoint
* resultptr
;
9316 resultptr
= new wxPoint((wxPoint
&) result
);
9317 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
9325 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
*resultobj
;
9327 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9329 PyObject
* obj0
= 0 ;
9331 (char *) "self", NULL
9334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 result
= (int)(arg1
)->GetZPosition();
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9343 resultobj
= SWIG_PyObj_FromInt((int)result
);
9350 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9352 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9354 PyObject
* obj0
= 0 ;
9356 (char *) "self", NULL
9359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 result
= (int)(arg1
)->GetButtonState();
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9368 resultobj
= SWIG_PyObj_FromInt((int)result
);
9375 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9376 PyObject
*resultobj
;
9377 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9379 PyObject
* obj0
= 0 ;
9381 (char *) "self", NULL
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 result
= (int)(arg1
)->GetPOVPosition();
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9393 resultobj
= SWIG_PyObj_FromInt((int)result
);
9400 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
*resultobj
;
9402 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9404 PyObject
* obj0
= 0 ;
9406 (char *) "self", NULL
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 result
= (int)(arg1
)->GetPOVCTSPosition();
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9418 resultobj
= SWIG_PyObj_FromInt((int)result
);
9425 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
;
9427 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9429 PyObject
* obj0
= 0 ;
9431 (char *) "self", NULL
9434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9438 result
= (int)(arg1
)->GetRudderPosition();
9440 wxPyEndAllowThreads(__tstate
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9443 resultobj
= SWIG_PyObj_FromInt((int)result
);
9450 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
*resultobj
;
9452 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9454 PyObject
* obj0
= 0 ;
9456 (char *) "self", NULL
9459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 result
= (int)(arg1
)->GetUPosition();
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9468 resultobj
= SWIG_PyObj_FromInt((int)result
);
9475 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
*resultobj
;
9477 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9479 PyObject
* obj0
= 0 ;
9481 (char *) "self", NULL
9484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 result
= (int)(arg1
)->GetVPosition();
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9493 resultobj
= SWIG_PyObj_FromInt((int)result
);
9500 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
;
9502 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9504 PyObject
* obj0
= 0 ;
9506 (char *) "self", NULL
9509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 result
= (int)(arg1
)->GetMovementThreshold();
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9518 resultobj
= SWIG_PyObj_FromInt((int)result
);
9525 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9526 PyObject
*resultobj
;
9527 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9529 PyObject
* obj0
= 0 ;
9530 PyObject
* obj1
= 0 ;
9532 (char *) "self",(char *) "threshold", NULL
9535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9538 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9543 (arg1
)->SetMovementThreshold(arg2
);
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9548 Py_INCREF(Py_None
); resultobj
= Py_None
;
9555 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9556 PyObject
*resultobj
;
9557 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9559 PyObject
* obj0
= 0 ;
9561 (char *) "self", NULL
9564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 result
= (bool)(arg1
)->IsOk();
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9580 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9581 PyObject
*resultobj
;
9582 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9584 PyObject
* obj0
= 0 ;
9586 (char *) "self", NULL
9589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9593 result
= (int)(arg1
)->GetNumberJoysticks();
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= SWIG_PyObj_FromInt((int)result
);
9605 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
*resultobj
;
9607 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9609 PyObject
* obj0
= 0 ;
9611 (char *) "self", NULL
9614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 result
= (int)(arg1
)->GetManufacturerId();
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9623 resultobj
= SWIG_PyObj_FromInt((int)result
);
9630 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
;
9632 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9634 PyObject
* obj0
= 0 ;
9636 (char *) "self", NULL
9639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 result
= (int)(arg1
)->GetProductId();
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 resultobj
= SWIG_PyObj_FromInt((int)result
);
9655 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
;
9657 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9659 PyObject
* obj0
= 0 ;
9661 (char *) "self", NULL
9664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 result
= (arg1
)->GetProductName();
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9686 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
*resultobj
;
9688 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9690 PyObject
* obj0
= 0 ;
9692 (char *) "self", NULL
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 result
= (int)(arg1
)->GetXMin();
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 resultobj
= SWIG_PyObj_FromInt((int)result
);
9711 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
*resultobj
;
9713 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9715 PyObject
* obj0
= 0 ;
9717 (char *) "self", NULL
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 result
= (int)(arg1
)->GetYMin();
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= SWIG_PyObj_FromInt((int)result
);
9736 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
;
9738 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9740 PyObject
* obj0
= 0 ;
9742 (char *) "self", NULL
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 result
= (int)(arg1
)->GetZMin();
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9754 resultobj
= SWIG_PyObj_FromInt((int)result
);
9761 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
;
9763 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9765 PyObject
* obj0
= 0 ;
9767 (char *) "self", NULL
9770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9774 result
= (int)(arg1
)->GetXMax();
9776 wxPyEndAllowThreads(__tstate
);
9777 if (PyErr_Occurred()) SWIG_fail
;
9779 resultobj
= SWIG_PyObj_FromInt((int)result
);
9786 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9787 PyObject
*resultobj
;
9788 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9790 PyObject
* obj0
= 0 ;
9792 (char *) "self", NULL
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 result
= (int)(arg1
)->GetYMax();
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 resultobj
= SWIG_PyObj_FromInt((int)result
);
9811 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
;
9813 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9815 PyObject
* obj0
= 0 ;
9817 (char *) "self", NULL
9820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
9821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 result
= (int)(arg1
)->GetZMax();
9826 wxPyEndAllowThreads(__tstate
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9829 resultobj
= SWIG_PyObj_FromInt((int)result
);
9836 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
*resultobj
;
9838 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9840 PyObject
* obj0
= 0 ;
9842 (char *) "self", NULL
9845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
9846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 result
= (int)(arg1
)->GetNumberButtons();
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9854 resultobj
= SWIG_PyObj_FromInt((int)result
);
9861 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
;
9863 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9865 PyObject
* obj0
= 0 ;
9867 (char *) "self", NULL
9870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
9871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 result
= (int)(arg1
)->GetNumberAxes();
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= SWIG_PyObj_FromInt((int)result
);
9886 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9887 PyObject
*resultobj
;
9888 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9890 PyObject
* obj0
= 0 ;
9892 (char *) "self", NULL
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
9896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 result
= (int)(arg1
)->GetMaxButtons();
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9904 resultobj
= SWIG_PyObj_FromInt((int)result
);
9911 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9912 PyObject
*resultobj
;
9913 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9915 PyObject
* obj0
= 0 ;
9917 (char *) "self", NULL
9920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
9921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9924 result
= (int)(arg1
)->GetMaxAxes();
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= SWIG_PyObj_FromInt((int)result
);
9936 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
*resultobj
;
9938 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9940 PyObject
* obj0
= 0 ;
9942 (char *) "self", NULL
9945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
9946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 result
= (int)(arg1
)->GetPollingMin();
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9954 resultobj
= SWIG_PyObj_FromInt((int)result
);
9961 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9962 PyObject
*resultobj
;
9963 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9965 PyObject
* obj0
= 0 ;
9967 (char *) "self", NULL
9970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
9971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9974 result
= (int)(arg1
)->GetPollingMax();
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9979 resultobj
= SWIG_PyObj_FromInt((int)result
);
9986 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9987 PyObject
*resultobj
;
9988 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9990 PyObject
* obj0
= 0 ;
9992 (char *) "self", NULL
9995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
9996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 result
= (int)(arg1
)->GetRudderMin();
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10004 resultobj
= SWIG_PyObj_FromInt((int)result
);
10011 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10012 PyObject
*resultobj
;
10013 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10015 PyObject
* obj0
= 0 ;
10016 char *kwnames
[] = {
10017 (char *) "self", NULL
10020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10024 result
= (int)(arg1
)->GetRudderMax();
10026 wxPyEndAllowThreads(__tstate
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10029 resultobj
= SWIG_PyObj_FromInt((int)result
);
10036 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
*resultobj
;
10038 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10040 PyObject
* obj0
= 0 ;
10041 char *kwnames
[] = {
10042 (char *) "self", NULL
10045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10049 result
= (int)(arg1
)->GetUMin();
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10054 resultobj
= SWIG_PyObj_FromInt((int)result
);
10061 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10062 PyObject
*resultobj
;
10063 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10065 PyObject
* obj0
= 0 ;
10066 char *kwnames
[] = {
10067 (char *) "self", NULL
10070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 result
= (int)(arg1
)->GetUMax();
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10079 resultobj
= SWIG_PyObj_FromInt((int)result
);
10086 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
;
10088 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10090 PyObject
* obj0
= 0 ;
10091 char *kwnames
[] = {
10092 (char *) "self", NULL
10095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 result
= (int)(arg1
)->GetVMin();
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= SWIG_PyObj_FromInt((int)result
);
10111 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
*resultobj
;
10113 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10115 PyObject
* obj0
= 0 ;
10116 char *kwnames
[] = {
10117 (char *) "self", NULL
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10124 result
= (int)(arg1
)->GetVMax();
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 resultobj
= SWIG_PyObj_FromInt((int)result
);
10136 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
;
10138 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10140 PyObject
* obj0
= 0 ;
10141 char *kwnames
[] = {
10142 (char *) "self", NULL
10145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10149 result
= (bool)(arg1
)->HasRudder();
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10161 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10162 PyObject
*resultobj
;
10163 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10165 PyObject
* obj0
= 0 ;
10166 char *kwnames
[] = {
10167 (char *) "self", NULL
10170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 result
= (bool)(arg1
)->HasZ();
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10186 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
*resultobj
;
10188 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10190 PyObject
* obj0
= 0 ;
10191 char *kwnames
[] = {
10192 (char *) "self", NULL
10195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= (bool)(arg1
)->HasU();
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10211 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
*resultobj
;
10213 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10215 PyObject
* obj0
= 0 ;
10216 char *kwnames
[] = {
10217 (char *) "self", NULL
10220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 result
= (bool)(arg1
)->HasV();
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10236 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10237 PyObject
*resultobj
;
10238 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10240 PyObject
* obj0
= 0 ;
10241 char *kwnames
[] = {
10242 (char *) "self", NULL
10245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= (bool)(arg1
)->HasPOV();
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10261 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
;
10263 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10265 PyObject
* obj0
= 0 ;
10266 char *kwnames
[] = {
10267 (char *) "self", NULL
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10274 result
= (bool)(arg1
)->HasPOV4Dir();
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10286 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
*resultobj
;
10288 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10290 PyObject
* obj0
= 0 ;
10291 char *kwnames
[] = {
10292 (char *) "self", NULL
10295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10299 result
= (bool)(arg1
)->HasPOVCTS();
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10311 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10312 PyObject
*resultobj
;
10313 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10314 wxWindow
*arg2
= (wxWindow
*) 0 ;
10315 int arg3
= (int) 0 ;
10317 PyObject
* obj0
= 0 ;
10318 PyObject
* obj1
= 0 ;
10319 PyObject
* obj2
= 0 ;
10320 char *kwnames
[] = {
10321 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10326 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10329 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10347 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
*resultobj
;
10349 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10351 PyObject
* obj0
= 0 ;
10352 char *kwnames
[] = {
10353 (char *) "self", NULL
10356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 result
= (bool)(arg1
)->ReleaseCapture();
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10372 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10375 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10377 return Py_BuildValue((char *)"");
10379 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10380 PyObject
*resultobj
;
10381 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10382 wxPoint
*arg2
= (wxPoint
*) 0 ;
10383 PyObject
* obj0
= 0 ;
10384 PyObject
* obj1
= 0 ;
10385 char *kwnames
[] = {
10386 (char *) "self",(char *) "m_pos", NULL
10389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10391 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10392 if (arg1
) (arg1
)->m_pos
= *arg2
;
10394 Py_INCREF(Py_None
); resultobj
= Py_None
;
10401 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
*resultobj
;
10403 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10405 PyObject
* obj0
= 0 ;
10406 char *kwnames
[] = {
10407 (char *) "self", NULL
10410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10412 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10414 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
10421 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
;
10423 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10425 PyObject
* obj0
= 0 ;
10426 PyObject
* obj1
= 0 ;
10427 char *kwnames
[] = {
10428 (char *) "self",(char *) "m_zPosition", NULL
10431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10434 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10437 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10439 Py_INCREF(Py_None
); resultobj
= Py_None
;
10446 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10450 PyObject
* obj0
= 0 ;
10451 char *kwnames
[] = {
10452 (char *) "self", NULL
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10457 result
= (int) ((arg1
)->m_zPosition
);
10459 resultobj
= SWIG_PyObj_FromInt((int)result
);
10466 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10467 PyObject
*resultobj
;
10468 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10470 PyObject
* obj0
= 0 ;
10471 PyObject
* obj1
= 0 ;
10472 char *kwnames
[] = {
10473 (char *) "self",(char *) "m_buttonChange", NULL
10476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10479 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10482 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10484 Py_INCREF(Py_None
); resultobj
= Py_None
;
10491 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10492 PyObject
*resultobj
;
10493 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10495 PyObject
* obj0
= 0 ;
10496 char *kwnames
[] = {
10497 (char *) "self", NULL
10500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10502 result
= (int) ((arg1
)->m_buttonChange
);
10504 resultobj
= SWIG_PyObj_FromInt((int)result
);
10511 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10512 PyObject
*resultobj
;
10513 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10515 PyObject
* obj0
= 0 ;
10516 PyObject
* obj1
= 0 ;
10517 char *kwnames
[] = {
10518 (char *) "self",(char *) "m_buttonState", NULL
10521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10524 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10529 Py_INCREF(Py_None
); resultobj
= Py_None
;
10536 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10540 PyObject
* obj0
= 0 ;
10541 char *kwnames
[] = {
10542 (char *) "self", NULL
10545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10547 result
= (int) ((arg1
)->m_buttonState
);
10549 resultobj
= SWIG_PyObj_FromInt((int)result
);
10556 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
*resultobj
;
10558 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10560 PyObject
* obj0
= 0 ;
10561 PyObject
* obj1
= 0 ;
10562 char *kwnames
[] = {
10563 (char *) "self",(char *) "m_joyStick", NULL
10566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10569 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10572 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10574 Py_INCREF(Py_None
); resultobj
= Py_None
;
10581 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
;
10583 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10585 PyObject
* obj0
= 0 ;
10586 char *kwnames
[] = {
10587 (char *) "self", NULL
10590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10592 result
= (int) ((arg1
)->m_joyStick
);
10594 resultobj
= SWIG_PyObj_FromInt((int)result
);
10601 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10602 PyObject
*resultobj
;
10603 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10604 int arg2
= (int) 0 ;
10605 int arg3
= (int) wxJOYSTICK1
;
10606 int arg4
= (int) 0 ;
10607 wxJoystickEvent
*result
;
10608 PyObject
* obj0
= 0 ;
10609 PyObject
* obj1
= 0 ;
10610 PyObject
* obj2
= 0 ;
10611 PyObject
* obj3
= 0 ;
10612 char *kwnames
[] = {
10613 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10619 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10625 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10631 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10637 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10648 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystickEvent
, 1);
10655 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10656 PyObject
*resultobj
;
10657 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10659 PyObject
* obj0
= 0 ;
10660 char *kwnames
[] = {
10661 (char *) "self", NULL
10664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10674 wxPoint
* resultptr
;
10675 resultptr
= new wxPoint((wxPoint
&) result
);
10676 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
10684 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
;
10686 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10688 PyObject
* obj0
= 0 ;
10689 char *kwnames
[] = {
10690 (char *) "self", NULL
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 resultobj
= SWIG_PyObj_FromInt((int)result
);
10709 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
;
10711 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10713 PyObject
* obj0
= 0 ;
10714 char *kwnames
[] = {
10715 (char *) "self", NULL
10718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10724 wxPyEndAllowThreads(__tstate
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10727 resultobj
= SWIG_PyObj_FromInt((int)result
);
10734 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10735 PyObject
*resultobj
;
10736 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10738 PyObject
* obj0
= 0 ;
10739 char *kwnames
[] = {
10740 (char *) "self", NULL
10743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10747 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10749 wxPyEndAllowThreads(__tstate
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10752 resultobj
= SWIG_PyObj_FromInt((int)result
);
10759 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
;
10761 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10763 PyObject
* obj0
= 0 ;
10764 char *kwnames
[] = {
10765 (char *) "self", NULL
10768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
10769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 resultobj
= SWIG_PyObj_FromInt((int)result
);
10784 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10785 PyObject
*resultobj
;
10786 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10788 PyObject
* obj0
= 0 ;
10789 PyObject
* obj1
= 0 ;
10790 char *kwnames
[] = {
10791 (char *) "self",(char *) "stick", NULL
10794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
10795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10797 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 (arg1
)->SetJoystick(arg2
);
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10807 Py_INCREF(Py_None
); resultobj
= Py_None
;
10814 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
;
10816 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10818 PyObject
* obj0
= 0 ;
10819 PyObject
* obj1
= 0 ;
10820 char *kwnames
[] = {
10821 (char *) "self",(char *) "state", NULL
10824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
10825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10827 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 (arg1
)->SetButtonState(arg2
);
10834 wxPyEndAllowThreads(__tstate
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10837 Py_INCREF(Py_None
); resultobj
= Py_None
;
10844 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
;
10846 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10848 PyObject
* obj0
= 0 ;
10849 PyObject
* obj1
= 0 ;
10850 char *kwnames
[] = {
10851 (char *) "self",(char *) "change", NULL
10854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
10855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10857 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10858 if (PyErr_Occurred()) SWIG_fail
;
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 (arg1
)->SetButtonChange(arg2
);
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10867 Py_INCREF(Py_None
); resultobj
= Py_None
;
10874 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10875 PyObject
*resultobj
;
10876 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10877 wxPoint
*arg2
= 0 ;
10879 PyObject
* obj0
= 0 ;
10880 PyObject
* obj1
= 0 ;
10881 char *kwnames
[] = {
10882 (char *) "self",(char *) "pos", NULL
10885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10889 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10898 Py_INCREF(Py_None
); resultobj
= Py_None
;
10905 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
;
10907 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 PyObject
* obj1
= 0 ;
10911 char *kwnames
[] = {
10912 (char *) "self",(char *) "zPos", NULL
10915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10918 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10923 (arg1
)->SetZPosition(arg2
);
10925 wxPyEndAllowThreads(__tstate
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10928 Py_INCREF(Py_None
); resultobj
= Py_None
;
10935 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10936 PyObject
*resultobj
;
10937 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10939 PyObject
* obj0
= 0 ;
10940 char *kwnames
[] = {
10941 (char *) "self", NULL
10944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
10945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10960 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10961 PyObject
*resultobj
;
10962 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10964 PyObject
* obj0
= 0 ;
10965 char *kwnames
[] = {
10966 (char *) "self", NULL
10969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
10970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10973 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
10975 wxPyEndAllowThreads(__tstate
);
10976 if (PyErr_Occurred()) SWIG_fail
;
10978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10985 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10986 PyObject
*resultobj
;
10987 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10989 PyObject
* obj0
= 0 ;
10990 char *kwnames
[] = {
10991 (char *) "self", NULL
10994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
10995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11010 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
;
11012 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11013 int arg2
= (int) wxJOY_BUTTON_ANY
;
11015 PyObject
* obj0
= 0 ;
11016 PyObject
* obj1
= 0 ;
11017 char *kwnames
[] = {
11018 (char *) "self",(char *) "but", NULL
11021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11025 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11043 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
*resultobj
;
11045 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11046 int arg2
= (int) wxJOY_BUTTON_ANY
;
11048 PyObject
* obj0
= 0 ;
11049 PyObject
* obj1
= 0 ;
11050 char *kwnames
[] = {
11051 (char *) "self",(char *) "but", NULL
11054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11058 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11064 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11076 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11077 PyObject
*resultobj
;
11078 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11079 int arg2
= (int) wxJOY_BUTTON_ANY
;
11081 PyObject
* obj0
= 0 ;
11082 PyObject
* obj1
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "self",(char *) "but", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11091 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11099 wxPyEndAllowThreads(__tstate
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11109 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11112 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11114 return Py_BuildValue((char *)"");
11116 static PyObject
*_wrap_new_Sound__SWIG_0(PyObject
*self
, PyObject
*args
) {
11117 PyObject
*resultobj
;
11120 if(!PyArg_ParseTuple(args
,(char *)":new_Sound")) goto fail
;
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 result
= (wxSound
*)new wxSound();
11125 wxPyEndAllowThreads(__tstate
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11128 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSound
, 1);
11135 static PyObject
*_wrap_new_Sound__SWIG_1(PyObject
*self
, PyObject
*args
) {
11136 PyObject
*resultobj
;
11137 wxString
*arg1
= 0 ;
11138 bool arg2
= (bool) false ;
11140 bool temp1
= False
;
11141 PyObject
* obj0
= 0 ;
11142 PyObject
* obj1
= 0 ;
11144 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_Sound",&obj0
,&obj1
)) goto fail
;
11146 arg1
= wxString_in_helper(obj0
);
11147 if (arg1
== NULL
) SWIG_fail
;
11152 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 result
= (wxSound
*)new wxSound((wxString
const &)*arg1
,arg2
);
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11163 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSound
, 1);
11178 static PyObject
*_wrap_new_Sound__SWIG_2(PyObject
*self
, PyObject
*args
) {
11179 PyObject
*resultobj
;
11181 wxByte
*arg2
= (wxByte
*) 0 ;
11183 PyObject
* obj0
= 0 ;
11184 PyObject
* obj1
= 0 ;
11186 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Sound",&obj0
,&obj1
)) goto fail
;
11188 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11191 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxByte
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 result
= (wxSound
*)new wxSound(arg1
,(wxByte
const *)arg2
);
11196 wxPyEndAllowThreads(__tstate
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11199 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSound
, 1);
11206 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
) {
11211 argc
= PyObject_Length(args
);
11212 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11213 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11216 return _wrap_new_Sound__SWIG_0(self
,args
);
11218 if ((argc
>= 1) && (argc
<= 2)) {
11221 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11225 return _wrap_new_Sound__SWIG_1(self
,args
);
11228 SWIG_PyObj_AsBool(argv
[1]);
11229 if (PyErr_Occurred()) {
11237 return _wrap_new_Sound__SWIG_1(self
,args
);
11244 SWIG_PyObj_AsInt(argv
[0]);
11245 if (PyErr_Occurred()) {
11255 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11263 return _wrap_new_Sound__SWIG_2(self
,args
);
11268 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Sound'");
11273 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
;
11275 wxSound
*arg1
= (wxSound
*) 0 ;
11276 PyObject
* obj0
= 0 ;
11277 char *kwnames
[] = {
11278 (char *) "self", NULL
11281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSound
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 Py_INCREF(Py_None
); resultobj
= Py_None
;
11297 static PyObject
*_wrap_Sound_Create__SWIG_0(PyObject
*self
, PyObject
*args
) {
11298 PyObject
*resultobj
;
11299 wxSound
*arg1
= (wxSound
*) 0 ;
11300 wxString
*arg2
= 0 ;
11301 bool arg3
= (bool) false ;
11303 bool temp2
= False
;
11304 PyObject
* obj0
= 0 ;
11305 PyObject
* obj1
= 0 ;
11306 PyObject
* obj2
= 0 ;
11308 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSound
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11311 arg2
= wxString_in_helper(obj1
);
11312 if (arg2
== NULL
) SWIG_fail
;
11317 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,arg3
);
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11343 static PyObject
*_wrap_Sound_Create__SWIG_1(PyObject
*self
, PyObject
*args
) {
11344 PyObject
*resultobj
;
11345 wxSound
*arg1
= (wxSound
*) 0 ;
11347 wxByte
*arg3
= (wxByte
*) 0 ;
11349 PyObject
* obj0
= 0 ;
11350 PyObject
* obj1
= 0 ;
11351 PyObject
* obj2
= 0 ;
11353 if(!PyArg_ParseTuple(args
,(char *)"OOO:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSound
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11356 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11359 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxByte
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11362 result
= (bool)wxSound_Create__SWIG_1(arg1
,arg2
,(wxByte
const *)arg3
);
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11374 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
) {
11379 argc
= PyObject_Length(args
);
11380 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11381 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11383 if ((argc
>= 2) && (argc
<= 3)) {
11387 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11396 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11400 return _wrap_Sound_Create__SWIG_0(self
,args
);
11403 SWIG_PyObj_AsBool(argv
[2]);
11404 if (PyErr_Occurred()) {
11412 return _wrap_Sound_Create__SWIG_0(self
,args
);
11421 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11430 SWIG_PyObj_AsInt(argv
[1]);
11431 if (PyErr_Occurred()) {
11441 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11449 return _wrap_Sound_Create__SWIG_1(self
,args
);
11455 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Sound_Create'");
11460 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11461 PyObject
*resultobj
;
11462 wxSound
*arg1
= (wxSound
*) 0 ;
11464 PyObject
* obj0
= 0 ;
11465 char *kwnames
[] = {
11466 (char *) "self", NULL
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSound
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 result
= (bool)(arg1
)->IsOk();
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11485 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
) {
11486 PyObject
*resultobj
;
11487 wxSound
*arg1
= (wxSound
*) 0 ;
11488 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11490 PyObject
* obj0
= 0 ;
11491 PyObject
* obj1
= 0 ;
11493 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_Play",&obj0
,&obj1
)) goto fail
;
11494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSound
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11497 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11515 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
) {
11516 PyObject
*resultobj
;
11517 wxString
*arg1
= 0 ;
11518 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11520 bool temp1
= False
;
11521 PyObject
* obj0
= 0 ;
11522 PyObject
* obj1
= 0 ;
11524 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_PlaySound",&obj0
,&obj1
)) goto fail
;
11526 arg1
= wxString_in_helper(obj0
);
11527 if (arg1
== NULL
) SWIG_fail
;
11532 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11540 wxPyEndAllowThreads(__tstate
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11558 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
*resultobj
;
11560 char *kwnames
[] = {
11564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11569 wxPyEndAllowThreads(__tstate
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11572 Py_INCREF(Py_None
); resultobj
= Py_None
;
11579 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11582 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11584 return Py_BuildValue((char *)"");
11586 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11587 PyObject
*resultobj
;
11588 wxString
*arg1
= 0 ;
11589 wxString
*arg2
= 0 ;
11590 wxString
*arg3
= 0 ;
11591 wxString
*arg4
= 0 ;
11592 wxFileTypeInfo
*result
;
11593 bool temp1
= False
;
11594 bool temp2
= False
;
11595 bool temp3
= False
;
11596 bool temp4
= False
;
11597 PyObject
* obj0
= 0 ;
11598 PyObject
* obj1
= 0 ;
11599 PyObject
* obj2
= 0 ;
11600 PyObject
* obj3
= 0 ;
11601 char *kwnames
[] = {
11602 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11607 arg1
= wxString_in_helper(obj0
);
11608 if (arg1
== NULL
) SWIG_fail
;
11612 arg2
= wxString_in_helper(obj1
);
11613 if (arg2
== NULL
) SWIG_fail
;
11617 arg3
= wxString_in_helper(obj2
);
11618 if (arg3
== NULL
) SWIG_fail
;
11622 arg4
= wxString_in_helper(obj3
);
11623 if (arg4
== NULL
) SWIG_fail
;
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11633 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
11672 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11673 PyObject
*resultobj
;
11674 wxArrayString
*arg1
= 0 ;
11675 wxFileTypeInfo
*result
;
11676 bool temp1
= False
;
11677 PyObject
* obj0
= 0 ;
11678 char *kwnames
[] = {
11679 (char *) "sArray", NULL
11682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11684 if (! PySequence_Check(obj0
)) {
11685 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11688 arg1
= new wxArrayString
;
11690 int i
, len
=PySequence_Length(obj0
);
11691 for (i
=0; i
<len
; i
++) {
11692 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11694 PyObject
* str
= PyObject_Unicode(item
);
11696 PyObject
* str
= PyObject_Str(item
);
11698 arg1
->Add(Py2wxString(str
));
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11710 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
11712 if (temp1
) delete arg1
;
11717 if (temp1
) delete arg1
;
11723 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
*resultobj
;
11725 wxFileTypeInfo
*result
;
11726 char *kwnames
[] = {
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11738 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
11745 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11746 PyObject
*resultobj
;
11747 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11749 PyObject
* obj0
= 0 ;
11750 char *kwnames
[] = {
11751 (char *) "self", NULL
11754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11770 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
;
11772 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11773 wxString
*arg2
= 0 ;
11774 int arg3
= (int) 0 ;
11775 bool temp2
= False
;
11776 PyObject
* obj0
= 0 ;
11777 PyObject
* obj1
= 0 ;
11778 PyObject
* obj2
= 0 ;
11779 char *kwnames
[] = {
11780 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11786 arg2
= wxString_in_helper(obj1
);
11787 if (arg2
== NULL
) SWIG_fail
;
11792 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11793 if (PyErr_Occurred()) SWIG_fail
;
11797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11798 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11803 Py_INCREF(Py_None
); resultobj
= Py_None
;
11818 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11819 PyObject
*resultobj
;
11820 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11821 wxString
*arg2
= 0 ;
11822 bool temp2
= False
;
11823 PyObject
* obj0
= 0 ;
11824 PyObject
* obj1
= 0 ;
11825 char *kwnames
[] = {
11826 (char *) "self",(char *) "shortDesc", NULL
11829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
11830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11832 arg2
= wxString_in_helper(obj1
);
11833 if (arg2
== NULL
) SWIG_fail
;
11837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11838 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11843 Py_INCREF(Py_None
); resultobj
= Py_None
;
11858 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11859 PyObject
*resultobj
;
11860 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11862 PyObject
* obj0
= 0 ;
11863 char *kwnames
[] = {
11864 (char *) "self", NULL
11867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
11868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11872 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
11873 result
= (wxString
*) &_result_ref
;
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11881 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11883 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11892 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
;
11894 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11896 PyObject
* obj0
= 0 ;
11897 char *kwnames
[] = {
11898 (char *) "self", NULL
11901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
11902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
11907 result
= (wxString
*) &_result_ref
;
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11915 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11917 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11926 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
;
11928 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11930 PyObject
* obj0
= 0 ;
11931 char *kwnames
[] = {
11932 (char *) "self", NULL
11935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
11936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11940 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
11941 result
= (wxString
*) &_result_ref
;
11944 wxPyEndAllowThreads(__tstate
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11949 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11951 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11960 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11961 PyObject
*resultobj
;
11962 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11964 PyObject
* obj0
= 0 ;
11965 char *kwnames
[] = {
11966 (char *) "self", NULL
11969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
11970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11974 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
11975 result
= (wxString
*) &_result_ref
;
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11983 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11985 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11994 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11995 PyObject
*resultobj
;
11996 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11998 PyObject
* obj0
= 0 ;
11999 char *kwnames
[] = {
12000 (char *) "self", NULL
12003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12009 result
= (wxString
*) &_result_ref
;
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12019 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12028 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12029 PyObject
*resultobj
;
12030 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12031 wxArrayString
*result
;
12032 PyObject
* obj0
= 0 ;
12033 char *kwnames
[] = {
12034 (char *) "self", NULL
12037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12043 result
= (wxArrayString
*) &_result_ref
;
12046 wxPyEndAllowThreads(__tstate
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12050 resultobj
= wxArrayString2PyList_helper(*result
);
12058 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
;
12060 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12062 PyObject
* obj0
= 0 ;
12063 char *kwnames
[] = {
12064 (char *) "self", NULL
12067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= SWIG_PyObj_FromInt((int)result
);
12083 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
;
12085 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12087 PyObject
* obj0
= 0 ;
12088 char *kwnames
[] = {
12089 (char *) "self", NULL
12092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12098 result
= (wxString
*) &_result_ref
;
12101 wxPyEndAllowThreads(__tstate
);
12102 if (PyErr_Occurred()) SWIG_fail
;
12106 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12108 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12117 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
;
12119 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12121 PyObject
* obj0
= 0 ;
12122 char *kwnames
[] = {
12123 (char *) "self", NULL
12126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12132 wxPyEndAllowThreads(__tstate
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12135 resultobj
= SWIG_PyObj_FromInt((int)result
);
12142 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12145 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12147 return Py_BuildValue((char *)"");
12149 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12150 PyObject
*resultobj
;
12151 wxFileTypeInfo
*arg1
= 0 ;
12152 wxFileType
*result
;
12153 PyObject
* obj0
= 0 ;
12154 char *kwnames
[] = {
12155 (char *) "ftInfo", NULL
12158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12160 if (arg1
== NULL
) {
12161 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12165 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12167 wxPyEndAllowThreads(__tstate
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12170 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12177 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12178 PyObject
*resultobj
;
12179 wxFileType
*arg1
= (wxFileType
*) 0 ;
12180 PyObject
* obj0
= 0 ;
12181 char *kwnames
[] = {
12182 (char *) "self", NULL
12185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 Py_INCREF(Py_None
); resultobj
= Py_None
;
12201 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12202 PyObject
*resultobj
;
12203 wxFileType
*arg1
= (wxFileType
*) 0 ;
12205 PyObject
* obj0
= 0 ;
12206 char *kwnames
[] = {
12207 (char *) "self", NULL
12210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12214 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 resultobj
= result
;
12226 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
;
12228 wxFileType
*arg1
= (wxFileType
*) 0 ;
12230 PyObject
* obj0
= 0 ;
12231 char *kwnames
[] = {
12232 (char *) "self", NULL
12235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12244 resultobj
= result
;
12251 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
;
12253 wxFileType
*arg1
= (wxFileType
*) 0 ;
12255 PyObject
* obj0
= 0 ;
12256 char *kwnames
[] = {
12257 (char *) "self", NULL
12260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12266 wxPyEndAllowThreads(__tstate
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12269 resultobj
= result
;
12276 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12277 PyObject
*resultobj
;
12278 wxFileType
*arg1
= (wxFileType
*) 0 ;
12280 PyObject
* obj0
= 0 ;
12281 char *kwnames
[] = {
12282 (char *) "self", NULL
12285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
12301 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
;
12303 wxFileType
*arg1
= (wxFileType
*) 0 ;
12305 PyObject
* obj0
= 0 ;
12306 char *kwnames
[] = {
12307 (char *) "self", NULL
12310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12319 resultobj
= result
;
12326 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12327 PyObject
*resultobj
;
12328 wxFileType
*arg1
= (wxFileType
*) 0 ;
12330 PyObject
* obj0
= 0 ;
12331 char *kwnames
[] = {
12332 (char *) "self", NULL
12335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 resultobj
= result
;
12351 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
;
12353 wxFileType
*arg1
= (wxFileType
*) 0 ;
12354 wxString
*arg2
= 0 ;
12355 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12356 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12358 bool temp2
= False
;
12359 bool temp3
= False
;
12360 PyObject
* obj0
= 0 ;
12361 PyObject
* obj1
= 0 ;
12362 PyObject
* obj2
= 0 ;
12363 char *kwnames
[] = {
12364 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12370 arg2
= wxString_in_helper(obj1
);
12371 if (arg2
== NULL
) SWIG_fail
;
12376 arg3
= wxString_in_helper(obj2
);
12377 if (arg3
== NULL
) SWIG_fail
;
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12388 resultobj
= result
;
12411 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12412 PyObject
*resultobj
;
12413 wxFileType
*arg1
= (wxFileType
*) 0 ;
12414 wxString
*arg2
= 0 ;
12415 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12416 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12418 bool temp2
= False
;
12419 bool temp3
= False
;
12420 PyObject
* obj0
= 0 ;
12421 PyObject
* obj1
= 0 ;
12422 PyObject
* obj2
= 0 ;
12423 char *kwnames
[] = {
12424 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12430 arg2
= wxString_in_helper(obj1
);
12431 if (arg2
== NULL
) SWIG_fail
;
12436 arg3
= wxString_in_helper(obj2
);
12437 if (arg3
== NULL
) SWIG_fail
;
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12448 resultobj
= result
;
12471 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12472 PyObject
*resultobj
;
12473 wxFileType
*arg1
= (wxFileType
*) 0 ;
12474 wxString
*arg2
= 0 ;
12475 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12476 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12478 bool temp2
= False
;
12479 bool temp3
= False
;
12480 PyObject
* obj0
= 0 ;
12481 PyObject
* obj1
= 0 ;
12482 PyObject
* obj2
= 0 ;
12483 char *kwnames
[] = {
12484 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12490 arg2
= wxString_in_helper(obj1
);
12491 if (arg2
== NULL
) SWIG_fail
;
12496 arg3
= wxString_in_helper(obj2
);
12497 if (arg3
== NULL
) SWIG_fail
;
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12508 resultobj
= result
;
12531 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12532 PyObject
*resultobj
;
12533 wxFileType
*arg1
= (wxFileType
*) 0 ;
12534 wxString
*arg2
= 0 ;
12535 wxString
*arg3
= 0 ;
12536 bool arg4
= (bool) True
;
12538 bool temp2
= False
;
12539 bool temp3
= False
;
12540 PyObject
* obj0
= 0 ;
12541 PyObject
* obj1
= 0 ;
12542 PyObject
* obj2
= 0 ;
12543 PyObject
* obj3
= 0 ;
12544 char *kwnames
[] = {
12545 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12551 arg2
= wxString_in_helper(obj1
);
12552 if (arg2
== NULL
) SWIG_fail
;
12556 arg3
= wxString_in_helper(obj2
);
12557 if (arg3
== NULL
) SWIG_fail
;
12562 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12568 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12570 wxPyEndAllowThreads(__tstate
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12596 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
*resultobj
;
12598 wxFileType
*arg1
= (wxFileType
*) 0 ;
12599 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12600 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12601 int arg3
= (int) 0 ;
12603 bool temp2
= False
;
12604 PyObject
* obj0
= 0 ;
12605 PyObject
* obj1
= 0 ;
12606 PyObject
* obj2
= 0 ;
12607 char *kwnames
[] = {
12608 (char *) "self",(char *) "cmd",(char *) "index", NULL
12611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12615 arg2
= wxString_in_helper(obj1
);
12616 if (arg2
== NULL
) SWIG_fail
;
12622 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12623 if (PyErr_Occurred()) SWIG_fail
;
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12648 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12649 PyObject
*resultobj
;
12650 wxFileType
*arg1
= (wxFileType
*) 0 ;
12652 PyObject
* obj0
= 0 ;
12653 char *kwnames
[] = {
12654 (char *) "self", NULL
12657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 result
= (bool)(arg1
)->Unassociate();
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12673 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12674 PyObject
*resultobj
;
12675 wxString
*arg1
= 0 ;
12676 wxString
*arg2
= 0 ;
12677 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12678 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12680 bool temp1
= False
;
12681 bool temp2
= False
;
12682 bool temp3
= False
;
12683 PyObject
* obj0
= 0 ;
12684 PyObject
* obj1
= 0 ;
12685 PyObject
* obj2
= 0 ;
12686 char *kwnames
[] = {
12687 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12692 arg1
= wxString_in_helper(obj0
);
12693 if (arg1
== NULL
) SWIG_fail
;
12697 arg2
= wxString_in_helper(obj1
);
12698 if (arg2
== NULL
) SWIG_fail
;
12703 arg3
= wxString_in_helper(obj2
);
12704 if (arg3
== NULL
) SWIG_fail
;
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12712 wxPyEndAllowThreads(__tstate
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12752 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
12754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12755 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
12757 return Py_BuildValue((char *)"");
12759 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
12760 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
12765 static PyObject
*_wrap_TheMimeTypesManager_get() {
12768 pyobj
= SWIG_NewPointerObj((void *) wxTheMimeTypesManager
, SWIGTYPE_p_wxMimeTypesManager
, 0);
12773 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12774 PyObject
*resultobj
;
12775 wxString
*arg1
= 0 ;
12776 wxString
*arg2
= 0 ;
12778 bool temp1
= False
;
12779 bool temp2
= False
;
12780 PyObject
* obj0
= 0 ;
12781 PyObject
* obj1
= 0 ;
12782 char *kwnames
[] = {
12783 (char *) "mimeType",(char *) "wildcard", NULL
12786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
12788 arg1
= wxString_in_helper(obj0
);
12789 if (arg1
== NULL
) SWIG_fail
;
12793 arg2
= wxString_in_helper(obj1
);
12794 if (arg2
== NULL
) SWIG_fail
;
12798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12799 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12801 wxPyEndAllowThreads(__tstate
);
12802 if (PyErr_Occurred()) SWIG_fail
;
12804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12827 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12828 PyObject
*resultobj
;
12829 wxMimeTypesManager
*result
;
12830 char *kwnames
[] = {
12834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12837 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
12839 wxPyEndAllowThreads(__tstate
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12842 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMimeTypesManager
, 1);
12849 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12850 PyObject
*resultobj
;
12851 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12852 int arg2
= (int) wxMAILCAP_ALL
;
12853 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12854 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12855 bool temp3
= False
;
12856 PyObject
* obj0
= 0 ;
12857 PyObject
* obj1
= 0 ;
12858 PyObject
* obj2
= 0 ;
12859 char *kwnames
[] = {
12860 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
12863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12867 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12873 arg3
= wxString_in_helper(obj2
);
12874 if (arg3
== NULL
) SWIG_fail
;
12879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
12882 wxPyEndAllowThreads(__tstate
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12885 Py_INCREF(Py_None
); resultobj
= Py_None
;
12900 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12901 PyObject
*resultobj
;
12902 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12903 PyObject
* obj0
= 0 ;
12904 char *kwnames
[] = {
12905 (char *) "self", NULL
12908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
12909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 (arg1
)->ClearData();
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12917 Py_INCREF(Py_None
); resultobj
= Py_None
;
12924 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12925 PyObject
*resultobj
;
12926 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12927 wxString
*arg2
= 0 ;
12928 wxFileType
*result
;
12929 bool temp2
= False
;
12930 PyObject
* obj0
= 0 ;
12931 PyObject
* obj1
= 0 ;
12932 char *kwnames
[] = {
12933 (char *) "self",(char *) "ext", NULL
12936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
12937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12939 arg2
= wxString_in_helper(obj1
);
12940 if (arg2
== NULL
) SWIG_fail
;
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12950 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12965 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
;
12967 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12968 wxString
*arg2
= 0 ;
12969 wxFileType
*result
;
12970 bool temp2
= False
;
12971 PyObject
* obj0
= 0 ;
12972 PyObject
* obj1
= 0 ;
12973 char *kwnames
[] = {
12974 (char *) "self",(char *) "mimeType", NULL
12977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
12978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12980 arg2
= wxString_in_helper(obj1
);
12981 if (arg2
== NULL
) SWIG_fail
;
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12991 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
13006 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13007 PyObject
*resultobj
;
13008 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13009 wxString
*arg2
= 0 ;
13010 bool arg3
= (bool) False
;
13012 bool temp2
= False
;
13013 PyObject
* obj0
= 0 ;
13014 PyObject
* obj1
= 0 ;
13015 PyObject
* obj2
= 0 ;
13016 char *kwnames
[] = {
13017 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13023 arg2
= wxString_in_helper(obj1
);
13024 if (arg2
== NULL
) SWIG_fail
;
13029 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13035 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13037 wxPyEndAllowThreads(__tstate
);
13038 if (PyErr_Occurred()) SWIG_fail
;
13040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13055 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13056 PyObject
*resultobj
;
13057 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13058 wxString
*arg2
= 0 ;
13060 bool temp2
= False
;
13061 PyObject
* obj0
= 0 ;
13062 PyObject
* obj1
= 0 ;
13063 char *kwnames
[] = {
13064 (char *) "self",(char *) "filename", NULL
13067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13070 arg2
= wxString_in_helper(obj1
);
13071 if (arg2
== NULL
) SWIG_fail
;
13075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13076 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13078 wxPyEndAllowThreads(__tstate
);
13079 if (PyErr_Occurred()) SWIG_fail
;
13081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13096 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13097 PyObject
*resultobj
;
13098 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13100 PyObject
* obj0
= 0 ;
13101 char *kwnames
[] = {
13102 (char *) "self", NULL
13105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13111 wxPyEndAllowThreads(__tstate
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13114 resultobj
= result
;
13121 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13122 PyObject
*resultobj
;
13123 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13124 wxFileTypeInfo
*arg2
= 0 ;
13125 PyObject
* obj0
= 0 ;
13126 PyObject
* obj1
= 0 ;
13127 char *kwnames
[] = {
13128 (char *) "self",(char *) "ft", NULL
13131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13133 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13134 if (arg2
== NULL
) {
13135 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13139 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13141 wxPyEndAllowThreads(__tstate
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13144 Py_INCREF(Py_None
); resultobj
= Py_None
;
13151 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13152 PyObject
*resultobj
;
13153 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13154 wxFileTypeInfo
*arg2
= 0 ;
13155 wxFileType
*result
;
13156 PyObject
* obj0
= 0 ;
13157 PyObject
* obj1
= 0 ;
13158 char *kwnames
[] = {
13159 (char *) "self",(char *) "ftInfo", NULL
13162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13164 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13165 if (arg2
== NULL
) {
13166 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
13182 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13183 PyObject
*resultobj
;
13184 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13185 wxFileType
*arg2
= (wxFileType
*) 0 ;
13187 PyObject
* obj0
= 0 ;
13188 PyObject
* obj1
= 0 ;
13189 char *kwnames
[] = {
13190 (char *) "self",(char *) "ft", NULL
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13195 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 result
= (bool)(arg1
)->Unassociate(arg2
);
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13210 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13211 PyObject
*resultobj
;
13212 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13213 PyObject
* obj0
= 0 ;
13214 char *kwnames
[] = {
13215 (char *) "self", NULL
13218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 wxPyEndAllowThreads(__tstate
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13227 Py_INCREF(Py_None
); resultobj
= Py_None
;
13234 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13237 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13239 return Py_BuildValue((char *)"");
13241 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
13242 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13247 static PyObject
*_wrap_ART_TOOLBAR_get() {
13252 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13254 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13261 static int _wrap_ART_MENU_set(PyObject
*) {
13262 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13267 static PyObject
*_wrap_ART_MENU_get() {
13272 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13274 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13281 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
13282 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13287 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13292 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13294 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13301 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
13302 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13307 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13312 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13314 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13321 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
13322 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13327 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13332 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13334 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13341 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
13342 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13347 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13352 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13354 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13361 static int _wrap_ART_OTHER_set(PyObject
*) {
13362 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13367 static PyObject
*_wrap_ART_OTHER_get() {
13372 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13374 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13381 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
13382 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13387 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13392 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13394 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13401 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
13402 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13407 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13412 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13414 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13421 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
13422 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13427 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13432 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13434 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13441 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
13442 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13447 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13452 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13454 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13461 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
13462 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13467 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13472 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13474 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13481 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
13482 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13487 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13492 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13494 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13501 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
13502 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13507 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13512 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13514 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13521 static int _wrap_ART_GO_BACK_set(PyObject
*) {
13522 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13527 static PyObject
*_wrap_ART_GO_BACK_get() {
13532 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13534 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13541 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
13542 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13547 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13552 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13554 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13561 static int _wrap_ART_GO_UP_set(PyObject
*) {
13562 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13567 static PyObject
*_wrap_ART_GO_UP_get() {
13572 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13574 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13581 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
13582 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13587 static PyObject
*_wrap_ART_GO_DOWN_get() {
13592 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13594 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13601 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
13602 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13607 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13612 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13614 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13621 static int _wrap_ART_GO_HOME_set(PyObject
*) {
13622 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13627 static PyObject
*_wrap_ART_GO_HOME_get() {
13632 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13634 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13641 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
13642 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13647 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13652 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13654 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13661 static int _wrap_ART_PRINT_set(PyObject
*) {
13662 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13667 static PyObject
*_wrap_ART_PRINT_get() {
13672 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13674 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13681 static int _wrap_ART_HELP_set(PyObject
*) {
13682 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13687 static PyObject
*_wrap_ART_HELP_get() {
13692 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13694 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13701 static int _wrap_ART_TIP_set(PyObject
*) {
13702 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13707 static PyObject
*_wrap_ART_TIP_get() {
13712 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13714 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13721 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
13722 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
13727 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
13732 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13734 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13741 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
13742 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
13747 static PyObject
*_wrap_ART_LIST_VIEW_get() {
13752 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13754 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13761 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
13762 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
13767 static PyObject
*_wrap_ART_NEW_DIR_get() {
13772 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13774 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13781 static int _wrap_ART_FOLDER_set(PyObject
*) {
13782 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
13787 static PyObject
*_wrap_ART_FOLDER_get() {
13792 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13794 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13801 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
13802 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
13807 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
13812 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13814 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13821 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
13822 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
13827 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
13832 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
13834 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
13841 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
13842 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
13847 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
13852 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
13854 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
13861 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
13862 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
13867 static PyObject
*_wrap_ART_TICK_MARK_get() {
13872 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
13874 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
13881 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
13882 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
13887 static PyObject
*_wrap_ART_CROSS_MARK_get() {
13892 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
13894 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
13901 static int _wrap_ART_ERROR_set(PyObject
*) {
13902 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
13907 static PyObject
*_wrap_ART_ERROR_get() {
13912 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
13914 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
13921 static int _wrap_ART_QUESTION_set(PyObject
*) {
13922 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
13927 static PyObject
*_wrap_ART_QUESTION_get() {
13932 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
13934 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
13941 static int _wrap_ART_WARNING_set(PyObject
*) {
13942 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
13947 static PyObject
*_wrap_ART_WARNING_get() {
13952 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
13954 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
13961 static int _wrap_ART_INFORMATION_set(PyObject
*) {
13962 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
13967 static PyObject
*_wrap_ART_INFORMATION_get() {
13972 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
13974 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
13981 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
13982 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
13987 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
13992 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
13994 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14001 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14002 PyObject
*resultobj
;
14003 wxPyArtProvider
*result
;
14004 char *kwnames
[] = {
14008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14016 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyArtProvider
, 1);
14023 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14024 PyObject
*resultobj
;
14025 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14026 PyObject
*arg2
= (PyObject
*) 0 ;
14027 PyObject
*arg3
= (PyObject
*) 0 ;
14028 PyObject
* obj0
= 0 ;
14029 PyObject
* obj1
= 0 ;
14030 PyObject
* obj2
= 0 ;
14031 char *kwnames
[] = {
14032 (char *) "self",(char *) "self",(char *) "_class", NULL
14035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14041 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14046 Py_INCREF(Py_None
); resultobj
= Py_None
;
14053 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
;
14055 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14056 PyObject
* obj0
= 0 ;
14057 char *kwnames
[] = {
14058 (char *) "provider", NULL
14061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14065 wxPyArtProvider::PushProvider(arg1
);
14067 wxPyEndAllowThreads(__tstate
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14070 Py_INCREF(Py_None
); resultobj
= Py_None
;
14077 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14078 PyObject
*resultobj
;
14080 char *kwnames
[] = {
14084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 result
= (bool)wxPyArtProvider::PopProvider();
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14099 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14100 PyObject
*resultobj
;
14101 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14103 PyObject
* obj0
= 0 ;
14104 char *kwnames
[] = {
14105 (char *) "provider", NULL
14108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14112 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14114 wxPyEndAllowThreads(__tstate
);
14115 if (PyErr_Occurred()) SWIG_fail
;
14117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14124 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14125 PyObject
*resultobj
;
14126 wxString
*arg1
= 0 ;
14127 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14128 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14129 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14130 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14132 bool temp1
= False
;
14133 bool temp2
= False
;
14135 PyObject
* obj0
= 0 ;
14136 PyObject
* obj1
= 0 ;
14137 PyObject
* obj2
= 0 ;
14138 char *kwnames
[] = {
14139 (char *) "id",(char *) "client",(char *) "size", NULL
14142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14144 arg1
= wxString_in_helper(obj0
);
14145 if (arg1
== NULL
) SWIG_fail
;
14150 arg2
= wxString_in_helper(obj1
);
14151 if (arg2
== NULL
) SWIG_fail
;
14158 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14163 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14165 wxPyEndAllowThreads(__tstate
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14169 wxBitmap
* resultptr
;
14170 resultptr
= new wxBitmap((wxBitmap
&) result
);
14171 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
14195 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14196 PyObject
*resultobj
;
14197 wxString
*arg1
= 0 ;
14198 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14199 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14200 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14201 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14203 bool temp1
= False
;
14204 bool temp2
= False
;
14206 PyObject
* obj0
= 0 ;
14207 PyObject
* obj1
= 0 ;
14208 PyObject
* obj2
= 0 ;
14209 char *kwnames
[] = {
14210 (char *) "id",(char *) "client",(char *) "size", NULL
14213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14215 arg1
= wxString_in_helper(obj0
);
14216 if (arg1
== NULL
) SWIG_fail
;
14221 arg2
= wxString_in_helper(obj1
);
14222 if (arg2
== NULL
) SWIG_fail
;
14229 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14240 wxIcon
* resultptr
;
14241 resultptr
= new wxIcon((wxIcon
&) result
);
14242 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
14266 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14267 PyObject
*resultobj
;
14268 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14269 PyObject
* obj0
= 0 ;
14270 char *kwnames
[] = {
14271 (char *) "self", NULL
14274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 wxPyArtProvider_Destroy(arg1
);
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14283 Py_INCREF(Py_None
); resultobj
= Py_None
;
14290 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14293 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14295 return Py_BuildValue((char *)"");
14297 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
;
14299 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14300 PyObject
* obj0
= 0 ;
14301 char *kwnames
[] = {
14302 (char *) "self", NULL
14305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14314 Py_INCREF(Py_None
); resultobj
= Py_None
;
14321 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
;
14323 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14324 wxConfigBase
*result
;
14325 PyObject
* obj0
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "config", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14334 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14339 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
14346 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14347 PyObject
*resultobj
;
14348 bool arg1
= (bool) True
;
14349 wxConfigBase
*result
;
14350 PyObject
* obj0
= 0 ;
14351 char *kwnames
[] = {
14352 (char *) "createOnDemand", NULL
14355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14358 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14369 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
14376 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14377 PyObject
*resultobj
;
14378 wxConfigBase
*result
;
14379 char *kwnames
[] = {
14383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14386 result
= (wxConfigBase
*)wxConfigBase::Create();
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14391 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
14398 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14399 PyObject
*resultobj
;
14400 char *kwnames
[] = {
14404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 wxConfigBase::DontCreateOnDemand();
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14412 Py_INCREF(Py_None
); resultobj
= Py_None
;
14419 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14420 PyObject
*resultobj
;
14421 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14422 wxString
*arg2
= 0 ;
14423 bool temp2
= False
;
14424 PyObject
* obj0
= 0 ;
14425 PyObject
* obj1
= 0 ;
14426 char *kwnames
[] = {
14427 (char *) "self",(char *) "path", NULL
14430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14433 arg2
= wxString_in_helper(obj1
);
14434 if (arg2
== NULL
) SWIG_fail
;
14438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14439 (arg1
)->SetPath((wxString
const &)*arg2
);
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14444 Py_INCREF(Py_None
); resultobj
= Py_None
;
14459 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
;
14461 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14463 PyObject
* obj0
= 0 ;
14464 char *kwnames
[] = {
14465 (char *) "self", NULL
14468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14473 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14474 result
= (wxString
*) &_result_ref
;
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14484 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14493 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14494 PyObject
*resultobj
;
14495 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14497 PyObject
* obj0
= 0 ;
14498 char *kwnames
[] = {
14499 (char *) "self", NULL
14502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14506 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14508 wxPyEndAllowThreads(__tstate
);
14509 if (PyErr_Occurred()) SWIG_fail
;
14511 resultobj
= result
;
14518 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14519 PyObject
*resultobj
;
14520 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14523 PyObject
* obj0
= 0 ;
14524 PyObject
* obj1
= 0 ;
14525 char *kwnames
[] = {
14526 (char *) "self",(char *) "index", NULL
14529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14532 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14537 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14539 wxPyEndAllowThreads(__tstate
);
14540 if (PyErr_Occurred()) SWIG_fail
;
14542 resultobj
= result
;
14549 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14550 PyObject
*resultobj
;
14551 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14553 PyObject
* obj0
= 0 ;
14554 char *kwnames
[] = {
14555 (char *) "self", NULL
14558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14567 resultobj
= result
;
14574 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14579 PyObject
* obj0
= 0 ;
14580 PyObject
* obj1
= 0 ;
14581 char *kwnames
[] = {
14582 (char *) "self",(char *) "index", NULL
14585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14588 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14598 resultobj
= result
;
14605 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14606 PyObject
*resultobj
;
14607 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14608 bool arg2
= (bool) False
;
14610 PyObject
* obj0
= 0 ;
14611 PyObject
* obj1
= 0 ;
14612 char *kwnames
[] = {
14613 (char *) "self",(char *) "recursive", NULL
14616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14620 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14626 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14631 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
14638 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
;
14640 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14641 bool arg2
= (bool) False
;
14643 PyObject
* obj0
= 0 ;
14644 PyObject
* obj1
= 0 ;
14645 char *kwnames
[] = {
14646 (char *) "self",(char *) "recursive", NULL
14649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14653 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14664 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
14671 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14672 PyObject
*resultobj
;
14673 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14674 wxString
*arg2
= 0 ;
14676 bool temp2
= False
;
14677 PyObject
* obj0
= 0 ;
14678 PyObject
* obj1
= 0 ;
14679 char *kwnames
[] = {
14680 (char *) "self",(char *) "name", NULL
14683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14686 arg2
= wxString_in_helper(obj1
);
14687 if (arg2
== NULL
) SWIG_fail
;
14691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14692 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14694 wxPyEndAllowThreads(__tstate
);
14695 if (PyErr_Occurred()) SWIG_fail
;
14697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14712 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14713 PyObject
*resultobj
;
14714 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14715 wxString
*arg2
= 0 ;
14717 bool temp2
= False
;
14718 PyObject
* obj0
= 0 ;
14719 PyObject
* obj1
= 0 ;
14720 char *kwnames
[] = {
14721 (char *) "self",(char *) "name", NULL
14724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14727 arg2
= wxString_in_helper(obj1
);
14728 if (arg2
== NULL
) SWIG_fail
;
14732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14733 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
14735 wxPyEndAllowThreads(__tstate
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14753 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14754 PyObject
*resultobj
;
14755 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14756 wxString
*arg2
= 0 ;
14758 bool temp2
= False
;
14759 PyObject
* obj0
= 0 ;
14760 PyObject
* obj1
= 0 ;
14761 char *kwnames
[] = {
14762 (char *) "self",(char *) "name", NULL
14765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
14766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14768 arg2
= wxString_in_helper(obj1
);
14769 if (arg2
== NULL
) SWIG_fail
;
14773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14794 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14795 PyObject
*resultobj
;
14796 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14797 wxString
*arg2
= 0 ;
14799 bool temp2
= False
;
14800 PyObject
* obj0
= 0 ;
14801 PyObject
* obj1
= 0 ;
14802 char *kwnames
[] = {
14803 (char *) "self",(char *) "name", NULL
14806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
14807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14809 arg2
= wxString_in_helper(obj1
);
14810 if (arg2
== NULL
) SWIG_fail
;
14814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14815 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
14817 wxPyEndAllowThreads(__tstate
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14820 resultobj
= SWIG_PyObj_FromInt((int)result
);
14835 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14836 PyObject
*resultobj
;
14837 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14838 wxString
*arg2
= 0 ;
14839 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14840 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14842 bool temp2
= False
;
14843 bool temp3
= False
;
14844 PyObject
* obj0
= 0 ;
14845 PyObject
* obj1
= 0 ;
14846 PyObject
* obj2
= 0 ;
14847 char *kwnames
[] = {
14848 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14854 arg2
= wxString_in_helper(obj1
);
14855 if (arg2
== NULL
) SWIG_fail
;
14860 arg3
= wxString_in_helper(obj2
);
14861 if (arg3
== NULL
) SWIG_fail
;
14866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14867 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14869 wxPyEndAllowThreads(__tstate
);
14870 if (PyErr_Occurred()) SWIG_fail
;
14874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14901 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14902 PyObject
*resultobj
;
14903 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14904 wxString
*arg2
= 0 ;
14905 long arg3
= (long) 0 ;
14907 bool temp2
= False
;
14908 PyObject
* obj0
= 0 ;
14909 PyObject
* obj1
= 0 ;
14910 PyObject
* obj2
= 0 ;
14911 char *kwnames
[] = {
14912 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14918 arg2
= wxString_in_helper(obj1
);
14919 if (arg2
== NULL
) SWIG_fail
;
14924 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
14925 if (PyErr_Occurred()) SWIG_fail
;
14929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14930 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14935 resultobj
= SWIG_PyObj_FromLong((long)result
);
14950 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14951 PyObject
*resultobj
;
14952 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14953 wxString
*arg2
= 0 ;
14954 double arg3
= (double) 0.0 ;
14956 bool temp2
= False
;
14957 PyObject
* obj0
= 0 ;
14958 PyObject
* obj1
= 0 ;
14959 PyObject
* obj2
= 0 ;
14960 char *kwnames
[] = {
14961 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14967 arg2
= wxString_in_helper(obj1
);
14968 if (arg2
== NULL
) SWIG_fail
;
14973 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14984 resultobj
= SWIG_PyObj_FromDouble((double)result
);
14999 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
;
15001 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15002 wxString
*arg2
= 0 ;
15003 bool arg3
= (bool) False
;
15005 bool temp2
= False
;
15006 PyObject
* obj0
= 0 ;
15007 PyObject
* obj1
= 0 ;
15008 PyObject
* obj2
= 0 ;
15009 char *kwnames
[] = {
15010 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15016 arg2
= wxString_in_helper(obj1
);
15017 if (arg2
== NULL
) SWIG_fail
;
15022 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15028 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15048 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15049 PyObject
*resultobj
;
15050 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15051 wxString
*arg2
= 0 ;
15052 wxString
*arg3
= 0 ;
15054 bool temp2
= False
;
15055 bool temp3
= False
;
15056 PyObject
* obj0
= 0 ;
15057 PyObject
* obj1
= 0 ;
15058 PyObject
* obj2
= 0 ;
15059 char *kwnames
[] = {
15060 (char *) "self",(char *) "key",(char *) "value", NULL
15063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15066 arg2
= wxString_in_helper(obj1
);
15067 if (arg2
== NULL
) SWIG_fail
;
15071 arg3
= wxString_in_helper(obj2
);
15072 if (arg3
== NULL
) SWIG_fail
;
15076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15077 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15105 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15106 PyObject
*resultobj
;
15107 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15108 wxString
*arg2
= 0 ;
15111 bool temp2
= False
;
15112 PyObject
* obj0
= 0 ;
15113 PyObject
* obj1
= 0 ;
15114 PyObject
* obj2
= 0 ;
15115 char *kwnames
[] = {
15116 (char *) "self",(char *) "key",(char *) "value", NULL
15119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15122 arg2
= wxString_in_helper(obj1
);
15123 if (arg2
== NULL
) SWIG_fail
;
15127 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
15128 if (PyErr_Occurred()) SWIG_fail
;
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15152 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15153 PyObject
*resultobj
;
15154 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15155 wxString
*arg2
= 0 ;
15158 bool temp2
= False
;
15159 PyObject
* obj0
= 0 ;
15160 PyObject
* obj1
= 0 ;
15161 PyObject
* obj2
= 0 ;
15162 char *kwnames
[] = {
15163 (char *) "self",(char *) "key",(char *) "value", NULL
15166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15169 arg2
= wxString_in_helper(obj1
);
15170 if (arg2
== NULL
) SWIG_fail
;
15174 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15199 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15200 PyObject
*resultobj
;
15201 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15202 wxString
*arg2
= 0 ;
15205 bool temp2
= False
;
15206 PyObject
* obj0
= 0 ;
15207 PyObject
* obj1
= 0 ;
15208 PyObject
* obj2
= 0 ;
15209 char *kwnames
[] = {
15210 (char *) "self",(char *) "key",(char *) "value", NULL
15213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15216 arg2
= wxString_in_helper(obj1
);
15217 if (arg2
== NULL
) SWIG_fail
;
15221 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15226 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15228 wxPyEndAllowThreads(__tstate
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15246 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15247 PyObject
*resultobj
;
15248 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15249 bool arg2
= (bool) False
;
15251 PyObject
* obj0
= 0 ;
15252 PyObject
* obj1
= 0 ;
15253 char *kwnames
[] = {
15254 (char *) "self",(char *) "currentOnly", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15261 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 result
= (bool)(arg1
)->Flush(arg2
);
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15279 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15280 PyObject
*resultobj
;
15281 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15282 wxString
*arg2
= 0 ;
15283 wxString
*arg3
= 0 ;
15285 bool temp2
= False
;
15286 bool temp3
= False
;
15287 PyObject
* obj0
= 0 ;
15288 PyObject
* obj1
= 0 ;
15289 PyObject
* obj2
= 0 ;
15290 char *kwnames
[] = {
15291 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15297 arg2
= wxString_in_helper(obj1
);
15298 if (arg2
== NULL
) SWIG_fail
;
15302 arg3
= wxString_in_helper(obj2
);
15303 if (arg3
== NULL
) SWIG_fail
;
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15336 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15337 PyObject
*resultobj
;
15338 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15339 wxString
*arg2
= 0 ;
15340 wxString
*arg3
= 0 ;
15342 bool temp2
= False
;
15343 bool temp3
= False
;
15344 PyObject
* obj0
= 0 ;
15345 PyObject
* obj1
= 0 ;
15346 PyObject
* obj2
= 0 ;
15347 char *kwnames
[] = {
15348 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15354 arg2
= wxString_in_helper(obj1
);
15355 if (arg2
== NULL
) SWIG_fail
;
15359 arg3
= wxString_in_helper(obj2
);
15360 if (arg3
== NULL
) SWIG_fail
;
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15367 wxPyEndAllowThreads(__tstate
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15393 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
;
15395 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15396 wxString
*arg2
= 0 ;
15397 bool arg3
= (bool) True
;
15399 bool temp2
= False
;
15400 PyObject
* obj0
= 0 ;
15401 PyObject
* obj1
= 0 ;
15402 PyObject
* obj2
= 0 ;
15403 char *kwnames
[] = {
15404 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15410 arg2
= wxString_in_helper(obj1
);
15411 if (arg2
== NULL
) SWIG_fail
;
15416 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15442 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
;
15444 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15445 wxString
*arg2
= 0 ;
15447 bool temp2
= False
;
15448 PyObject
* obj0
= 0 ;
15449 PyObject
* obj1
= 0 ;
15450 char *kwnames
[] = {
15451 (char *) "self",(char *) "key", NULL
15454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15457 arg2
= wxString_in_helper(obj1
);
15458 if (arg2
== NULL
) SWIG_fail
;
15462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15463 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15465 wxPyEndAllowThreads(__tstate
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15483 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15484 PyObject
*resultobj
;
15485 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15487 PyObject
* obj0
= 0 ;
15488 char *kwnames
[] = {
15489 (char *) "self", NULL
15492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15496 result
= (bool)(arg1
)->DeleteAll();
15498 wxPyEndAllowThreads(__tstate
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15508 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15509 PyObject
*resultobj
;
15510 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15511 bool arg2
= (bool) True
;
15512 PyObject
* obj0
= 0 ;
15513 PyObject
* obj1
= 0 ;
15514 char *kwnames
[] = {
15515 (char *) "self",(char *) "doIt", NULL
15518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15522 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15528 (arg1
)->SetExpandEnvVars(arg2
);
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15533 Py_INCREF(Py_None
); resultobj
= Py_None
;
15540 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15541 PyObject
*resultobj
;
15542 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15544 PyObject
* obj0
= 0 ;
15545 char *kwnames
[] = {
15546 (char *) "self", NULL
15549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15553 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15565 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
;
15567 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15568 bool arg2
= (bool) True
;
15569 PyObject
* obj0
= 0 ;
15570 PyObject
* obj1
= 0 ;
15571 char *kwnames
[] = {
15572 (char *) "self",(char *) "doIt", NULL
15575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15579 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15585 (arg1
)->SetRecordDefaults(arg2
);
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15590 Py_INCREF(Py_None
); resultobj
= Py_None
;
15597 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
;
15599 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15601 PyObject
* obj0
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "self", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15610 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15622 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
;
15624 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15625 wxString
*arg2
= 0 ;
15627 bool temp2
= False
;
15628 PyObject
* obj0
= 0 ;
15629 PyObject
* obj1
= 0 ;
15630 char *kwnames
[] = {
15631 (char *) "self",(char *) "str", NULL
15634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15637 arg2
= wxString_in_helper(obj1
);
15638 if (arg2
== NULL
) SWIG_fail
;
15642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15643 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15645 wxPyEndAllowThreads(__tstate
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15650 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15652 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15669 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
;
15671 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15673 PyObject
* obj0
= 0 ;
15674 char *kwnames
[] = {
15675 (char *) "self", NULL
15678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15700 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15701 PyObject
*resultobj
;
15702 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15704 PyObject
* obj0
= 0 ;
15705 char *kwnames
[] = {
15706 (char *) "self", NULL
15709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
15710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15713 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
15715 wxPyEndAllowThreads(__tstate
);
15716 if (PyErr_Occurred()) SWIG_fail
;
15720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15731 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15732 PyObject
*resultobj
;
15733 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15734 wxString
*arg2
= 0 ;
15735 bool temp2
= False
;
15736 PyObject
* obj0
= 0 ;
15737 PyObject
* obj1
= 0 ;
15738 char *kwnames
[] = {
15739 (char *) "self",(char *) "appName", NULL
15742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
15743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15745 arg2
= wxString_in_helper(obj1
);
15746 if (arg2
== NULL
) SWIG_fail
;
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 (arg1
)->SetAppName((wxString
const &)*arg2
);
15753 wxPyEndAllowThreads(__tstate
);
15754 if (PyErr_Occurred()) SWIG_fail
;
15756 Py_INCREF(Py_None
); resultobj
= Py_None
;
15771 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15772 PyObject
*resultobj
;
15773 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15774 wxString
*arg2
= 0 ;
15775 bool temp2
= False
;
15776 PyObject
* obj0
= 0 ;
15777 PyObject
* obj1
= 0 ;
15778 char *kwnames
[] = {
15779 (char *) "self",(char *) "vendorName", NULL
15782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
15783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15785 arg2
= wxString_in_helper(obj1
);
15786 if (arg2
== NULL
) SWIG_fail
;
15790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15791 (arg1
)->SetVendorName((wxString
const &)*arg2
);
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15796 Py_INCREF(Py_None
); resultobj
= Py_None
;
15811 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15812 PyObject
*resultobj
;
15813 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15815 PyObject
* obj0
= 0 ;
15816 PyObject
* obj1
= 0 ;
15817 char *kwnames
[] = {
15818 (char *) "self",(char *) "style", NULL
15821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
15822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15824 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15829 (arg1
)->SetStyle(arg2
);
15831 wxPyEndAllowThreads(__tstate
);
15832 if (PyErr_Occurred()) SWIG_fail
;
15834 Py_INCREF(Py_None
); resultobj
= Py_None
;
15841 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15842 PyObject
*resultobj
;
15843 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15845 PyObject
* obj0
= 0 ;
15846 char *kwnames
[] = {
15847 (char *) "self", NULL
15850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15854 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
15856 wxPyEndAllowThreads(__tstate
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15859 resultobj
= SWIG_PyObj_FromLong((long)result
);
15866 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
15868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15869 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
15871 return Py_BuildValue((char *)"");
15873 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
;
15875 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15876 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15877 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15878 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15879 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15880 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15881 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15882 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15883 long arg5
= (long) 0 ;
15885 bool temp1
= False
;
15886 bool temp2
= False
;
15887 bool temp3
= False
;
15888 bool temp4
= False
;
15889 PyObject
* obj0
= 0 ;
15890 PyObject
* obj1
= 0 ;
15891 PyObject
* obj2
= 0 ;
15892 PyObject
* obj3
= 0 ;
15893 PyObject
* obj4
= 0 ;
15894 char *kwnames
[] = {
15895 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15901 arg1
= wxString_in_helper(obj0
);
15902 if (arg1
== NULL
) SWIG_fail
;
15908 arg2
= wxString_in_helper(obj1
);
15909 if (arg2
== NULL
) SWIG_fail
;
15915 arg3
= wxString_in_helper(obj2
);
15916 if (arg3
== NULL
) SWIG_fail
;
15922 arg4
= wxString_in_helper(obj3
);
15923 if (arg4
== NULL
) SWIG_fail
;
15929 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15935 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
15937 wxPyEndAllowThreads(__tstate
);
15938 if (PyErr_Occurred()) SWIG_fail
;
15940 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfig
, 1);
15979 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
;
15981 wxConfig
*arg1
= (wxConfig
*) 0 ;
15982 PyObject
* obj0
= 0 ;
15983 char *kwnames
[] = {
15984 (char *) "self", NULL
15987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
15988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15993 wxPyEndAllowThreads(__tstate
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15996 Py_INCREF(Py_None
); resultobj
= Py_None
;
16003 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16006 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16008 return Py_BuildValue((char *)"");
16010 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16011 PyObject
*resultobj
;
16012 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16013 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16014 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16015 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16016 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16017 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16018 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16019 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16020 long arg5
= (long) 0 ;
16021 wxFileConfig
*result
;
16022 bool temp1
= False
;
16023 bool temp2
= False
;
16024 bool temp3
= False
;
16025 bool temp4
= False
;
16026 PyObject
* obj0
= 0 ;
16027 PyObject
* obj1
= 0 ;
16028 PyObject
* obj2
= 0 ;
16029 PyObject
* obj3
= 0 ;
16030 PyObject
* obj4
= 0 ;
16031 char *kwnames
[] = {
16032 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16038 arg1
= wxString_in_helper(obj0
);
16039 if (arg1
== NULL
) SWIG_fail
;
16045 arg2
= wxString_in_helper(obj1
);
16046 if (arg2
== NULL
) SWIG_fail
;
16052 arg3
= wxString_in_helper(obj2
);
16053 if (arg3
== NULL
) SWIG_fail
;
16059 arg4
= wxString_in_helper(obj3
);
16060 if (arg4
== NULL
) SWIG_fail
;
16066 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16077 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileConfig
, 1);
16116 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
;
16118 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16119 PyObject
* obj0
= 0 ;
16120 char *kwnames
[] = {
16121 (char *) "self", NULL
16124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16133 Py_INCREF(Py_None
); resultobj
= Py_None
;
16140 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16143 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16145 return Py_BuildValue((char *)"");
16147 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16150 wxString
*arg2
= 0 ;
16151 wxConfigPathChanger
*result
;
16152 bool temp2
= False
;
16153 PyObject
* obj0
= 0 ;
16154 PyObject
* obj1
= 0 ;
16155 char *kwnames
[] = {
16156 (char *) "config",(char *) "entry", NULL
16159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16162 arg2
= wxString_in_helper(obj1
);
16163 if (arg2
== NULL
) SWIG_fail
;
16167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16168 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16170 wxPyEndAllowThreads(__tstate
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16173 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigPathChanger
, 1);
16188 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16189 PyObject
*resultobj
;
16190 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16191 PyObject
* obj0
= 0 ;
16192 char *kwnames
[] = {
16193 (char *) "self", NULL
16196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16202 wxPyEndAllowThreads(__tstate
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16205 Py_INCREF(Py_None
); resultobj
= Py_None
;
16212 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16213 PyObject
*resultobj
;
16214 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16216 PyObject
* obj0
= 0 ;
16217 char *kwnames
[] = {
16218 (char *) "self", NULL
16221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16227 result
= (wxString
*) &_result_ref
;
16230 wxPyEndAllowThreads(__tstate
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16235 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16237 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16246 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16249 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16251 return Py_BuildValue((char *)"");
16253 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
;
16255 wxString
*arg1
= 0 ;
16257 bool temp1
= False
;
16258 PyObject
* obj0
= 0 ;
16259 char *kwnames
[] = {
16260 (char *) "sz", NULL
16263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16265 arg1
= wxString_in_helper(obj0
);
16266 if (arg1
== NULL
) SWIG_fail
;
16270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16271 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16273 wxPyEndAllowThreads(__tstate
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16280 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16297 static int _wrap_DateFormatStr_set(PyObject
*) {
16298 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16303 static PyObject
*_wrap_DateFormatStr_get() {
16308 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16310 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16317 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
16318 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16323 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16328 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16330 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16337 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16338 PyObject
*resultobj
;
16340 PyObject
* obj0
= 0 ;
16341 char *kwnames
[] = {
16342 (char *) "country", NULL
16345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16347 arg1
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj0
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16352 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16354 wxPyEndAllowThreads(__tstate
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16357 Py_INCREF(Py_None
); resultobj
= Py_None
;
16364 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16365 PyObject
*resultobj
;
16367 char *kwnames
[] = {
16371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16374 result
= (int)wxDateTime::GetCountry();
16376 wxPyEndAllowThreads(__tstate
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16379 resultobj
= SWIG_PyObj_FromInt((int)result
);
16386 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
;
16388 int arg1
= (int) wxDateTime::Country_Default
;
16390 PyObject
* obj0
= 0 ;
16391 char *kwnames
[] = {
16392 (char *) "country", NULL
16395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16398 arg1
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj0
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16404 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16406 wxPyEndAllowThreads(__tstate
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16416 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16417 PyObject
*resultobj
;
16418 int arg1
= (int) wxDateTime::Gregorian
;
16420 PyObject
* obj0
= 0 ;
16421 char *kwnames
[] = {
16422 (char *) "cal", NULL
16425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16428 arg1
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj0
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16434 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16436 wxPyEndAllowThreads(__tstate
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16439 resultobj
= SWIG_PyObj_FromInt((int)result
);
16446 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
;
16450 PyObject
* obj0
= 0 ;
16451 char *kwnames
[] = {
16452 (char *) "year", NULL
16455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16457 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16458 if (PyErr_Occurred()) SWIG_fail
;
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16462 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16464 wxPyEndAllowThreads(__tstate
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16467 resultobj
= SWIG_PyObj_FromInt((int)result
);
16474 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16475 PyObject
*resultobj
;
16476 int arg1
= (int) wxDateTime::Gregorian
;
16478 PyObject
* obj0
= 0 ;
16479 char *kwnames
[] = {
16480 (char *) "cal", NULL
16483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16486 arg1
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj0
);
16487 if (PyErr_Occurred()) SWIG_fail
;
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16494 wxPyEndAllowThreads(__tstate
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16497 resultobj
= SWIG_PyObj_FromInt((int)result
);
16504 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16505 PyObject
*resultobj
;
16506 int arg1
= (int) wxDateTime::Inv_Year
;
16507 int arg2
= (int) wxDateTime::Gregorian
;
16509 PyObject
* obj0
= 0 ;
16510 PyObject
* obj1
= 0 ;
16511 char *kwnames
[] = {
16512 (char *) "year",(char *) "cal", NULL
16515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16518 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16519 if (PyErr_Occurred()) SWIG_fail
;
16524 arg2
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj1
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16530 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16542 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 int arg1
= (int) wxDateTime::Inv_Year
;
16546 PyObject
* obj0
= 0 ;
16547 char *kwnames
[] = {
16548 (char *) "year", NULL
16551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16554 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16560 result
= (int)wxDateTime::GetCentury(arg1
);
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16565 resultobj
= SWIG_PyObj_FromInt((int)result
);
16572 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
;
16575 int arg2
= (int) wxDateTime::Gregorian
;
16577 PyObject
* obj0
= 0 ;
16578 PyObject
* obj1
= 0 ;
16579 char *kwnames
[] = {
16580 (char *) "year",(char *) "cal", NULL
16583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16585 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16586 if (PyErr_Occurred()) SWIG_fail
;
16590 arg2
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj1
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16601 resultobj
= SWIG_PyObj_FromInt((int)result
);
16608 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16609 PyObject
*resultobj
;
16611 int arg2
= (int) wxDateTime::Inv_Year
;
16612 int arg3
= (int) wxDateTime::Gregorian
;
16614 PyObject
* obj0
= 0 ;
16615 PyObject
* obj1
= 0 ;
16616 PyObject
* obj2
= 0 ;
16617 char *kwnames
[] = {
16618 (char *) "month",(char *) "year",(char *) "cal", NULL
16621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16623 arg1
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj0
);
16624 if (PyErr_Occurred()) SWIG_fail
;
16628 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16634 arg3
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj2
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16642 wxPyEndAllowThreads(__tstate
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16645 resultobj
= SWIG_PyObj_FromInt((int)result
);
16652 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16653 PyObject
*resultobj
;
16655 int arg2
= (int) wxDateTime::Name_Full
;
16657 PyObject
* obj0
= 0 ;
16658 PyObject
* obj1
= 0 ;
16659 char *kwnames
[] = {
16660 (char *) "month",(char *) "flags", NULL
16663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16665 arg1
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj0
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16670 arg2
= (wxDateTime::NameFlags
) SWIG_PyObj_AsInt(obj1
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16678 wxPyEndAllowThreads(__tstate
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16683 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16685 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16694 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
;
16697 int arg2
= (int) wxDateTime::Name_Full
;
16699 PyObject
* obj0
= 0 ;
16700 PyObject
* obj1
= 0 ;
16701 char *kwnames
[] = {
16702 (char *) "weekday",(char *) "flags", NULL
16705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
16707 arg1
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj0
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16712 arg2
= (wxDateTime::NameFlags
) SWIG_PyObj_AsInt(obj1
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16718 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
16720 wxPyEndAllowThreads(__tstate
);
16721 if (PyErr_Occurred()) SWIG_fail
;
16725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16736 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16737 PyObject
*resultobj
;
16738 wxString
*arg1
= (wxString
*) 0 ;
16739 wxString
*arg2
= (wxString
*) 0 ;
16740 bool temp1
= False
;
16741 bool temp2
= False
;
16742 PyObject
* obj0
= 0 ;
16743 PyObject
* obj1
= 0 ;
16744 char *kwnames
[] = {
16745 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
16750 arg1
= wxString_in_helper(obj0
);
16751 if (arg1
== NULL
) SWIG_fail
;
16755 arg2
= wxString_in_helper(obj1
);
16756 if (arg2
== NULL
) SWIG_fail
;
16760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16761 wxDateTime::GetAmPmStrings(arg1
,arg2
);
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16766 Py_INCREF(Py_None
); resultobj
= Py_None
;
16789 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16790 PyObject
*resultobj
;
16791 int arg1
= (int) wxDateTime::Inv_Year
;
16792 int arg2
= (int) wxDateTime::Country_Default
;
16794 PyObject
* obj0
= 0 ;
16795 PyObject
* obj1
= 0 ;
16796 char *kwnames
[] = {
16797 (char *) "year",(char *) "country", NULL
16800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
16803 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16809 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16815 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
16817 wxPyEndAllowThreads(__tstate
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16827 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16828 PyObject
*resultobj
;
16829 int arg1
= (int) wxDateTime::Inv_Year
;
16830 int arg2
= (int) wxDateTime::Country_Default
;
16832 PyObject
* obj0
= 0 ;
16833 PyObject
* obj1
= 0 ;
16834 char *kwnames
[] = {
16835 (char *) "year",(char *) "country", NULL
16838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
16841 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16842 if (PyErr_Occurred()) SWIG_fail
;
16847 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16859 wxDateTime
* resultptr
;
16860 resultptr
= new wxDateTime((wxDateTime
&) result
);
16861 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16869 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
;
16871 int arg1
= (int) wxDateTime::Inv_Year
;
16872 int arg2
= (int) wxDateTime::Country_Default
;
16874 PyObject
* obj0
= 0 ;
16875 PyObject
* obj1
= 0 ;
16876 char *kwnames
[] = {
16877 (char *) "year",(char *) "country", NULL
16880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
16883 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16889 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16895 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
16897 wxPyEndAllowThreads(__tstate
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16901 wxDateTime
* resultptr
;
16902 resultptr
= new wxDateTime((wxDateTime
&) result
);
16903 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16911 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16912 PyObject
*resultobj
;
16914 char *kwnames
[] = {
16918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 result
= wxDateTime::Now();
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16927 wxDateTime
* resultptr
;
16928 resultptr
= new wxDateTime((wxDateTime
&) result
);
16929 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16937 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16938 PyObject
*resultobj
;
16940 char *kwnames
[] = {
16944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
16946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16947 result
= wxDateTime::UNow();
16949 wxPyEndAllowThreads(__tstate
);
16950 if (PyErr_Occurred()) SWIG_fail
;
16953 wxDateTime
* resultptr
;
16954 resultptr
= new wxDateTime((wxDateTime
&) result
);
16955 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16963 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16964 PyObject
*resultobj
;
16966 char *kwnames
[] = {
16970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16973 result
= wxDateTime::Today();
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16979 wxDateTime
* resultptr
;
16980 resultptr
= new wxDateTime((wxDateTime
&) result
);
16981 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16989 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16990 PyObject
*resultobj
;
16991 wxDateTime
*result
;
16992 char *kwnames
[] = {
16996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
16998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 result
= (wxDateTime
*)new wxDateTime();
17001 wxPyEndAllowThreads(__tstate
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17004 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17011 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17012 PyObject
*resultobj
;
17014 wxDateTime
*result
;
17015 PyObject
* obj0
= 0 ;
17016 char *kwnames
[] = {
17017 (char *) "timet", NULL
17020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17022 arg1
= (time_t) SWIG_PyObj_AsUnsignedInt(obj0
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17027 result
= (wxDateTime
*)new wxDateTime(arg1
);
17029 wxPyEndAllowThreads(__tstate
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17032 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17039 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
;
17042 wxDateTime
*result
;
17043 PyObject
* obj0
= 0 ;
17044 char *kwnames
[] = {
17045 (char *) "jdn", NULL
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17050 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17055 result
= (wxDateTime
*)new wxDateTime(arg1
);
17057 wxPyEndAllowThreads(__tstate
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17060 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17067 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17068 PyObject
*resultobj
;
17070 int arg2
= (int) 0 ;
17071 int arg3
= (int) 0 ;
17072 int arg4
= (int) 0 ;
17073 wxDateTime
*result
;
17074 PyObject
* obj0
= 0 ;
17075 PyObject
* obj1
= 0 ;
17076 PyObject
* obj2
= 0 ;
17077 PyObject
* obj3
= 0 ;
17078 char *kwnames
[] = {
17079 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17084 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17089 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17095 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17101 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17109 wxPyEndAllowThreads(__tstate
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17112 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17119 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17120 PyObject
*resultobj
;
17122 int arg2
= (int) wxDateTime::Inv_Month
;
17123 int arg3
= (int) wxDateTime::Inv_Year
;
17124 int arg4
= (int) 0 ;
17125 int arg5
= (int) 0 ;
17126 int arg6
= (int) 0 ;
17127 int arg7
= (int) 0 ;
17128 wxDateTime
*result
;
17129 PyObject
* obj0
= 0 ;
17130 PyObject
* obj1
= 0 ;
17131 PyObject
* obj2
= 0 ;
17132 PyObject
* obj3
= 0 ;
17133 PyObject
* obj4
= 0 ;
17134 PyObject
* obj5
= 0 ;
17135 PyObject
* obj6
= 0 ;
17136 char *kwnames
[] = {
17137 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17142 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17147 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17153 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17159 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17165 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17171 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17177 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17188 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
17195 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17196 PyObject
*resultobj
;
17197 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17198 PyObject
* obj0
= 0 ;
17199 char *kwnames
[] = {
17200 (char *) "self", NULL
17203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17209 wxPyEndAllowThreads(__tstate
);
17210 if (PyErr_Occurred()) SWIG_fail
;
17212 Py_INCREF(Py_None
); resultobj
= Py_None
;
17219 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17220 PyObject
*resultobj
;
17221 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17222 wxDateTime
*result
;
17223 PyObject
* obj0
= 0 ;
17224 char *kwnames
[] = {
17225 (char *) "self", NULL
17228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17234 result
= (wxDateTime
*) &_result_ref
;
17237 wxPyEndAllowThreads(__tstate
);
17238 if (PyErr_Occurred()) SWIG_fail
;
17240 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17247 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17248 PyObject
*resultobj
;
17249 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17251 wxDateTime
*result
;
17252 PyObject
* obj0
= 0 ;
17253 PyObject
* obj1
= 0 ;
17254 char *kwnames
[] = {
17255 (char *) "self",(char *) "timet", NULL
17258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17261 arg2
= (time_t) SWIG_PyObj_AsUnsignedInt(obj1
);
17262 if (PyErr_Occurred()) SWIG_fail
;
17265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17268 result
= (wxDateTime
*) &_result_ref
;
17271 wxPyEndAllowThreads(__tstate
);
17272 if (PyErr_Occurred()) SWIG_fail
;
17274 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17281 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17282 PyObject
*resultobj
;
17283 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17285 wxDateTime
*result
;
17286 PyObject
* obj0
= 0 ;
17287 PyObject
* obj1
= 0 ;
17288 char *kwnames
[] = {
17289 (char *) "self",(char *) "jdn", NULL
17292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17295 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17301 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17302 result
= (wxDateTime
*) &_result_ref
;
17305 wxPyEndAllowThreads(__tstate
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17308 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17315 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17316 PyObject
*resultobj
;
17317 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17319 int arg3
= (int) 0 ;
17320 int arg4
= (int) 0 ;
17321 int arg5
= (int) 0 ;
17322 wxDateTime
*result
;
17323 PyObject
* obj0
= 0 ;
17324 PyObject
* obj1
= 0 ;
17325 PyObject
* obj2
= 0 ;
17326 PyObject
* obj3
= 0 ;
17327 PyObject
* obj4
= 0 ;
17328 char *kwnames
[] = {
17329 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17335 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17336 if (PyErr_Occurred()) SWIG_fail
;
17340 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17346 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17352 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17359 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17360 result
= (wxDateTime
*) &_result_ref
;
17363 wxPyEndAllowThreads(__tstate
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17366 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17373 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
;
17375 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17377 int arg3
= (int) wxDateTime::Inv_Month
;
17378 int arg4
= (int) wxDateTime::Inv_Year
;
17379 int arg5
= (int) 0 ;
17380 int arg6
= (int) 0 ;
17381 int arg7
= (int) 0 ;
17382 int arg8
= (int) 0 ;
17383 wxDateTime
*result
;
17384 PyObject
* obj0
= 0 ;
17385 PyObject
* obj1
= 0 ;
17386 PyObject
* obj2
= 0 ;
17387 PyObject
* obj3
= 0 ;
17388 PyObject
* obj4
= 0 ;
17389 PyObject
* obj5
= 0 ;
17390 PyObject
* obj6
= 0 ;
17391 PyObject
* obj7
= 0 ;
17392 char *kwnames
[] = {
17393 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17399 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17404 arg3
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj2
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17410 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17416 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17422 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17428 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17434 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17441 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17442 result
= (wxDateTime
*) &_result_ref
;
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17448 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17455 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17456 PyObject
*resultobj
;
17457 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17458 wxDateTime
*result
;
17459 PyObject
* obj0
= 0 ;
17460 char *kwnames
[] = {
17461 (char *) "self", NULL
17464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17469 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17470 result
= (wxDateTime
*) &_result_ref
;
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17476 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17483 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
;
17485 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17487 wxDateTime
*result
;
17488 PyObject
* obj0
= 0 ;
17489 PyObject
* obj1
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self",(char *) "year", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17497 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17503 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17504 result
= (wxDateTime
*) &_result_ref
;
17507 wxPyEndAllowThreads(__tstate
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17510 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17517 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17518 PyObject
*resultobj
;
17519 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17521 wxDateTime
*result
;
17522 PyObject
* obj0
= 0 ;
17523 PyObject
* obj1
= 0 ;
17524 char *kwnames
[] = {
17525 (char *) "self",(char *) "month", NULL
17528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17531 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17537 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17538 result
= (wxDateTime
*) &_result_ref
;
17541 wxPyEndAllowThreads(__tstate
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17544 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17551 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17552 PyObject
*resultobj
;
17553 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17555 wxDateTime
*result
;
17556 PyObject
* obj0
= 0 ;
17557 PyObject
* obj1
= 0 ;
17558 char *kwnames
[] = {
17559 (char *) "self",(char *) "day", NULL
17562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17565 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17566 if (PyErr_Occurred()) SWIG_fail
;
17569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17571 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17572 result
= (wxDateTime
*) &_result_ref
;
17575 wxPyEndAllowThreads(__tstate
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17578 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17585 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17586 PyObject
*resultobj
;
17587 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17589 wxDateTime
*result
;
17590 PyObject
* obj0
= 0 ;
17591 PyObject
* obj1
= 0 ;
17592 char *kwnames
[] = {
17593 (char *) "self",(char *) "hour", NULL
17596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17599 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17606 result
= (wxDateTime
*) &_result_ref
;
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17612 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17619 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
;
17621 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17623 wxDateTime
*result
;
17624 PyObject
* obj0
= 0 ;
17625 PyObject
* obj1
= 0 ;
17626 char *kwnames
[] = {
17627 (char *) "self",(char *) "minute", NULL
17630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17633 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17634 if (PyErr_Occurred()) SWIG_fail
;
17637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17639 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17640 result
= (wxDateTime
*) &_result_ref
;
17643 wxPyEndAllowThreads(__tstate
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17646 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17653 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17654 PyObject
*resultobj
;
17655 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17657 wxDateTime
*result
;
17658 PyObject
* obj0
= 0 ;
17659 PyObject
* obj1
= 0 ;
17660 char *kwnames
[] = {
17661 (char *) "self",(char *) "second", NULL
17664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17667 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17673 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17674 result
= (wxDateTime
*) &_result_ref
;
17677 wxPyEndAllowThreads(__tstate
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17680 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17687 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17688 PyObject
*resultobj
;
17689 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17691 wxDateTime
*result
;
17692 PyObject
* obj0
= 0 ;
17693 PyObject
* obj1
= 0 ;
17694 char *kwnames
[] = {
17695 (char *) "self",(char *) "millisecond", NULL
17698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17701 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17708 result
= (wxDateTime
*) &_result_ref
;
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17714 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17721 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17723 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17725 int arg3
= (int) wxDateTime::Monday_First
;
17726 wxDateTime
*result
;
17727 PyObject
* obj0
= 0 ;
17728 PyObject
* obj1
= 0 ;
17729 PyObject
* obj2
= 0 ;
17730 char *kwnames
[] = {
17731 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17737 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17738 if (PyErr_Occurred()) SWIG_fail
;
17742 arg3
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj2
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17749 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17750 result
= (wxDateTime
*) &_result_ref
;
17753 wxPyEndAllowThreads(__tstate
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17756 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17763 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17764 PyObject
*resultobj
;
17765 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17767 int arg3
= (int) wxDateTime::Monday_First
;
17769 PyObject
* obj0
= 0 ;
17770 PyObject
* obj1
= 0 ;
17771 PyObject
* obj2
= 0 ;
17772 char *kwnames
[] = {
17773 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17779 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17784 arg3
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj2
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17792 wxPyEndAllowThreads(__tstate
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17796 wxDateTime
* resultptr
;
17797 resultptr
= new wxDateTime((wxDateTime
&) result
);
17798 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17806 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17807 PyObject
*resultobj
;
17808 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17810 wxDateTime
*result
;
17811 PyObject
* obj0
= 0 ;
17812 PyObject
* obj1
= 0 ;
17813 char *kwnames
[] = {
17814 (char *) "self",(char *) "weekday", NULL
17817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17820 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17826 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
17827 result
= (wxDateTime
*) &_result_ref
;
17830 wxPyEndAllowThreads(__tstate
);
17831 if (PyErr_Occurred()) SWIG_fail
;
17833 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17840 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17841 PyObject
*resultobj
;
17842 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17845 PyObject
* obj0
= 0 ;
17846 PyObject
* obj1
= 0 ;
17847 char *kwnames
[] = {
17848 (char *) "self",(char *) "weekday", NULL
17851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17854 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17859 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
17861 wxPyEndAllowThreads(__tstate
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17865 wxDateTime
* resultptr
;
17866 resultptr
= new wxDateTime((wxDateTime
&) result
);
17867 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17875 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
;
17877 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17879 wxDateTime
*result
;
17880 PyObject
* obj0
= 0 ;
17881 PyObject
* obj1
= 0 ;
17882 char *kwnames
[] = {
17883 (char *) "self",(char *) "weekday", NULL
17886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17889 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17896 result
= (wxDateTime
*) &_result_ref
;
17899 wxPyEndAllowThreads(__tstate
);
17900 if (PyErr_Occurred()) SWIG_fail
;
17902 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17909 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17910 PyObject
*resultobj
;
17911 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17914 PyObject
* obj0
= 0 ;
17915 PyObject
* obj1
= 0 ;
17916 char *kwnames
[] = {
17917 (char *) "self",(char *) "weekday", NULL
17920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17923 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17934 wxDateTime
* resultptr
;
17935 resultptr
= new wxDateTime((wxDateTime
&) result
);
17936 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17944 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17945 PyObject
*resultobj
;
17946 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17948 int arg3
= (int) 1 ;
17949 int arg4
= (int) wxDateTime::Inv_Month
;
17950 int arg5
= (int) wxDateTime::Inv_Year
;
17952 PyObject
* obj0
= 0 ;
17953 PyObject
* obj1
= 0 ;
17954 PyObject
* obj2
= 0 ;
17955 PyObject
* obj3
= 0 ;
17956 PyObject
* obj4
= 0 ;
17957 char *kwnames
[] = {
17958 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
17961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17964 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17969 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17975 arg4
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj3
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17981 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
17989 wxPyEndAllowThreads(__tstate
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17999 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18000 PyObject
*resultobj
;
18001 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18003 int arg3
= (int) wxDateTime::Inv_Month
;
18004 int arg4
= (int) wxDateTime::Inv_Year
;
18006 PyObject
* obj0
= 0 ;
18007 PyObject
* obj1
= 0 ;
18008 PyObject
* obj2
= 0 ;
18009 PyObject
* obj3
= 0 ;
18010 char *kwnames
[] = {
18011 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18017 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18022 arg3
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj2
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18028 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18034 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18036 wxPyEndAllowThreads(__tstate
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18046 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18047 PyObject
*resultobj
;
18048 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18050 int arg3
= (int) wxDateTime::Inv_Month
;
18051 int arg4
= (int) wxDateTime::Inv_Year
;
18053 PyObject
* obj0
= 0 ;
18054 PyObject
* obj1
= 0 ;
18055 PyObject
* obj2
= 0 ;
18056 PyObject
* obj3
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18064 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
18065 if (PyErr_Occurred()) SWIG_fail
;
18069 arg3
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj2
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18075 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18081 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18083 wxPyEndAllowThreads(__tstate
);
18084 if (PyErr_Occurred()) SWIG_fail
;
18087 wxDateTime
* resultptr
;
18088 resultptr
= new wxDateTime((wxDateTime
&) result
);
18089 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18097 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18098 PyObject
*resultobj
;
18099 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18101 int arg3
= (int) wxDateTime::Mon
;
18102 int arg4
= (int) wxDateTime::Monday_First
;
18104 PyObject
* obj0
= 0 ;
18105 PyObject
* obj1
= 0 ;
18106 PyObject
* obj2
= 0 ;
18107 PyObject
* obj3
= 0 ;
18108 char *kwnames
[] = {
18109 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18115 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18116 if (PyErr_Occurred()) SWIG_fail
;
18120 arg3
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj2
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18126 arg4
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj3
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18134 wxPyEndAllowThreads(__tstate
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18144 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18145 PyObject
*resultobj
;
18146 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18148 int arg3
= (int) wxDateTime::Mon
;
18149 int arg4
= (int) wxDateTime::Monday_First
;
18151 PyObject
* obj0
= 0 ;
18152 PyObject
* obj1
= 0 ;
18153 PyObject
* obj2
= 0 ;
18154 PyObject
* obj3
= 0 ;
18155 char *kwnames
[] = {
18156 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18162 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18167 arg3
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj2
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18173 arg4
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj3
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18185 wxDateTime
* resultptr
;
18186 resultptr
= new wxDateTime((wxDateTime
&) result
);
18187 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18195 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18196 PyObject
*resultobj
;
18197 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18198 int arg2
= (int) wxDateTime::Inv_Month
;
18199 int arg3
= (int) wxDateTime::Inv_Year
;
18200 wxDateTime
*result
;
18201 PyObject
* obj0
= 0 ;
18202 PyObject
* obj1
= 0 ;
18203 PyObject
* obj2
= 0 ;
18204 char *kwnames
[] = {
18205 (char *) "self",(char *) "month",(char *) "year", NULL
18208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18212 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
18213 if (PyErr_Occurred()) SWIG_fail
;
18218 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
18219 if (PyErr_Occurred()) SWIG_fail
;
18223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18225 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18226 result
= (wxDateTime
*) &_result_ref
;
18229 wxPyEndAllowThreads(__tstate
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18239 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18240 PyObject
*resultobj
;
18241 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18242 int arg2
= (int) wxDateTime::Inv_Month
;
18243 int arg3
= (int) wxDateTime::Inv_Year
;
18245 PyObject
* obj0
= 0 ;
18246 PyObject
* obj1
= 0 ;
18247 PyObject
* obj2
= 0 ;
18248 char *kwnames
[] = {
18249 (char *) "self",(char *) "month",(char *) "year", NULL
18252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18256 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18262 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18270 wxPyEndAllowThreads(__tstate
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18274 wxDateTime
* resultptr
;
18275 resultptr
= new wxDateTime((wxDateTime
&) result
);
18276 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18284 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18285 PyObject
*resultobj
;
18286 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18288 wxDateTime
*result
;
18289 PyObject
* obj0
= 0 ;
18290 PyObject
* obj1
= 0 ;
18291 char *kwnames
[] = {
18292 (char *) "self",(char *) "yday", NULL
18295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18298 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18304 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18305 result
= (wxDateTime
*) &_result_ref
;
18308 wxPyEndAllowThreads(__tstate
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18311 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18318 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18319 PyObject
*resultobj
;
18320 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18323 PyObject
* obj0
= 0 ;
18324 PyObject
* obj1
= 0 ;
18325 char *kwnames
[] = {
18326 (char *) "self",(char *) "yday", NULL
18329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18332 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 result
= (arg1
)->GetYearDay(arg2
);
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18343 wxDateTime
* resultptr
;
18344 resultptr
= new wxDateTime((wxDateTime
&) result
);
18345 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18353 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
;
18355 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18357 PyObject
* obj0
= 0 ;
18358 char *kwnames
[] = {
18359 (char *) "self", NULL
18362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 result
= (double)(arg1
)->GetJulianDayNumber();
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18371 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18378 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18380 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18382 PyObject
* obj0
= 0 ;
18383 char *kwnames
[] = {
18384 (char *) "self", NULL
18387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 result
= (double)(arg1
)->GetJDN();
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18396 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18403 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
;
18405 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18407 PyObject
* obj0
= 0 ;
18408 char *kwnames
[] = {
18409 (char *) "self", NULL
18412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18428 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
;
18430 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18432 PyObject
* obj0
= 0 ;
18433 char *kwnames
[] = {
18434 (char *) "self", NULL
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 result
= (double)(arg1
)->GetMJD();
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18453 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18455 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18457 PyObject
* obj0
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "self", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 result
= (double)(arg1
)->GetRataDie();
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18471 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18478 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18479 PyObject
*resultobj
;
18480 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18481 wxDateTime::TimeZone
*arg2
= 0 ;
18482 bool arg3
= (bool) False
;
18484 bool temp2
= False
;
18485 PyObject
* obj0
= 0 ;
18486 PyObject
* obj1
= 0 ;
18487 PyObject
* obj2
= 0 ;
18488 char *kwnames
[] = {
18489 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18495 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18500 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18512 wxDateTime
* resultptr
;
18513 resultptr
= new wxDateTime((wxDateTime
&) result
);
18514 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18517 if (temp2
) delete arg2
;
18522 if (temp2
) delete arg2
;
18528 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18529 PyObject
*resultobj
;
18530 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18531 wxDateTime::TimeZone
*arg2
= 0 ;
18532 bool arg3
= (bool) False
;
18533 wxDateTime
*result
;
18534 bool temp2
= False
;
18535 PyObject
* obj0
= 0 ;
18536 PyObject
* obj1
= 0 ;
18537 PyObject
* obj2
= 0 ;
18538 char *kwnames
[] = {
18539 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18545 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18550 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
18551 if (PyErr_Occurred()) SWIG_fail
;
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18557 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18558 result
= (wxDateTime
*) &_result_ref
;
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18566 if (temp2
) delete arg2
;
18571 if (temp2
) delete arg2
;
18577 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18578 PyObject
*resultobj
;
18579 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18580 bool arg2
= (bool) False
;
18582 PyObject
* obj0
= 0 ;
18583 PyObject
* obj1
= 0 ;
18584 char *kwnames
[] = {
18585 (char *) "self",(char *) "noDST", NULL
18588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18592 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18598 result
= (arg1
)->ToGMT(arg2
);
18600 wxPyEndAllowThreads(__tstate
);
18601 if (PyErr_Occurred()) SWIG_fail
;
18604 wxDateTime
* resultptr
;
18605 resultptr
= new wxDateTime((wxDateTime
&) result
);
18606 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18614 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18615 PyObject
*resultobj
;
18616 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18617 bool arg2
= (bool) False
;
18618 wxDateTime
*result
;
18619 PyObject
* obj0
= 0 ;
18620 PyObject
* obj1
= 0 ;
18621 char *kwnames
[] = {
18622 (char *) "self",(char *) "noDST", NULL
18625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18629 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18637 result
= (wxDateTime
*) &_result_ref
;
18640 wxPyEndAllowThreads(__tstate
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18643 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18650 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18651 PyObject
*resultobj
;
18652 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18653 int arg2
= (int) wxDateTime::Country_Default
;
18655 PyObject
* obj0
= 0 ;
18656 PyObject
* obj1
= 0 ;
18657 char *kwnames
[] = {
18658 (char *) "self",(char *) "country", NULL
18661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18665 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18671 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18673 wxPyEndAllowThreads(__tstate
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18676 resultobj
= SWIG_PyObj_FromInt((int)result
);
18683 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18684 PyObject
*resultobj
;
18685 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18687 PyObject
* obj0
= 0 ;
18688 char *kwnames
[] = {
18689 (char *) "self", NULL
18692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18698 wxPyEndAllowThreads(__tstate
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18708 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18709 PyObject
*resultobj
;
18710 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18712 PyObject
* obj0
= 0 ;
18713 char *kwnames
[] = {
18714 (char *) "self", NULL
18717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
18733 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
;
18735 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18736 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18737 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18739 bool temp2
= False
;
18740 PyObject
* obj0
= 0 ;
18741 PyObject
* obj1
= 0 ;
18742 char *kwnames
[] = {
18743 (char *) "self",(char *) "tz", NULL
18746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18750 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18756 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18758 wxPyEndAllowThreads(__tstate
);
18759 if (PyErr_Occurred()) SWIG_fail
;
18761 resultobj
= SWIG_PyObj_FromInt((int)result
);
18763 if (temp2
) delete arg2
;
18768 if (temp2
) delete arg2
;
18774 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18777 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18778 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18780 bool temp2
= False
;
18781 PyObject
* obj0
= 0 ;
18782 PyObject
* obj1
= 0 ;
18783 char *kwnames
[] = {
18784 (char *) "self",(char *) "tz", NULL
18787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18791 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18797 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
18799 wxPyEndAllowThreads(__tstate
);
18800 if (PyErr_Occurred()) SWIG_fail
;
18802 resultobj
= SWIG_PyObj_FromInt((int)result
);
18804 if (temp2
) delete arg2
;
18809 if (temp2
) delete arg2
;
18815 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
;
18817 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18818 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18819 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18821 bool temp2
= False
;
18822 PyObject
* obj0
= 0 ;
18823 PyObject
* obj1
= 0 ;
18824 char *kwnames
[] = {
18825 (char *) "self",(char *) "tz", NULL
18828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18832 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18838 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
18840 wxPyEndAllowThreads(__tstate
);
18841 if (PyErr_Occurred()) SWIG_fail
;
18843 resultobj
= SWIG_PyObj_FromInt((int)result
);
18845 if (temp2
) delete arg2
;
18850 if (temp2
) delete arg2
;
18856 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18857 PyObject
*resultobj
;
18858 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18859 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18860 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18862 bool temp2
= False
;
18863 PyObject
* obj0
= 0 ;
18864 PyObject
* obj1
= 0 ;
18865 char *kwnames
[] = {
18866 (char *) "self",(char *) "tz", NULL
18869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18873 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18879 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18884 resultobj
= SWIG_PyObj_FromInt((int)result
);
18886 if (temp2
) delete arg2
;
18891 if (temp2
) delete arg2
;
18897 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18898 PyObject
*resultobj
;
18899 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18900 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18901 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18903 bool temp2
= False
;
18904 PyObject
* obj0
= 0 ;
18905 PyObject
* obj1
= 0 ;
18906 char *kwnames
[] = {
18907 (char *) "self",(char *) "tz", NULL
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18914 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
18922 wxPyEndAllowThreads(__tstate
);
18923 if (PyErr_Occurred()) SWIG_fail
;
18925 resultobj
= SWIG_PyObj_FromInt((int)result
);
18927 if (temp2
) delete arg2
;
18932 if (temp2
) delete arg2
;
18938 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18939 PyObject
*resultobj
;
18940 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18941 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18942 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18944 bool temp2
= False
;
18945 PyObject
* obj0
= 0 ;
18946 PyObject
* obj1
= 0 ;
18947 char *kwnames
[] = {
18948 (char *) "self",(char *) "tz", NULL
18951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18955 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18966 resultobj
= SWIG_PyObj_FromInt((int)result
);
18968 if (temp2
) delete arg2
;
18973 if (temp2
) delete arg2
;
18979 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18980 PyObject
*resultobj
;
18981 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18982 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18983 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18985 bool temp2
= False
;
18986 PyObject
* obj0
= 0 ;
18987 PyObject
* obj1
= 0 ;
18988 char *kwnames
[] = {
18989 (char *) "self",(char *) "tz", NULL
18992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18996 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19002 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19004 wxPyEndAllowThreads(__tstate
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19007 resultobj
= SWIG_PyObj_FromInt((int)result
);
19009 if (temp2
) delete arg2
;
19014 if (temp2
) delete arg2
;
19020 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19021 PyObject
*resultobj
;
19022 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19023 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19024 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19026 bool temp2
= False
;
19027 PyObject
* obj0
= 0 ;
19028 PyObject
* obj1
= 0 ;
19029 char *kwnames
[] = {
19030 (char *) "self",(char *) "tz", NULL
19033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19037 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19043 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19045 wxPyEndAllowThreads(__tstate
);
19046 if (PyErr_Occurred()) SWIG_fail
;
19048 resultobj
= SWIG_PyObj_FromInt((int)result
);
19050 if (temp2
) delete arg2
;
19055 if (temp2
) delete arg2
;
19061 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19062 PyObject
*resultobj
;
19063 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19064 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19065 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19067 bool temp2
= False
;
19068 PyObject
* obj0
= 0 ;
19069 PyObject
* obj1
= 0 ;
19070 char *kwnames
[] = {
19071 (char *) "self",(char *) "tz", NULL
19074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19078 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19089 resultobj
= SWIG_PyObj_FromInt((int)result
);
19091 if (temp2
) delete arg2
;
19096 if (temp2
) delete arg2
;
19102 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19103 PyObject
*resultobj
;
19104 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19105 int arg2
= (int) wxDateTime::Monday_First
;
19106 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19107 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19109 bool temp3
= False
;
19110 PyObject
* obj0
= 0 ;
19111 PyObject
* obj1
= 0 ;
19112 PyObject
* obj2
= 0 ;
19113 char *kwnames
[] = {
19114 (char *) "self",(char *) "flags",(char *) "tz", NULL
19117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19121 arg2
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj1
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19127 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19133 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19135 wxPyEndAllowThreads(__tstate
);
19136 if (PyErr_Occurred()) SWIG_fail
;
19138 resultobj
= SWIG_PyObj_FromInt((int)result
);
19140 if (temp3
) delete arg3
;
19145 if (temp3
) delete arg3
;
19151 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19152 PyObject
*resultobj
;
19153 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19154 int arg2
= (int) wxDateTime::Monday_First
;
19155 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19156 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19158 bool temp3
= False
;
19159 PyObject
* obj0
= 0 ;
19160 PyObject
* obj1
= 0 ;
19161 PyObject
* obj2
= 0 ;
19162 char *kwnames
[] = {
19163 (char *) "self",(char *) "flags",(char *) "tz", NULL
19166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19170 arg2
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj1
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19176 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19182 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19184 wxPyEndAllowThreads(__tstate
);
19185 if (PyErr_Occurred()) SWIG_fail
;
19187 resultobj
= SWIG_PyObj_FromInt((int)result
);
19189 if (temp3
) delete arg3
;
19194 if (temp3
) delete arg3
;
19200 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19201 PyObject
*resultobj
;
19202 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19203 int arg2
= (int) wxDateTime::Country_Default
;
19205 PyObject
* obj0
= 0 ;
19206 PyObject
* obj1
= 0 ;
19207 char *kwnames
[] = {
19208 (char *) "self",(char *) "country", NULL
19211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19215 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
19216 if (PyErr_Occurred()) SWIG_fail
;
19220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19221 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19223 wxPyEndAllowThreads(__tstate
);
19224 if (PyErr_Occurred()) SWIG_fail
;
19226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19233 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19234 PyObject
*resultobj
;
19235 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19236 wxDateTime
*arg2
= 0 ;
19238 PyObject
* obj0
= 0 ;
19239 PyObject
* obj1
= 0 ;
19240 char *kwnames
[] = {
19241 (char *) "self",(char *) "datetime", NULL
19244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19246 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19247 if (arg2
== NULL
) {
19248 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19264 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
;
19266 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19267 wxDateTime
*arg2
= 0 ;
19269 PyObject
* obj0
= 0 ;
19270 PyObject
* obj1
= 0 ;
19271 char *kwnames
[] = {
19272 (char *) "self",(char *) "datetime", NULL
19275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19277 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19278 if (arg2
== NULL
) {
19279 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19283 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19285 wxPyEndAllowThreads(__tstate
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19295 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19296 PyObject
*resultobj
;
19297 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19298 wxDateTime
*arg2
= 0 ;
19300 PyObject
* obj0
= 0 ;
19301 PyObject
* obj1
= 0 ;
19302 char *kwnames
[] = {
19303 (char *) "self",(char *) "datetime", NULL
19306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19308 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19309 if (arg2
== NULL
) {
19310 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19326 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19327 PyObject
*resultobj
;
19328 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19329 wxDateTime
*arg2
= 0 ;
19330 wxDateTime
*arg3
= 0 ;
19332 PyObject
* obj0
= 0 ;
19333 PyObject
* obj1
= 0 ;
19334 PyObject
* obj2
= 0 ;
19335 char *kwnames
[] = {
19336 (char *) "self",(char *) "t1",(char *) "t2", NULL
19339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19341 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19342 if (arg2
== NULL
) {
19343 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19345 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19346 if (arg3
== NULL
) {
19347 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19351 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19353 wxPyEndAllowThreads(__tstate
);
19354 if (PyErr_Occurred()) SWIG_fail
;
19356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19363 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19364 PyObject
*resultobj
;
19365 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19366 wxDateTime
*arg2
= 0 ;
19367 wxDateTime
*arg3
= 0 ;
19369 PyObject
* obj0
= 0 ;
19370 PyObject
* obj1
= 0 ;
19371 PyObject
* obj2
= 0 ;
19372 char *kwnames
[] = {
19373 (char *) "self",(char *) "t1",(char *) "t2", NULL
19376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19378 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19379 if (arg2
== NULL
) {
19380 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19382 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19383 if (arg3
== NULL
) {
19384 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19388 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19400 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19401 PyObject
*resultobj
;
19402 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19403 wxDateTime
*arg2
= 0 ;
19405 PyObject
* obj0
= 0 ;
19406 PyObject
* obj1
= 0 ;
19407 char *kwnames
[] = {
19408 (char *) "self",(char *) "dt", NULL
19411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19413 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19414 if (arg2
== NULL
) {
19415 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19419 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19421 wxPyEndAllowThreads(__tstate
);
19422 if (PyErr_Occurred()) SWIG_fail
;
19424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19431 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19432 PyObject
*resultobj
;
19433 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19434 wxDateTime
*arg2
= 0 ;
19436 PyObject
* obj0
= 0 ;
19437 PyObject
* obj1
= 0 ;
19438 char *kwnames
[] = {
19439 (char *) "self",(char *) "dt", NULL
19442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19444 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19445 if (arg2
== NULL
) {
19446 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19452 wxPyEndAllowThreads(__tstate
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19462 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19463 PyObject
*resultobj
;
19464 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19465 wxDateTime
*arg2
= 0 ;
19466 wxTimeSpan
*arg3
= 0 ;
19468 PyObject
* obj0
= 0 ;
19469 PyObject
* obj1
= 0 ;
19470 PyObject
* obj2
= 0 ;
19471 char *kwnames
[] = {
19472 (char *) "self",(char *) "dt",(char *) "ts", NULL
19475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19477 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19478 if (arg2
== NULL
) {
19479 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19481 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19482 if (arg3
== NULL
) {
19483 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19499 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19500 PyObject
*resultobj
;
19501 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19502 wxTimeSpan
*arg2
= 0 ;
19503 wxDateTime
*result
;
19504 PyObject
* obj0
= 0 ;
19505 PyObject
* obj1
= 0 ;
19506 char *kwnames
[] = {
19507 (char *) "self",(char *) "diff", NULL
19510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19512 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19513 if (arg2
== NULL
) {
19514 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19519 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19520 result
= (wxDateTime
*) &_result_ref
;
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19526 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19533 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19536 wxDateSpan
*arg2
= 0 ;
19537 wxDateTime
*result
;
19538 PyObject
* obj0
= 0 ;
19539 PyObject
* obj1
= 0 ;
19540 char *kwnames
[] = {
19541 (char *) "self",(char *) "diff", NULL
19544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19546 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19547 if (arg2
== NULL
) {
19548 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19554 result
= (wxDateTime
*) &_result_ref
;
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19560 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19567 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
;
19569 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19570 wxTimeSpan
*arg2
= 0 ;
19571 wxDateTime
*result
;
19572 PyObject
* obj0
= 0 ;
19573 PyObject
* obj1
= 0 ;
19574 char *kwnames
[] = {
19575 (char *) "self",(char *) "diff", NULL
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19580 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19581 if (arg2
== NULL
) {
19582 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19588 result
= (wxDateTime
*) &_result_ref
;
19591 wxPyEndAllowThreads(__tstate
);
19592 if (PyErr_Occurred()) SWIG_fail
;
19594 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19601 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19602 PyObject
*resultobj
;
19603 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19604 wxDateSpan
*arg2
= 0 ;
19605 wxDateTime
*result
;
19606 PyObject
* obj0
= 0 ;
19607 PyObject
* obj1
= 0 ;
19608 char *kwnames
[] = {
19609 (char *) "self",(char *) "diff", NULL
19612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19614 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19615 if (arg2
== NULL
) {
19616 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19622 result
= (wxDateTime
*) &_result_ref
;
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19628 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19635 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19636 PyObject
*resultobj
;
19637 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19638 wxDateTime
*arg2
= 0 ;
19640 PyObject
* obj0
= 0 ;
19641 PyObject
* obj1
= 0 ;
19642 char *kwnames
[] = {
19643 (char *) "self",(char *) "dt", NULL
19646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19648 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19649 if (arg2
== NULL
) {
19650 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19654 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19656 wxPyEndAllowThreads(__tstate
);
19657 if (PyErr_Occurred()) SWIG_fail
;
19660 wxTimeSpan
* resultptr
;
19661 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19662 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19670 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19671 PyObject
*resultobj
;
19672 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19673 wxTimeSpan
*arg2
= 0 ;
19674 wxDateTime
*result
;
19675 PyObject
* obj0
= 0 ;
19676 PyObject
* obj1
= 0 ;
19678 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19680 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19681 if (arg2
== NULL
) {
19682 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19687 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19688 result
= (wxDateTime
*) &_result_ref
;
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19701 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
19702 PyObject
*resultobj
;
19703 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19704 wxDateSpan
*arg2
= 0 ;
19705 wxDateTime
*result
;
19706 PyObject
* obj0
= 0 ;
19707 PyObject
* obj1
= 0 ;
19709 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19711 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19712 if (arg2
== NULL
) {
19713 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
19719 result
= (wxDateTime
*) &_result_ref
;
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19725 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19732 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
19737 argc
= PyObject_Length(args
);
19738 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19739 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19745 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19755 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19763 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
19771 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19781 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19789 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
19794 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
19799 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
19800 PyObject
*resultobj
;
19801 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19802 wxTimeSpan
*arg2
= 0 ;
19803 wxDateTime
*result
;
19804 PyObject
* obj0
= 0 ;
19805 PyObject
* obj1
= 0 ;
19807 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19809 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19810 if (arg2
== NULL
) {
19811 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
19817 result
= (wxDateTime
*) &_result_ref
;
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19830 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
19831 PyObject
*resultobj
;
19832 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19833 wxDateSpan
*arg2
= 0 ;
19834 wxDateTime
*result
;
19835 PyObject
* obj0
= 0 ;
19836 PyObject
* obj1
= 0 ;
19838 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19840 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19841 if (arg2
== NULL
) {
19842 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19847 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
19848 result
= (wxDateTime
*) &_result_ref
;
19851 wxPyEndAllowThreads(__tstate
);
19852 if (PyErr_Occurred()) SWIG_fail
;
19854 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19861 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
19866 argc
= PyObject_Length(args
);
19867 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19868 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19874 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19884 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19892 return _wrap_DateTime___isub____SWIG_0(self
,args
);
19900 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19910 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19918 return _wrap_DateTime___isub____SWIG_1(self
,args
);
19923 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
19928 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
19929 PyObject
*resultobj
;
19930 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19931 wxTimeSpan
*arg2
= 0 ;
19933 PyObject
* obj0
= 0 ;
19934 PyObject
* obj1
= 0 ;
19936 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
19937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19938 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19939 if (arg2
== NULL
) {
19940 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19950 wxDateTime
* resultptr
;
19951 resultptr
= new wxDateTime((wxDateTime
&) result
);
19952 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
19960 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
19961 PyObject
*resultobj
;
19962 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19963 wxDateSpan
*arg2
= 0 ;
19965 PyObject
* obj0
= 0 ;
19966 PyObject
* obj1
= 0 ;
19968 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
19969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19970 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19971 if (arg2
== NULL
) {
19972 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19982 wxDateTime
* resultptr
;
19983 resultptr
= new wxDateTime((wxDateTime
&) result
);
19984 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
19992 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
19997 argc
= PyObject_Length(args
);
19998 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19999 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20005 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20015 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20023 return _wrap_DateTime___add____SWIG_0(self
,args
);
20031 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20041 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20049 return _wrap_DateTime___add____SWIG_1(self
,args
);
20054 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20059 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20060 PyObject
*resultobj
;
20061 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20062 wxDateTime
*arg2
= 0 ;
20064 PyObject
* obj0
= 0 ;
20065 PyObject
* obj1
= 0 ;
20067 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20069 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20070 if (arg2
== NULL
) {
20071 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20075 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20077 wxPyEndAllowThreads(__tstate
);
20078 if (PyErr_Occurred()) SWIG_fail
;
20081 wxTimeSpan
* resultptr
;
20082 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20083 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20091 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20092 PyObject
*resultobj
;
20093 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20094 wxTimeSpan
*arg2
= 0 ;
20096 PyObject
* obj0
= 0 ;
20097 PyObject
* obj1
= 0 ;
20099 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20101 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20102 if (arg2
== NULL
) {
20103 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20107 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20113 wxDateTime
* resultptr
;
20114 resultptr
= new wxDateTime((wxDateTime
&) result
);
20115 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
20123 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20124 PyObject
*resultobj
;
20125 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20126 wxDateSpan
*arg2
= 0 ;
20128 PyObject
* obj0
= 0 ;
20129 PyObject
* obj1
= 0 ;
20131 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20133 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20134 if (arg2
== NULL
) {
20135 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20145 wxDateTime
* resultptr
;
20146 resultptr
= new wxDateTime((wxDateTime
&) result
);
20147 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
20155 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20160 argc
= PyObject_Length(args
);
20161 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20162 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20168 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20178 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20186 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20194 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20204 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20212 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20220 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20230 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20238 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20243 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20248 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20249 PyObject
*resultobj
;
20250 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20251 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20253 PyObject
* obj0
= 0 ;
20254 PyObject
* obj1
= 0 ;
20256 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20258 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20261 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20263 wxPyEndAllowThreads(__tstate
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20273 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20274 PyObject
*resultobj
;
20275 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20276 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20278 PyObject
* obj0
= 0 ;
20279 PyObject
* obj1
= 0 ;
20281 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20283 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20286 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20288 wxPyEndAllowThreads(__tstate
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20298 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20299 PyObject
*resultobj
;
20300 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20301 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20303 PyObject
* obj0
= 0 ;
20304 PyObject
* obj1
= 0 ;
20306 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20308 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20311 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20313 wxPyEndAllowThreads(__tstate
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20323 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20324 PyObject
*resultobj
;
20325 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20326 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20328 PyObject
* obj0
= 0 ;
20329 PyObject
* obj1
= 0 ;
20331 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20333 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20336 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20338 wxPyEndAllowThreads(__tstate
);
20339 if (PyErr_Occurred()) SWIG_fail
;
20341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20348 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20349 PyObject
*resultobj
;
20350 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20351 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20353 PyObject
* obj0
= 0 ;
20354 PyObject
* obj1
= 0 ;
20356 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20358 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20373 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20374 PyObject
*resultobj
;
20375 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20376 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20378 PyObject
* obj0
= 0 ;
20379 PyObject
* obj1
= 0 ;
20381 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20383 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20388 wxPyEndAllowThreads(__tstate
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20398 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20399 PyObject
*resultobj
;
20400 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20401 wxString
*arg2
= 0 ;
20403 bool temp2
= False
;
20404 PyObject
* obj0
= 0 ;
20405 PyObject
* obj1
= 0 ;
20406 char *kwnames
[] = {
20407 (char *) "self",(char *) "date", NULL
20410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20413 arg2
= wxString_in_helper(obj1
);
20414 if (arg2
== NULL
) SWIG_fail
;
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20419 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20424 resultobj
= SWIG_PyObj_FromInt((int)result
);
20439 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20440 PyObject
*resultobj
;
20441 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20442 wxString
*arg2
= 0 ;
20443 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20444 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20445 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20446 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20448 bool temp2
= False
;
20449 bool temp3
= False
;
20450 PyObject
* obj0
= 0 ;
20451 PyObject
* obj1
= 0 ;
20452 PyObject
* obj2
= 0 ;
20453 PyObject
* obj3
= 0 ;
20454 char *kwnames
[] = {
20455 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20461 arg2
= wxString_in_helper(obj1
);
20462 if (arg2
== NULL
) SWIG_fail
;
20467 arg3
= wxString_in_helper(obj2
);
20468 if (arg3
== NULL
) SWIG_fail
;
20473 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20474 if (arg4
== NULL
) {
20475 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20485 resultobj
= SWIG_PyObj_FromInt((int)result
);
20508 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20509 PyObject
*resultobj
;
20510 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20511 wxString
*arg2
= 0 ;
20513 bool temp2
= False
;
20514 PyObject
* obj0
= 0 ;
20515 PyObject
* obj1
= 0 ;
20516 char *kwnames
[] = {
20517 (char *) "self",(char *) "datetime", NULL
20520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20523 arg2
= wxString_in_helper(obj1
);
20524 if (arg2
== NULL
) SWIG_fail
;
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20529 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20531 wxPyEndAllowThreads(__tstate
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20534 resultobj
= SWIG_PyObj_FromInt((int)result
);
20549 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20550 PyObject
*resultobj
;
20551 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20552 wxString
*arg2
= 0 ;
20554 bool temp2
= False
;
20555 PyObject
* obj0
= 0 ;
20556 PyObject
* obj1
= 0 ;
20557 char *kwnames
[] = {
20558 (char *) "self",(char *) "date", NULL
20561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20564 arg2
= wxString_in_helper(obj1
);
20565 if (arg2
== NULL
) SWIG_fail
;
20569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20570 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20575 resultobj
= SWIG_PyObj_FromInt((int)result
);
20590 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
;
20592 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20593 wxString
*arg2
= 0 ;
20595 bool temp2
= False
;
20596 PyObject
* obj0
= 0 ;
20597 PyObject
* obj1
= 0 ;
20598 char *kwnames
[] = {
20599 (char *) "self",(char *) "time", NULL
20602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20605 arg2
= wxString_in_helper(obj1
);
20606 if (arg2
== NULL
) SWIG_fail
;
20610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20611 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20613 wxPyEndAllowThreads(__tstate
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20616 resultobj
= SWIG_PyObj_FromInt((int)result
);
20631 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20632 PyObject
*resultobj
;
20633 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20634 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20635 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20636 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20637 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20639 bool temp2
= False
;
20640 bool temp3
= False
;
20641 PyObject
* obj0
= 0 ;
20642 PyObject
* obj1
= 0 ;
20643 PyObject
* obj2
= 0 ;
20644 char *kwnames
[] = {
20645 (char *) "self",(char *) "format",(char *) "tz", NULL
20648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20652 arg2
= wxString_in_helper(obj1
);
20653 if (arg2
== NULL
) SWIG_fail
;
20659 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20665 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20682 if (temp3
) delete arg3
;
20691 if (temp3
) delete arg3
;
20697 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20698 PyObject
*resultobj
;
20699 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20701 PyObject
* obj0
= 0 ;
20702 char *kwnames
[] = {
20703 (char *) "self", NULL
20706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
20707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 result
= ((wxDateTime
const *)arg1
)->FormatDate();
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20728 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
;
20730 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20732 PyObject
* obj0
= 0 ;
20733 char *kwnames
[] = {
20734 (char *) "self", NULL
20737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
20738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20741 result
= ((wxDateTime
const *)arg1
)->FormatTime();
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20759 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20760 PyObject
*resultobj
;
20761 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20763 PyObject
* obj0
= 0 ;
20764 char *kwnames
[] = {
20765 (char *) "self", NULL
20768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
20769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20779 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20781 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20790 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20791 PyObject
*resultobj
;
20792 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20794 PyObject
* obj0
= 0 ;
20795 char *kwnames
[] = {
20796 (char *) "self", NULL
20799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
20800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20810 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20812 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20821 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
20823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20824 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
20826 return Py_BuildValue((char *)"");
20828 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
;
20832 PyObject
* obj0
= 0 ;
20833 char *kwnames
[] = {
20834 (char *) "sec", NULL
20837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
20839 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
20840 if (PyErr_Occurred()) SWIG_fail
;
20843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20844 result
= wxTimeSpan::Seconds(arg1
);
20846 wxPyEndAllowThreads(__tstate
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20850 wxTimeSpan
* resultptr
;
20851 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20852 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20860 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20861 PyObject
*resultobj
;
20863 char *kwnames
[] = {
20867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
20869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20870 result
= wxTimeSpan::Second();
20872 wxPyEndAllowThreads(__tstate
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20876 wxTimeSpan
* resultptr
;
20877 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20878 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20886 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20887 PyObject
*resultobj
;
20890 PyObject
* obj0
= 0 ;
20891 char *kwnames
[] = {
20892 (char *) "min", NULL
20895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
20897 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20902 result
= wxTimeSpan::Minutes(arg1
);
20904 wxPyEndAllowThreads(__tstate
);
20905 if (PyErr_Occurred()) SWIG_fail
;
20908 wxTimeSpan
* resultptr
;
20909 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20910 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20918 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20919 PyObject
*resultobj
;
20921 char *kwnames
[] = {
20925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 result
= wxTimeSpan::Minute();
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20934 wxTimeSpan
* resultptr
;
20935 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20936 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20944 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20945 PyObject
*resultobj
;
20948 PyObject
* obj0
= 0 ;
20949 char *kwnames
[] = {
20950 (char *) "hours", NULL
20953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
20955 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 result
= wxTimeSpan::Hours(arg1
);
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20966 wxTimeSpan
* resultptr
;
20967 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20968 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20976 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20977 PyObject
*resultobj
;
20979 char *kwnames
[] = {
20983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 result
= wxTimeSpan::Hour();
20988 wxPyEndAllowThreads(__tstate
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20992 wxTimeSpan
* resultptr
;
20993 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20994 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21002 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21003 PyObject
*resultobj
;
21006 PyObject
* obj0
= 0 ;
21007 char *kwnames
[] = {
21008 (char *) "days", NULL
21011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21013 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21018 result
= wxTimeSpan::Days(arg1
);
21020 wxPyEndAllowThreads(__tstate
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21024 wxTimeSpan
* resultptr
;
21025 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21026 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21034 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21035 PyObject
*resultobj
;
21037 char *kwnames
[] = {
21041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21044 result
= wxTimeSpan::Day();
21046 wxPyEndAllowThreads(__tstate
);
21047 if (PyErr_Occurred()) SWIG_fail
;
21050 wxTimeSpan
* resultptr
;
21051 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21052 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21060 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21061 PyObject
*resultobj
;
21064 PyObject
* obj0
= 0 ;
21065 char *kwnames
[] = {
21066 (char *) "days", NULL
21069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21071 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21076 result
= wxTimeSpan::Weeks(arg1
);
21078 wxPyEndAllowThreads(__tstate
);
21079 if (PyErr_Occurred()) SWIG_fail
;
21082 wxTimeSpan
* resultptr
;
21083 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21084 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21092 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21093 PyObject
*resultobj
;
21095 char *kwnames
[] = {
21099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21102 result
= wxTimeSpan::Week();
21104 wxPyEndAllowThreads(__tstate
);
21105 if (PyErr_Occurred()) SWIG_fail
;
21108 wxTimeSpan
* resultptr
;
21109 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21110 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21118 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21119 PyObject
*resultobj
;
21120 long arg1
= (long) 0 ;
21121 long arg2
= (long) 0 ;
21122 long arg3
= (long) 0 ;
21123 long arg4
= (long) 0 ;
21124 wxTimeSpan
*result
;
21125 PyObject
* obj0
= 0 ;
21126 PyObject
* obj1
= 0 ;
21127 PyObject
* obj2
= 0 ;
21128 PyObject
* obj3
= 0 ;
21129 char *kwnames
[] = {
21130 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21136 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21142 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21148 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21149 if (PyErr_Occurred()) SWIG_fail
;
21154 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21160 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21162 wxPyEndAllowThreads(__tstate
);
21163 if (PyErr_Occurred()) SWIG_fail
;
21165 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 1);
21172 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21173 PyObject
*resultobj
;
21174 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21175 PyObject
* obj0
= 0 ;
21176 char *kwnames
[] = {
21177 (char *) "self", NULL
21180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21186 wxPyEndAllowThreads(__tstate
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21189 Py_INCREF(Py_None
); resultobj
= Py_None
;
21196 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21197 PyObject
*resultobj
;
21198 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21199 wxTimeSpan
*arg2
= 0 ;
21200 wxTimeSpan
*result
;
21201 PyObject
* obj0
= 0 ;
21202 PyObject
* obj1
= 0 ;
21203 char *kwnames
[] = {
21204 (char *) "self",(char *) "diff", NULL
21207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21209 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21210 if (arg2
== NULL
) {
21211 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21216 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21217 result
= (wxTimeSpan
*) &_result_ref
;
21220 wxPyEndAllowThreads(__tstate
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21223 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21230 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21231 PyObject
*resultobj
;
21232 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21233 wxTimeSpan
*arg2
= 0 ;
21234 wxTimeSpan
*result
;
21235 PyObject
* obj0
= 0 ;
21236 PyObject
* obj1
= 0 ;
21237 char *kwnames
[] = {
21238 (char *) "self",(char *) "diff", NULL
21241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21243 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21244 if (arg2
== NULL
) {
21245 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21250 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21251 result
= (wxTimeSpan
*) &_result_ref
;
21254 wxPyEndAllowThreads(__tstate
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21257 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21264 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21265 PyObject
*resultobj
;
21266 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21268 wxTimeSpan
*result
;
21269 PyObject
* obj0
= 0 ;
21270 PyObject
* obj1
= 0 ;
21271 char *kwnames
[] = {
21272 (char *) "self",(char *) "n", NULL
21275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21278 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21284 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21285 result
= (wxTimeSpan
*) &_result_ref
;
21288 wxPyEndAllowThreads(__tstate
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21291 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21298 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21299 PyObject
*resultobj
;
21300 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21301 wxTimeSpan
*result
;
21302 PyObject
* obj0
= 0 ;
21303 char *kwnames
[] = {
21304 (char *) "self", NULL
21307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21312 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21313 result
= (wxTimeSpan
*) &_result_ref
;
21316 wxPyEndAllowThreads(__tstate
);
21317 if (PyErr_Occurred()) SWIG_fail
;
21319 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21326 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21327 PyObject
*resultobj
;
21328 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21330 PyObject
* obj0
= 0 ;
21331 char *kwnames
[] = {
21332 (char *) "self", NULL
21335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21339 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21341 wxPyEndAllowThreads(__tstate
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21345 wxTimeSpan
* resultptr
;
21346 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21347 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21355 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21356 PyObject
*resultobj
;
21357 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21358 wxTimeSpan
*arg2
= 0 ;
21359 wxTimeSpan
*result
;
21360 PyObject
* obj0
= 0 ;
21361 PyObject
* obj1
= 0 ;
21362 char *kwnames
[] = {
21363 (char *) "self",(char *) "diff", NULL
21366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21368 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21369 if (arg2
== NULL
) {
21370 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21375 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21376 result
= (wxTimeSpan
*) &_result_ref
;
21379 wxPyEndAllowThreads(__tstate
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21382 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21389 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21390 PyObject
*resultobj
;
21391 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21392 wxTimeSpan
*arg2
= 0 ;
21393 wxTimeSpan
*result
;
21394 PyObject
* obj0
= 0 ;
21395 PyObject
* obj1
= 0 ;
21396 char *kwnames
[] = {
21397 (char *) "self",(char *) "diff", NULL
21400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21402 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21403 if (arg2
== NULL
) {
21404 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21409 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21410 result
= (wxTimeSpan
*) &_result_ref
;
21413 wxPyEndAllowThreads(__tstate
);
21414 if (PyErr_Occurred()) SWIG_fail
;
21416 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21423 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21424 PyObject
*resultobj
;
21425 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21427 wxTimeSpan
*result
;
21428 PyObject
* obj0
= 0 ;
21429 PyObject
* obj1
= 0 ;
21430 char *kwnames
[] = {
21431 (char *) "self",(char *) "n", NULL
21434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21437 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21443 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21444 result
= (wxTimeSpan
*) &_result_ref
;
21447 wxPyEndAllowThreads(__tstate
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21450 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21457 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21458 PyObject
*resultobj
;
21459 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21460 wxTimeSpan
*result
;
21461 PyObject
* obj0
= 0 ;
21462 char *kwnames
[] = {
21463 (char *) "self", NULL
21466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21471 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21472 result
= (wxTimeSpan
*) &_result_ref
;
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21478 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21485 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
;
21487 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21488 wxTimeSpan
*arg2
= 0 ;
21490 PyObject
* obj0
= 0 ;
21491 PyObject
* obj1
= 0 ;
21492 char *kwnames
[] = {
21493 (char *) "self",(char *) "other", NULL
21496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21498 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21499 if (arg2
== NULL
) {
21500 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21510 wxTimeSpan
* resultptr
;
21511 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21512 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21520 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21521 PyObject
*resultobj
;
21522 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21523 wxTimeSpan
*arg2
= 0 ;
21525 PyObject
* obj0
= 0 ;
21526 PyObject
* obj1
= 0 ;
21527 char *kwnames
[] = {
21528 (char *) "self",(char *) "other", NULL
21531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21533 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21534 if (arg2
== NULL
) {
21535 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21545 wxTimeSpan
* resultptr
;
21546 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21547 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21555 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21556 PyObject
*resultobj
;
21557 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21560 PyObject
* obj0
= 0 ;
21561 PyObject
* obj1
= 0 ;
21562 char *kwnames
[] = {
21563 (char *) "self",(char *) "n", NULL
21566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21569 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21574 result
= wxTimeSpan___mul__(arg1
,arg2
);
21576 wxPyEndAllowThreads(__tstate
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21580 wxTimeSpan
* resultptr
;
21581 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21582 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21590 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21591 PyObject
*resultobj
;
21592 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21595 PyObject
* obj0
= 0 ;
21596 PyObject
* obj1
= 0 ;
21597 char *kwnames
[] = {
21598 (char *) "self",(char *) "n", NULL
21601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21604 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21609 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21611 wxPyEndAllowThreads(__tstate
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21615 wxTimeSpan
* resultptr
;
21616 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21617 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21625 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21626 PyObject
*resultobj
;
21627 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21628 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21630 PyObject
* obj0
= 0 ;
21631 PyObject
* obj1
= 0 ;
21632 char *kwnames
[] = {
21633 (char *) "self",(char *) "other", NULL
21636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21638 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21653 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21654 PyObject
*resultobj
;
21655 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21656 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21658 PyObject
* obj0
= 0 ;
21659 PyObject
* obj1
= 0 ;
21660 char *kwnames
[] = {
21661 (char *) "self",(char *) "other", NULL
21664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
21665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21666 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21669 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
21671 wxPyEndAllowThreads(__tstate
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21681 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21682 PyObject
*resultobj
;
21683 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21684 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21686 PyObject
* obj0
= 0 ;
21687 PyObject
* obj1
= 0 ;
21688 char *kwnames
[] = {
21689 (char *) "self",(char *) "other", NULL
21692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21694 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21709 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21710 PyObject
*resultobj
;
21711 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21712 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21714 PyObject
* obj0
= 0 ;
21715 PyObject
* obj1
= 0 ;
21716 char *kwnames
[] = {
21717 (char *) "self",(char *) "other", NULL
21720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
21721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21725 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
21727 wxPyEndAllowThreads(__tstate
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21737 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21738 PyObject
*resultobj
;
21739 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21740 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21742 PyObject
* obj0
= 0 ;
21743 PyObject
* obj1
= 0 ;
21744 char *kwnames
[] = {
21745 (char *) "self",(char *) "other", NULL
21748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
21749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21750 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21765 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
;
21767 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21768 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21770 PyObject
* obj0
= 0 ;
21771 PyObject
* obj1
= 0 ;
21772 char *kwnames
[] = {
21773 (char *) "self",(char *) "other", NULL
21776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
21777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21778 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
21783 wxPyEndAllowThreads(__tstate
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21793 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21794 PyObject
*resultobj
;
21795 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21797 PyObject
* obj0
= 0 ;
21798 char *kwnames
[] = {
21799 (char *) "self", NULL
21802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
21803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21806 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
21808 wxPyEndAllowThreads(__tstate
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21818 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21819 PyObject
*resultobj
;
21820 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21822 PyObject
* obj0
= 0 ;
21823 char *kwnames
[] = {
21824 (char *) "self", NULL
21827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
21828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21831 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
21833 wxPyEndAllowThreads(__tstate
);
21834 if (PyErr_Occurred()) SWIG_fail
;
21836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21843 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21844 PyObject
*resultobj
;
21845 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21847 PyObject
* obj0
= 0 ;
21848 char *kwnames
[] = {
21849 (char *) "self", NULL
21852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
21853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21856 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
21858 wxPyEndAllowThreads(__tstate
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21868 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21869 PyObject
*resultobj
;
21870 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21871 wxTimeSpan
*arg2
= 0 ;
21873 PyObject
* obj0
= 0 ;
21874 PyObject
* obj1
= 0 ;
21875 char *kwnames
[] = {
21876 (char *) "self",(char *) "ts", NULL
21879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21881 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21882 if (arg2
== NULL
) {
21883 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21899 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
;
21901 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21902 wxTimeSpan
*arg2
= 0 ;
21904 PyObject
* obj0
= 0 ;
21905 PyObject
* obj1
= 0 ;
21906 char *kwnames
[] = {
21907 (char *) "self",(char *) "ts", NULL
21910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21912 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21913 if (arg2
== NULL
) {
21914 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21930 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
;
21932 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21933 wxTimeSpan
*arg2
= 0 ;
21935 PyObject
* obj0
= 0 ;
21936 PyObject
* obj1
= 0 ;
21937 char *kwnames
[] = {
21938 (char *) "self",(char *) "t", NULL
21941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21943 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21944 if (arg2
== NULL
) {
21945 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21949 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21961 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
;
21963 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21965 PyObject
* obj0
= 0 ;
21966 char *kwnames
[] = {
21967 (char *) "self", NULL
21970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
21971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21979 resultobj
= SWIG_PyObj_FromInt((int)result
);
21986 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21987 PyObject
*resultobj
;
21988 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21990 PyObject
* obj0
= 0 ;
21991 char *kwnames
[] = {
21992 (char *) "self", NULL
21995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
21996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21999 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22004 resultobj
= SWIG_PyObj_FromInt((int)result
);
22011 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22012 PyObject
*resultobj
;
22013 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22015 PyObject
* obj0
= 0 ;
22016 char *kwnames
[] = {
22017 (char *) "self", NULL
22020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22024 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22026 wxPyEndAllowThreads(__tstate
);
22027 if (PyErr_Occurred()) SWIG_fail
;
22029 resultobj
= SWIG_PyObj_FromInt((int)result
);
22036 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22037 PyObject
*resultobj
;
22038 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22040 PyObject
* obj0
= 0 ;
22041 char *kwnames
[] = {
22042 (char *) "self", NULL
22045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22054 resultobj
= SWIG_PyObj_FromInt((int)result
);
22061 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22062 PyObject
*resultobj
;
22063 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22065 PyObject
* obj0
= 0 ;
22066 char *kwnames
[] = {
22067 (char *) "self", NULL
22070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22074 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22076 wxPyEndAllowThreads(__tstate
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22080 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22081 hi
= PyLong_FromLong( (&result
)->GetHi() );
22082 lo
= PyLong_FromLong( (&result
)->GetLo() );
22083 shifter
= PyLong_FromLong(32);
22084 shifted
= PyNumber_Lshift(hi
, shifter
);
22085 resultobj
= PyNumber_Or(shifted
, lo
);
22088 Py_DECREF(shifter
);
22089 Py_DECREF(shifted
);
22097 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
;
22099 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22101 PyObject
* obj0
= 0 ;
22102 char *kwnames
[] = {
22103 (char *) "self", NULL
22106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22110 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22112 wxPyEndAllowThreads(__tstate
);
22113 if (PyErr_Occurred()) SWIG_fail
;
22116 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22117 hi
= PyLong_FromLong( (&result
)->GetHi() );
22118 lo
= PyLong_FromLong( (&result
)->GetLo() );
22119 shifter
= PyLong_FromLong(32);
22120 shifted
= PyNumber_Lshift(hi
, shifter
);
22121 resultobj
= PyNumber_Or(shifted
, lo
);
22124 Py_DECREF(shifter
);
22125 Py_DECREF(shifted
);
22133 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22134 PyObject
*resultobj
;
22135 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22136 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22137 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22139 bool temp2
= False
;
22140 PyObject
* obj0
= 0 ;
22141 PyObject
* obj1
= 0 ;
22142 char *kwnames
[] = {
22143 (char *) "self",(char *) "format", NULL
22146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22150 arg2
= wxString_in_helper(obj1
);
22151 if (arg2
== NULL
) SWIG_fail
;
22156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22157 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22183 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22186 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22188 return Py_BuildValue((char *)"");
22190 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22191 PyObject
*resultobj
;
22192 int arg1
= (int) 0 ;
22193 int arg2
= (int) 0 ;
22194 int arg3
= (int) 0 ;
22195 int arg4
= (int) 0 ;
22196 wxDateSpan
*result
;
22197 PyObject
* obj0
= 0 ;
22198 PyObject
* obj1
= 0 ;
22199 PyObject
* obj2
= 0 ;
22200 PyObject
* obj3
= 0 ;
22201 char *kwnames
[] = {
22202 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22208 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22214 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22220 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22226 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22227 if (PyErr_Occurred()) SWIG_fail
;
22231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22232 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22234 wxPyEndAllowThreads(__tstate
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22237 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 1);
22244 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
;
22246 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22247 PyObject
* obj0
= 0 ;
22248 char *kwnames
[] = {
22249 (char *) "self", NULL
22252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22261 Py_INCREF(Py_None
); resultobj
= Py_None
;
22268 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22269 PyObject
*resultobj
;
22272 PyObject
* obj0
= 0 ;
22273 char *kwnames
[] = {
22274 (char *) "days", NULL
22277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22279 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22280 if (PyErr_Occurred()) SWIG_fail
;
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 result
= wxDateSpan::Days(arg1
);
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22290 wxDateSpan
* resultptr
;
22291 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22292 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22300 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22301 PyObject
*resultobj
;
22303 char *kwnames
[] = {
22307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 result
= wxDateSpan::Day();
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_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22327 PyObject
*resultobj
;
22330 PyObject
* obj0
= 0 ;
22331 char *kwnames
[] = {
22332 (char *) "weeks", NULL
22335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22337 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22342 result
= wxDateSpan::Weeks(arg1
);
22344 wxPyEndAllowThreads(__tstate
);
22345 if (PyErr_Occurred()) SWIG_fail
;
22348 wxDateSpan
* resultptr
;
22349 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22350 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22358 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22359 PyObject
*resultobj
;
22361 char *kwnames
[] = {
22365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 result
= wxDateSpan::Week();
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_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22385 PyObject
*resultobj
;
22388 PyObject
* obj0
= 0 ;
22389 char *kwnames
[] = {
22390 (char *) "mon", NULL
22393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22395 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22400 result
= wxDateSpan::Months(arg1
);
22402 wxPyEndAllowThreads(__tstate
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22406 wxDateSpan
* resultptr
;
22407 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22408 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22416 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22417 PyObject
*resultobj
;
22419 char *kwnames
[] = {
22423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 result
= wxDateSpan::Month();
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_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22443 PyObject
*resultobj
;
22446 PyObject
* obj0
= 0 ;
22447 char *kwnames
[] = {
22448 (char *) "years", NULL
22451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22453 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 result
= wxDateSpan::Years(arg1
);
22460 wxPyEndAllowThreads(__tstate
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22464 wxDateSpan
* resultptr
;
22465 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22466 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22474 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22475 PyObject
*resultobj
;
22477 char *kwnames
[] = {
22481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22484 result
= wxDateSpan::Year();
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_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22501 PyObject
*resultobj
;
22502 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22504 wxDateSpan
*result
;
22505 PyObject
* obj0
= 0 ;
22506 PyObject
* obj1
= 0 ;
22507 char *kwnames
[] = {
22508 (char *) "self",(char *) "n", NULL
22511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22514 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22515 if (PyErr_Occurred()) SWIG_fail
;
22518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22521 result
= (wxDateSpan
*) &_result_ref
;
22524 wxPyEndAllowThreads(__tstate
);
22525 if (PyErr_Occurred()) SWIG_fail
;
22527 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22534 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22535 PyObject
*resultobj
;
22536 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22538 wxDateSpan
*result
;
22539 PyObject
* obj0
= 0 ;
22540 PyObject
* obj1
= 0 ;
22541 char *kwnames
[] = {
22542 (char *) "self",(char *) "n", NULL
22545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22548 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22554 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22555 result
= (wxDateSpan
*) &_result_ref
;
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22561 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22568 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22569 PyObject
*resultobj
;
22570 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22572 wxDateSpan
*result
;
22573 PyObject
* obj0
= 0 ;
22574 PyObject
* obj1
= 0 ;
22575 char *kwnames
[] = {
22576 (char *) "self",(char *) "n", NULL
22579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22582 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22583 if (PyErr_Occurred()) SWIG_fail
;
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22588 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22589 result
= (wxDateSpan
*) &_result_ref
;
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22602 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22603 PyObject
*resultobj
;
22604 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22606 wxDateSpan
*result
;
22607 PyObject
* obj0
= 0 ;
22608 PyObject
* obj1
= 0 ;
22609 char *kwnames
[] = {
22610 (char *) "self",(char *) "n", NULL
22613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
22614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22616 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22622 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
22623 result
= (wxDateSpan
*) &_result_ref
;
22626 wxPyEndAllowThreads(__tstate
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22629 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22636 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22637 PyObject
*resultobj
;
22638 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22640 PyObject
* obj0
= 0 ;
22641 char *kwnames
[] = {
22642 (char *) "self", NULL
22645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
22646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22654 resultobj
= SWIG_PyObj_FromInt((int)result
);
22661 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22662 PyObject
*resultobj
;
22663 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22665 PyObject
* obj0
= 0 ;
22666 char *kwnames
[] = {
22667 (char *) "self", NULL
22670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
22671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22674 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
22676 wxPyEndAllowThreads(__tstate
);
22677 if (PyErr_Occurred()) SWIG_fail
;
22679 resultobj
= SWIG_PyObj_FromInt((int)result
);
22686 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22687 PyObject
*resultobj
;
22688 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22690 PyObject
* obj0
= 0 ;
22691 char *kwnames
[] = {
22692 (char *) "self", NULL
22695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
22701 wxPyEndAllowThreads(__tstate
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 resultobj
= SWIG_PyObj_FromInt((int)result
);
22711 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22712 PyObject
*resultobj
;
22713 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22715 PyObject
* obj0
= 0 ;
22716 char *kwnames
[] = {
22717 (char *) "self", NULL
22720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22724 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
22726 wxPyEndAllowThreads(__tstate
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22729 resultobj
= SWIG_PyObj_FromInt((int)result
);
22736 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22737 PyObject
*resultobj
;
22738 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22740 PyObject
* obj0
= 0 ;
22741 char *kwnames
[] = {
22742 (char *) "self", NULL
22745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
22746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22749 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
22751 wxPyEndAllowThreads(__tstate
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22754 resultobj
= SWIG_PyObj_FromInt((int)result
);
22761 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22762 PyObject
*resultobj
;
22763 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22764 wxDateSpan
*arg2
= 0 ;
22765 wxDateSpan
*result
;
22766 PyObject
* obj0
= 0 ;
22767 PyObject
* obj1
= 0 ;
22768 char *kwnames
[] = {
22769 (char *) "self",(char *) "other", NULL
22772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22774 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22775 if (arg2
== NULL
) {
22776 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22781 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22782 result
= (wxDateSpan
*) &_result_ref
;
22785 wxPyEndAllowThreads(__tstate
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22788 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22795 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22796 PyObject
*resultobj
;
22797 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22798 wxDateSpan
*arg2
= 0 ;
22799 wxDateSpan
*result
;
22800 PyObject
* obj0
= 0 ;
22801 PyObject
* obj1
= 0 ;
22802 char *kwnames
[] = {
22803 (char *) "self",(char *) "other", NULL
22806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22808 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22809 if (arg2
== NULL
) {
22810 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22815 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22816 result
= (wxDateSpan
*) &_result_ref
;
22819 wxPyEndAllowThreads(__tstate
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22822 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22829 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22830 PyObject
*resultobj
;
22831 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22832 wxDateSpan
*result
;
22833 PyObject
* obj0
= 0 ;
22834 char *kwnames
[] = {
22835 (char *) "self", NULL
22838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
22839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22843 wxDateSpan
&_result_ref
= (arg1
)->Neg();
22844 result
= (wxDateSpan
*) &_result_ref
;
22847 wxPyEndAllowThreads(__tstate
);
22848 if (PyErr_Occurred()) SWIG_fail
;
22850 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22857 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22858 PyObject
*resultobj
;
22859 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22861 wxDateSpan
*result
;
22862 PyObject
* obj0
= 0 ;
22863 PyObject
* obj1
= 0 ;
22864 char *kwnames
[] = {
22865 (char *) "self",(char *) "factor", NULL
22868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22871 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22877 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22878 result
= (wxDateSpan
*) &_result_ref
;
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22891 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22892 PyObject
*resultobj
;
22893 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22894 wxDateSpan
*arg2
= 0 ;
22895 wxDateSpan
*result
;
22896 PyObject
* obj0
= 0 ;
22897 PyObject
* obj1
= 0 ;
22898 char *kwnames
[] = {
22899 (char *) "self",(char *) "other", NULL
22902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22904 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22905 if (arg2
== NULL
) {
22906 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22912 result
= (wxDateSpan
*) &_result_ref
;
22915 wxPyEndAllowThreads(__tstate
);
22916 if (PyErr_Occurred()) SWIG_fail
;
22918 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22925 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22926 PyObject
*resultobj
;
22927 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22928 wxDateSpan
*arg2
= 0 ;
22929 wxDateSpan
*result
;
22930 PyObject
* obj0
= 0 ;
22931 PyObject
* obj1
= 0 ;
22932 char *kwnames
[] = {
22933 (char *) "self",(char *) "other", NULL
22936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22938 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22939 if (arg2
== NULL
) {
22940 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22945 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22946 result
= (wxDateSpan
*) &_result_ref
;
22949 wxPyEndAllowThreads(__tstate
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22952 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22959 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22960 PyObject
*resultobj
;
22961 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22962 wxDateSpan
*result
;
22963 PyObject
* obj0
= 0 ;
22964 char *kwnames
[] = {
22965 (char *) "self", NULL
22968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
22969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22973 wxDateSpan
&_result_ref
= (arg1
)->operator -();
22974 result
= (wxDateSpan
*) &_result_ref
;
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22980 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22987 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22988 PyObject
*resultobj
;
22989 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22991 wxDateSpan
*result
;
22992 PyObject
* obj0
= 0 ;
22993 PyObject
* obj1
= 0 ;
22994 char *kwnames
[] = {
22995 (char *) "self",(char *) "factor", NULL
22998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23001 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23008 result
= (wxDateSpan
*) &_result_ref
;
23011 wxPyEndAllowThreads(__tstate
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23014 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
23021 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23022 PyObject
*resultobj
;
23023 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23024 wxDateSpan
*arg2
= 0 ;
23026 PyObject
* obj0
= 0 ;
23027 PyObject
* obj1
= 0 ;
23028 char *kwnames
[] = {
23029 (char *) "self",(char *) "other", NULL
23032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23034 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23035 if (arg2
== NULL
) {
23036 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23040 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23042 wxPyEndAllowThreads(__tstate
);
23043 if (PyErr_Occurred()) SWIG_fail
;
23046 wxDateSpan
* resultptr
;
23047 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23048 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
23056 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23057 PyObject
*resultobj
;
23058 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23059 wxDateSpan
*arg2
= 0 ;
23061 PyObject
* obj0
= 0 ;
23062 PyObject
* obj1
= 0 ;
23063 char *kwnames
[] = {
23064 (char *) "self",(char *) "other", NULL
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23069 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23070 if (arg2
== NULL
) {
23071 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23075 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23077 wxPyEndAllowThreads(__tstate
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23081 wxDateSpan
* resultptr
;
23082 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23083 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
23091 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23092 PyObject
*resultobj
;
23093 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23096 PyObject
* obj0
= 0 ;
23097 PyObject
* obj1
= 0 ;
23098 char *kwnames
[] = {
23099 (char *) "self",(char *) "n", NULL
23102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23105 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 result
= wxDateSpan___mul__(arg1
,arg2
);
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23116 wxDateSpan
* resultptr
;
23117 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23118 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
23126 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23127 PyObject
*resultobj
;
23128 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23131 PyObject
* obj0
= 0 ;
23132 PyObject
* obj1
= 0 ;
23133 char *kwnames
[] = {
23134 (char *) "self",(char *) "n", NULL
23137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23140 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23141 if (PyErr_Occurred()) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 result
= wxDateSpan___rmul__(arg1
,arg2
);
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23151 wxDateSpan
* resultptr
;
23152 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23153 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
23161 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23162 PyObject
*resultobj
;
23163 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23164 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23166 PyObject
* obj0
= 0 ;
23167 PyObject
* obj1
= 0 ;
23168 char *kwnames
[] = {
23169 (char *) "self",(char *) "other", NULL
23172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23174 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23177 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23179 wxPyEndAllowThreads(__tstate
);
23180 if (PyErr_Occurred()) SWIG_fail
;
23182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23189 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23190 PyObject
*resultobj
;
23191 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23192 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23194 PyObject
* obj0
= 0 ;
23195 PyObject
* obj1
= 0 ;
23196 char *kwnames
[] = {
23197 (char *) "self",(char *) "other", NULL
23200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23202 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23205 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23207 wxPyEndAllowThreads(__tstate
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23217 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23220 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23222 return Py_BuildValue((char *)"");
23224 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23225 PyObject
*resultobj
;
23227 char *kwnames
[] = {
23231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23234 result
= (long)wxGetLocalTime();
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 resultobj
= SWIG_PyObj_FromLong((long)result
);
23246 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
;
23249 char *kwnames
[] = {
23253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23256 result
= (long)wxGetUTCTime();
23258 wxPyEndAllowThreads(__tstate
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23261 resultobj
= SWIG_PyObj_FromLong((long)result
);
23268 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23269 PyObject
*resultobj
;
23271 char *kwnames
[] = {
23275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23278 result
= (long)wxGetCurrentTime();
23280 wxPyEndAllowThreads(__tstate
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23283 resultobj
= SWIG_PyObj_FromLong((long)result
);
23290 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23291 PyObject
*resultobj
;
23293 char *kwnames
[] = {
23297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23300 result
= wxGetLocalTimeMillis();
23302 wxPyEndAllowThreads(__tstate
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23306 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23307 hi
= PyLong_FromLong( (&result
)->GetHi() );
23308 lo
= PyLong_FromLong( (&result
)->GetLo() );
23309 shifter
= PyLong_FromLong(32);
23310 shifted
= PyNumber_Lshift(hi
, shifter
);
23311 resultobj
= PyNumber_Or(shifted
, lo
);
23314 Py_DECREF(shifter
);
23315 Py_DECREF(shifted
);
23323 static int _wrap_DefaultDateTime_set(PyObject
*) {
23324 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23329 static PyObject
*_wrap_DefaultDateTime_get() {
23332 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultDateTime
, SWIGTYPE_p_wxDateTime
, 0);
23337 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23338 PyObject
*resultobj
;
23340 wxDataFormat
*result
;
23341 PyObject
* obj0
= 0 ;
23342 char *kwnames
[] = {
23343 (char *) "type", NULL
23346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23348 arg1
= (wxDataFormatId
) SWIG_PyObj_AsInt(obj0
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23353 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23355 wxPyEndAllowThreads(__tstate
);
23356 if (PyErr_Occurred()) SWIG_fail
;
23358 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
23365 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23366 PyObject
*resultobj
;
23367 wxString
*arg1
= 0 ;
23368 wxDataFormat
*result
;
23369 bool temp1
= False
;
23370 PyObject
* obj0
= 0 ;
23371 char *kwnames
[] = {
23372 (char *) "format", NULL
23375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23377 arg1
= wxString_in_helper(obj0
);
23378 if (arg1
== NULL
) SWIG_fail
;
23382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23385 wxPyEndAllowThreads(__tstate
);
23386 if (PyErr_Occurred()) SWIG_fail
;
23388 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
23403 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23404 PyObject
*resultobj
;
23405 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23406 PyObject
* obj0
= 0 ;
23407 char *kwnames
[] = {
23408 (char *) "self", NULL
23411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23420 Py_INCREF(Py_None
); resultobj
= Py_None
;
23427 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23428 PyObject
*resultobj
;
23429 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23432 PyObject
* obj0
= 0 ;
23433 PyObject
* obj1
= 0 ;
23435 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23438 arg2
= (wxDataFormatId
) SWIG_PyObj_AsInt(obj1
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23443 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23445 wxPyEndAllowThreads(__tstate
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23455 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23456 PyObject
*resultobj
;
23457 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23460 PyObject
* obj0
= 0 ;
23461 PyObject
* obj1
= 0 ;
23463 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23466 arg2
= (wxDataFormatId
) SWIG_PyObj_AsInt(obj1
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23471 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23473 wxPyEndAllowThreads(__tstate
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23483 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23484 PyObject
*resultobj
;
23485 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23486 wxDataFormat
*arg2
= 0 ;
23488 PyObject
* obj0
= 0 ;
23489 PyObject
* obj1
= 0 ;
23491 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23493 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23494 if (arg2
== NULL
) {
23495 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23499 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23501 wxPyEndAllowThreads(__tstate
);
23502 if (PyErr_Occurred()) SWIG_fail
;
23504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23511 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23516 argc
= PyObject_Length(args
);
23517 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23518 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23524 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23534 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23542 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23550 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23559 SWIG_PyObj_AsInt(argv
[1]);
23560 if (PyErr_Occurred()) {
23568 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
23573 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
23578 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
23579 PyObject
*resultobj
;
23580 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23581 wxDataFormat
*arg2
= 0 ;
23583 PyObject
* obj0
= 0 ;
23584 PyObject
* obj1
= 0 ;
23586 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23588 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23589 if (arg2
== NULL
) {
23590 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23594 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
23596 wxPyEndAllowThreads(__tstate
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23606 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
23611 argc
= PyObject_Length(args
);
23612 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23613 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23619 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23629 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23637 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
23645 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23654 SWIG_PyObj_AsInt(argv
[1]);
23655 if (PyErr_Occurred()) {
23663 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
23668 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
23673 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23674 PyObject
*resultobj
;
23675 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23677 PyObject
* obj0
= 0 ;
23678 PyObject
* obj1
= 0 ;
23679 char *kwnames
[] = {
23680 (char *) "self",(char *) "format", NULL
23683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
23684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23686 arg2
= (wxDataFormatId
) SWIG_PyObj_AsInt(obj1
);
23687 if (PyErr_Occurred()) SWIG_fail
;
23690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23691 (arg1
)->SetType((wxDataFormatId
)arg2
);
23693 wxPyEndAllowThreads(__tstate
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23696 Py_INCREF(Py_None
); resultobj
= Py_None
;
23703 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23704 PyObject
*resultobj
;
23705 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23707 PyObject
* obj0
= 0 ;
23708 char *kwnames
[] = {
23709 (char *) "self", NULL
23712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
23713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 resultobj
= SWIG_PyObj_FromInt((int)result
);
23728 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23729 PyObject
*resultobj
;
23730 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23732 PyObject
* obj0
= 0 ;
23733 char *kwnames
[] = {
23734 (char *) "self", NULL
23737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
23738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 result
= ((wxDataFormat
const *)arg1
)->GetId();
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23759 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23760 PyObject
*resultobj
;
23761 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23762 wxString
*arg2
= 0 ;
23763 bool temp2
= False
;
23764 PyObject
* obj0
= 0 ;
23765 PyObject
* obj1
= 0 ;
23766 char *kwnames
[] = {
23767 (char *) "self",(char *) "format", NULL
23770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23773 arg2
= wxString_in_helper(obj1
);
23774 if (arg2
== NULL
) SWIG_fail
;
23778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23779 (arg1
)->SetId((wxString
const &)*arg2
);
23781 wxPyEndAllowThreads(__tstate
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23784 Py_INCREF(Py_None
); resultobj
= Py_None
;
23799 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
23801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23802 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
23804 return Py_BuildValue((char *)"");
23806 static int _wrap_FormatInvalid_set(PyObject
*) {
23807 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
23812 static PyObject
*_wrap_FormatInvalid_get() {
23815 pyobj
= SWIG_NewPointerObj((void *) &wxFormatInvalid
, SWIGTYPE_p_wxDataFormat
, 0);
23820 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23821 PyObject
*resultobj
;
23822 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23823 PyObject
* obj0
= 0 ;
23824 char *kwnames
[] = {
23825 (char *) "self", NULL
23828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
23829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23834 wxPyEndAllowThreads(__tstate
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23837 Py_INCREF(Py_None
); resultobj
= Py_None
;
23844 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23845 PyObject
*resultobj
;
23846 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23847 int arg2
= (int) wxDataObject::Get
;
23848 SwigValueWrapper
< wxDataFormat
> result
;
23849 PyObject
* obj0
= 0 ;
23850 PyObject
* obj1
= 0 ;
23851 char *kwnames
[] = {
23852 (char *) "self",(char *) "dir", NULL
23855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
23856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23859 arg2
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj1
);
23860 if (PyErr_Occurred()) SWIG_fail
;
23864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23865 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
23867 wxPyEndAllowThreads(__tstate
);
23868 if (PyErr_Occurred()) SWIG_fail
;
23871 wxDataFormat
* resultptr
;
23872 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
23873 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDataFormat
, 1);
23881 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
;
23883 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23884 int arg2
= (int) wxDataObject::Get
;
23886 PyObject
* obj0
= 0 ;
23887 PyObject
* obj1
= 0 ;
23888 char *kwnames
[] = {
23889 (char *) "self",(char *) "dir", NULL
23892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23896 arg2
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj1
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23902 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
23904 wxPyEndAllowThreads(__tstate
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23907 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
23914 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23915 PyObject
*resultobj
;
23916 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23917 wxDataFormat
*arg2
= 0 ;
23918 int arg3
= (int) wxDataObject::Get
;
23920 PyObject
* obj0
= 0 ;
23921 PyObject
* obj1
= 0 ;
23922 PyObject
* obj2
= 0 ;
23923 char *kwnames
[] = {
23924 (char *) "self",(char *) "format",(char *) "dir", NULL
23927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23929 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23930 if (arg2
== NULL
) {
23931 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23935 arg3
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj2
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23941 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
23943 wxPyEndAllowThreads(__tstate
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23953 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23954 PyObject
*resultobj
;
23955 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23956 wxDataFormat
*arg2
= 0 ;
23958 PyObject
* obj0
= 0 ;
23959 PyObject
* obj1
= 0 ;
23960 char *kwnames
[] = {
23961 (char *) "self",(char *) "format", NULL
23964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23966 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23967 if (arg2
== NULL
) {
23968 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23972 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
23974 wxPyEndAllowThreads(__tstate
);
23975 if (PyErr_Occurred()) SWIG_fail
;
23977 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
23984 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23985 PyObject
*resultobj
;
23986 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23987 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
23988 int arg3
= (int) wxDataObject::Get
;
23989 PyObject
* obj0
= 0 ;
23990 PyObject
* obj1
= 0 ;
23991 PyObject
* obj2
= 0 ;
23992 char *kwnames
[] = {
23993 (char *) "self",(char *) "formats",(char *) "dir", NULL
23996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23998 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24001 arg3
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj2
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24012 Py_INCREF(Py_None
); resultobj
= Py_None
;
24019 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
;
24021 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24022 wxDataFormat
*arg2
= 0 ;
24023 void *arg3
= (void *) 0 ;
24025 PyObject
* obj0
= 0 ;
24026 PyObject
* obj1
= 0 ;
24027 PyObject
* obj2
= 0 ;
24028 char *kwnames
[] = {
24029 (char *) "self",(char *) "format",(char *) "buf", NULL
24032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24034 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24035 if (arg2
== NULL
) {
24036 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24038 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24041 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24043 wxPyEndAllowThreads(__tstate
);
24044 if (PyErr_Occurred()) SWIG_fail
;
24046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24053 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24054 PyObject
*resultobj
;
24055 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24056 wxDataFormat
*arg2
= 0 ;
24058 void *arg4
= (void *) 0 ;
24060 PyObject
* obj0
= 0 ;
24061 PyObject
* obj1
= 0 ;
24062 PyObject
* obj2
= 0 ;
24063 PyObject
* obj3
= 0 ;
24064 char *kwnames
[] = {
24065 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24070 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24071 if (arg2
== NULL
) {
24072 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24075 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
24076 if (PyErr_Occurred()) SWIG_fail
;
24078 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24081 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24093 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24096 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24098 return Py_BuildValue((char *)"");
24100 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24101 PyObject
*resultobj
;
24102 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24103 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24104 wxDataObjectSimple
*result
;
24105 PyObject
* obj0
= 0 ;
24106 char *kwnames
[] = {
24107 (char *) "format", NULL
24110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24113 if (arg1
== NULL
) {
24114 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24119 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24121 wxPyEndAllowThreads(__tstate
);
24122 if (PyErr_Occurred()) SWIG_fail
;
24124 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectSimple
, 1);
24131 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24132 PyObject
*resultobj
;
24133 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24134 wxDataFormat
*result
;
24135 PyObject
* obj0
= 0 ;
24136 char *kwnames
[] = {
24137 (char *) "self", NULL
24140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24145 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24146 result
= (wxDataFormat
*) &_result_ref
;
24149 wxPyEndAllowThreads(__tstate
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24152 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 0);
24159 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24160 PyObject
*resultobj
;
24161 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24162 wxDataFormat
*arg2
= 0 ;
24163 PyObject
* obj0
= 0 ;
24164 PyObject
* obj1
= 0 ;
24165 char *kwnames
[] = {
24166 (char *) "self",(char *) "format", NULL
24169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24171 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24172 if (arg2
== NULL
) {
24173 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24182 Py_INCREF(Py_None
); resultobj
= Py_None
;
24189 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24192 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24194 return Py_BuildValue((char *)"");
24196 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
;
24198 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24199 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24200 wxPyDataObjectSimple
*result
;
24201 PyObject
* obj0
= 0 ;
24202 char *kwnames
[] = {
24203 (char *) "format", NULL
24206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24209 if (arg1
== NULL
) {
24210 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24215 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24217 wxPyEndAllowThreads(__tstate
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24220 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24227 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24228 PyObject
*resultobj
;
24229 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24230 PyObject
*arg2
= (PyObject
*) 0 ;
24231 PyObject
*arg3
= (PyObject
*) 0 ;
24232 PyObject
* obj0
= 0 ;
24233 PyObject
* obj1
= 0 ;
24234 PyObject
* obj2
= 0 ;
24235 char *kwnames
[] = {
24236 (char *) "self",(char *) "self",(char *) "_class", NULL
24239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24245 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24247 wxPyEndAllowThreads(__tstate
);
24248 if (PyErr_Occurred()) SWIG_fail
;
24250 Py_INCREF(Py_None
); resultobj
= Py_None
;
24257 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24260 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24262 return Py_BuildValue((char *)"");
24264 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24266 wxDataObjectComposite
*result
;
24267 char *kwnames
[] = {
24271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24274 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24276 wxPyEndAllowThreads(__tstate
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24279 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectComposite
, 1);
24286 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24287 PyObject
*resultobj
;
24288 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24289 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24290 int arg3
= (int) False
;
24291 PyObject
* obj0
= 0 ;
24292 PyObject
* obj1
= 0 ;
24293 PyObject
* obj2
= 0 ;
24294 char *kwnames
[] = {
24295 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectComposite
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24300 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24303 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24304 if (PyErr_Occurred()) SWIG_fail
;
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24309 (arg1
)->Add(arg2
,arg3
);
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24314 Py_INCREF(Py_None
); resultobj
= Py_None
;
24321 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24324 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24326 return Py_BuildValue((char *)"");
24328 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
;
24330 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24331 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24332 wxTextDataObject
*result
;
24333 bool temp1
= False
;
24334 PyObject
* obj0
= 0 ;
24335 char *kwnames
[] = {
24336 (char *) "text", NULL
24339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24342 arg1
= wxString_in_helper(obj0
);
24343 if (arg1
== NULL
) SWIG_fail
;
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24349 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24351 wxPyEndAllowThreads(__tstate
);
24352 if (PyErr_Occurred()) SWIG_fail
;
24354 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextDataObject
, 1);
24369 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24370 PyObject
*resultobj
;
24371 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24373 PyObject
* obj0
= 0 ;
24374 char *kwnames
[] = {
24375 (char *) "self", NULL
24378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24382 result
= (size_t)(arg1
)->GetTextLength();
24384 wxPyEndAllowThreads(__tstate
);
24385 if (PyErr_Occurred()) SWIG_fail
;
24387 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24394 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24395 PyObject
*resultobj
;
24396 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24398 PyObject
* obj0
= 0 ;
24399 char *kwnames
[] = {
24400 (char *) "self", NULL
24403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24407 result
= (arg1
)->GetText();
24409 wxPyEndAllowThreads(__tstate
);
24410 if (PyErr_Occurred()) SWIG_fail
;
24414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24425 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24426 PyObject
*resultobj
;
24427 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24428 wxString
*arg2
= 0 ;
24429 bool temp2
= False
;
24430 PyObject
* obj0
= 0 ;
24431 PyObject
* obj1
= 0 ;
24432 char *kwnames
[] = {
24433 (char *) "self",(char *) "text", NULL
24436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24439 arg2
= wxString_in_helper(obj1
);
24440 if (arg2
== NULL
) SWIG_fail
;
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 (arg1
)->SetText((wxString
const &)*arg2
);
24447 wxPyEndAllowThreads(__tstate
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24450 Py_INCREF(Py_None
); resultobj
= Py_None
;
24465 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24468 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24470 return Py_BuildValue((char *)"");
24472 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24473 PyObject
*resultobj
;
24474 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24475 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24476 wxPyTextDataObject
*result
;
24477 bool temp1
= False
;
24478 PyObject
* obj0
= 0 ;
24479 char *kwnames
[] = {
24480 (char *) "text", NULL
24483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24486 arg1
= wxString_in_helper(obj0
);
24487 if (arg1
== NULL
) SWIG_fail
;
24492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24493 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24495 wxPyEndAllowThreads(__tstate
);
24496 if (PyErr_Occurred()) SWIG_fail
;
24498 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDataObject
, 1);
24513 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24514 PyObject
*resultobj
;
24515 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24516 PyObject
*arg2
= (PyObject
*) 0 ;
24517 PyObject
*arg3
= (PyObject
*) 0 ;
24518 PyObject
* obj0
= 0 ;
24519 PyObject
* obj1
= 0 ;
24520 PyObject
* obj2
= 0 ;
24521 char *kwnames
[] = {
24522 (char *) "self",(char *) "self",(char *) "_class", NULL
24525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24536 Py_INCREF(Py_None
); resultobj
= Py_None
;
24543 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24546 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
24548 return Py_BuildValue((char *)"");
24550 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24551 PyObject
*resultobj
;
24552 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24553 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24554 wxBitmapDataObject
*result
;
24555 PyObject
* obj0
= 0 ;
24556 char *kwnames
[] = {
24557 (char *) "bitmap", NULL
24560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
24562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24563 if (arg1
== NULL
) {
24564 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24569 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
24571 wxPyEndAllowThreads(__tstate
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24574 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmapDataObject
, 1);
24581 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24582 PyObject
*resultobj
;
24583 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24585 PyObject
* obj0
= 0 ;
24586 char *kwnames
[] = {
24587 (char *) "self", NULL
24590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
24591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24594 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24600 wxBitmap
* resultptr
;
24601 resultptr
= new wxBitmap((wxBitmap
&) result
);
24602 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
24610 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24611 PyObject
*resultobj
;
24612 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24613 wxBitmap
*arg2
= 0 ;
24614 PyObject
* obj0
= 0 ;
24615 PyObject
* obj1
= 0 ;
24616 char *kwnames
[] = {
24617 (char *) "self",(char *) "bitmap", NULL
24620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
24621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24622 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24623 if (arg2
== NULL
) {
24624 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24628 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24633 Py_INCREF(Py_None
); resultobj
= Py_None
;
24640 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24643 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
24645 return Py_BuildValue((char *)"");
24647 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24650 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24651 wxPyBitmapDataObject
*result
;
24652 PyObject
* obj0
= 0 ;
24653 char *kwnames
[] = {
24654 (char *) "bitmap", NULL
24657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
24659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24660 if (arg1
== NULL
) {
24661 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24666 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
24668 wxPyEndAllowThreads(__tstate
);
24669 if (PyErr_Occurred()) SWIG_fail
;
24671 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyBitmapDataObject
, 1);
24678 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24679 PyObject
*resultobj
;
24680 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
24681 PyObject
*arg2
= (PyObject
*) 0 ;
24682 PyObject
*arg3
= (PyObject
*) 0 ;
24683 PyObject
* obj0
= 0 ;
24684 PyObject
* obj1
= 0 ;
24685 PyObject
* obj2
= 0 ;
24686 char *kwnames
[] = {
24687 (char *) "self",(char *) "self",(char *) "_class", NULL
24690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24701 Py_INCREF(Py_None
); resultobj
= Py_None
;
24708 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24711 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
24713 return Py_BuildValue((char *)"");
24715 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24716 PyObject
*resultobj
;
24717 wxFileDataObject
*result
;
24718 char *kwnames
[] = {
24722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
24724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24725 result
= (wxFileDataObject
*)new wxFileDataObject();
24727 wxPyEndAllowThreads(__tstate
);
24728 if (PyErr_Occurred()) SWIG_fail
;
24730 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDataObject
, 1);
24737 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
;
24739 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
24740 wxArrayString
*result
;
24741 PyObject
* obj0
= 0 ;
24742 char *kwnames
[] = {
24743 (char *) "self", NULL
24746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
24747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
24752 result
= (wxArrayString
*) &_result_ref
;
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24759 resultobj
= wxArrayString2PyList_helper(*result
);
24767 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24770 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
24772 return Py_BuildValue((char *)"");
24774 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24775 PyObject
*resultobj
;
24776 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24777 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24778 wxCustomDataObject
*result
;
24779 PyObject
* obj0
= 0 ;
24780 char *kwnames
[] = {
24781 (char *) "format", NULL
24784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
24786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24787 if (arg1
== NULL
) {
24788 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24798 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCustomDataObject
, 1);
24805 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
;
24807 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24808 PyObject
*arg2
= (PyObject
*) 0 ;
24809 PyObject
* obj0
= 0 ;
24810 PyObject
* obj1
= 0 ;
24811 char *kwnames
[] = {
24812 (char *) "self",(char *) "data", NULL
24815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
24816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 wxCustomDataObject_TakeData(arg1
,arg2
);
24822 wxPyEndAllowThreads(__tstate
);
24823 if (PyErr_Occurred()) SWIG_fail
;
24825 Py_INCREF(Py_None
); resultobj
= Py_None
;
24832 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
;
24834 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24835 PyObject
*arg2
= (PyObject
*) 0 ;
24837 PyObject
* obj0
= 0 ;
24838 PyObject
* obj1
= 0 ;
24839 char *kwnames
[] = {
24840 (char *) "self",(char *) "data", NULL
24843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24848 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
24850 wxPyEndAllowThreads(__tstate
);
24851 if (PyErr_Occurred()) SWIG_fail
;
24853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24860 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24861 PyObject
*resultobj
;
24862 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24864 PyObject
* obj0
= 0 ;
24865 char *kwnames
[] = {
24866 (char *) "self", NULL
24869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
24870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 result
= (size_t)(arg1
)->GetSize();
24875 wxPyEndAllowThreads(__tstate
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24878 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24885 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24886 PyObject
*resultobj
;
24887 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24889 PyObject
* obj0
= 0 ;
24890 char *kwnames
[] = {
24891 (char *) "self", NULL
24894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
24895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24898 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
24900 wxPyEndAllowThreads(__tstate
);
24901 if (PyErr_Occurred()) SWIG_fail
;
24903 resultobj
= result
;
24910 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24913 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
24915 return Py_BuildValue((char *)"");
24917 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24918 PyObject
*resultobj
;
24919 wxURLDataObject
*result
;
24920 char *kwnames
[] = {
24924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
24926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24927 result
= (wxURLDataObject
*)new wxURLDataObject();
24929 wxPyEndAllowThreads(__tstate
);
24930 if (PyErr_Occurred()) SWIG_fail
;
24932 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxURLDataObject
, 1);
24939 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24940 PyObject
*resultobj
;
24941 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
24943 PyObject
* obj0
= 0 ;
24944 char *kwnames
[] = {
24945 (char *) "self", NULL
24948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
24949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24952 result
= (arg1
)->GetURL();
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24970 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24971 PyObject
*resultobj
;
24972 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
24973 wxString
*arg2
= 0 ;
24974 bool temp2
= False
;
24975 PyObject
* obj0
= 0 ;
24976 PyObject
* obj1
= 0 ;
24977 char *kwnames
[] = {
24978 (char *) "self",(char *) "url", NULL
24981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
24982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24984 arg2
= wxString_in_helper(obj1
);
24985 if (arg2
== NULL
) SWIG_fail
;
24989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24990 (arg1
)->SetURL((wxString
const &)*arg2
);
24992 wxPyEndAllowThreads(__tstate
);
24993 if (PyErr_Occurred()) SWIG_fail
;
24995 Py_INCREF(Py_None
); resultobj
= Py_None
;
25010 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25013 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25015 return Py_BuildValue((char *)"");
25017 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25018 PyObject
*resultobj
;
25019 wxMetafileDataObject
*result
;
25020 char *kwnames
[] = {
25024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25027 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25029 wxPyEndAllowThreads(__tstate
);
25030 if (PyErr_Occurred()) SWIG_fail
;
25032 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetafileDataObject
, 1);
25039 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25040 PyObject
*resultobj
;
25041 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25042 wxMetafile
*arg2
= 0 ;
25043 PyObject
* obj0
= 0 ;
25044 PyObject
* obj1
= 0 ;
25045 char *kwnames
[] = {
25046 (char *) "self",(char *) "metafile", NULL
25049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetafileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25051 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMetafile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25052 if (arg2
== NULL
) {
25053 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25062 Py_INCREF(Py_None
); resultobj
= Py_None
;
25069 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25070 PyObject
*resultobj
;
25071 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25073 PyObject
* obj0
= 0 ;
25074 char *kwnames
[] = {
25075 (char *) "self", NULL
25078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetafileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25082 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25084 wxPyEndAllowThreads(__tstate
);
25085 if (PyErr_Occurred()) SWIG_fail
;
25088 wxMetafile
* resultptr
;
25089 resultptr
= new wxMetafile((wxMetafile
&) result
);
25090 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxMetafile
, 1);
25098 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25101 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25103 return Py_BuildValue((char *)"");
25105 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25106 PyObject
*resultobj
;
25109 PyObject
* obj0
= 0 ;
25110 char *kwnames
[] = {
25111 (char *) "res", NULL
25114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25116 arg1
= (wxDragResult
) SWIG_PyObj_AsInt(obj0
);
25117 if (PyErr_Occurred()) SWIG_fail
;
25120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25121 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25123 wxPyEndAllowThreads(__tstate
);
25124 if (PyErr_Occurred()) SWIG_fail
;
25126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25133 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
;
25135 wxWindow
*arg1
= (wxWindow
*) 0 ;
25136 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25137 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25138 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25139 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25140 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25141 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25142 wxPyDropSource
*result
;
25143 PyObject
* obj0
= 0 ;
25144 PyObject
* obj1
= 0 ;
25145 PyObject
* obj2
= 0 ;
25146 PyObject
* obj3
= 0 ;
25147 char *kwnames
[] = {
25148 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25154 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25155 if (arg2
== NULL
) {
25156 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25160 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25161 if (arg3
== NULL
) {
25162 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25166 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25167 if (arg4
== NULL
) {
25168 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25173 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropSource
, 1);
25185 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
;
25187 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25188 PyObject
*arg2
= (PyObject
*) 0 ;
25189 PyObject
*arg3
= (PyObject
*) 0 ;
25191 PyObject
* obj0
= 0 ;
25192 PyObject
* obj1
= 0 ;
25193 PyObject
* obj2
= 0 ;
25194 PyObject
* obj3
= 0 ;
25195 char *kwnames
[] = {
25196 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25204 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25205 if (PyErr_Occurred()) SWIG_fail
;
25208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25209 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25211 wxPyEndAllowThreads(__tstate
);
25212 if (PyErr_Occurred()) SWIG_fail
;
25214 Py_INCREF(Py_None
); resultobj
= Py_None
;
25221 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25222 PyObject
*resultobj
;
25223 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25224 PyObject
* obj0
= 0 ;
25225 char *kwnames
[] = {
25226 (char *) "self", NULL
25229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25235 wxPyEndAllowThreads(__tstate
);
25236 if (PyErr_Occurred()) SWIG_fail
;
25238 Py_INCREF(Py_None
); resultobj
= Py_None
;
25245 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25246 PyObject
*resultobj
;
25247 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25248 wxDataObject
*arg2
= 0 ;
25249 PyObject
* obj0
= 0 ;
25250 PyObject
* obj1
= 0 ;
25251 char *kwnames
[] = {
25252 (char *) "self",(char *) "data", NULL
25255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25257 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25258 if (arg2
== NULL
) {
25259 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25263 (arg1
)->SetData(*arg2
);
25265 wxPyEndAllowThreads(__tstate
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25268 Py_INCREF(Py_None
); resultobj
= Py_None
;
25275 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25276 PyObject
*resultobj
;
25277 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25278 wxDataObject
*result
;
25279 PyObject
* obj0
= 0 ;
25280 char *kwnames
[] = {
25281 (char *) "self", NULL
25284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25288 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25290 wxPyEndAllowThreads(__tstate
);
25291 if (PyErr_Occurred()) SWIG_fail
;
25293 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
25300 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25301 PyObject
*resultobj
;
25302 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25304 wxCursor
*arg3
= 0 ;
25305 PyObject
* obj0
= 0 ;
25306 PyObject
* obj1
= 0 ;
25307 PyObject
* obj2
= 0 ;
25308 char *kwnames
[] = {
25309 (char *) "self",(char *) "res",(char *) "cursor", NULL
25312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25315 arg2
= (wxDragResult
) SWIG_PyObj_AsInt(obj1
);
25316 if (PyErr_Occurred()) SWIG_fail
;
25318 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25319 if (arg3
== NULL
) {
25320 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25324 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25326 wxPyEndAllowThreads(__tstate
);
25327 if (PyErr_Occurred()) SWIG_fail
;
25329 Py_INCREF(Py_None
); resultobj
= Py_None
;
25336 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25337 PyObject
*resultobj
;
25338 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25339 int arg2
= (int) wxDrag_CopyOnly
;
25341 PyObject
* obj0
= 0 ;
25342 PyObject
* obj1
= 0 ;
25343 char *kwnames
[] = {
25344 (char *) "self",(char *) "flags", NULL
25347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25351 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25352 if (PyErr_Occurred()) SWIG_fail
;
25356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25357 result
= (int)(arg1
)->DoDragDrop(arg2
);
25359 wxPyEndAllowThreads(__tstate
);
25360 if (PyErr_Occurred()) SWIG_fail
;
25362 resultobj
= SWIG_PyObj_FromInt((int)result
);
25369 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25370 PyObject
*resultobj
;
25371 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25374 PyObject
* obj0
= 0 ;
25375 PyObject
* obj1
= 0 ;
25376 char *kwnames
[] = {
25377 (char *) "self",(char *) "effect", NULL
25380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25383 arg2
= (wxDragResult
) SWIG_PyObj_AsInt(obj1
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25388 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25390 wxPyEndAllowThreads(__tstate
);
25391 if (PyErr_Occurred()) SWIG_fail
;
25393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25400 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25403 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25405 return Py_BuildValue((char *)"");
25407 static PyObject
*_wrap_new_PyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25408 PyObject
*resultobj
;
25409 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25410 wxPyDropTarget
*result
;
25411 PyObject
* obj0
= 0 ;
25412 char *kwnames
[] = {
25413 (char *) "dataObject", NULL
25416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDropTarget",kwnames
,&obj0
)) goto fail
;
25418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25422 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25427 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 1);
25434 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25435 PyObject
*resultobj
;
25436 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25437 PyObject
*arg2
= (PyObject
*) 0 ;
25438 PyObject
*arg3
= (PyObject
*) 0 ;
25439 PyObject
* obj0
= 0 ;
25440 PyObject
* obj1
= 0 ;
25441 PyObject
* obj2
= 0 ;
25442 char *kwnames
[] = {
25443 (char *) "self",(char *) "self",(char *) "_class", NULL
25446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25454 wxPyEndAllowThreads(__tstate
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25457 Py_INCREF(Py_None
); resultobj
= Py_None
;
25464 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25465 PyObject
*resultobj
;
25466 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25467 PyObject
* obj0
= 0 ;
25468 char *kwnames
[] = {
25469 (char *) "self", NULL
25472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
25473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 wxPyEndAllowThreads(__tstate
);
25479 if (PyErr_Occurred()) SWIG_fail
;
25481 Py_INCREF(Py_None
); resultobj
= Py_None
;
25488 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25489 PyObject
*resultobj
;
25490 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25491 wxDataObject
*result
;
25492 PyObject
* obj0
= 0 ;
25493 char *kwnames
[] = {
25494 (char *) "self", NULL
25497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
25498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25501 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25503 wxPyEndAllowThreads(__tstate
);
25504 if (PyErr_Occurred()) SWIG_fail
;
25506 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
25513 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25514 PyObject
*resultobj
;
25515 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25516 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
25517 PyObject
* obj0
= 0 ;
25518 PyObject
* obj1
= 0 ;
25519 char *kwnames
[] = {
25520 (char *) "self",(char *) "dataObject", NULL
25523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
25524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25525 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 (arg1
)->SetDataObject(arg2
);
25530 wxPyEndAllowThreads(__tstate
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25533 Py_INCREF(Py_None
); resultobj
= Py_None
;
25540 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25541 PyObject
*resultobj
;
25542 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25547 PyObject
* obj0
= 0 ;
25548 PyObject
* obj1
= 0 ;
25549 PyObject
* obj2
= 0 ;
25550 PyObject
* obj3
= 0 ;
25551 char *kwnames
[] = {
25552 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25558 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25559 if (PyErr_Occurred()) SWIG_fail
;
25562 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25563 if (PyErr_Occurred()) SWIG_fail
;
25566 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25567 if (PyErr_Occurred()) SWIG_fail
;
25570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25571 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
25573 wxPyEndAllowThreads(__tstate
);
25574 if (PyErr_Occurred()) SWIG_fail
;
25576 resultobj
= SWIG_PyObj_FromInt((int)result
);
25583 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25584 PyObject
*resultobj
;
25585 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25590 PyObject
* obj0
= 0 ;
25591 PyObject
* obj1
= 0 ;
25592 PyObject
* obj2
= 0 ;
25593 PyObject
* obj3
= 0 ;
25594 char *kwnames
[] = {
25595 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25601 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25602 if (PyErr_Occurred()) SWIG_fail
;
25605 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25606 if (PyErr_Occurred()) SWIG_fail
;
25609 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25610 if (PyErr_Occurred()) SWIG_fail
;
25613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25614 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
25616 wxPyEndAllowThreads(__tstate
);
25617 if (PyErr_Occurred()) SWIG_fail
;
25619 resultobj
= SWIG_PyObj_FromInt((int)result
);
25626 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25627 PyObject
*resultobj
;
25628 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25629 PyObject
* obj0
= 0 ;
25630 char *kwnames
[] = {
25631 (char *) "self", NULL
25634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
25635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25638 (arg1
)->base_OnLeave();
25640 wxPyEndAllowThreads(__tstate
);
25641 if (PyErr_Occurred()) SWIG_fail
;
25643 Py_INCREF(Py_None
); resultobj
= Py_None
;
25650 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25651 PyObject
*resultobj
;
25652 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25656 PyObject
* obj0
= 0 ;
25657 PyObject
* obj1
= 0 ;
25658 PyObject
* obj2
= 0 ;
25659 char *kwnames
[] = {
25660 (char *) "self",(char *) "x",(char *) "y", NULL
25663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25666 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25667 if (PyErr_Occurred()) SWIG_fail
;
25670 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25671 if (PyErr_Occurred()) SWIG_fail
;
25674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25675 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25687 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
;
25689 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25691 PyObject
* obj0
= 0 ;
25692 char *kwnames
[] = {
25693 (char *) "self", NULL
25696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
25697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25700 result
= (bool)(arg1
)->GetData();
25702 wxPyEndAllowThreads(__tstate
);
25703 if (PyErr_Occurred()) SWIG_fail
;
25705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25712 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
25714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25715 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
25717 return Py_BuildValue((char *)"");
25719 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25720 PyObject
*resultobj
;
25721 wxPyTextDropTarget
*result
;
25722 char *kwnames
[] = {
25726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
25728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25729 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
25731 wxPyEndAllowThreads(__tstate
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25734 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDropTarget
, 1);
25741 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25742 PyObject
*resultobj
;
25743 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25744 PyObject
*arg2
= (PyObject
*) 0 ;
25745 PyObject
*arg3
= (PyObject
*) 0 ;
25746 PyObject
* obj0
= 0 ;
25747 PyObject
* obj1
= 0 ;
25748 PyObject
* obj2
= 0 ;
25749 char *kwnames
[] = {
25750 (char *) "self",(char *) "self",(char *) "_class", NULL
25753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25759 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25764 Py_INCREF(Py_None
); resultobj
= Py_None
;
25771 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25772 PyObject
*resultobj
;
25773 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25778 PyObject
* obj0
= 0 ;
25779 PyObject
* obj1
= 0 ;
25780 PyObject
* obj2
= 0 ;
25781 PyObject
* obj3
= 0 ;
25782 char *kwnames
[] = {
25783 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25789 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25793 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25797 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25798 if (PyErr_Occurred()) SWIG_fail
;
25801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25802 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
25804 wxPyEndAllowThreads(__tstate
);
25805 if (PyErr_Occurred()) SWIG_fail
;
25807 resultobj
= SWIG_PyObj_FromInt((int)result
);
25814 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25815 PyObject
*resultobj
;
25816 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25821 PyObject
* obj0
= 0 ;
25822 PyObject
* obj1
= 0 ;
25823 PyObject
* obj2
= 0 ;
25824 PyObject
* obj3
= 0 ;
25825 char *kwnames
[] = {
25826 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25832 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25833 if (PyErr_Occurred()) SWIG_fail
;
25836 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25837 if (PyErr_Occurred()) SWIG_fail
;
25840 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25841 if (PyErr_Occurred()) SWIG_fail
;
25844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25845 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
25847 wxPyEndAllowThreads(__tstate
);
25848 if (PyErr_Occurred()) SWIG_fail
;
25850 resultobj
= SWIG_PyObj_FromInt((int)result
);
25857 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25858 PyObject
*resultobj
;
25859 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25860 PyObject
* obj0
= 0 ;
25861 char *kwnames
[] = {
25862 (char *) "self", NULL
25865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
25866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25869 (arg1
)->base_OnLeave();
25871 wxPyEndAllowThreads(__tstate
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25874 Py_INCREF(Py_None
); resultobj
= Py_None
;
25881 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25882 PyObject
*resultobj
;
25883 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25887 PyObject
* obj0
= 0 ;
25888 PyObject
* obj1
= 0 ;
25889 PyObject
* obj2
= 0 ;
25890 char *kwnames
[] = {
25891 (char *) "self",(char *) "x",(char *) "y", NULL
25894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25897 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25898 if (PyErr_Occurred()) SWIG_fail
;
25901 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25902 if (PyErr_Occurred()) SWIG_fail
;
25905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25906 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
25908 wxPyEndAllowThreads(__tstate
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25918 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25919 PyObject
*resultobj
;
25920 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25925 PyObject
* obj0
= 0 ;
25926 PyObject
* obj1
= 0 ;
25927 PyObject
* obj2
= 0 ;
25928 PyObject
* obj3
= 0 ;
25929 char *kwnames
[] = {
25930 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25936 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25937 if (PyErr_Occurred()) SWIG_fail
;
25940 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25941 if (PyErr_Occurred()) SWIG_fail
;
25944 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25945 if (PyErr_Occurred()) SWIG_fail
;
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 resultobj
= SWIG_PyObj_FromInt((int)result
);
25961 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
25963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25964 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
25966 return Py_BuildValue((char *)"");
25968 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25969 PyObject
*resultobj
;
25970 wxPyFileDropTarget
*result
;
25971 char *kwnames
[] = {
25975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
25977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25978 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
25980 wxPyEndAllowThreads(__tstate
);
25981 if (PyErr_Occurred()) SWIG_fail
;
25983 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileDropTarget
, 1);
25990 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25991 PyObject
*resultobj
;
25992 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
25993 PyObject
*arg2
= (PyObject
*) 0 ;
25994 PyObject
*arg3
= (PyObject
*) 0 ;
25995 PyObject
* obj0
= 0 ;
25996 PyObject
* obj1
= 0 ;
25997 PyObject
* obj2
= 0 ;
25998 char *kwnames
[] = {
25999 (char *) "self",(char *) "self",(char *) "_class", NULL
26002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26008 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26010 wxPyEndAllowThreads(__tstate
);
26011 if (PyErr_Occurred()) SWIG_fail
;
26013 Py_INCREF(Py_None
); resultobj
= Py_None
;
26020 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26021 PyObject
*resultobj
;
26022 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26027 PyObject
* obj0
= 0 ;
26028 PyObject
* obj1
= 0 ;
26029 PyObject
* obj2
= 0 ;
26030 PyObject
* obj3
= 0 ;
26031 char *kwnames
[] = {
26032 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26038 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26042 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26043 if (PyErr_Occurred()) SWIG_fail
;
26046 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
26047 if (PyErr_Occurred()) SWIG_fail
;
26050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26051 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26053 wxPyEndAllowThreads(__tstate
);
26054 if (PyErr_Occurred()) SWIG_fail
;
26056 resultobj
= SWIG_PyObj_FromInt((int)result
);
26063 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26064 PyObject
*resultobj
;
26065 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26070 PyObject
* obj0
= 0 ;
26071 PyObject
* obj1
= 0 ;
26072 PyObject
* obj2
= 0 ;
26073 PyObject
* obj3
= 0 ;
26074 char *kwnames
[] = {
26075 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26081 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26082 if (PyErr_Occurred()) SWIG_fail
;
26085 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26086 if (PyErr_Occurred()) SWIG_fail
;
26089 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
26090 if (PyErr_Occurred()) SWIG_fail
;
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26096 wxPyEndAllowThreads(__tstate
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26099 resultobj
= SWIG_PyObj_FromInt((int)result
);
26106 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
;
26108 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26109 PyObject
* obj0
= 0 ;
26110 char *kwnames
[] = {
26111 (char *) "self", NULL
26114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26118 (arg1
)->base_OnLeave();
26120 wxPyEndAllowThreads(__tstate
);
26121 if (PyErr_Occurred()) SWIG_fail
;
26123 Py_INCREF(Py_None
); resultobj
= Py_None
;
26130 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26131 PyObject
*resultobj
;
26132 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26136 PyObject
* obj0
= 0 ;
26137 PyObject
* obj1
= 0 ;
26138 PyObject
* obj2
= 0 ;
26139 char *kwnames
[] = {
26140 (char *) "self",(char *) "x",(char *) "y", NULL
26143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26146 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26147 if (PyErr_Occurred()) SWIG_fail
;
26150 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26151 if (PyErr_Occurred()) SWIG_fail
;
26154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26155 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26167 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
;
26169 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26174 PyObject
* obj0
= 0 ;
26175 PyObject
* obj1
= 0 ;
26176 PyObject
* obj2
= 0 ;
26177 PyObject
* obj3
= 0 ;
26178 char *kwnames
[] = {
26179 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26185 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26186 if (PyErr_Occurred()) SWIG_fail
;
26189 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26190 if (PyErr_Occurred()) SWIG_fail
;
26193 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
26194 if (PyErr_Occurred()) SWIG_fail
;
26197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26198 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26200 wxPyEndAllowThreads(__tstate
);
26201 if (PyErr_Occurred()) SWIG_fail
;
26203 resultobj
= SWIG_PyObj_FromInt((int)result
);
26210 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26213 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26215 return Py_BuildValue((char *)"");
26217 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26218 PyObject
*resultobj
;
26219 wxClipboard
*result
;
26220 char *kwnames
[] = {
26224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26227 result
= (wxClipboard
*)new wxClipboard();
26229 wxPyEndAllowThreads(__tstate
);
26230 if (PyErr_Occurred()) SWIG_fail
;
26232 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboard
, 1);
26239 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26240 PyObject
*resultobj
;
26241 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26242 PyObject
* obj0
= 0 ;
26243 char *kwnames
[] = {
26244 (char *) "self", NULL
26247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26253 wxPyEndAllowThreads(__tstate
);
26254 if (PyErr_Occurred()) SWIG_fail
;
26256 Py_INCREF(Py_None
); resultobj
= Py_None
;
26263 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26264 PyObject
*resultobj
;
26265 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26267 PyObject
* obj0
= 0 ;
26268 char *kwnames
[] = {
26269 (char *) "self", NULL
26272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26276 result
= (bool)(arg1
)->Open();
26278 wxPyEndAllowThreads(__tstate
);
26279 if (PyErr_Occurred()) SWIG_fail
;
26281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26288 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26289 PyObject
*resultobj
;
26290 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26291 PyObject
* obj0
= 0 ;
26292 char *kwnames
[] = {
26293 (char *) "self", NULL
26296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26302 wxPyEndAllowThreads(__tstate
);
26303 if (PyErr_Occurred()) SWIG_fail
;
26305 Py_INCREF(Py_None
); resultobj
= Py_None
;
26312 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26313 PyObject
*resultobj
;
26314 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26316 PyObject
* obj0
= 0 ;
26317 char *kwnames
[] = {
26318 (char *) "self", NULL
26321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26325 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26327 wxPyEndAllowThreads(__tstate
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26337 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26338 PyObject
*resultobj
;
26339 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26340 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26342 PyObject
* obj0
= 0 ;
26343 PyObject
* obj1
= 0 ;
26344 char *kwnames
[] = {
26345 (char *) "self",(char *) "data", NULL
26348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26350 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26353 result
= (bool)(arg1
)->AddData(arg2
);
26355 wxPyEndAllowThreads(__tstate
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26365 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26366 PyObject
*resultobj
;
26367 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26368 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26370 PyObject
* obj0
= 0 ;
26371 PyObject
* obj1
= 0 ;
26372 char *kwnames
[] = {
26373 (char *) "self",(char *) "data", NULL
26376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26378 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26381 result
= (bool)(arg1
)->SetData(arg2
);
26383 wxPyEndAllowThreads(__tstate
);
26384 if (PyErr_Occurred()) SWIG_fail
;
26386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26393 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26394 PyObject
*resultobj
;
26395 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26396 wxDataFormat
*arg2
= 0 ;
26398 PyObject
* obj0
= 0 ;
26399 PyObject
* obj1
= 0 ;
26400 char *kwnames
[] = {
26401 (char *) "self",(char *) "format", NULL
26404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26406 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26407 if (arg2
== NULL
) {
26408 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26412 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26414 wxPyEndAllowThreads(__tstate
);
26415 if (PyErr_Occurred()) SWIG_fail
;
26417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26424 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26425 PyObject
*resultobj
;
26426 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26427 wxDataObject
*arg2
= 0 ;
26429 PyObject
* obj0
= 0 ;
26430 PyObject
* obj1
= 0 ;
26431 char *kwnames
[] = {
26432 (char *) "self",(char *) "data", NULL
26435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26437 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26438 if (arg2
== NULL
) {
26439 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26443 result
= (bool)(arg1
)->GetData(*arg2
);
26445 wxPyEndAllowThreads(__tstate
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26455 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
;
26457 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26458 PyObject
* obj0
= 0 ;
26459 char *kwnames
[] = {
26460 (char *) "self", NULL
26463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
26464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26469 wxPyEndAllowThreads(__tstate
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26472 Py_INCREF(Py_None
); resultobj
= Py_None
;
26479 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26480 PyObject
*resultobj
;
26481 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26483 PyObject
* obj0
= 0 ;
26484 char *kwnames
[] = {
26485 (char *) "self", NULL
26488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
26489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26492 result
= (bool)(arg1
)->Flush();
26494 wxPyEndAllowThreads(__tstate
);
26495 if (PyErr_Occurred()) SWIG_fail
;
26497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26504 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26505 PyObject
*resultobj
;
26506 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26507 bool arg2
= (bool) True
;
26508 PyObject
* obj0
= 0 ;
26509 PyObject
* obj1
= 0 ;
26510 char *kwnames
[] = {
26511 (char *) "self",(char *) "primary", NULL
26514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26518 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26519 if (PyErr_Occurred()) SWIG_fail
;
26523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26524 (arg1
)->UsePrimarySelection(arg2
);
26526 wxPyEndAllowThreads(__tstate
);
26527 if (PyErr_Occurred()) SWIG_fail
;
26529 Py_INCREF(Py_None
); resultobj
= Py_None
;
26536 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
26538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26539 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
26541 return Py_BuildValue((char *)"");
26543 static int _wrap_TheClipboard_set(PyObject
*) {
26544 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
26549 static PyObject
*_wrap_TheClipboard_get() {
26552 pyobj
= SWIG_NewPointerObj((void *) wxTheClipboard
, SWIGTYPE_p_wxClipboard
, 0);
26557 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26558 PyObject
*resultobj
;
26559 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
26560 wxClipboardLocker
*result
;
26561 PyObject
* obj0
= 0 ;
26562 char *kwnames
[] = {
26563 (char *) "clipboard", NULL
26566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26572 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
26574 wxPyEndAllowThreads(__tstate
);
26575 if (PyErr_Occurred()) SWIG_fail
;
26577 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboardLocker
, 1);
26584 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26585 PyObject
*resultobj
;
26586 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26587 PyObject
* obj0
= 0 ;
26588 char *kwnames
[] = {
26589 (char *) "self", NULL
26592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26598 wxPyEndAllowThreads(__tstate
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26601 Py_INCREF(Py_None
); resultobj
= Py_None
;
26608 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26609 PyObject
*resultobj
;
26610 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26612 PyObject
* obj0
= 0 ;
26613 char *kwnames
[] = {
26614 (char *) "self", NULL
26617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
26618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26621 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
26623 wxPyEndAllowThreads(__tstate
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26633 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
26635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26636 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
26638 return Py_BuildValue((char *)"");
26640 static PyMethodDef SwigMethods
[] = {
26641 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
26642 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26643 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
26644 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
26645 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
26646 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
26647 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
26648 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
26649 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
26650 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
26651 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
26652 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
26653 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
26654 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
26655 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
26656 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
26657 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
26658 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
26659 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26660 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
26661 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
26662 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
26663 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
26664 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
26665 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
26666 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
26667 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
26668 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
26669 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
26670 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
26671 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
26672 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
26673 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
26674 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
26675 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
26676 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
26677 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
26678 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
26679 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
26680 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
26681 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
26682 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
26683 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26684 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26685 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26686 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
26687 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26688 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26689 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
26690 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
26691 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
26692 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26693 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
26694 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
26695 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
26696 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
26697 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
26698 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
26699 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
26700 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
26701 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
26702 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
26703 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26704 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
26705 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
26706 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
26707 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
26708 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
26709 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
26710 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
26711 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
26712 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
26713 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
26714 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
26715 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
26716 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
26717 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
26718 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
26719 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
26720 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
26721 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
26722 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
26723 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
26724 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
26725 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26726 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
26727 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26728 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
26729 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
26730 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
26731 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
26732 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
26733 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
26734 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
26735 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
26736 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
26737 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
26738 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
26739 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
26740 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
26741 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26742 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26743 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
26744 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
26745 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
26746 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
26747 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
26748 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
26749 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
26750 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
26751 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
26752 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
26753 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
26754 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
26755 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
26756 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
26757 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
26758 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
26759 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
26760 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
26761 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
26762 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
26763 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
26764 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
26765 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
26766 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
26767 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
26768 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26769 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
26770 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
26771 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
26772 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
26773 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
26774 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
26775 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
26776 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
26777 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
26778 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
26779 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
26780 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
26781 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
26782 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
26783 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26784 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
26785 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
26786 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
26787 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
26788 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
26789 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26790 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
26791 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
26792 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
26793 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
26794 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
26795 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
26796 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26797 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
26798 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
26799 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
26800 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
26801 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
26802 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
26803 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
26804 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
26805 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
26806 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26807 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
26808 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
26809 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
26810 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
26811 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
26812 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
26813 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
26814 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
26815 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
26816 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
26817 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
26818 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26819 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26820 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26821 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
26822 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
26823 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
26824 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
26825 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26826 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26827 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
26828 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
26829 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
26830 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26831 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
26832 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
26833 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
26834 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26835 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
26836 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
26837 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
26838 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
26839 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
26840 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
26841 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
26842 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
26843 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
26844 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
26845 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
26846 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
26847 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
26848 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
26849 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
26850 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
26851 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
26852 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
26853 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
26854 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
26855 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
26856 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
26857 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
26858 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
26859 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
26860 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
26861 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
26862 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
26863 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
26864 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
26865 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
26866 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
26867 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
26868 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
26869 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
26870 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26871 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
26872 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
26873 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
26874 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
26875 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
26876 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26877 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
26878 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
26879 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
26880 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
26881 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
26882 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
26883 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
26884 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
26885 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
26886 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
26887 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
26888 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
26889 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
26890 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
26891 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
26892 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
26893 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
26894 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
26895 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
26896 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
26897 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
26898 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
26899 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
26900 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26901 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
26902 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
26903 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
26904 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
26905 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
26906 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
26907 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
26908 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
26909 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
26910 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26911 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
26912 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
26913 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
26914 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
26915 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
26916 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
26917 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
26918 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
26919 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
26920 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
26921 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
26922 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
26923 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
26924 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
26925 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
26926 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
26927 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
26928 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
26929 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
26930 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
26931 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
26932 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
26933 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
26934 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
26935 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
26936 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
26937 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
26938 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
26939 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
26940 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
26941 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
26942 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
26943 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
26944 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
26945 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
26946 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
26947 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
26948 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
26949 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
26950 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
26951 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
26952 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
26953 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
26954 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26955 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
26956 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
26957 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
26958 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
26959 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
26960 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
26961 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
26962 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26963 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
26964 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
26965 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
26966 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
26967 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
26968 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
26969 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
26970 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
26971 { (char *)"new_Sound", _wrap_new_Sound
, METH_VARARGS
},
26972 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
26973 { (char *)"Sound_Create", _wrap_Sound_Create
, METH_VARARGS
},
26974 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26975 { (char *)"Sound_Play", _wrap_Sound_Play
, METH_VARARGS
},
26976 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound
, METH_VARARGS
},
26977 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
26978 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
26979 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
26980 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
26981 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
26982 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
26983 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
26984 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
26985 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
26986 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
26987 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
26988 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
26989 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
26990 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
26991 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
26992 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
26993 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
26994 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
26995 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
26996 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
26997 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
26998 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
26999 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
27000 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
27001 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
27002 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
27003 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
27004 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
27005 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
27006 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
27007 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
27008 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
27009 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
27010 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
27011 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
27012 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
27013 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
27014 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
27015 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
27016 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
27017 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
27018 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
27019 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
27020 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
27021 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
27022 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
27023 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
27024 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
27025 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
27026 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27027 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
27028 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
27029 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
27030 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27031 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
27032 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27033 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
27034 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
27035 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
27036 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
27037 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
27038 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
27039 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
27040 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
27041 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
27042 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
27043 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
27044 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
27045 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
27046 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
27047 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
27048 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
27049 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
27050 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
27051 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
27052 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
27053 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
27054 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
27055 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
27056 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
27057 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
27058 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
27059 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
27060 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
27061 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
27062 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
27063 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
27064 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
27065 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27066 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27067 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
27068 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
27069 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27070 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
27071 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
27072 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
27073 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
27074 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27075 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27076 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
27077 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
27078 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
27079 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
27080 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
27081 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
27082 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
27083 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
27084 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
27085 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
27086 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
27087 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27088 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
27089 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
27090 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
27091 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
27092 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
27093 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
27094 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
27095 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
27096 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
27097 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
27098 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
27099 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
27100 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
27101 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
27102 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
27103 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
27104 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
27105 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
27106 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
27107 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
27108 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
27109 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
27110 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
27111 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
27112 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
27113 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
27114 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
27115 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
27116 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
27117 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
27118 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
27119 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
27120 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
27121 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
27122 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
27123 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
27124 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
27125 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
27126 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
27127 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
27128 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27129 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27130 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27131 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27132 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27133 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27134 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27135 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
27136 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
27137 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
27138 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
27139 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
27140 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
27141 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
27142 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
27143 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
27144 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
27145 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
27146 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
27147 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
27148 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
27149 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
27150 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
27151 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
27152 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
27153 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
27154 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
27155 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
27156 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27157 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
27158 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
27159 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
27160 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
27161 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
27162 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
27163 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
27164 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
27165 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
27166 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
27167 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
27168 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
27169 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
27170 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
27171 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
27172 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
27173 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
27174 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
27175 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
27176 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
27177 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
27178 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
27179 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
27180 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
27181 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
27182 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
27183 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
27184 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
27185 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
27186 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
27187 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
27188 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
27189 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
27190 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
27191 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
27192 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
27193 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
27194 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
27195 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
27196 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
27197 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
27198 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
27199 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
27200 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
27201 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
27202 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
27203 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
27204 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
27205 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
27206 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
27207 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
27208 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
27209 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
27210 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
27211 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
27212 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
27213 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
27214 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
27215 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
27216 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
27217 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
27218 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
27219 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
27220 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
27221 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
27222 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
27223 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
27224 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
27225 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
27226 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
27227 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
27228 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
27229 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
27230 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
27231 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
27232 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
27233 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
27234 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
27235 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
27236 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
27237 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
27238 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
27239 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
27240 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
27241 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
27242 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
27243 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
27244 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
27245 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
27246 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
27247 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
27248 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
27249 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
27250 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
27251 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
27252 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
27253 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
27254 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
27255 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
27256 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
27257 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
27258 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
27259 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
27260 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
27261 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
27262 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
27263 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
27264 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
27265 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
27266 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
27267 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
27268 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
27269 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
27270 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
27271 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
27272 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
27273 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
27274 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
27275 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
27276 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
27277 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
27278 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
27279 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
27280 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
27281 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
27282 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
27283 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
27284 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
27285 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
27286 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
27287 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
27288 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
27289 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27290 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
27291 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
27292 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
27293 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
27294 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
27295 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
27296 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
27297 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
27298 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
27299 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27300 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
27301 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
27302 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
27303 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
27304 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
27305 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
27306 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27307 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
27308 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
27309 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
27310 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
27311 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27312 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
27313 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
27314 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
27315 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
27316 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27317 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27318 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
27319 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27320 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27321 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27322 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
27323 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27324 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27325 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
27326 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27327 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
27328 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
27329 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27330 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
27331 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27332 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
27333 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27334 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
27335 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27336 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
27337 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
27338 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
27339 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27340 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
27341 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
27342 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
27343 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
27344 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
27345 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27346 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
27347 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27348 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27349 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
27350 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
27351 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
27352 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
27353 { (char *)"new_PyDropTarget", (PyCFunction
) _wrap_new_PyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27354 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27355 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27356 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27357 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27358 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27359 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27360 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27361 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27362 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27363 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
27364 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27365 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27366 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27367 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27368 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27369 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27370 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
27371 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
27372 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27373 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27374 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27375 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27376 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27377 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27378 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
27379 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
27380 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
27381 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
27382 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
27383 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
27384 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
27385 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
27386 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27387 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
27388 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27389 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
27390 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
27391 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
27392 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
27393 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
27394 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
27395 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
27396 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
27401 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27403 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
27404 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27406 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
27407 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
27409 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
27410 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
27412 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
27413 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
27415 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
27416 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
27418 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
27419 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
27421 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
27422 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
27424 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
27425 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
27427 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
27428 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
27430 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
27431 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
27433 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
27434 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27436 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
27437 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
27439 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
27440 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
27442 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
27443 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27445 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
27446 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27448 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
27449 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
27451 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
27452 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
27454 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
27455 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
27457 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
27458 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
27460 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
27461 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
27463 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
27464 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
27466 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
27467 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
27469 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
27470 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27472 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
27473 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27475 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
27476 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27478 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
27479 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27481 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
27482 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27484 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
27485 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
27487 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
27488 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
27490 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
27491 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27493 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
27494 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
27496 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
27497 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
27499 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
27500 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
27502 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
27503 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27505 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
27506 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27508 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
27509 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27511 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
27512 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
27514 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
27515 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
27517 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
27518 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
27520 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
27521 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
27523 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
27524 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27526 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
27527 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27529 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
27530 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
27532 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
27533 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
27535 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
27536 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
27538 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
27539 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
27541 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
27542 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27544 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
27545 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
27547 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
27548 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27550 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
27551 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
27553 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
27554 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
27556 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
27557 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
27559 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
27560 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
27562 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
27563 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
27565 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
27566 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
27568 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
27569 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
27571 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
27572 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27574 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
27575 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
27577 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
27578 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27580 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
27581 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
27583 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
27584 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
27586 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
27587 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
27589 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27590 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27592 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27593 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27595 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27596 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27598 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27599 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27601 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
27602 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
27604 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27605 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27607 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27608 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27610 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27611 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27613 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27614 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27616 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
27617 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
27619 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
27620 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
27622 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27623 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27625 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27626 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27628 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27629 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27631 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27632 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27634 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27635 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27637 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27638 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27640 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27641 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27643 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27644 return (void *)((wxObject
*) ((wxSizer
*) x
));
27646 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27647 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27649 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
27650 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
27652 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27653 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27655 static void *_p_wxEventTo_p_wxObject(void *x
) {
27656 return (void *)((wxObject
*) ((wxEvent
*) x
));
27658 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27659 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27661 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27662 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27664 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27665 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27667 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27668 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27670 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27671 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27673 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27674 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27676 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27677 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27679 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27680 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27682 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27683 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27685 static void *_p_wxControlTo_p_wxObject(void *x
) {
27686 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
27688 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
27689 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
27691 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
27692 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
27694 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
27695 return (void *)((wxObject
*) ((wxFSFile
*) x
));
27697 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
27698 return (void *)((wxObject
*) ((wxClipboard
*) x
));
27700 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
27701 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
27703 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
27704 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
27706 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
27707 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27709 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27710 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27712 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
27713 return (void *)((wxObject
*) ((wxToolTip
*) x
));
27715 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27716 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27718 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27719 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27721 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27722 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27724 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27725 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27727 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27728 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27730 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27731 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27733 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27734 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27736 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27737 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27739 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27740 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27742 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27743 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27745 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27746 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27748 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27749 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
27751 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
27752 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
27754 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
27755 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
27757 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
27758 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
27760 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
27761 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
27763 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
27764 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
27766 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
27767 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
27769 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
27770 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
27772 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
27773 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
27775 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
27776 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
27778 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
27779 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
27781 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
27782 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
27784 static void *_p_wxImageTo_p_wxObject(void *x
) {
27785 return (void *)((wxObject
*) ((wxImage
*) x
));
27787 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
27788 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
27790 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
27791 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
27793 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
27794 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
27796 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
27797 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27799 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
27800 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27802 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
27803 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
27805 static void *_p_wxWindowTo_p_wxObject(void *x
) {
27806 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
27808 static void *_p_wxMenuTo_p_wxObject(void *x
) {
27809 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
27811 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
27812 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
27814 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
27815 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
27817 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
27818 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
27820 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
27821 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27823 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
27824 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
27826 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
27827 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
27829 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
27830 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
27832 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
27833 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
27835 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
27836 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
27838 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
27839 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
27841 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
27842 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27844 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
27845 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
27847 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
27848 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
27850 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
27851 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
27853 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
27854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27856 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
27857 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
27859 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
27860 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27862 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
27863 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
27865 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
27866 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
27868 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
27869 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
27871 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
27872 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
27874 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
27875 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
27877 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
27878 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
27880 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
27881 return (void *)((wxLog
*) ((wxLogChain
*) x
));
27883 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
27884 return (void *)((wxLog
*) ((wxLogGui
*) x
));
27886 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
27887 return (void *)((wxLog
*) ((wxPyLog
*) x
));
27889 static void *_p_wxControlTo_p_wxWindow(void *x
) {
27890 return (void *)((wxWindow
*) ((wxControl
*) x
));
27892 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
27893 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
27895 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
27896 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
27898 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
27899 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
27901 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
27902 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
27904 static swig_type_info _swigt__p_wxLogChain
[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
27905 static swig_type_info _swigt__p_wxMutexGuiLocker
[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
27906 static swig_type_info _swigt__p_wxMetafile
[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0},{"_p_wxMetafile"},{0}};
27907 static swig_type_info _swigt__p_wxFileHistory
[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
27908 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}};
27909 static swig_type_info _swigt__p_wxDateTime__TimeZone
[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
27910 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
27911 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}};
27912 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}};
27913 static swig_type_info _swigt__p_wxFileType
[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
27914 static swig_type_info _swigt__p_wxLogGui
[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
27915 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27916 static swig_type_info _swigt__p_wxDataFormat
[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
27917 static swig_type_info _swigt__p_wxTimerEvent
[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
27918 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
27919 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27920 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27921 static swig_type_info _swigt__p_wxClipboard
[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
27922 static swig_type_info _swigt__p_wxStopWatch
[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
27923 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27924 static swig_type_info _swigt__p_wxClipboardLocker
[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
27925 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27926 static swig_type_info _swigt__p_wxLogStderr
[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
27927 static swig_type_info _swigt__p_wxLogTextCtrl
[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
27928 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27929 static swig_type_info _swigt__p_wxBusyCursor
[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
27930 static swig_type_info _swigt__p_wxPyTextDataObject
[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
27931 static swig_type_info _swigt__p_wxBitmapDataObject
[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject
},{0}};
27932 static swig_type_info _swigt__p_wxTextDataObject
[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject
},{0}};
27933 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}};
27934 static swig_type_info _swigt__p_wxPyBitmapDataObject
[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
27935 static swig_type_info _swigt__p_wxFileDataObject
[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
27936 static swig_type_info _swigt__p_wxCustomDataObject
[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
27937 static swig_type_info _swigt__p_wxURLDataObject
[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
27938 static swig_type_info _swigt__p_wxMetafileDataObject
[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
27939 static swig_type_info _swigt__p_wxSound
[] = {{"_p_wxSound", 0, "wxSound *", 0},{"_p_wxSound"},{0}};
27940 static swig_type_info _swigt__p_wxTimerRunner
[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
27941 static swig_type_info _swigt__p_wxLogWindow
[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
27942 static swig_type_info _swigt__p_wxTimeSpan
[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
27943 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27944 static swig_type_info _swigt__p_wxWindowDisabler
[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
27945 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
27946 static swig_type_info _swigt__p_wxDataObjectComposite
[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite
},{0}};
27947 static swig_type_info _swigt__p_wxFileConfig
[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
27948 static swig_type_info _swigt__p_wxSystemSettings
[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
27949 static swig_type_info _swigt__p_wxPyDataObjectSimple
[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
27950 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}};
27951 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}};
27952 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27953 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
27954 static swig_type_info _swigt__p_wxSingleInstanceChecker
[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
27955 static swig_type_info _swigt__p_wxFileTypeInfo
[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
27956 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
27957 static swig_type_info _swigt__p_wxTimer
[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
27958 static swig_type_info _swigt__p_wxMimeTypesManager
[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
27959 static swig_type_info _swigt__p_wxPyArtProvider
[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
27960 static swig_type_info _swigt__p_wxPyTipProvider
[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
27961 static swig_type_info _swigt__p_wxTipProvider
[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider
},{0}};
27962 static swig_type_info _swigt__p_wxJoystick
[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
27963 static swig_type_info _swigt__p_wxSystemOptions
[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
27964 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27965 static swig_type_info _swigt__p_wxJoystickEvent
[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
27966 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27967 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}};
27968 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
27969 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
27970 static swig_type_info _swigt__p_wxPyDropSource
[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
27971 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}};
27972 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27973 static swig_type_info _swigt__p_wxPyProcess
[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
27974 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27975 static swig_type_info _swigt__p_wxConfig
[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
27976 static swig_type_info _swigt__p_wxChar
[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
27977 static swig_type_info _swigt__p_wxBusyInfo
[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
27978 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}};
27979 static swig_type_info _swigt__p_wxPyTextDropTarget
[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
27980 static swig_type_info _swigt__p_wxPyFileDropTarget
[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
27981 static swig_type_info _swigt__p_wxProcessEvent
[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
27982 static swig_type_info _swigt__p_wxPyLog
[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
27983 static swig_type_info _swigt__p_wxLogNull
[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
27984 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27985 static swig_type_info _swigt__p_wxByte
[] = {{"_p_wxByte", 0, "wxByte *", 0},{"_p_wxByte"},{0}};
27986 static swig_type_info _swigt__p_wxConfigPathChanger
[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
27987 static swig_type_info _swigt__p_wxPyTimer
[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
27988 static swig_type_info _swigt__p_wxDateSpan
[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
27990 static swig_type_info
*swig_types_initial
[] = {
27991 _swigt__p_wxLogChain
,
27992 _swigt__p_wxMutexGuiLocker
,
27993 _swigt__p_wxMetafile
,
27994 _swigt__p_wxFileHistory
,
27996 _swigt__p_wxDateTime__TimeZone
,
27999 _swigt__p_wxConfigBase
,
28000 _swigt__p_wxFileType
,
28001 _swigt__p_wxLogGui
,
28003 _swigt__p_wxDataFormat
,
28004 _swigt__p_wxTimerEvent
,
28008 _swigt__p_wxClipboard
,
28009 _swigt__p_wxStopWatch
,
28011 _swigt__p_wxClipboardLocker
,
28013 _swigt__p_wxLogStderr
,
28014 _swigt__p_wxLogTextCtrl
,
28015 _swigt__p_wxTextCtrl
,
28016 _swigt__p_wxBusyCursor
,
28017 _swigt__p_wxPyTextDataObject
,
28018 _swigt__p_wxBitmapDataObject
,
28019 _swigt__p_wxTextDataObject
,
28020 _swigt__p_wxDataObject
,
28021 _swigt__p_wxPyBitmapDataObject
,
28022 _swigt__p_wxFileDataObject
,
28023 _swigt__p_wxCustomDataObject
,
28024 _swigt__p_wxURLDataObject
,
28025 _swigt__p_wxMetafileDataObject
,
28027 _swigt__p_wxTimerRunner
,
28028 _swigt__p_wxLogWindow
,
28029 _swigt__p_wxTimeSpan
,
28030 _swigt__p_wxArrayString
,
28031 _swigt__p_wxWindowDisabler
,
28032 _swigt__p_wxToolTip
,
28033 _swigt__p_wxDataObjectComposite
,
28034 _swigt__p_wxFileConfig
,
28035 _swigt__p_wxSystemSettings
,
28036 _swigt__p_wxPyDataObjectSimple
,
28037 _swigt__p_wxDataObjectSimple
,
28038 _swigt__p_wxEvtHandler
,
28041 _swigt__p_wxSingleInstanceChecker
,
28042 _swigt__p_wxFileTypeInfo
,
28045 _swigt__p_wxMimeTypesManager
,
28046 _swigt__p_wxPyArtProvider
,
28047 _swigt__p_wxPyTipProvider
,
28048 _swigt__p_wxTipProvider
,
28049 _swigt__p_wxJoystick
,
28050 _swigt__p_wxSystemOptions
,
28052 _swigt__p_wxJoystickEvent
,
28053 _swigt__p_wxCursor
,
28054 _swigt__p_wxObject
,
28055 _swigt__p_wxOutputStream
,
28056 _swigt__p_wxDateTime
,
28057 _swigt__p_wxPyDropSource
,
28058 _swigt__p_wxWindow
,
28059 _swigt__p_wxString
,
28060 _swigt__p_wxPyProcess
,
28061 _swigt__p_wxBitmap
,
28062 _swigt__p_wxConfig
,
28064 _swigt__p_wxBusyInfo
,
28065 _swigt__p_wxPyDropTarget
,
28066 _swigt__p_wxPyTextDropTarget
,
28067 _swigt__p_wxPyFileDropTarget
,
28068 _swigt__p_wxProcessEvent
,
28070 _swigt__p_wxLogNull
,
28071 _swigt__p_wxColour
,
28073 _swigt__p_wxConfigPathChanger
,
28074 _swigt__p_wxPyTimer
,
28075 _swigt__p_wxDateSpan
,
28080 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28082 static swig_const_info swig_const_table
[] = {
28083 { SWIG_PY_STRING
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
28084 { SWIG_PY_STRING
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
28085 { SWIG_PY_STRING
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
28086 { SWIG_PY_STRING
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
28087 { SWIG_PY_STRING
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
28097 SWIGEXPORT(void) SWIG_init(void) {
28098 static PyObject
*SWIG_globals
= 0;
28099 static int typeinit
= 0;
28102 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
28103 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
28104 d
= PyModule_GetDict(m
);
28107 for (i
= 0; swig_types_initial
[i
]; i
++) {
28108 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
28112 SWIG_InstallConstants(d
,swig_const_table
);
28114 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_OEM_FIXED_FONT
));
28115 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
28116 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_VAR_FONT
));
28117 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FONT
));
28118 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
28119 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_PALETTE
));
28120 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
28121 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
28122 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_PyObj_FromInt((int)wxSYS_ICONTITLE_FONT
));
28123 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
28124 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
28125 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_DESKTOP
));
28126 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
28127 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
28128 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENU
));
28129 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOW
));
28130 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
28131 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
28132 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
28133 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
28134 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
28135 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
28136 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
28137 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
28138 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
28139 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNFACE
));
28140 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DFACE
));
28141 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
28142 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
28143 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
28144 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
28145 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
28146 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
28147 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
28148 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
28149 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
28150 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
28151 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
28152 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
28153 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOBK
));
28154 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_LISTBOX
));
28155 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
28156 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
28157 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
28158 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
28159 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUBAR
));
28160 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MAX
));
28161 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_MOUSE_BUTTONS
));
28162 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_PyObj_FromInt((int)wxSYS_BORDER_X
));
28163 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_PyObj_FromInt((int)wxSYS_BORDER_Y
));
28164 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_X
));
28165 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_Y
));
28166 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_X
));
28167 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_Y
));
28168 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_PyObj_FromInt((int)wxSYS_DRAG_X
));
28169 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_PyObj_FromInt((int)wxSYS_DRAG_Y
));
28170 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_PyObj_FromInt((int)wxSYS_EDGE_X
));
28171 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_PyObj_FromInt((int)wxSYS_EDGE_Y
));
28172 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
28173 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
28174 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_PyObj_FromInt((int)wxSYS_HTHUMB_X
));
28175 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_PyObj_FromInt((int)wxSYS_ICON_X
));
28176 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_PyObj_FromInt((int)wxSYS_ICON_Y
));
28177 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_X
));
28178 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_Y
));
28179 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_X
));
28180 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_Y
));
28181 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_X
));
28182 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_Y
));
28183 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_X
));
28184 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_Y
));
28185 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_X
));
28186 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_Y
));
28187 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_Y
));
28188 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_X
));
28189 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
28190 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
28191 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_PyObj_FromInt((int)wxSYS_VTHUMB_Y
));
28192 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_PyObj_FromInt((int)wxSYS_CAPTION_Y
));
28193 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_PyObj_FromInt((int)wxSYS_MENU_Y
));
28194 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_NETWORK_PRESENT
));
28195 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
28196 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_PyObj_FromInt((int)wxSYS_SHOW_SOUNDS
));
28197 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_SWAP_BUTTONS
));
28198 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_PyObj_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
28199 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_PyObj_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
28200 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_NONE
));
28201 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_TINY
));
28202 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_PDA
));
28203 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_SMALL
));
28204 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_DESKTOP
));
28205 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
28206 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
28207 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
28208 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
28209 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_PyObj_FromInt((int)wxSHUTDOWN_POWEROFF
));
28210 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_PyObj_FromInt((int)wxSHUTDOWN_REBOOT
));
28211 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_PyObj_FromInt((int)wxTIMER_CONTINUOUS
));
28212 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_PyObj_FromInt((int)wxTIMER_ONE_SHOT
));
28213 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
28214 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_PyObj_FromInt((int)wxLOG_FatalError
));
28215 PyDict_SetItemString(d
,"LOG_Error", SWIG_PyObj_FromInt((int)wxLOG_Error
));
28216 PyDict_SetItemString(d
,"LOG_Warning", SWIG_PyObj_FromInt((int)wxLOG_Warning
));
28217 PyDict_SetItemString(d
,"LOG_Message", SWIG_PyObj_FromInt((int)wxLOG_Message
));
28218 PyDict_SetItemString(d
,"LOG_Status", SWIG_PyObj_FromInt((int)wxLOG_Status
));
28219 PyDict_SetItemString(d
,"LOG_Info", SWIG_PyObj_FromInt((int)wxLOG_Info
));
28220 PyDict_SetItemString(d
,"LOG_Debug", SWIG_PyObj_FromInt((int)wxLOG_Debug
));
28221 PyDict_SetItemString(d
,"LOG_Trace", SWIG_PyObj_FromInt((int)wxLOG_Trace
));
28222 PyDict_SetItemString(d
,"LOG_Progress", SWIG_PyObj_FromInt((int)wxLOG_Progress
));
28223 PyDict_SetItemString(d
,"LOG_User", SWIG_PyObj_FromInt((int)wxLOG_User
));
28224 PyDict_SetItemString(d
,"LOG_Max", SWIG_PyObj_FromInt((int)wxLOG_Max
));
28225 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_PyObj_FromInt((int)0x0001));
28226 PyDict_SetItemString(d
,"TraceMessages", SWIG_PyObj_FromInt((int)0x0002));
28227 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_PyObj_FromInt((int)0x0004));
28228 PyDict_SetItemString(d
,"TraceRefCount", SWIG_PyObj_FromInt((int)0x0008));
28229 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_PyObj_FromInt((int)0x0100));
28230 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_PyObj_FromInt((int)wxPROCESS_DEFAULT
));
28231 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_PyObj_FromInt((int)wxPROCESS_REDIRECT
));
28232 PyDict_SetItemString(d
,"KILL_OK", SWIG_PyObj_FromInt((int)wxKILL_OK
));
28233 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_PyObj_FromInt((int)wxKILL_BAD_SIGNAL
));
28234 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_PyObj_FromInt((int)wxKILL_ACCESS_DENIED
));
28235 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_PyObj_FromInt((int)wxKILL_NO_PROCESS
));
28236 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_PyObj_FromInt((int)wxKILL_ERROR
));
28237 PyDict_SetItemString(d
,"SIGNONE", SWIG_PyObj_FromInt((int)wxSIGNONE
));
28238 PyDict_SetItemString(d
,"SIGHUP", SWIG_PyObj_FromInt((int)wxSIGHUP
));
28239 PyDict_SetItemString(d
,"SIGINT", SWIG_PyObj_FromInt((int)wxSIGINT
));
28240 PyDict_SetItemString(d
,"SIGQUIT", SWIG_PyObj_FromInt((int)wxSIGQUIT
));
28241 PyDict_SetItemString(d
,"SIGILL", SWIG_PyObj_FromInt((int)wxSIGILL
));
28242 PyDict_SetItemString(d
,"SIGTRAP", SWIG_PyObj_FromInt((int)wxSIGTRAP
));
28243 PyDict_SetItemString(d
,"SIGABRT", SWIG_PyObj_FromInt((int)wxSIGABRT
));
28244 PyDict_SetItemString(d
,"SIGIOT", SWIG_PyObj_FromInt((int)wxSIGIOT
));
28245 PyDict_SetItemString(d
,"SIGEMT", SWIG_PyObj_FromInt((int)wxSIGEMT
));
28246 PyDict_SetItemString(d
,"SIGFPE", SWIG_PyObj_FromInt((int)wxSIGFPE
));
28247 PyDict_SetItemString(d
,"SIGKILL", SWIG_PyObj_FromInt((int)wxSIGKILL
));
28248 PyDict_SetItemString(d
,"SIGBUS", SWIG_PyObj_FromInt((int)wxSIGBUS
));
28249 PyDict_SetItemString(d
,"SIGSEGV", SWIG_PyObj_FromInt((int)wxSIGSEGV
));
28250 PyDict_SetItemString(d
,"SIGSYS", SWIG_PyObj_FromInt((int)wxSIGSYS
));
28251 PyDict_SetItemString(d
,"SIGPIPE", SWIG_PyObj_FromInt((int)wxSIGPIPE
));
28252 PyDict_SetItemString(d
,"SIGALRM", SWIG_PyObj_FromInt((int)wxSIGALRM
));
28253 PyDict_SetItemString(d
,"SIGTERM", SWIG_PyObj_FromInt((int)wxSIGTERM
));
28254 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
28255 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_PyObj_FromInt((int)wxEXEC_ASYNC
));
28256 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_PyObj_FromInt((int)wxEXEC_SYNC
));
28257 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_PyObj_FromInt((int)wxEXEC_NOHIDE
));
28258 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_PyObj_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
28260 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
28262 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_PyObj_FromInt((int)wxJOYSTICK1
));
28263 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_PyObj_FromInt((int)wxJOYSTICK2
));
28264 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_PyObj_FromInt((int)wxJOY_BUTTON_ANY
));
28265 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_PyObj_FromInt((int)wxJOY_BUTTON1
));
28266 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_PyObj_FromInt((int)wxJOY_BUTTON2
));
28267 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_PyObj_FromInt((int)wxJOY_BUTTON3
));
28268 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_PyObj_FromInt((int)wxJOY_BUTTON4
));
28269 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
28270 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
28271 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
28272 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
28273 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_PyObj_FromInt((int)wxSOUND_SYNC
));
28274 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_PyObj_FromInt((int)wxSOUND_ASYNC
));
28275 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_PyObj_FromInt((int)wxSOUND_LOOP
));
28276 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_PyObj_FromInt((int)wxMAILCAP_STANDARD
));
28277 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_PyObj_FromInt((int)wxMAILCAP_NETSCAPE
));
28278 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_PyObj_FromInt((int)wxMAILCAP_KDE
));
28279 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_PyObj_FromInt((int)wxMAILCAP_GNOME
));
28280 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_PyObj_FromInt((int)wxMAILCAP_ALL
));
28281 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
28282 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
28283 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
28284 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
28285 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
28286 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
28287 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
28288 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
28289 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
28290 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
28291 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
28292 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
28293 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
28294 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
28295 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
28296 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
28297 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
28298 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
28299 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
28300 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
28301 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
28302 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
28303 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
28304 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
28305 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
28306 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
28307 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
28308 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
28309 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
28310 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
28311 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
28312 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
28313 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
28314 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
28315 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
28316 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
28317 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
28318 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
28319 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
28321 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
28323 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
28324 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
28325 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_PyObj_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
28326 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_PyObj_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
28327 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Unknown
));
28328 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_PyObj_FromInt((int)wxConfigBase::Type_String
));
28329 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Boolean
));
28330 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Integer
));
28331 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Float
));
28332 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
28333 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
28334 PyDict_SetItemString(d
,"DateTime_Local", SWIG_PyObj_FromInt((int)wxDateTime::Local
));
28335 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_PyObj_FromInt((int)wxDateTime::GMT_12
));
28336 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_PyObj_FromInt((int)wxDateTime::GMT_11
));
28337 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_PyObj_FromInt((int)wxDateTime::GMT_10
));
28338 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_PyObj_FromInt((int)wxDateTime::GMT_9
));
28339 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_PyObj_FromInt((int)wxDateTime::GMT_8
));
28340 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_PyObj_FromInt((int)wxDateTime::GMT_7
));
28341 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_PyObj_FromInt((int)wxDateTime::GMT_6
));
28342 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_PyObj_FromInt((int)wxDateTime::GMT_5
));
28343 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_PyObj_FromInt((int)wxDateTime::GMT_4
));
28344 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_PyObj_FromInt((int)wxDateTime::GMT_3
));
28345 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_PyObj_FromInt((int)wxDateTime::GMT_2
));
28346 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_PyObj_FromInt((int)wxDateTime::GMT_1
));
28347 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_PyObj_FromInt((int)wxDateTime::GMT0
));
28348 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_PyObj_FromInt((int)wxDateTime::GMT1
));
28349 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_PyObj_FromInt((int)wxDateTime::GMT2
));
28350 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_PyObj_FromInt((int)wxDateTime::GMT3
));
28351 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_PyObj_FromInt((int)wxDateTime::GMT4
));
28352 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_PyObj_FromInt((int)wxDateTime::GMT5
));
28353 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_PyObj_FromInt((int)wxDateTime::GMT6
));
28354 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_PyObj_FromInt((int)wxDateTime::GMT7
));
28355 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_PyObj_FromInt((int)wxDateTime::GMT8
));
28356 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_PyObj_FromInt((int)wxDateTime::GMT9
));
28357 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_PyObj_FromInt((int)wxDateTime::GMT10
));
28358 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_PyObj_FromInt((int)wxDateTime::GMT11
));
28359 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_PyObj_FromInt((int)wxDateTime::GMT12
));
28360 PyDict_SetItemString(d
,"DateTime_WET", SWIG_PyObj_FromInt((int)wxDateTime::WET
));
28361 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_PyObj_FromInt((int)wxDateTime::WEST
));
28362 PyDict_SetItemString(d
,"DateTime_CET", SWIG_PyObj_FromInt((int)wxDateTime::CET
));
28363 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_PyObj_FromInt((int)wxDateTime::CEST
));
28364 PyDict_SetItemString(d
,"DateTime_EET", SWIG_PyObj_FromInt((int)wxDateTime::EET
));
28365 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_PyObj_FromInt((int)wxDateTime::EEST
));
28366 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_PyObj_FromInt((int)wxDateTime::MSK
));
28367 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_PyObj_FromInt((int)wxDateTime::MSD
));
28368 PyDict_SetItemString(d
,"DateTime_AST", SWIG_PyObj_FromInt((int)wxDateTime::AST
));
28369 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_PyObj_FromInt((int)wxDateTime::ADT
));
28370 PyDict_SetItemString(d
,"DateTime_EST", SWIG_PyObj_FromInt((int)wxDateTime::EST
));
28371 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_PyObj_FromInt((int)wxDateTime::EDT
));
28372 PyDict_SetItemString(d
,"DateTime_CST", SWIG_PyObj_FromInt((int)wxDateTime::CST
));
28373 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_PyObj_FromInt((int)wxDateTime::CDT
));
28374 PyDict_SetItemString(d
,"DateTime_MST", SWIG_PyObj_FromInt((int)wxDateTime::MST
));
28375 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_PyObj_FromInt((int)wxDateTime::MDT
));
28376 PyDict_SetItemString(d
,"DateTime_PST", SWIG_PyObj_FromInt((int)wxDateTime::PST
));
28377 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_PyObj_FromInt((int)wxDateTime::PDT
));
28378 PyDict_SetItemString(d
,"DateTime_HST", SWIG_PyObj_FromInt((int)wxDateTime::HST
));
28379 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_PyObj_FromInt((int)wxDateTime::AKST
));
28380 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_PyObj_FromInt((int)wxDateTime::AKDT
));
28381 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_PyObj_FromInt((int)wxDateTime::A_WST
));
28382 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_PyObj_FromInt((int)wxDateTime::A_CST
));
28383 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_PyObj_FromInt((int)wxDateTime::A_EST
));
28384 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_PyObj_FromInt((int)wxDateTime::A_ESST
));
28385 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_PyObj_FromInt((int)wxDateTime::UTC
));
28386 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_PyObj_FromInt((int)wxDateTime::Gregorian
));
28387 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_PyObj_FromInt((int)wxDateTime::Julian
));
28388 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Unknown
));
28389 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Standard
));
28390 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Alaska
));
28391 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Albania
));
28392 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria
));
28393 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
28394 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
28395 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
28396 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
28397 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Styria
));
28398 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Belgium
));
28399 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria
));
28400 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
28401 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
28402 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
28403 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Canada
));
28404 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China
));
28405 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_1
));
28406 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_2
));
28407 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
28408 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Denmark
));
28409 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Egypt
));
28410 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Estonia
));
28411 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Finland
));
28412 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France
));
28413 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Alsace
));
28414 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Lorraine
));
28415 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
28416 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany
));
28417 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
28418 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
28419 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
28420 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_GreatBritain
));
28421 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Greece
));
28422 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Hungary
));
28423 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Ireland
));
28424 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Italy
));
28425 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan
));
28426 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_1
));
28427 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_2
));
28428 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_3
));
28429 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Latvia
));
28430 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Lithuania
));
28431 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Luxemburg
));
28432 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands
));
28433 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
28434 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
28435 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
28436 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
28437 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Norway
));
28438 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Poland
));
28439 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Portugal
));
28440 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Romania
));
28441 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Russia
));
28442 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Scotland
));
28443 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Spain
));
28444 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Sweden
));
28445 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland
));
28446 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
28447 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
28448 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Turkey
));
28449 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_PyObj_FromInt((int)wxDateTime::Gr_USA
));
28450 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Wales
));
28451 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Yugoslavia
));
28452 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Country_Unknown
));
28453 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_PyObj_FromInt((int)wxDateTime::Country_Default
));
28454 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
28455 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_PyObj_FromInt((int)wxDateTime::Country_EEC
));
28456 PyDict_SetItemString(d
,"DateTime_France", SWIG_PyObj_FromInt((int)wxDateTime::France
));
28457 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Germany
));
28458 PyDict_SetItemString(d
,"DateTime_UK", SWIG_PyObj_FromInt((int)wxDateTime::UK
));
28459 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_End
));
28460 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Russia
));
28461 PyDict_SetItemString(d
,"DateTime_USA", SWIG_PyObj_FromInt((int)wxDateTime::USA
));
28462 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_PyObj_FromInt((int)wxDateTime::Jan
));
28463 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_PyObj_FromInt((int)wxDateTime::Feb
));
28464 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_PyObj_FromInt((int)wxDateTime::Mar
));
28465 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_PyObj_FromInt((int)wxDateTime::Apr
));
28466 PyDict_SetItemString(d
,"DateTime_May", SWIG_PyObj_FromInt((int)wxDateTime::May
));
28467 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_PyObj_FromInt((int)wxDateTime::Jun
));
28468 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_PyObj_FromInt((int)wxDateTime::Jul
));
28469 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_PyObj_FromInt((int)wxDateTime::Aug
));
28470 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_PyObj_FromInt((int)wxDateTime::Sep
));
28471 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_PyObj_FromInt((int)wxDateTime::Oct
));
28472 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_PyObj_FromInt((int)wxDateTime::Nov
));
28473 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_PyObj_FromInt((int)wxDateTime::Dec
));
28474 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Month
));
28475 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_PyObj_FromInt((int)wxDateTime::Sun
));
28476 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_PyObj_FromInt((int)wxDateTime::Mon
));
28477 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_PyObj_FromInt((int)wxDateTime::Tue
));
28478 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_PyObj_FromInt((int)wxDateTime::Wed
));
28479 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_PyObj_FromInt((int)wxDateTime::Thu
));
28480 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_PyObj_FromInt((int)wxDateTime::Fri
));
28481 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_PyObj_FromInt((int)wxDateTime::Sat
));
28482 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_PyObj_FromInt((int)wxDateTime::Inv_WeekDay
));
28483 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Year
));
28484 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_PyObj_FromInt((int)wxDateTime::Name_Full
));
28485 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_PyObj_FromInt((int)wxDateTime::Name_Abbr
));
28486 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_PyObj_FromInt((int)wxDateTime::Default_First
));
28487 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_PyObj_FromInt((int)wxDateTime::Monday_First
));
28488 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_PyObj_FromInt((int)wxDateTime::Sunday_First
));
28489 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
28490 PyDict_SetItemString(d
,"DF_INVALID", SWIG_PyObj_FromInt((int)wxDF_INVALID
));
28491 PyDict_SetItemString(d
,"DF_TEXT", SWIG_PyObj_FromInt((int)wxDF_TEXT
));
28492 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_PyObj_FromInt((int)wxDF_BITMAP
));
28493 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_PyObj_FromInt((int)wxDF_METAFILE
));
28494 PyDict_SetItemString(d
,"DF_SYLK", SWIG_PyObj_FromInt((int)wxDF_SYLK
));
28495 PyDict_SetItemString(d
,"DF_DIF", SWIG_PyObj_FromInt((int)wxDF_DIF
));
28496 PyDict_SetItemString(d
,"DF_TIFF", SWIG_PyObj_FromInt((int)wxDF_TIFF
));
28497 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_PyObj_FromInt((int)wxDF_OEMTEXT
));
28498 PyDict_SetItemString(d
,"DF_DIB", SWIG_PyObj_FromInt((int)wxDF_DIB
));
28499 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_PyObj_FromInt((int)wxDF_PALETTE
));
28500 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_PyObj_FromInt((int)wxDF_PENDATA
));
28501 PyDict_SetItemString(d
,"DF_RIFF", SWIG_PyObj_FromInt((int)wxDF_RIFF
));
28502 PyDict_SetItemString(d
,"DF_WAVE", SWIG_PyObj_FromInt((int)wxDF_WAVE
));
28503 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_PyObj_FromInt((int)wxDF_UNICODETEXT
));
28504 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_PyObj_FromInt((int)wxDF_ENHMETAFILE
));
28505 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_PyObj_FromInt((int)wxDF_FILENAME
));
28506 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_PyObj_FromInt((int)wxDF_LOCALE
));
28507 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_PyObj_FromInt((int)wxDF_PRIVATE
));
28508 PyDict_SetItemString(d
,"DF_HTML", SWIG_PyObj_FromInt((int)wxDF_HTML
));
28509 PyDict_SetItemString(d
,"DF_MAX", SWIG_PyObj_FromInt((int)wxDF_MAX
));
28510 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
28511 PyDict_SetItemString(d
,"DataObject_Get", SWIG_PyObj_FromInt((int)wxDataObject::Get
));
28512 PyDict_SetItemString(d
,"DataObject_Set", SWIG_PyObj_FromInt((int)wxDataObject::Set
));
28513 PyDict_SetItemString(d
,"DataObject_Both", SWIG_PyObj_FromInt((int)wxDataObject::Both
));
28514 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_PyObj_FromInt((int)wxDrag_CopyOnly
));
28515 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_PyObj_FromInt((int)wxDrag_AllowMove
));
28516 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_PyObj_FromInt((int)wxDrag_DefaultMove
));
28517 PyDict_SetItemString(d
,"DragError", SWIG_PyObj_FromInt((int)wxDragError
));
28518 PyDict_SetItemString(d
,"DragNone", SWIG_PyObj_FromInt((int)wxDragNone
));
28519 PyDict_SetItemString(d
,"DragCopy", SWIG_PyObj_FromInt((int)wxDragCopy
));
28520 PyDict_SetItemString(d
,"DragMove", SWIG_PyObj_FromInt((int)wxDragMove
));
28521 PyDict_SetItemString(d
,"DragLink", SWIG_PyObj_FromInt((int)wxDragLink
));
28522 PyDict_SetItemString(d
,"DragCancel", SWIG_PyObj_FromInt((int)wxDragCancel
));
28524 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
28525 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
28526 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
28527 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
28529 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);