1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxLogChain swig_types[0]
234 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
235 #define SWIGTYPE_p_wxFileHistory swig_types[2]
236 #define SWIGTYPE_p_wxLog swig_types[3]
237 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
238 #define SWIGTYPE_p_wxMenu swig_types[5]
239 #define SWIGTYPE_p_wxEvent swig_types[6]
240 #define SWIGTYPE_p_wxConfigBase swig_types[7]
241 #define SWIGTYPE_p_wxWave 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_wxPyBitmapDataObject swig_types[26]
260 #define SWIGTYPE_p_wxPyTextDataObject swig_types[27]
261 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
262 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
263 #define SWIGTYPE_p_wxDataObject 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_wxTimerRunner swig_types[35]
269 #define SWIGTYPE_p_wxLogWindow swig_types[36]
270 #define SWIGTYPE_p_wxTimeSpan swig_types[37]
271 #define SWIGTYPE_p_wxArrayString swig_types[38]
272 #define SWIGTYPE_p_wxWindowDisabler swig_types[39]
273 #define SWIGTYPE_p_wxToolTip swig_types[40]
274 #define SWIGTYPE_p_wxDataObjectComposite swig_types[41]
275 #define SWIGTYPE_p_wxFileConfig swig_types[42]
276 #define SWIGTYPE_p_wxSystemSettings swig_types[43]
277 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[44]
278 #define SWIGTYPE_p_wxDataObjectSimple swig_types[45]
279 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
280 #define SWIGTYPE_p_wxRect swig_types[47]
281 #define SWIGTYPE_p_char swig_types[48]
282 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[49]
283 #define SWIGTYPE_p_wxFileTypeInfo swig_types[50]
284 #define SWIGTYPE_p_wxFrame swig_types[51]
285 #define SWIGTYPE_p_wxTimer swig_types[52]
286 #define SWIGTYPE_p_wxMimeTypesManager swig_types[53]
287 #define SWIGTYPE_p_wxPyArtProvider swig_types[54]
288 #define SWIGTYPE_p_wxPyTipProvider swig_types[55]
289 #define SWIGTYPE_p_wxTipProvider swig_types[56]
290 #define SWIGTYPE_p_wxJoystick swig_types[57]
291 #define SWIGTYPE_p_wxSystemOptions swig_types[58]
292 #define SWIGTYPE_p_wxPoint swig_types[59]
293 #define SWIGTYPE_p_wxJoystickEvent swig_types[60]
294 #define SWIGTYPE_p_wxCursor swig_types[61]
295 #define SWIGTYPE_p_wxObject swig_types[62]
296 #define SWIGTYPE_p_wxOutputStream swig_types[63]
297 #define SWIGTYPE_p_wxDateTime swig_types[64]
298 #define SWIGTYPE_p_wxPyDropSource swig_types[65]
299 #define SWIGTYPE_p_wxWindow swig_types[66]
300 #define SWIGTYPE_p_wxString swig_types[67]
301 #define SWIGTYPE_p_wxPyProcess swig_types[68]
302 #define SWIGTYPE_p_wxBitmap swig_types[69]
303 #define SWIGTYPE_p_wxConfig swig_types[70]
304 #define SWIGTYPE_p_wxChar swig_types[71]
305 #define SWIGTYPE_p_wxBusyInfo swig_types[72]
306 #define SWIGTYPE_p_wxPyDropTarget swig_types[73]
307 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[74]
308 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[75]
309 #define SWIGTYPE_p_wxProcessEvent swig_types[76]
310 #define SWIGTYPE_p_wxPyLog swig_types[77]
311 #define SWIGTYPE_p_wxLogNull swig_types[78]
312 #define SWIGTYPE_p_wxColour swig_types[79]
313 #define SWIGTYPE_p_wxConfigPathChanger swig_types[80]
314 #define SWIGTYPE_p_wxPyTimer swig_types[81]
315 #define SWIGTYPE_p_wxDateSpan swig_types[82]
316 static swig_type_info
*swig_types
[84];
318 /* -------- TYPES TABLE (END) -------- */
321 /*-----------------------------------------------
323 ------------------------------------------------*/
324 #define SWIG_init init_misc
326 #define SWIG_name "_misc"
334 #define SWIGSTATIC(a) static inline a
336 #define SWIGSTATIC(a) static a
342 #ifdef HAVE_NUMERIC_CAST
343 #define numeric_cast(type,a) numeric_cast<type>(a)
345 #define numeric_cast(type,a) static_cast<type>(a)
348 #define numeric_cast(type,a) (type)(a)
354 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
355 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromShort PyInt_FromLong
357 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
358 #define SWIG_PyObj_FromInt PyInt_FromLong
359 #define SWIG_PyObj_FromLong PyInt_FromLong
360 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
361 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
362 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
363 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
366 #include "wx/wxPython/wxPython.h"
367 #include "wx/wxPython/pyclasses.h"
368 #include "wx/wxPython/pyistream.h"
371 static const wxString
wxPyEmptyString(wxEmptyString
);
376 SWIG_PyObj_AsInt(PyObject
*obj
)
378 return numeric_cast(int,
379 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
383 SWIGSTATIC(PyObject
*)
384 SWIG_PyObj_FromBool(bool value
)
386 PyObject
*obj
= value
? Py_True
: Py_False
;
391 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
392 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
393 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
396 SWIG_PyObj_AsLong(PyObject
* obj
)
398 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
403 SWIG_PyObj_AsBool(PyObject
*obj
)
405 return PyObject_IsTrue(obj
) ? true : false;
409 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
415 } else if (target
== Py_None
) {
419 if (!PyTuple_Check(target
)) {
421 target
= PyTuple_New(1);
422 PyTuple_SetItem(target
, 0, o2
);
425 PyTuple_SetItem(o3
, 0, o
);
428 target
= PySequence_Concat(o2
, o3
);
436 long wxGetFreeMemory()
437 { wxPyRaiseNotImplemented(); return 0; }
440 SWIGSTATIC(PyObject
* )
441 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
443 return (value
> (unsigned long)(LONG_MAX
)) ?
444 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
448 bool wxGetKeyState(wxKeyCode key
)
449 { wxPyRaiseNotImplemented(); return False
; }
452 void wxWakeUpMainThread() {}
455 bool wxThread_IsMain() {
456 #ifdef WXP_WITH_THREAD
457 return wxThread::IsMain();
464 int wxCaret_GetBlinkTime() {
465 return wxCaret::GetBlinkTime();
468 void wxCaret_SetBlinkTime(int milliseconds
) {
469 wxCaret::SetBlinkTime(milliseconds
);
473 #include <wx/snglinst.h>
477 #include <wx/msw/private.h>
478 #include <wx/dynload.h>
483 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
490 // This one only partially works. Appears to be an undocumented
491 // "standard" convention that not all widgets adhear to. For
492 // example, for some widgets backgrounds or non-client areas may
494 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
498 // This one works much better, except for on XP. On Win2k nearly
499 // all widgets and their children are captured correctly[**]. On
500 // XP with Themes activated most native widgets draw only
501 // partially, if at all. Without themes it works just like on
504 // ** For example the radio buttons in a wxRadioBox are not its
505 // children by default, but you can capture it via the panel
506 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
507 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
508 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
509 PRF_ERASEBKGND
| PRF_OWNED
);
513 // This one is only defined in the latest SDK and is only
514 // available on XP. MSDN says it is similar to sending WM_PRINT
515 // so I expect that it will work similar to the above. Since it
516 // is avaialble only on XP, it can't be compiled like this and
517 // will have to be loaded dynamically.
518 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
523 // Use PrintWindow if available, or fallback to WM_PRINT
524 // otherwise. Unfortunately using PrintWindow is even worse than
525 // WM_PRINT. For most native widgets nothing is drawn to the dc
526 // at all, with or without Themes.
527 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
528 static bool s_triedToLoad
= False
;
529 static PrintWindow_t pfnPrintWindow
= NULL
;
530 if ( !s_triedToLoad
)
533 s_triedToLoad
= True
;
534 wxDynamicLibrary
dllUser32(_T("user32.dll"));
535 if ( dllUser32
.IsLoaded() )
537 wxLogNull nolog
; // Don't report errors here
538 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
543 printf("Using PrintWindow\n");
544 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
548 printf("Using WM_PRINT\n");
549 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
550 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
558 #include <wx/tipdlg.h>
561 class wxPyTipProvider
: public wxTipProvider
{
563 wxPyTipProvider(size_t currentTip
)
564 : wxTipProvider(currentTip
) {}
566 DEC_PYCALLBACK_STRING__pure(GetTip
);
567 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
571 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
572 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
575 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
578 SWIGSTATIC(unsigned int)
579 SWIG_PyObj_AsUnsignedInt(PyObject
*obj
)
581 return numeric_cast(unsigned int,
582 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned int", UINT_MAX
));
585 wxString
Log_TimeStamp(){
587 wxLog::TimeStamp(&msg
);
590 void wxLog_Destroy(wxLog
*self
){ delete self
; }
592 // A wxLog class that can be derived from in wxPython
593 class wxPyLog
: public wxLog
{
595 wxPyLog() : wxLog() {}
597 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
599 wxPyBeginBlockThreads();
600 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
601 PyObject
* s
= wx2PyString(szString
);
602 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
605 wxPyEndBlockThreads();
607 wxLog::DoLog(level
, szString
, t
);
610 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
612 wxPyBeginBlockThreads();
613 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
614 PyObject
* s
= wx2PyString(szString
);
615 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
618 wxPyEndBlockThreads();
620 wxLog::DoLogString(szString
, t
);
629 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
632 #include <wx/joystick.h>
635 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
636 // A C++ stub class for wxJoystick for platforms that don't have it.
637 class wxJoystick
: public wxObject
{
639 wxJoystick(int joystick
= wxJOYSTICK1
) {
640 wxPyBeginBlockThreads();
641 PyErr_SetString(PyExc_NotImplementedError
,
642 "wxJoystick is not available on this platform.");
643 wxPyEndBlockThreads();
645 wxPoint
GetPosition() { return wxPoint(-1,-1); }
646 int GetZPosition() { return -1; }
647 int GetButtonState() { return -1; }
648 int GetPOVPosition() { return -1; }
649 int GetPOVCTSPosition() { return -1; }
650 int GetRudderPosition() { return -1; }
651 int GetUPosition() { return -1; }
652 int GetVPosition() { return -1; }
653 int GetMovementThreshold() { return -1; }
654 void SetMovementThreshold(int threshold
) {}
656 bool IsOk(void) { return False
; }
657 int GetNumberJoysticks() { return -1; }
658 int GetManufacturerId() { return -1; }
659 int GetProductId() { return -1; }
660 wxString
GetProductName() { return ""; }
661 int GetXMin() { return -1; }
662 int GetYMin() { return -1; }
663 int GetZMin() { return -1; }
664 int GetXMax() { return -1; }
665 int GetYMax() { return -1; }
666 int GetZMax() { return -1; }
667 int GetNumberButtons() { return -1; }
668 int GetNumberAxes() { return -1; }
669 int GetMaxButtons() { return -1; }
670 int GetMaxAxes() { return -1; }
671 int GetPollingMin() { return -1; }
672 int GetPollingMax() { return -1; }
673 int GetRudderMin() { return -1; }
674 int GetRudderMax() { return -1; }
675 int GetUMin() { return -1; }
676 int GetUMax() { return -1; }
677 int GetVMin() { return -1; }
678 int GetVMax() { return -1; }
680 bool HasRudder() { return False
; }
681 bool HasZ() { return False
; }
682 bool HasU() { return False
; }
683 bool HasV() { return False
; }
684 bool HasPOV() { return False
; }
685 bool HasPOV4Dir() { return False
; }
686 bool HasPOVCTS() { return False
; }
688 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
689 bool ReleaseCapture() { return False
; }
698 // A C++ stub class for wxWave for platforms that don't have it.
699 class wxWave
: public wxObject
702 wxWave(const wxString
& fileName
, bool isResource
= False
) {
703 wxPyBeginBlockThreads();
704 PyErr_SetString(PyExc_NotImplementedError
,
705 "wxWave is not available on this platform.");
706 wxPyEndBlockThreads();
708 wxWave(int size
, const wxByte
* data
) {
709 wxPyBeginBlockThreads();
710 PyErr_SetString(PyExc_NotImplementedError
,
711 "wxWave is not available on this platform.");
712 wxPyEndBlockThreads();
717 bool IsOk() const { return False
; }
718 bool Play(bool async
= True
, bool looped
= False
) const { return False
; }
723 wxWave
*new_wxWave(wxString
const &data
){
724 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
727 #include <wx/mimetype.h>
729 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
731 if (self
->GetMimeType(&str
))
732 return wx2PyString(str
);
736 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
738 if (self
->GetMimeTypes(arr
))
739 return wxArrayString2PyList_helper(arr
);
743 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
745 if (self
->GetExtensions(arr
))
746 return wxArrayString2PyList_helper(arr
);
750 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
752 if (self
->GetIcon(&loc
))
753 return new wxIcon(loc
);
757 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
759 if (self
->GetIcon(&loc
)) {
760 wxString iconFile
= loc
.GetFileName();
765 // Make a tuple and put the values in it
766 wxPyBeginBlockThreads();
767 PyObject
* tuple
= PyTuple_New(3);
768 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
769 wxT("wxIcon"), True
));
770 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
771 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
772 wxPyEndBlockThreads();
778 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
780 if (self
->GetDescription(&str
))
781 return wx2PyString(str
);
785 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
787 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
788 return wx2PyString(str
);
792 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
794 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
795 return wx2PyString(str
);
799 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
801 wxArrayString commands
;
802 if (self
->GetAllCommands(&verbs
, &commands
,
803 wxFileType::MessageParameters(filename
, mimetype
))) {
804 wxPyBeginBlockThreads();
805 PyObject
* tuple
= PyTuple_New(2);
806 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
807 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
808 wxPyEndBlockThreads();
814 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
815 return wxFileType::ExpandCommand(command
,
816 wxFileType::MessageParameters(filename
, mimetype
));
818 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
820 self
->EnumAllFileTypes(arr
);
821 return wxArrayString2PyList_helper(arr
);
824 #include <wx/artprov.h>
826 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
827 static const wxString
wxPyART_MENU(wxART_MENU
);
828 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
829 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
830 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
831 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
832 static const wxString
wxPyART_OTHER(wxART_OTHER
);
833 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
834 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
835 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
836 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
837 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
838 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
839 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
840 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
841 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
842 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
843 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
844 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
845 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
846 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
847 static const wxString
wxPyART_PRINT(wxART_PRINT
);
848 static const wxString
wxPyART_HELP(wxART_HELP
);
849 static const wxString
wxPyART_TIP(wxART_TIP
);
850 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
851 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
852 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
853 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
854 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
855 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
856 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
857 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
858 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
859 static const wxString
wxPyART_ERROR(wxART_ERROR
);
860 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
861 static const wxString
wxPyART_WARNING(wxART_WARNING
);
862 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
863 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
864 // Python aware wxArtProvider
865 class wxPyArtProvider
: public wxArtProvider
{
868 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
869 const wxArtClient
& client
,
870 const wxSize
& size
) {
871 wxBitmap rval
= wxNullBitmap
;
872 wxPyBeginBlockThreads();
873 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
874 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
878 s1
= wx2PyString(id
);
879 s2
= wx2PyString(client
);
880 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
885 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
890 wxPyEndBlockThreads();
897 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
901 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
902 PyObject
* ret
= PyTuple_New(3);
904 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
905 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
906 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
911 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
916 cont
= self
->GetFirstGroup(value
, index
);
917 return __EnumerationHelper(cont
, value
, index
);
919 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
923 cont
= self
->GetNextGroup(value
, index
);
924 return __EnumerationHelper(cont
, value
, index
);
926 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
931 cont
= self
->GetFirstEntry(value
, index
);
932 return __EnumerationHelper(cont
, value
, index
);
934 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
938 cont
= self
->GetNextEntry(value
, index
);
939 return __EnumerationHelper(cont
, value
, index
);
941 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
943 self
->Read(key
, &rv
, defaultVal
);
948 SWIG_PyObj_AsDouble(PyObject
*obj
)
950 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
952 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
954 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
956 if (PyErr_Occurred()) {
958 PyErr_SetString(PyExc_TypeError
, "a double is expected");
962 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
964 self
->Read(key
, &rv
, defaultVal
);
967 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
969 self
->Read(key
, &rv
, defaultVal
);
973 #include <wx/datetime.h>
976 static const wxString
wxPyDateFormatStr(wxT("%c"));
977 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
979 #define LOCAL_TZ wxDateTime::Local
982 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
984 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
985 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
986 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
987 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
988 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
989 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
< other
; }
990 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
<= other
; }
991 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
> other
; }
992 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
>= other
; }
993 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
== other
; }
994 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
!= other
; }
995 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
997 const wxChar
* _date
= date
;
998 rv
= self
->ParseRfc822Date(_date
);
999 if (rv
== NULL
) return -1;
1002 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1004 const wxChar
* _date
= date
;
1005 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1006 if (rv
== NULL
) return -1;
1009 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1011 const wxChar
* _datetime
= datetime
;
1012 rv
= self
->ParseDateTime(_datetime
);
1013 if (rv
== NULL
) return -1;
1014 return rv
- _datetime
;
1016 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1018 const wxChar
* _date
= date
;
1019 rv
= self
->ParseDate(_date
);
1020 if (rv
== NULL
) return -1;
1023 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1025 const wxChar
* _time
= time
;
1026 rv
= self
->ParseTime(_time
);
1027 if (rv
== NULL
) return -1;
1030 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1031 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1032 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1033 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1034 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
< other
; }
1035 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
<= other
; }
1036 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
> other
; }
1037 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
>= other
; }
1038 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
== other
; }
1039 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
!= other
; }
1040 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1041 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1042 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1043 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1044 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
== other
; }
1045 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
!= other
; }
1047 #include <wx/dataobj.h>
1049 // Create a new class for wxPython to use
1050 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1052 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1053 : wxDataObjectSimple(format
) {}
1055 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1056 bool GetDataHere(void *buf
) const;
1057 bool SetData(size_t len
, const void *buf
) const;
1061 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1063 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1064 // We need to get the data for this object and write it to buf. I think
1065 // the best way to do this for wxPython is to have the Python method
1066 // return either a string or None and then act appropriately with the
1070 wxPyBeginBlockThreads();
1071 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1073 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1075 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1077 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1081 wxPyEndBlockThreads();
1085 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1086 // For this one we simply need to make a string from buf and len
1087 // and send it to the Python method.
1089 wxPyBeginBlockThreads();
1090 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1091 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1092 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1095 wxPyEndBlockThreads();
1099 // Create a new class for wxPython to use
1100 class wxPyTextDataObject
: public wxTextDataObject
{
1102 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1103 : wxTextDataObject(text
) {}
1105 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1106 DEC_PYCALLBACK_STRING__const(GetText
);
1107 DEC_PYCALLBACK__STRING(SetText
);
1111 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1112 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1113 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1116 // Create a new class for wxPython to use
1117 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1119 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1120 : wxBitmapDataObject(bitmap
) {}
1122 wxBitmap
GetBitmap() const;
1123 void SetBitmap(const wxBitmap
& bitmap
);
1127 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1128 wxBitmap
* rval
= &wxNullBitmap
;
1129 wxPyBeginBlockThreads();
1130 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1133 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1135 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1140 wxPyEndBlockThreads();
1144 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1145 wxPyBeginBlockThreads();
1146 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1147 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1148 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1151 wxPyEndBlockThreads();
1154 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1155 if (PyString_Check(data
)) {
1156 // for Python we just call SetData here since we always need it to make a copy.
1157 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1160 // raise a TypeError if not a string
1161 PyErr_SetString(PyExc_TypeError
, "String expected.");
1164 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1165 if (PyString_Check(data
)) {
1166 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1169 // raise a TypeError if not a string
1170 PyErr_SetString(PyExc_TypeError
, "String expected.");
1174 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1175 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1178 class wxMetafileDataObject
: public wxDataObjectSimple
1181 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1185 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1188 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1189 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1190 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1191 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1192 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1195 class wxPyTextDropTarget
: public wxTextDropTarget
{
1197 wxPyTextDropTarget() {}
1199 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1201 DEC_PYCALLBACK__(OnLeave
);
1202 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1203 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1204 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1205 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1210 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1211 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1212 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1213 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1214 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1215 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1219 class wxPyFileDropTarget
: public wxFileDropTarget
{
1221 wxPyFileDropTarget() {}
1223 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1225 DEC_PYCALLBACK__(OnLeave
);
1226 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1227 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1228 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1229 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1234 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1235 const wxArrayString
& filenames
) {
1237 wxPyBeginBlockThreads();
1238 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1239 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1240 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1243 wxPyEndBlockThreads();
1249 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1250 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1251 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1252 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1253 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1258 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1262 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1263 PyObject
*resultobj
;
1266 PyObject
* obj0
= 0 ;
1268 (char *) "index", NULL
1271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1273 arg1
= (wxSystemColour
) SWIG_PyObj_AsInt(obj0
);
1274 if (PyErr_Occurred()) SWIG_fail
;
1277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1278 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1280 wxPyEndAllowThreads(__tstate
);
1281 if (PyErr_Occurred()) SWIG_fail
;
1284 wxColour
* resultptr
;
1285 resultptr
= new wxColour((wxColour
&) result
);
1286 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1294 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
*resultobj
;
1298 PyObject
* obj0
= 0 ;
1300 (char *) "index", NULL
1303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1305 arg1
= (wxSystemFont
) SWIG_PyObj_AsInt(obj0
);
1306 if (PyErr_Occurred()) SWIG_fail
;
1309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1310 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1312 wxPyEndAllowThreads(__tstate
);
1313 if (PyErr_Occurred()) SWIG_fail
;
1317 resultptr
= new wxFont((wxFont
&) result
);
1318 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
1326 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1327 PyObject
*resultobj
;
1330 PyObject
* obj0
= 0 ;
1332 (char *) "index", NULL
1335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1337 arg1
= (wxSystemMetric
) SWIG_PyObj_AsInt(obj0
);
1338 if (PyErr_Occurred()) SWIG_fail
;
1341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1342 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1344 wxPyEndAllowThreads(__tstate
);
1345 if (PyErr_Occurred()) SWIG_fail
;
1347 resultobj
= SWIG_PyObj_FromInt((int)result
);
1354 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1355 PyObject
*resultobj
;
1358 PyObject
* obj0
= 0 ;
1360 (char *) "index", NULL
1363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1365 arg1
= (wxSystemFeature
) SWIG_PyObj_AsInt(obj0
);
1366 if (PyErr_Occurred()) SWIG_fail
;
1369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1370 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1372 wxPyEndAllowThreads(__tstate
);
1373 if (PyErr_Occurred()) SWIG_fail
;
1375 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1382 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1383 PyObject
*resultobj
;
1389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1392 result
= (int)wxSystemSettings::GetScreenType();
1394 wxPyEndAllowThreads(__tstate
);
1395 if (PyErr_Occurred()) SWIG_fail
;
1397 resultobj
= SWIG_PyObj_FromInt((int)result
);
1404 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
*resultobj
;
1407 PyObject
* obj0
= 0 ;
1409 (char *) "screen", NULL
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1414 arg1
= (wxSystemScreenType
) SWIG_PyObj_AsInt(obj0
);
1415 if (PyErr_Occurred()) SWIG_fail
;
1418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1419 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1421 wxPyEndAllowThreads(__tstate
);
1422 if (PyErr_Occurred()) SWIG_fail
;
1424 Py_INCREF(Py_None
); resultobj
= Py_None
;
1431 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1434 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1436 return Py_BuildValue((char *)"");
1438 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
*resultobj
;
1440 wxSystemOptions
*result
;
1445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1448 result
= (wxSystemOptions
*)new wxSystemOptions();
1450 wxPyEndAllowThreads(__tstate
);
1451 if (PyErr_Occurred()) SWIG_fail
;
1453 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSystemOptions
, 1);
1460 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
*resultobj
;
1462 wxString
*arg1
= 0 ;
1463 wxString
*arg2
= 0 ;
1464 bool temp1
= False
;
1465 bool temp2
= False
;
1466 PyObject
* obj0
= 0 ;
1467 PyObject
* obj1
= 0 ;
1469 (char *) "name",(char *) "value", NULL
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1474 arg1
= wxString_in_helper(obj0
);
1475 if (arg1
== NULL
) SWIG_fail
;
1479 arg2
= wxString_in_helper(obj1
);
1480 if (arg2
== NULL
) SWIG_fail
;
1484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1485 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1487 wxPyEndAllowThreads(__tstate
);
1488 if (PyErr_Occurred()) SWIG_fail
;
1490 Py_INCREF(Py_None
); resultobj
= Py_None
;
1513 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
*resultobj
;
1515 wxString
*arg1
= 0 ;
1517 bool temp1
= False
;
1518 PyObject
* obj0
= 0 ;
1519 PyObject
* obj1
= 0 ;
1521 (char *) "name",(char *) "value", NULL
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1526 arg1
= wxString_in_helper(obj0
);
1527 if (arg1
== NULL
) SWIG_fail
;
1531 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1532 if (PyErr_Occurred()) SWIG_fail
;
1535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1536 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1538 wxPyEndAllowThreads(__tstate
);
1539 if (PyErr_Occurred()) SWIG_fail
;
1541 Py_INCREF(Py_None
); resultobj
= Py_None
;
1556 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1557 PyObject
*resultobj
;
1558 wxString
*arg1
= 0 ;
1560 bool temp1
= False
;
1561 PyObject
* obj0
= 0 ;
1563 (char *) "name", NULL
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1568 arg1
= wxString_in_helper(obj0
);
1569 if (arg1
== NULL
) SWIG_fail
;
1573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1574 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1576 wxPyEndAllowThreads(__tstate
);
1577 if (PyErr_Occurred()) SWIG_fail
;
1581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1600 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1601 PyObject
*resultobj
;
1602 wxString
*arg1
= 0 ;
1604 bool temp1
= False
;
1605 PyObject
* obj0
= 0 ;
1607 (char *) "name", NULL
1610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1612 arg1
= wxString_in_helper(obj0
);
1613 if (arg1
== NULL
) SWIG_fail
;
1617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1618 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1620 wxPyEndAllowThreads(__tstate
);
1621 if (PyErr_Occurred()) SWIG_fail
;
1623 resultobj
= SWIG_PyObj_FromInt((int)result
);
1638 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
*resultobj
;
1640 wxString
*arg1
= 0 ;
1642 bool temp1
= False
;
1643 PyObject
* obj0
= 0 ;
1645 (char *) "name", NULL
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1650 arg1
= wxString_in_helper(obj0
);
1651 if (arg1
== NULL
) SWIG_fail
;
1655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1656 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1658 wxPyEndAllowThreads(__tstate
);
1659 if (PyErr_Occurred()) SWIG_fail
;
1661 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1676 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1679 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1681 return Py_BuildValue((char *)"");
1683 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1684 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1689 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1694 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1696 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1703 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1704 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1709 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1714 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1716 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1723 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1724 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1729 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1734 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1736 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1743 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1744 PyObject
*resultobj
;
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1753 result
= (long)wxNewId();
1755 wxPyEndAllowThreads(__tstate
);
1756 if (PyErr_Occurred()) SWIG_fail
;
1758 resultobj
= SWIG_PyObj_FromLong((long)result
);
1765 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
*resultobj
;
1768 PyObject
* obj0
= 0 ;
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
1775 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
1776 if (PyErr_Occurred()) SWIG_fail
;
1779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1782 wxPyEndAllowThreads(__tstate
);
1783 if (PyErr_Occurred()) SWIG_fail
;
1785 Py_INCREF(Py_None
); resultobj
= Py_None
;
1792 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
*resultobj
;
1799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1802 result
= (long)wxGetCurrentId();
1804 wxPyEndAllowThreads(__tstate
);
1805 if (PyErr_Occurred()) SWIG_fail
;
1807 resultobj
= SWIG_PyObj_FromLong((long)result
);
1814 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
*resultobj
;
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1825 wxPyEndAllowThreads(__tstate
);
1826 if (PyErr_Occurred()) SWIG_fail
;
1828 Py_INCREF(Py_None
); resultobj
= Py_None
;
1835 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
*resultobj
;
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
1843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1846 wxPyEndAllowThreads(__tstate
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1849 Py_INCREF(Py_None
); resultobj
= Py_None
;
1856 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
*resultobj
;
1858 bool arg1
= (bool) True
;
1860 PyObject
* obj0
= 0 ;
1862 (char *) "resetTimer", NULL
1865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
1868 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
1869 if (PyErr_Occurred()) SWIG_fail
;
1873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1874 result
= (long)wxGetElapsedTime(arg1
);
1876 wxPyEndAllowThreads(__tstate
);
1877 if (PyErr_Occurred()) SWIG_fail
;
1879 resultobj
= SWIG_PyObj_FromLong((long)result
);
1886 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1887 PyObject
*resultobj
;
1888 int *arg1
= (int *) 0 ;
1889 int *arg2
= (int *) 0 ;
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
1900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1901 wxGetMousePosition(arg1
,arg2
);
1903 wxPyEndAllowThreads(__tstate
);
1904 if (PyErr_Occurred()) SWIG_fail
;
1906 Py_INCREF(Py_None
); resultobj
= Py_None
;
1908 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1909 resultobj
= t_output_helper(resultobj
,o
);
1912 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1913 resultobj
= t_output_helper(resultobj
,o
);
1921 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1922 PyObject
*resultobj
;
1928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
1930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1931 result
= (bool)wxIsBusy();
1933 wxPyEndAllowThreads(__tstate
);
1934 if (PyErr_Occurred()) SWIG_fail
;
1936 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1943 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1944 PyObject
*resultobj
;
1950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
1952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1955 wxPyEndAllowThreads(__tstate
);
1956 if (PyErr_Occurred()) SWIG_fail
;
1960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1971 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1972 PyObject
*resultobj
;
1973 wxString
const &arg1_defvalue
= wxPyEmptyString
;
1974 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
1976 bool temp1
= False
;
1977 PyObject
* obj0
= 0 ;
1979 (char *) "command", NULL
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
1985 arg1
= wxString_in_helper(obj0
);
1986 if (arg1
== NULL
) SWIG_fail
;
1991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1992 result
= (bool)wxShell((wxString
const &)*arg1
);
1994 wxPyEndAllowThreads(__tstate
);
1995 if (PyErr_Occurred()) SWIG_fail
;
1997 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2012 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
*resultobj
;
2018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2023 wxPyEndAllowThreads(__tstate
);
2024 if (PyErr_Occurred()) SWIG_fail
;
2026 Py_INCREF(Py_None
); resultobj
= Py_None
;
2033 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
*resultobj
;
2035 int *arg1
= (int *) 0 ;
2036 int *arg2
= (int *) 0 ;
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2049 result
= (int)wxGetOsVersion(arg1
,arg2
);
2051 wxPyEndAllowThreads(__tstate
);
2052 if (PyErr_Occurred()) SWIG_fail
;
2054 resultobj
= SWIG_PyObj_FromInt((int)result
);
2056 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2057 resultobj
= t_output_helper(resultobj
,o
);
2060 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2061 resultobj
= t_output_helper(resultobj
,o
);
2069 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
*resultobj
;
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2079 result
= wxGetOsDescription();
2081 wxPyEndAllowThreads(__tstate
);
2082 if (PyErr_Occurred()) SWIG_fail
;
2086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2097 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
*resultobj
;
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2107 result
= (long)wxGetFreeMemory();
2109 wxPyEndAllowThreads(__tstate
);
2110 if (PyErr_Occurred()) SWIG_fail
;
2112 resultobj
= SWIG_PyObj_FromLong((long)result
);
2119 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
*resultobj
;
2123 PyObject
* obj0
= 0 ;
2125 (char *) "wFlags", NULL
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2130 arg1
= (wxShutdownFlags
) SWIG_PyObj_AsInt(obj0
);
2131 if (PyErr_Occurred()) SWIG_fail
;
2134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2135 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2137 wxPyEndAllowThreads(__tstate
);
2138 if (PyErr_Occurred()) SWIG_fail
;
2140 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2147 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
*resultobj
;
2150 PyObject
* obj0
= 0 ;
2152 (char *) "secs", NULL
2155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2157 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2158 if (PyErr_Occurred()) SWIG_fail
;
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) SWIG_fail
;
2167 Py_INCREF(Py_None
); resultobj
= Py_None
;
2174 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2175 PyObject
*resultobj
;
2176 unsigned long arg1
;
2177 PyObject
* obj0
= 0 ;
2179 (char *) "milliseconds", NULL
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2184 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
2185 if (PyErr_Occurred()) SWIG_fail
;
2188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2191 wxPyEndAllowThreads(__tstate
);
2192 if (PyErr_Occurred()) SWIG_fail
;
2194 Py_INCREF(Py_None
); resultobj
= Py_None
;
2201 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2202 PyObject
*resultobj
;
2204 PyObject
* obj0
= 0 ;
2206 (char *) "enable", NULL
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2211 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
2212 if (PyErr_Occurred()) SWIG_fail
;
2215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2216 wxEnableTopLevelWindows(arg1
);
2218 wxPyEndAllowThreads(__tstate
);
2219 if (PyErr_Occurred()) SWIG_fail
;
2221 Py_INCREF(Py_None
); resultobj
= Py_None
;
2228 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2229 PyObject
*resultobj
;
2230 wxString
*arg1
= 0 ;
2232 bool temp1
= False
;
2233 PyObject
* obj0
= 0 ;
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2240 arg1
= wxString_in_helper(obj0
);
2241 if (arg1
== NULL
) SWIG_fail
;
2245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2246 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2248 wxPyEndAllowThreads(__tstate
);
2249 if (PyErr_Occurred()) SWIG_fail
;
2253 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2255 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2272 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
*resultobj
;
2279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2282 result
= wxGetEmailAddress();
2284 wxPyEndAllowThreads(__tstate
);
2285 if (PyErr_Occurred()) SWIG_fail
;
2289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2300 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2301 PyObject
*resultobj
;
2307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2310 result
= wxGetHostName();
2312 wxPyEndAllowThreads(__tstate
);
2313 if (PyErr_Occurred()) SWIG_fail
;
2317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2328 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
*resultobj
;
2335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2338 result
= wxGetFullHostName();
2340 wxPyEndAllowThreads(__tstate
);
2341 if (PyErr_Occurred()) SWIG_fail
;
2345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2356 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2357 PyObject
*resultobj
;
2363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2366 result
= wxGetUserId();
2368 wxPyEndAllowThreads(__tstate
);
2369 if (PyErr_Occurred()) SWIG_fail
;
2373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2384 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
*resultobj
;
2391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2394 result
= wxGetUserName();
2396 wxPyEndAllowThreads(__tstate
);
2397 if (PyErr_Occurred()) SWIG_fail
;
2401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2412 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
*resultobj
;
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 result
= wxGetHomeDir();
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) SWIG_fail
;
2429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2440 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
*resultobj
;
2442 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2443 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2445 bool temp1
= False
;
2446 PyObject
* obj0
= 0 ;
2448 (char *) "user", NULL
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2454 arg1
= wxString_in_helper(obj0
);
2455 if (arg1
== NULL
) SWIG_fail
;
2460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2461 result
= wxGetUserHome((wxString
const &)*arg1
);
2463 wxPyEndAllowThreads(__tstate
);
2464 if (PyErr_Occurred()) SWIG_fail
;
2468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2487 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
*resultobj
;
2489 unsigned long result
;
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2497 result
= (unsigned long)wxGetProcessId();
2499 wxPyEndAllowThreads(__tstate
);
2500 if (PyErr_Occurred()) SWIG_fail
;
2502 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
2509 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
*resultobj
;
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) SWIG_fail
;
2523 Py_INCREF(Py_None
); resultobj
= Py_None
;
2530 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
*resultobj
;
2532 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2533 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2534 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2535 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2536 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2537 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2538 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2539 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2540 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2541 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2542 int arg6
= (int) 0 ;
2543 wxWindow
*arg7
= (wxWindow
*) NULL
;
2544 int arg8
= (int) -1 ;
2545 int arg9
= (int) -1 ;
2547 bool temp1
= False
;
2548 bool temp2
= False
;
2549 bool temp3
= False
;
2550 bool temp4
= False
;
2551 bool temp5
= False
;
2552 PyObject
* obj0
= 0 ;
2553 PyObject
* obj1
= 0 ;
2554 PyObject
* obj2
= 0 ;
2555 PyObject
* obj3
= 0 ;
2556 PyObject
* obj4
= 0 ;
2557 PyObject
* obj5
= 0 ;
2558 PyObject
* obj6
= 0 ;
2559 PyObject
* obj7
= 0 ;
2560 PyObject
* obj8
= 0 ;
2562 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2568 arg1
= wxString_in_helper(obj0
);
2569 if (arg1
== NULL
) SWIG_fail
;
2575 arg2
= wxString_in_helper(obj1
);
2576 if (arg2
== NULL
) SWIG_fail
;
2582 arg3
= wxString_in_helper(obj2
);
2583 if (arg3
== NULL
) SWIG_fail
;
2589 arg4
= wxString_in_helper(obj3
);
2590 if (arg4
== NULL
) SWIG_fail
;
2596 arg5
= wxString_in_helper(obj4
);
2597 if (arg5
== NULL
) SWIG_fail
;
2603 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
2604 if (PyErr_Occurred()) SWIG_fail
;
2608 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2612 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
2613 if (PyErr_Occurred()) SWIG_fail
;
2618 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
2619 if (PyErr_Occurred()) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2682 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
*resultobj
;
2684 wxString
*arg1
= 0 ;
2685 wxString
*arg2
= 0 ;
2686 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2687 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2688 wxWindow
*arg4
= (wxWindow
*) NULL
;
2690 bool temp1
= False
;
2691 bool temp2
= False
;
2692 bool temp3
= False
;
2693 PyObject
* obj0
= 0 ;
2694 PyObject
* obj1
= 0 ;
2695 PyObject
* obj2
= 0 ;
2696 PyObject
* obj3
= 0 ;
2698 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2703 arg1
= wxString_in_helper(obj0
);
2704 if (arg1
== NULL
) SWIG_fail
;
2708 arg2
= wxString_in_helper(obj1
);
2709 if (arg2
== NULL
) SWIG_fail
;
2714 arg3
= wxString_in_helper(obj2
);
2715 if (arg3
== NULL
) SWIG_fail
;
2720 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2724 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2726 wxPyEndAllowThreads(__tstate
);
2727 if (PyErr_Occurred()) SWIG_fail
;
2731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2766 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
*resultobj
;
2768 wxString
*arg1
= 0 ;
2769 wxString
*arg2
= 0 ;
2770 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2771 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2772 wxWindow
*arg4
= (wxWindow
*) NULL
;
2774 bool temp1
= False
;
2775 bool temp2
= False
;
2776 bool temp3
= False
;
2777 PyObject
* obj0
= 0 ;
2778 PyObject
* obj1
= 0 ;
2779 PyObject
* obj2
= 0 ;
2780 PyObject
* obj3
= 0 ;
2782 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2787 arg1
= wxString_in_helper(obj0
);
2788 if (arg1
== NULL
) SWIG_fail
;
2792 arg2
= wxString_in_helper(obj1
);
2793 if (arg2
== NULL
) SWIG_fail
;
2798 arg3
= wxString_in_helper(obj2
);
2799 if (arg3
== NULL
) SWIG_fail
;
2804 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2808 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2810 wxPyEndAllowThreads(__tstate
);
2811 if (PyErr_Occurred()) SWIG_fail
;
2815 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2817 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2850 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2851 PyObject
*resultobj
;
2852 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
2853 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2854 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2855 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2856 long arg3
= (long) wxDD_DEFAULT_STYLE
;
2857 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2858 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2859 wxWindow
*arg5
= (wxWindow
*) NULL
;
2861 bool temp1
= False
;
2862 bool temp2
= False
;
2864 PyObject
* obj0
= 0 ;
2865 PyObject
* obj1
= 0 ;
2866 PyObject
* obj2
= 0 ;
2867 PyObject
* obj3
= 0 ;
2868 PyObject
* obj4
= 0 ;
2870 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2876 arg1
= wxString_in_helper(obj0
);
2877 if (arg1
== NULL
) SWIG_fail
;
2883 arg2
= wxString_in_helper(obj1
);
2884 if (arg2
== NULL
) SWIG_fail
;
2890 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
2891 if (PyErr_Occurred()) SWIG_fail
;
2897 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2901 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2905 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
2907 wxPyEndAllowThreads(__tstate
);
2908 if (PyErr_Occurred()) SWIG_fail
;
2912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2939 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
*resultobj
;
2941 wxString
*arg1
= 0 ;
2942 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2943 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2944 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2945 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2946 wxWindow
*arg4
= (wxWindow
*) NULL
;
2947 int arg5
= (int) -1 ;
2948 int arg6
= (int) -1 ;
2949 bool arg7
= (bool) True
;
2951 bool temp1
= False
;
2952 bool temp2
= False
;
2953 bool temp3
= False
;
2954 PyObject
* obj0
= 0 ;
2955 PyObject
* obj1
= 0 ;
2956 PyObject
* obj2
= 0 ;
2957 PyObject
* obj3
= 0 ;
2958 PyObject
* obj4
= 0 ;
2959 PyObject
* obj5
= 0 ;
2960 PyObject
* obj6
= 0 ;
2962 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2967 arg1
= wxString_in_helper(obj0
);
2968 if (arg1
== NULL
) SWIG_fail
;
2973 arg2
= wxString_in_helper(obj1
);
2974 if (arg2
== NULL
) SWIG_fail
;
2980 arg3
= wxString_in_helper(obj2
);
2981 if (arg3
== NULL
) SWIG_fail
;
2986 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2990 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2991 if (PyErr_Occurred()) SWIG_fail
;
2996 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
2997 if (PyErr_Occurred()) SWIG_fail
;
3002 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
3003 if (PyErr_Occurred()) SWIG_fail
;
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) SWIG_fail
;
3015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3050 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
*resultobj
;
3052 wxString
*arg1
= 0 ;
3053 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3054 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3055 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3056 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3057 wxWindow
*arg4
= (wxWindow
*) NULL
;
3059 bool temp1
= False
;
3060 bool temp2
= False
;
3061 bool temp3
= False
;
3062 PyObject
* obj0
= 0 ;
3063 PyObject
* obj1
= 0 ;
3064 PyObject
* obj2
= 0 ;
3065 PyObject
* obj3
= 0 ;
3067 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3072 arg1
= wxString_in_helper(obj0
);
3073 if (arg1
== NULL
) SWIG_fail
;
3078 arg2
= wxString_in_helper(obj1
);
3079 if (arg2
== NULL
) SWIG_fail
;
3085 arg3
= wxString_in_helper(obj2
);
3086 if (arg3
== NULL
) SWIG_fail
;
3091 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3095 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3097 wxPyEndAllowThreads(__tstate
);
3098 if (PyErr_Occurred()) SWIG_fail
;
3102 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3104 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3137 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
*resultobj
;
3139 wxString
*arg1
= 0 ;
3140 wxString
*arg2
= 0 ;
3142 wxString
*arg4
= (wxString
*) 0 ;
3143 wxWindow
*arg5
= (wxWindow
*) NULL
;
3144 int arg6
= (int) -1 ;
3145 int arg7
= (int) -1 ;
3146 bool arg8
= (bool) True
;
3147 int arg9
= (int) 150 ;
3148 int arg10
= (int) 200 ;
3150 bool temp1
= False
;
3151 bool temp2
= False
;
3152 PyObject
* obj0
= 0 ;
3153 PyObject
* obj1
= 0 ;
3154 PyObject
* obj2
= 0 ;
3155 PyObject
* obj3
= 0 ;
3156 PyObject
* obj4
= 0 ;
3157 PyObject
* obj5
= 0 ;
3158 PyObject
* obj6
= 0 ;
3159 PyObject
* obj7
= 0 ;
3160 PyObject
* obj8
= 0 ;
3162 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3167 arg1
= wxString_in_helper(obj0
);
3168 if (arg1
== NULL
) SWIG_fail
;
3172 arg2
= wxString_in_helper(obj1
);
3173 if (arg2
== NULL
) SWIG_fail
;
3177 arg3
= PyList_Size(obj2
);
3178 arg4
= wxString_LIST_helper(obj2
);
3179 if (arg4
== NULL
) SWIG_fail
;
3182 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3186 arg6
= (int) SWIG_PyObj_AsInt(obj4
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3192 arg7
= (int) SWIG_PyObj_AsInt(obj5
);
3193 if (PyErr_Occurred()) SWIG_fail
;
3198 arg8
= (bool) SWIG_PyObj_AsBool(obj6
);
3199 if (PyErr_Occurred()) SWIG_fail
;
3204 arg9
= (int) SWIG_PyObj_AsInt(obj7
);
3205 if (PyErr_Occurred()) SWIG_fail
;
3210 arg10
= (int) SWIG_PyObj_AsInt(obj8
);
3211 if (PyErr_Occurred()) SWIG_fail
;
3215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3216 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3218 wxPyEndAllowThreads(__tstate
);
3219 if (PyErr_Occurred()) SWIG_fail
;
3223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3237 if (arg4
) delete [] arg4
;
3250 if (arg4
) delete [] arg4
;
3256 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3257 PyObject
*resultobj
;
3258 wxString
*arg1
= 0 ;
3259 wxString
*arg2
= 0 ;
3261 wxString
*arg4
= (wxString
*) 0 ;
3262 wxWindow
*arg5
= (wxWindow
*) NULL
;
3263 int arg6
= (int) -1 ;
3264 int arg7
= (int) -1 ;
3265 bool arg8
= (bool) True
;
3266 int arg9
= (int) 150 ;
3267 int arg10
= (int) 200 ;
3269 bool temp1
= False
;
3270 bool temp2
= False
;
3271 PyObject
* obj0
= 0 ;
3272 PyObject
* obj1
= 0 ;
3273 PyObject
* obj2
= 0 ;
3274 PyObject
* obj3
= 0 ;
3275 PyObject
* obj4
= 0 ;
3276 PyObject
* obj5
= 0 ;
3277 PyObject
* obj6
= 0 ;
3278 PyObject
* obj7
= 0 ;
3279 PyObject
* obj8
= 0 ;
3281 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3286 arg1
= wxString_in_helper(obj0
);
3287 if (arg1
== NULL
) SWIG_fail
;
3291 arg2
= wxString_in_helper(obj1
);
3292 if (arg2
== NULL
) SWIG_fail
;
3296 arg3
= PyList_Size(obj2
);
3297 arg4
= wxString_LIST_helper(obj2
);
3298 if (arg4
== NULL
) SWIG_fail
;
3301 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3305 arg6
= (int) SWIG_PyObj_AsInt(obj4
);
3306 if (PyErr_Occurred()) SWIG_fail
;
3311 arg7
= (int) SWIG_PyObj_AsInt(obj5
);
3312 if (PyErr_Occurred()) SWIG_fail
;
3317 arg8
= (bool) SWIG_PyObj_AsBool(obj6
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3323 arg9
= (int) SWIG_PyObj_AsInt(obj7
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3329 arg10
= (int) SWIG_PyObj_AsInt(obj8
);
3330 if (PyErr_Occurred()) SWIG_fail
;
3334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3335 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3337 wxPyEndAllowThreads(__tstate
);
3338 if (PyErr_Occurred()) SWIG_fail
;
3340 resultobj
= SWIG_PyObj_FromInt((int)result
);
3350 if (arg4
) delete [] arg4
;
3363 if (arg4
) delete [] arg4
;
3369 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
*resultobj
;
3371 wxString
*arg1
= 0 ;
3372 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3373 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3374 int arg3
= (int) wxOK
|wxCENTRE
;
3375 wxWindow
*arg4
= (wxWindow
*) NULL
;
3376 int arg5
= (int) -1 ;
3377 int arg6
= (int) -1 ;
3379 bool temp1
= False
;
3380 bool temp2
= False
;
3381 PyObject
* obj0
= 0 ;
3382 PyObject
* obj1
= 0 ;
3383 PyObject
* obj2
= 0 ;
3384 PyObject
* obj3
= 0 ;
3385 PyObject
* obj4
= 0 ;
3386 PyObject
* obj5
= 0 ;
3388 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3393 arg1
= wxString_in_helper(obj0
);
3394 if (arg1
== NULL
) SWIG_fail
;
3399 arg2
= wxString_in_helper(obj1
);
3400 if (arg2
== NULL
) SWIG_fail
;
3406 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3407 if (PyErr_Occurred()) SWIG_fail
;
3411 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3415 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3421 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3427 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3429 wxPyEndAllowThreads(__tstate
);
3430 if (PyErr_Occurred()) SWIG_fail
;
3432 resultobj
= SWIG_PyObj_FromInt((int)result
);
3455 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3456 PyObject
*resultobj
;
3457 wxString
*arg1
= 0 ;
3458 wxString
*arg2
= 0 ;
3459 wxString
*arg3
= 0 ;
3461 long arg5
= (long) 0 ;
3462 long arg6
= (long) 100 ;
3463 wxWindow
*arg7
= (wxWindow
*) NULL
;
3464 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3465 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3467 bool temp1
= False
;
3468 bool temp2
= False
;
3469 bool temp3
= False
;
3471 PyObject
* obj0
= 0 ;
3472 PyObject
* obj1
= 0 ;
3473 PyObject
* obj2
= 0 ;
3474 PyObject
* obj3
= 0 ;
3475 PyObject
* obj4
= 0 ;
3476 PyObject
* obj5
= 0 ;
3477 PyObject
* obj6
= 0 ;
3478 PyObject
* obj7
= 0 ;
3480 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3485 arg1
= wxString_in_helper(obj0
);
3486 if (arg1
== NULL
) SWIG_fail
;
3490 arg2
= wxString_in_helper(obj1
);
3491 if (arg2
== NULL
) SWIG_fail
;
3495 arg3
= wxString_in_helper(obj2
);
3496 if (arg3
== NULL
) SWIG_fail
;
3500 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3505 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3511 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3516 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3521 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3526 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3528 wxPyEndAllowThreads(__tstate
);
3529 if (PyErr_Occurred()) SWIG_fail
;
3531 resultobj
= SWIG_PyObj_FromLong((long)result
);
3562 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
*resultobj
;
3569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3572 result
= (bool)wxColourDisplay();
3574 wxPyEndAllowThreads(__tstate
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3577 resultobj
= SWIG_PyObj_FromBool((bool)result
);
3584 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
*resultobj
;
3591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 result
= (int)wxDisplayDepth();
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3599 resultobj
= SWIG_PyObj_FromInt((int)result
);
3606 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3607 PyObject
*resultobj
;
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 result
= (int)wxGetDisplayDepth();
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3621 resultobj
= SWIG_PyObj_FromInt((int)result
);
3628 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
*resultobj
;
3630 int *arg1
= (int *) 0 ;
3631 int *arg2
= (int *) 0 ;
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 wxDisplaySize(arg1
,arg2
);
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) SWIG_fail
;
3648 Py_INCREF(Py_None
); resultobj
= Py_None
;
3650 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3651 resultobj
= t_output_helper(resultobj
,o
);
3654 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3655 resultobj
= t_output_helper(resultobj
,o
);
3663 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 result
= wxGetDisplaySize();
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3680 resultptr
= new wxSize((wxSize
&) result
);
3681 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3689 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
*resultobj
;
3691 int *arg1
= (int *) 0 ;
3692 int *arg2
= (int *) 0 ;
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 wxDisplaySizeMM(arg1
,arg2
);
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3709 Py_INCREF(Py_None
); resultobj
= Py_None
;
3711 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3712 resultobj
= t_output_helper(resultobj
,o
);
3715 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3716 resultobj
= t_output_helper(resultobj
,o
);
3724 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 result
= wxGetDisplaySizeMM();
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) SWIG_fail
;
3741 resultptr
= new wxSize((wxSize
&) result
);
3742 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3750 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
;
3752 int *arg1
= (int *) 0 ;
3753 int *arg2
= (int *) 0 ;
3754 int *arg3
= (int *) 0 ;
3755 int *arg4
= (int *) 0 ;
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3771 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3776 Py_INCREF(Py_None
); resultobj
= Py_None
;
3778 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3779 resultobj
= t_output_helper(resultobj
,o
);
3782 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3783 resultobj
= t_output_helper(resultobj
,o
);
3786 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3787 resultobj
= t_output_helper(resultobj
,o
);
3790 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3791 resultobj
= t_output_helper(resultobj
,o
);
3799 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
*resultobj
;
3806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3809 result
= wxGetClientDisplayRect();
3811 wxPyEndAllowThreads(__tstate
);
3812 if (PyErr_Occurred()) SWIG_fail
;
3816 resultptr
= new wxRect((wxRect
&) result
);
3817 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3825 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
*resultobj
;
3827 wxCursor
*arg1
= 0 ;
3828 PyObject
* obj0
= 0 ;
3830 (char *) "cursor", NULL
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3836 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3845 Py_INCREF(Py_None
); resultobj
= Py_None
;
3852 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
*resultobj
;
3854 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3855 PyObject
* obj0
= 0 ;
3857 (char *) "cursor", NULL
3860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 wxBeginBusyCursor(arg1
);
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3871 Py_INCREF(Py_None
); resultobj
= Py_None
;
3878 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
*resultobj
;
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
3887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3888 result
= (wxWindow
*)wxGetActiveWindow();
3890 wxPyEndAllowThreads(__tstate
);
3891 if (PyErr_Occurred()) SWIG_fail
;
3894 resultobj
= wxPyMake_wxObject(result
);
3902 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
*resultobj
;
3907 PyObject
* obj0
= 0 ;
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3915 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3919 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3925 resultobj
= wxPyMake_wxObject(result
);
3933 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3934 PyObject
*resultobj
;
3938 PyObject
* obj0
= 0 ;
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3946 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3950 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
3952 wxPyEndAllowThreads(__tstate
);
3953 if (PyErr_Occurred()) SWIG_fail
;
3956 resultobj
= wxPyMake_wxObject(result
);
3964 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
*resultobj
;
3966 wxWindow
*arg1
= (wxWindow
*) 0 ;
3968 PyObject
* obj0
= 0 ;
3970 (char *) "win", NULL
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
3974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3983 resultobj
= wxPyMake_wxObject(result
);
3991 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
*resultobj
;
3995 PyObject
* obj0
= 0 ;
3997 (char *) "key", NULL
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4002 arg1
= (wxKeyCode
) SWIG_PyObj_AsInt(obj0
);
4003 if (PyErr_Occurred()) SWIG_fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4012 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4019 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
*resultobj
;
4025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 wxWakeUpMainThread();
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4033 Py_INCREF(Py_None
); resultobj
= Py_None
;
4040 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
*resultobj
;
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 wxPyEndAllowThreads(__tstate
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4054 Py_INCREF(Py_None
); resultobj
= Py_None
;
4061 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
*resultobj
;
4067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4072 wxPyEndAllowThreads(__tstate
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4075 Py_INCREF(Py_None
); resultobj
= Py_None
;
4082 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
*resultobj
;
4084 wxMutexGuiLocker
*result
;
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMutexGuiLocker
, 1);
4104 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4106 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4107 PyObject
* obj0
= 0 ;
4109 (char *) "self", NULL
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMutexGuiLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 wxPyEndAllowThreads(__tstate
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 Py_INCREF(Py_None
); resultobj
= Py_None
;
4128 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4131 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4133 return Py_BuildValue((char *)"");
4135 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
;
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 result
= (bool)wxThread_IsMain();
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4157 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4159 wxString
*arg1
= 0 ;
4161 bool temp1
= False
;
4162 PyObject
* obj0
= 0 ;
4164 (char *) "tip", NULL
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4169 arg1
= wxString_in_helper(obj0
);
4170 if (arg1
== NULL
) SWIG_fail
;
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) SWIG_fail
;
4181 resultobj
= wxPyMake_wxObject(result
);
4197 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
*resultobj
;
4199 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4200 wxString
*arg2
= 0 ;
4201 bool temp2
= False
;
4202 PyObject
* obj0
= 0 ;
4203 PyObject
* obj1
= 0 ;
4205 (char *) "self",(char *) "tip", NULL
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4211 arg2
= wxString_in_helper(obj1
);
4212 if (arg2
== NULL
) SWIG_fail
;
4216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4217 (arg1
)->SetTip((wxString
const &)*arg2
);
4219 wxPyEndAllowThreads(__tstate
);
4220 if (PyErr_Occurred()) SWIG_fail
;
4222 Py_INCREF(Py_None
); resultobj
= Py_None
;
4237 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
;
4239 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4241 PyObject
* obj0
= 0 ;
4243 (char *) "self", NULL
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 result
= (arg1
)->GetTip();
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4268 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
*resultobj
;
4270 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4272 PyObject
* obj0
= 0 ;
4274 (char *) "self", NULL
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4281 result
= (wxWindow
*)(arg1
)->GetWindow();
4283 wxPyEndAllowThreads(__tstate
);
4284 if (PyErr_Occurred()) SWIG_fail
;
4287 resultobj
= wxPyMake_wxObject(result
);
4295 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
;
4298 PyObject
* obj0
= 0 ;
4300 (char *) "flag", NULL
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4305 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
4306 if (PyErr_Occurred()) SWIG_fail
;
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4310 wxToolTip::Enable(arg1
);
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4315 Py_INCREF(Py_None
); resultobj
= Py_None
;
4322 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
*resultobj
;
4325 PyObject
* obj0
= 0 ;
4327 (char *) "milliseconds", NULL
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4332 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 wxToolTip::SetDelay(arg1
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 Py_INCREF(Py_None
); resultobj
= Py_None
;
4349 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4352 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4354 return Py_BuildValue((char *)"");
4356 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
*resultobj
;
4358 wxWindow
*arg1
= (wxWindow
*) 0 ;
4362 PyObject
* obj0
= 0 ;
4363 PyObject
* obj1
= 0 ;
4365 (char *) "window",(char *) "size", NULL
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4372 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) SWIG_fail
;
4381 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 1);
4388 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
*resultobj
;
4390 wxCaret
*arg1
= (wxCaret
*) 0 ;
4391 PyObject
* obj0
= 0 ;
4393 (char *) "self", NULL
4396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 wxPyEndAllowThreads(__tstate
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4405 Py_INCREF(Py_None
); resultobj
= Py_None
;
4412 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
*resultobj
;
4414 wxCaret
*arg1
= (wxCaret
*) 0 ;
4416 PyObject
* obj0
= 0 ;
4418 (char *) "self", NULL
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4425 result
= (bool)(arg1
)->IsOk();
4427 wxPyEndAllowThreads(__tstate
);
4428 if (PyErr_Occurred()) SWIG_fail
;
4430 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4437 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
*resultobj
;
4439 wxCaret
*arg1
= (wxCaret
*) 0 ;
4441 PyObject
* obj0
= 0 ;
4443 (char *) "self", NULL
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 result
= (bool)(arg1
)->IsVisible();
4452 wxPyEndAllowThreads(__tstate
);
4453 if (PyErr_Occurred()) SWIG_fail
;
4455 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4462 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4463 PyObject
*resultobj
;
4464 wxCaret
*arg1
= (wxCaret
*) 0 ;
4466 PyObject
* obj0
= 0 ;
4468 (char *) "self", NULL
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 result
= (arg1
)->GetPosition();
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4481 wxPoint
* resultptr
;
4482 resultptr
= new wxPoint((wxPoint
&) result
);
4483 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
4491 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
*resultobj
;
4493 wxCaret
*arg1
= (wxCaret
*) 0 ;
4494 int *arg2
= (int *) 0 ;
4495 int *arg3
= (int *) 0 ;
4498 PyObject
* obj0
= 0 ;
4500 (char *) "self", NULL
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 (arg1
)->GetPosition(arg2
,arg3
);
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4514 Py_INCREF(Py_None
); resultobj
= Py_None
;
4516 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4517 resultobj
= t_output_helper(resultobj
,o
);
4520 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4521 resultobj
= t_output_helper(resultobj
,o
);
4529 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
*resultobj
;
4531 wxCaret
*arg1
= (wxCaret
*) 0 ;
4533 PyObject
* obj0
= 0 ;
4535 (char *) "self", NULL
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 result
= (arg1
)->GetSize();
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4549 resultptr
= new wxSize((wxSize
&) result
);
4550 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
4558 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
;
4560 wxCaret
*arg1
= (wxCaret
*) 0 ;
4561 int *arg2
= (int *) 0 ;
4562 int *arg3
= (int *) 0 ;
4565 PyObject
* obj0
= 0 ;
4567 (char *) "self", NULL
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4576 (arg1
)->GetSize(arg2
,arg3
);
4578 wxPyEndAllowThreads(__tstate
);
4579 if (PyErr_Occurred()) SWIG_fail
;
4581 Py_INCREF(Py_None
); resultobj
= Py_None
;
4583 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4584 resultobj
= t_output_helper(resultobj
,o
);
4587 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4588 resultobj
= t_output_helper(resultobj
,o
);
4596 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
*resultobj
;
4598 wxCaret
*arg1
= (wxCaret
*) 0 ;
4600 PyObject
* obj0
= 0 ;
4602 (char *) "self", NULL
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 result
= (wxWindow
*)(arg1
)->GetWindow();
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4615 resultobj
= wxPyMake_wxObject(result
);
4623 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
*resultobj
;
4625 wxCaret
*arg1
= (wxCaret
*) 0 ;
4628 PyObject
* obj0
= 0 ;
4629 PyObject
* obj1
= 0 ;
4630 PyObject
* obj2
= 0 ;
4632 (char *) "self",(char *) "x",(char *) "y", NULL
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4638 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4642 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4647 (arg1
)->Move(arg2
,arg3
);
4649 wxPyEndAllowThreads(__tstate
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4652 Py_INCREF(Py_None
); resultobj
= Py_None
;
4659 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
;
4661 wxCaret
*arg1
= (wxCaret
*) 0 ;
4664 PyObject
* obj0
= 0 ;
4665 PyObject
* obj1
= 0 ;
4667 (char *) "self",(char *) "pt", NULL
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4674 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 (arg1
)->Move((wxPoint
const &)*arg2
);
4680 wxPyEndAllowThreads(__tstate
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4683 Py_INCREF(Py_None
); resultobj
= Py_None
;
4690 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
*resultobj
;
4692 wxCaret
*arg1
= (wxCaret
*) 0 ;
4695 PyObject
* obj0
= 0 ;
4696 PyObject
* obj1
= 0 ;
4697 PyObject
* obj2
= 0 ;
4699 (char *) "self",(char *) "width",(char *) "height", NULL
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4705 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4709 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4714 (arg1
)->SetSize(arg2
,arg3
);
4716 wxPyEndAllowThreads(__tstate
);
4717 if (PyErr_Occurred()) SWIG_fail
;
4719 Py_INCREF(Py_None
); resultobj
= Py_None
;
4726 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4727 PyObject
*resultobj
;
4728 wxCaret
*arg1
= (wxCaret
*) 0 ;
4731 PyObject
* obj0
= 0 ;
4732 PyObject
* obj1
= 0 ;
4734 (char *) "self",(char *) "size", NULL
4737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4741 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 (arg1
)->SetSize((wxSize
const &)*arg2
);
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4750 Py_INCREF(Py_None
); resultobj
= Py_None
;
4757 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
*resultobj
;
4759 wxCaret
*arg1
= (wxCaret
*) 0 ;
4760 int arg2
= (int) True
;
4761 PyObject
* obj0
= 0 ;
4762 PyObject
* obj1
= 0 ;
4764 (char *) "self",(char *) "show", NULL
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4771 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 wxPyEndAllowThreads(__tstate
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4782 Py_INCREF(Py_None
); resultobj
= Py_None
;
4789 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4791 wxCaret
*arg1
= (wxCaret
*) 0 ;
4792 PyObject
* obj0
= 0 ;
4794 (char *) "self", NULL
4797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4806 Py_INCREF(Py_None
); resultobj
= Py_None
;
4813 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4816 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4818 return Py_BuildValue((char *)"");
4820 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
*resultobj
;
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 result
= (int)wxCaret_GetBlinkTime();
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4835 resultobj
= SWIG_PyObj_FromInt((int)result
);
4842 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
*resultobj
;
4845 PyObject
* obj0
= 0 ;
4847 (char *) "milliseconds", NULL
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
4852 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 wxCaret_SetBlinkTime(arg1
);
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) SWIG_fail
;
4862 Py_INCREF(Py_None
); resultobj
= Py_None
;
4869 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
*resultobj
;
4871 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4872 wxBusyCursor
*result
;
4873 PyObject
* obj0
= 0 ;
4875 (char *) "cursor", NULL
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
4880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4889 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyCursor
, 1);
4896 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
;
4898 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
4899 PyObject
* obj0
= 0 ;
4901 (char *) "self", NULL
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
4905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 wxPyEndAllowThreads(__tstate
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4913 Py_INCREF(Py_None
); resultobj
= Py_None
;
4920 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
4922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4923 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
4925 return Py_BuildValue((char *)"");
4927 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
;
4929 wxWindow
*arg1
= (wxWindow
*) NULL
;
4930 wxWindowDisabler
*result
;
4931 PyObject
* obj0
= 0 ;
4933 (char *) "winToSkip", NULL
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
4944 wxPyEndAllowThreads(__tstate
);
4945 if (PyErr_Occurred()) SWIG_fail
;
4947 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDisabler
, 1);
4954 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
*resultobj
;
4956 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
4957 PyObject
* obj0
= 0 ;
4959 (char *) "self", NULL
4962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 wxPyEndAllowThreads(__tstate
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4971 Py_INCREF(Py_None
); resultobj
= Py_None
;
4978 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
4980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4981 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
4983 return Py_BuildValue((char *)"");
4985 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
*resultobj
;
4987 wxString
*arg1
= 0 ;
4989 bool temp1
= False
;
4990 PyObject
* obj0
= 0 ;
4992 (char *) "message", NULL
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
4997 arg1
= wxString_in_helper(obj0
);
4998 if (arg1
== NULL
) SWIG_fail
;
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyInfo
, 1);
5023 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5026 PyObject
* obj0
= 0 ;
5028 (char *) "self", NULL
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5040 Py_INCREF(Py_None
); resultobj
= Py_None
;
5047 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5050 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5052 return Py_BuildValue((char *)"");
5054 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
*resultobj
;
5056 wxStopWatch
*result
;
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 result
= (wxStopWatch
*)new wxStopWatch();
5066 wxPyEndAllowThreads(__tstate
);
5067 if (PyErr_Occurred()) SWIG_fail
;
5069 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStopWatch
, 1);
5076 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
*resultobj
;
5078 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5079 long arg2
= (long) 0 ;
5080 PyObject
* obj0
= 0 ;
5081 PyObject
* obj1
= 0 ;
5083 (char *) "self",(char *) "t0", NULL
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5090 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 (arg1
)->Start(arg2
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 Py_INCREF(Py_None
); resultobj
= Py_None
;
5108 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
;
5110 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5111 PyObject
* obj0
= 0 ;
5113 (char *) "self", NULL
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5125 Py_INCREF(Py_None
); resultobj
= Py_None
;
5132 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
;
5134 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5135 PyObject
* obj0
= 0 ;
5137 (char *) "self", NULL
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5149 Py_INCREF(Py_None
); resultobj
= Py_None
;
5156 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
*resultobj
;
5158 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5160 PyObject
* obj0
= 0 ;
5162 (char *) "self", NULL
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= SWIG_PyObj_FromLong((long)result
);
5181 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5184 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5186 return Py_BuildValue((char *)"");
5188 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
;
5190 int arg1
= (int) 9 ;
5191 wxFileHistory
*result
;
5192 PyObject
* obj0
= 0 ;
5194 (char *) "maxFiles", NULL
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5200 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileHistory
, 1);
5218 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
*resultobj
;
5220 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5221 PyObject
* obj0
= 0 ;
5223 (char *) "self", NULL
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5235 Py_INCREF(Py_None
); resultobj
= Py_None
;
5242 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
*resultobj
;
5244 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5245 wxString
*arg2
= 0 ;
5246 bool temp2
= False
;
5247 PyObject
* obj0
= 0 ;
5248 PyObject
* obj1
= 0 ;
5250 (char *) "self",(char *) "file", NULL
5253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5256 arg2
= wxString_in_helper(obj1
);
5257 if (arg2
== NULL
) SWIG_fail
;
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5267 Py_INCREF(Py_None
); resultobj
= Py_None
;
5282 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
;
5284 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5286 PyObject
* obj0
= 0 ;
5287 PyObject
* obj1
= 0 ;
5289 (char *) "self",(char *) "i", NULL
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5295 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 (arg1
)->RemoveFileFromHistory(arg2
);
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5305 Py_INCREF(Py_None
); resultobj
= Py_None
;
5312 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
*resultobj
;
5314 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5316 PyObject
* obj0
= 0 ;
5318 (char *) "self", NULL
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5330 resultobj
= SWIG_PyObj_FromInt((int)result
);
5337 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5338 PyObject
*resultobj
;
5339 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5340 wxMenu
*arg2
= (wxMenu
*) 0 ;
5341 PyObject
* obj0
= 0 ;
5342 PyObject
* obj1
= 0 ;
5344 (char *) "self",(char *) "menu", NULL
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5349 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 (arg1
)->UseMenu(arg2
);
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5357 Py_INCREF(Py_None
); resultobj
= Py_None
;
5364 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
*resultobj
;
5366 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5367 wxMenu
*arg2
= (wxMenu
*) 0 ;
5368 PyObject
* obj0
= 0 ;
5369 PyObject
* obj1
= 0 ;
5371 (char *) "self",(char *) "menu", NULL
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5376 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 (arg1
)->RemoveMenu(arg2
);
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5384 Py_INCREF(Py_None
); resultobj
= Py_None
;
5391 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
*resultobj
;
5393 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5394 wxConfigBase
*arg2
= 0 ;
5395 PyObject
* obj0
= 0 ;
5396 PyObject
* obj1
= 0 ;
5398 (char *) "self",(char *) "config", NULL
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5403 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5405 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 (arg1
)->Load(*arg2
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 Py_INCREF(Py_None
); resultobj
= Py_None
;
5421 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
*resultobj
;
5423 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5424 wxConfigBase
*arg2
= 0 ;
5425 PyObject
* obj0
= 0 ;
5426 PyObject
* obj1
= 0 ;
5428 (char *) "self",(char *) "config", NULL
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5433 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5435 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 (arg1
)->Save(*arg2
);
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5444 Py_INCREF(Py_None
); resultobj
= Py_None
;
5451 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
*resultobj
;
5453 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5454 PyObject
* obj0
= 0 ;
5456 (char *) "self", NULL
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 (arg1
)->AddFilesToMenu();
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5468 Py_INCREF(Py_None
); resultobj
= Py_None
;
5475 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
*resultobj
;
5477 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5478 wxMenu
*arg2
= (wxMenu
*) 0 ;
5479 PyObject
* obj0
= 0 ;
5480 PyObject
* obj1
= 0 ;
5482 (char *) "self",(char *) "menu", NULL
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5487 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 (arg1
)->AddFilesToMenu(arg2
);
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5495 Py_INCREF(Py_None
); resultobj
= Py_None
;
5502 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
*resultobj
;
5504 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5507 PyObject
* obj0
= 0 ;
5508 PyObject
* obj1
= 0 ;
5510 (char *) "self",(char *) "i", NULL
5513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5516 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5539 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
;
5541 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5543 PyObject
* obj0
= 0 ;
5545 (char *) "self", NULL
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5557 resultobj
= SWIG_PyObj_FromInt((int)result
);
5564 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5567 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5569 return Py_BuildValue((char *)"");
5571 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
*resultobj
;
5573 wxString
*arg1
= 0 ;
5574 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5575 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5576 wxSingleInstanceChecker
*result
;
5577 bool temp1
= False
;
5578 bool temp2
= False
;
5579 PyObject
* obj0
= 0 ;
5580 PyObject
* obj1
= 0 ;
5582 (char *) "name",(char *) "path", NULL
5585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5587 arg1
= wxString_in_helper(obj0
);
5588 if (arg1
== NULL
) SWIG_fail
;
5593 arg2
= wxString_in_helper(obj1
);
5594 if (arg2
== NULL
) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5605 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5628 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
;
5630 wxSingleInstanceChecker
*result
;
5635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5643 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5650 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
;
5652 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5653 PyObject
* obj0
= 0 ;
5655 (char *) "self", NULL
5658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) SWIG_fail
;
5667 Py_INCREF(Py_None
); resultobj
= Py_None
;
5674 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
*resultobj
;
5676 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5677 wxString
*arg2
= 0 ;
5678 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5679 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5681 bool temp2
= False
;
5682 bool temp3
= False
;
5683 PyObject
* obj0
= 0 ;
5684 PyObject
* obj1
= 0 ;
5685 PyObject
* obj2
= 0 ;
5687 (char *) "self",(char *) "name",(char *) "path", NULL
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5693 arg2
= wxString_in_helper(obj1
);
5694 if (arg2
== NULL
) SWIG_fail
;
5699 arg3
= wxString_in_helper(obj2
);
5700 if (arg3
== NULL
) SWIG_fail
;
5705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5706 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5711 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5734 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
*resultobj
;
5736 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5738 PyObject
* obj0
= 0 ;
5740 (char *) "self", NULL
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5752 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5759 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5762 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5764 return Py_BuildValue((char *)"");
5766 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5767 PyObject
*resultobj
;
5768 wxWindow
*arg1
= (wxWindow
*) 0 ;
5771 PyObject
* obj0
= 0 ;
5772 PyObject
* obj1
= 0 ;
5773 PyObject
* obj2
= 0 ;
5775 (char *) "window",(char *) "dc",(char *) "method", NULL
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5780 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5782 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5785 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5790 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5792 wxPyEndAllowThreads(__tstate
);
5793 if (PyErr_Occurred()) SWIG_fail
;
5795 Py_INCREF(Py_None
); resultobj
= Py_None
;
5802 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
*resultobj
;
5804 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5805 PyObject
* obj0
= 0 ;
5807 (char *) "self", NULL
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) SWIG_fail
;
5819 Py_INCREF(Py_None
); resultobj
= Py_None
;
5826 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5827 PyObject
*resultobj
;
5828 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5830 PyObject
* obj0
= 0 ;
5832 (char *) "self", NULL
5835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
5836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 result
= (arg1
)->GetTip();
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5846 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5848 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5857 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
*resultobj
;
5859 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5861 PyObject
* obj0
= 0 ;
5863 (char *) "self", NULL
5866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
5867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 result
= (size_t)(arg1
)->GetCurrentTip();
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5875 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
5882 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
*resultobj
;
5884 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5885 wxString
*arg2
= 0 ;
5887 bool temp2
= False
;
5888 PyObject
* obj0
= 0 ;
5889 PyObject
* obj1
= 0 ;
5891 (char *) "self",(char *) "tip", NULL
5894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
5895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5897 arg2
= wxString_in_helper(obj1
);
5898 if (arg2
== NULL
) SWIG_fail
;
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5929 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5932 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
5934 return Py_BuildValue((char *)"");
5936 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5937 PyObject
*resultobj
;
5939 wxPyTipProvider
*result
;
5940 PyObject
* obj0
= 0 ;
5942 (char *) "currentTip", NULL
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
5947 arg1
= (size_t) SWIG_PyObj_AsUnsignedLong(obj0
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5952 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5957 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTipProvider
, 1);
5964 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
*resultobj
;
5966 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
5967 PyObject
*arg2
= (PyObject
*) 0 ;
5968 PyObject
*arg3
= (PyObject
*) 0 ;
5969 PyObject
* obj0
= 0 ;
5970 PyObject
* obj1
= 0 ;
5971 PyObject
* obj2
= 0 ;
5973 (char *) "self",(char *) "self",(char *) "_class", NULL
5976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 Py_INCREF(Py_None
); resultobj
= Py_None
;
5994 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5997 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
5999 return Py_BuildValue((char *)"");
6001 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
*resultobj
;
6003 wxWindow
*arg1
= (wxWindow
*) 0 ;
6004 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6005 bool arg3
= (bool) True
;
6007 PyObject
* obj0
= 0 ;
6008 PyObject
* obj1
= 0 ;
6009 PyObject
* obj2
= 0 ;
6011 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6016 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6019 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6030 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6037 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
*resultobj
;
6039 wxString
*arg1
= 0 ;
6041 wxTipProvider
*result
;
6042 bool temp1
= False
;
6043 PyObject
* obj0
= 0 ;
6044 PyObject
* obj1
= 0 ;
6046 (char *) "filename",(char *) "currentTip", NULL
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6051 arg1
= wxString_in_helper(obj0
);
6052 if (arg1
== NULL
) SWIG_fail
;
6056 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6061 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6066 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipProvider
, 1);
6081 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6082 PyObject
*resultobj
;
6083 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6084 int arg2
= (int) -1 ;
6086 PyObject
* obj0
= 0 ;
6087 PyObject
* obj1
= 0 ;
6089 (char *) "owner",(char *) "id", NULL
6092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6098 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6104 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6109 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTimer
, 1);
6116 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
*resultobj
;
6118 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6119 PyObject
* obj0
= 0 ;
6121 (char *) "self", NULL
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6130 wxPyEndAllowThreads(__tstate
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6133 Py_INCREF(Py_None
); resultobj
= Py_None
;
6140 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6141 PyObject
*resultobj
;
6142 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6143 PyObject
*arg2
= (PyObject
*) 0 ;
6144 PyObject
*arg3
= (PyObject
*) 0 ;
6145 PyObject
* obj0
= 0 ;
6146 PyObject
* obj1
= 0 ;
6147 PyObject
* obj2
= 0 ;
6149 (char *) "self",(char *) "self",(char *) "_class", NULL
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6158 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6160 wxPyEndAllowThreads(__tstate
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6163 Py_INCREF(Py_None
); resultobj
= Py_None
;
6170 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
;
6172 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6173 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6174 int arg3
= (int) -1 ;
6175 PyObject
* obj0
= 0 ;
6176 PyObject
* obj1
= 0 ;
6177 PyObject
* obj2
= 0 ;
6179 (char *) "self",(char *) "owner",(char *) "id", NULL
6182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6184 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6187 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 (arg1
)->SetOwner(arg2
,arg3
);
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) SWIG_fail
;
6198 Py_INCREF(Py_None
); resultobj
= Py_None
;
6205 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6206 PyObject
*resultobj
;
6207 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6208 int arg2
= (int) -1 ;
6209 bool arg3
= (bool) False
;
6211 PyObject
* obj0
= 0 ;
6212 PyObject
* obj1
= 0 ;
6213 PyObject
* obj2
= 0 ;
6215 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6222 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6223 if (PyErr_Occurred()) SWIG_fail
;
6228 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6234 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6236 wxPyEndAllowThreads(__tstate
);
6237 if (PyErr_Occurred()) SWIG_fail
;
6239 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6246 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
*resultobj
;
6248 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6249 PyObject
* obj0
= 0 ;
6251 (char *) "self", NULL
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) SWIG_fail
;
6263 Py_INCREF(Py_None
); resultobj
= Py_None
;
6270 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
*resultobj
;
6272 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6274 PyObject
* obj0
= 0 ;
6276 (char *) "self", NULL
6279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6295 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
;
6297 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6299 PyObject
* obj0
= 0 ;
6301 (char *) "self", NULL
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6308 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6313 resultobj
= SWIG_PyObj_FromInt((int)result
);
6320 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
;
6322 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6324 PyObject
* obj0
= 0 ;
6326 (char *) "self", NULL
6329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6333 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6338 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6345 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6346 PyObject
*resultobj
;
6347 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6349 PyObject
* obj0
= 0 ;
6351 (char *) "self", NULL
6354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6363 resultobj
= SWIG_PyObj_FromInt((int)result
);
6370 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6373 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6375 return Py_BuildValue((char *)"");
6377 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
;
6379 int arg1
= (int) 0 ;
6380 int arg2
= (int) 0 ;
6381 wxTimerEvent
*result
;
6382 PyObject
* obj0
= 0 ;
6383 PyObject
* obj1
= 0 ;
6385 (char *) "timerid",(char *) "interval", NULL
6388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6391 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6397 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6408 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerEvent
, 1);
6415 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
*resultobj
;
6417 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6419 PyObject
* obj0
= 0 ;
6421 (char *) "self", NULL
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6433 resultobj
= SWIG_PyObj_FromInt((int)result
);
6440 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6443 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6445 return Py_BuildValue((char *)"");
6447 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6448 PyObject
*resultobj
;
6450 wxTimerRunner
*result
;
6451 PyObject
* obj0
= 0 ;
6453 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6456 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6462 wxPyEndAllowThreads(__tstate
);
6463 if (PyErr_Occurred()) SWIG_fail
;
6465 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
6472 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6473 PyObject
*resultobj
;
6476 bool arg3
= (bool) False
;
6477 wxTimerRunner
*result
;
6478 PyObject
* obj0
= 0 ;
6479 PyObject
* obj1
= 0 ;
6480 PyObject
* obj2
= 0 ;
6482 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6485 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6488 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6493 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
6511 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6516 argc
= PyObject_Length(args
);
6517 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6518 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6524 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6532 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6535 if ((argc
>= 2) && (argc
<= 3)) {
6539 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6548 SWIG_PyObj_AsInt(argv
[1]);
6549 if (PyErr_Occurred()) {
6558 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6561 SWIG_PyObj_AsBool(argv
[2]);
6562 if (PyErr_Occurred()) {
6570 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6576 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6581 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6582 PyObject
*resultobj
;
6583 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6584 PyObject
* obj0
= 0 ;
6586 (char *) "self", NULL
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6598 Py_INCREF(Py_None
); resultobj
= Py_None
;
6605 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
*resultobj
;
6607 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6609 bool arg3
= (bool) False
;
6610 PyObject
* obj0
= 0 ;
6611 PyObject
* obj1
= 0 ;
6612 PyObject
* obj2
= 0 ;
6614 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6620 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6625 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 (arg1
)->Start(arg2
,arg3
);
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6636 Py_INCREF(Py_None
); resultobj
= Py_None
;
6643 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6646 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6648 return Py_BuildValue((char *)"");
6650 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
;
6657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 result
= (wxLog
*)new wxLog();
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 1);
6672 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
;
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6682 result
= (bool)wxLog::IsEnabled();
6684 wxPyEndAllowThreads(__tstate
);
6685 if (PyErr_Occurred()) SWIG_fail
;
6687 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6694 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
*resultobj
;
6696 bool arg1
= (bool) True
;
6698 PyObject
* obj0
= 0 ;
6700 (char *) "doIt", NULL
6703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6706 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
6707 if (PyErr_Occurred()) SWIG_fail
;
6711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 result
= (bool)wxLog::EnableLogging(arg1
);
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6717 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6724 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6725 PyObject
*resultobj
;
6727 wxChar
*arg2
= (wxChar
*) 0 ;
6729 PyObject
* obj0
= 0 ;
6730 PyObject
* obj1
= 0 ;
6731 PyObject
* obj2
= 0 ;
6733 (char *) "level",(char *) "szString",(char *) "t", NULL
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6738 arg1
= (wxLogLevel
) SWIG_PyObj_AsUnsignedLong(obj0
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6741 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6743 arg3
= (time_t) SWIG_PyObj_AsUnsignedInt(obj2
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6753 Py_INCREF(Py_None
); resultobj
= Py_None
;
6760 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
*resultobj
;
6762 wxLog
*arg1
= (wxLog
*) 0 ;
6763 PyObject
* obj0
= 0 ;
6765 (char *) "self", NULL
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6777 Py_INCREF(Py_None
); resultobj
= Py_None
;
6784 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
*resultobj
;
6790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 wxLog::FlushActive();
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6798 Py_INCREF(Py_None
); resultobj
= Py_None
;
6805 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
;
6812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 result
= (wxLog
*)wxLog::GetActiveTarget();
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6827 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxLog
*arg1
= (wxLog
*) 0 ;
6831 PyObject
* obj0
= 0 ;
6833 (char *) "pLogger", NULL
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
6837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6852 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
;
6858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6863 wxPyEndAllowThreads(__tstate
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6866 Py_INCREF(Py_None
); resultobj
= Py_None
;
6873 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6874 PyObject
*resultobj
;
6879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6887 Py_INCREF(Py_None
); resultobj
= Py_None
;
6894 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
*resultobj
;
6896 bool arg1
= (bool) True
;
6897 PyObject
* obj0
= 0 ;
6899 (char *) "bVerbose", NULL
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
6905 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 wxLog::SetVerbose(arg1
);
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6916 Py_INCREF(Py_None
); resultobj
= Py_None
;
6923 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
*resultobj
;
6926 PyObject
* obj0
= 0 ;
6928 (char *) "logLevel", NULL
6931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
6933 arg1
= (wxLogLevel
) SWIG_PyObj_AsUnsignedLong(obj0
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6938 wxLog::SetLogLevel(arg1
);
6940 wxPyEndAllowThreads(__tstate
);
6941 if (PyErr_Occurred()) SWIG_fail
;
6943 Py_INCREF(Py_None
); resultobj
= Py_None
;
6950 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
*resultobj
;
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 wxLog::DontCreateOnDemand();
6961 wxPyEndAllowThreads(__tstate
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6964 Py_INCREF(Py_None
); resultobj
= Py_None
;
6971 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
*resultobj
;
6974 PyObject
* obj0
= 0 ;
6976 (char *) "ulMask", NULL
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
6981 arg1
= (wxTraceMask
) SWIG_PyObj_AsUnsignedLong(obj0
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 wxLog::SetTraceMask(arg1
);
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6991 Py_INCREF(Py_None
); resultobj
= Py_None
;
6998 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
*resultobj
;
7000 wxString
*arg1
= 0 ;
7001 bool temp1
= False
;
7002 PyObject
* obj0
= 0 ;
7004 (char *) "str", NULL
7007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7009 arg1
= wxString_in_helper(obj0
);
7010 if (arg1
== NULL
) SWIG_fail
;
7014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 wxLog::AddTraceMask((wxString
const &)*arg1
);
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 Py_INCREF(Py_None
); resultobj
= Py_None
;
7035 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
;
7037 wxString
*arg1
= 0 ;
7038 bool temp1
= False
;
7039 PyObject
* obj0
= 0 ;
7041 (char *) "str", NULL
7044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7046 arg1
= wxString_in_helper(obj0
);
7047 if (arg1
== NULL
) SWIG_fail
;
7051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7052 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7054 wxPyEndAllowThreads(__tstate
);
7055 if (PyErr_Occurred()) SWIG_fail
;
7057 Py_INCREF(Py_None
); resultobj
= Py_None
;
7072 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
*resultobj
;
7078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 wxLog::ClearTraceMasks();
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7086 Py_INCREF(Py_None
); resultobj
= Py_None
;
7093 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
*resultobj
;
7095 wxArrayString
*result
;
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7105 result
= (wxArrayString
*) &_result_ref
;
7108 wxPyEndAllowThreads(__tstate
);
7109 if (PyErr_Occurred()) SWIG_fail
;
7112 resultobj
= wxArrayString2PyList_helper(*result
);
7120 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
*resultobj
;
7122 wxChar
*arg1
= (wxChar
*) 0 ;
7123 PyObject
* obj0
= 0 ;
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 wxLog::SetTimestamp((wxChar
const *)arg1
);
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7137 Py_INCREF(Py_None
); resultobj
= Py_None
;
7144 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
;
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 result
= (bool)wxLog::GetVerbose();
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7159 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7166 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
;
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 result
= (wxTraceMask
)wxLog::GetTraceMask();
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7181 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
7188 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
*resultobj
;
7190 wxChar
*arg1
= (wxChar
*) 0 ;
7192 PyObject
* obj0
= 0 ;
7194 (char *) "mask", NULL
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7206 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7213 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7214 PyObject
*resultobj
;
7220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7223 result
= (wxLogLevel
)wxLog::GetLogLevel();
7225 wxPyEndAllowThreads(__tstate
);
7226 if (PyErr_Occurred()) SWIG_fail
;
7228 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
7235 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7236 PyObject
*resultobj
;
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 result
= (wxChar
*)wxLog::GetTimestamp();
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChar
, 0);
7257 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7267 result
= Log_TimeStamp();
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7285 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
*resultobj
;
7287 wxLog
*arg1
= (wxLog
*) 0 ;
7288 PyObject
* obj0
= 0 ;
7290 (char *) "self", NULL
7293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 wxLog_Destroy(arg1
);
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 Py_INCREF(Py_None
); resultobj
= Py_None
;
7309 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7312 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7314 return Py_BuildValue((char *)"");
7316 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
*resultobj
;
7318 wxLogStderr
*result
;
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7326 result
= (wxLogStderr
*)new wxLogStderr();
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogStderr
, 1);
7338 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7341 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7343 return Py_BuildValue((char *)"");
7345 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
*resultobj
;
7347 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7348 wxLogTextCtrl
*result
;
7349 PyObject
* obj0
= 0 ;
7351 (char *) "pTextCtrl", NULL
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7360 wxPyEndAllowThreads(__tstate
);
7361 if (PyErr_Occurred()) SWIG_fail
;
7363 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogTextCtrl
, 1);
7370 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7373 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7375 return Py_BuildValue((char *)"");
7377 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
;
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 result
= (wxLogGui
*)new wxLogGui();
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogGui
, 1);
7399 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7402 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7404 return Py_BuildValue((char *)"");
7406 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
*resultobj
;
7408 wxFrame
*arg1
= (wxFrame
*) 0 ;
7409 wxString
*arg2
= 0 ;
7410 bool arg3
= (bool) True
;
7411 bool arg4
= (bool) True
;
7412 wxLogWindow
*result
;
7413 bool temp2
= False
;
7414 PyObject
* obj0
= 0 ;
7415 PyObject
* obj1
= 0 ;
7416 PyObject
* obj2
= 0 ;
7417 PyObject
* obj3
= 0 ;
7419 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7425 arg2
= wxString_in_helper(obj1
);
7426 if (arg2
== NULL
) SWIG_fail
;
7431 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7437 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7448 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogWindow
, 1);
7463 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
*resultobj
;
7465 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7466 bool arg2
= (bool) True
;
7467 PyObject
* obj0
= 0 ;
7468 PyObject
* obj1
= 0 ;
7470 (char *) "self",(char *) "bShow", NULL
7473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7477 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 Py_INCREF(Py_None
); resultobj
= Py_None
;
7495 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7497 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7499 PyObject
* obj0
= 0 ;
7501 (char *) "self", NULL
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7514 resultobj
= wxPyMake_wxObject(result
);
7522 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7523 PyObject
*resultobj
;
7524 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7526 PyObject
* obj0
= 0 ;
7528 (char *) "self", NULL
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7547 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
*resultobj
;
7549 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7551 PyObject
* obj0
= 0 ;
7553 (char *) "self", NULL
7556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7572 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
*resultobj
;
7574 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7576 PyObject
* obj0
= 0 ;
7577 PyObject
* obj1
= 0 ;
7579 (char *) "self",(char *) "bDoPass", NULL
7582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7585 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 (arg1
)->PassMessages(arg2
);
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7595 Py_INCREF(Py_None
); resultobj
= Py_None
;
7602 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7605 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7607 return Py_BuildValue((char *)"");
7609 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
;
7611 wxLog
*arg1
= (wxLog
*) 0 ;
7613 PyObject
* obj0
= 0 ;
7615 (char *) "logger", NULL
7618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 result
= (wxLogChain
*)new wxLogChain(arg1
);
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7627 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogChain
, 1);
7634 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
*resultobj
;
7636 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7637 wxLog
*arg2
= (wxLog
*) 0 ;
7638 PyObject
* obj0
= 0 ;
7639 PyObject
* obj1
= 0 ;
7641 (char *) "self",(char *) "logger", NULL
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7646 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7649 (arg1
)->SetLog(arg2
);
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7654 Py_INCREF(Py_None
); resultobj
= Py_None
;
7661 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7666 PyObject
* obj1
= 0 ;
7668 (char *) "self",(char *) "bDoPass", NULL
7671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7674 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 (arg1
)->PassMessages(arg2
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7684 Py_INCREF(Py_None
); resultobj
= Py_None
;
7691 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
;
7693 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7695 PyObject
* obj0
= 0 ;
7697 (char *) "self", NULL
7700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 result
= (bool)(arg1
)->IsPassingMessages();
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7709 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7716 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
*resultobj
;
7718 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7720 PyObject
* obj0
= 0 ;
7722 (char *) "self", NULL
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 result
= (wxLog
*)(arg1
)->GetOldLog();
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7734 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7741 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7744 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7746 return Py_BuildValue((char *)"");
7748 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
*resultobj
;
7750 unsigned long result
;
7755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7758 result
= (unsigned long)wxSysErrorCode();
7760 wxPyEndAllowThreads(__tstate
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7763 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
7770 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
*resultobj
;
7772 unsigned long arg1
= (unsigned long) 0 ;
7774 PyObject
* obj0
= 0 ;
7776 (char *) "nErrCode", NULL
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7782 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7788 result
= wxSysErrorMsg(arg1
);
7790 wxPyEndAllowThreads(__tstate
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7806 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxString
*arg1
= 0 ;
7809 bool temp1
= False
;
7810 PyObject
* obj0
= 0 ;
7812 (char *) "msg", NULL
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7817 arg1
= wxString_in_helper(obj0
);
7818 if (arg1
== NULL
) SWIG_fail
;
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 wxLogFatalError((wxString
const &)*arg1
);
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7828 Py_INCREF(Py_None
); resultobj
= Py_None
;
7843 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7845 wxString
*arg1
= 0 ;
7846 bool temp1
= False
;
7847 PyObject
* obj0
= 0 ;
7849 (char *) "msg", NULL
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
7854 arg1
= wxString_in_helper(obj0
);
7855 if (arg1
== NULL
) SWIG_fail
;
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 wxLogError((wxString
const &)*arg1
);
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7865 Py_INCREF(Py_None
); resultobj
= Py_None
;
7880 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7881 PyObject
*resultobj
;
7882 wxString
*arg1
= 0 ;
7883 bool temp1
= False
;
7884 PyObject
* obj0
= 0 ;
7886 (char *) "msg", NULL
7889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
7891 arg1
= wxString_in_helper(obj0
);
7892 if (arg1
== NULL
) SWIG_fail
;
7896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7897 wxLogWarning((wxString
const &)*arg1
);
7899 wxPyEndAllowThreads(__tstate
);
7900 if (PyErr_Occurred()) SWIG_fail
;
7902 Py_INCREF(Py_None
); resultobj
= Py_None
;
7917 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
*resultobj
;
7919 wxString
*arg1
= 0 ;
7920 bool temp1
= False
;
7921 PyObject
* obj0
= 0 ;
7923 (char *) "msg", NULL
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
7928 arg1
= wxString_in_helper(obj0
);
7929 if (arg1
== NULL
) SWIG_fail
;
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 wxLogMessage((wxString
const &)*arg1
);
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7939 Py_INCREF(Py_None
); resultobj
= Py_None
;
7954 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxString
*arg1
= 0 ;
7957 bool temp1
= False
;
7958 PyObject
* obj0
= 0 ;
7960 (char *) "msg", NULL
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
7965 arg1
= wxString_in_helper(obj0
);
7966 if (arg1
== NULL
) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 wxLogInfo((wxString
const &)*arg1
);
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7976 Py_INCREF(Py_None
); resultobj
= Py_None
;
7991 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
;
7993 wxString
*arg1
= 0 ;
7994 bool temp1
= False
;
7995 PyObject
* obj0
= 0 ;
7997 (char *) "msg", NULL
8000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8002 arg1
= wxString_in_helper(obj0
);
8003 if (arg1
== NULL
) SWIG_fail
;
8007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 wxLogDebug((wxString
const &)*arg1
);
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 Py_INCREF(Py_None
); resultobj
= Py_None
;
8028 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8029 PyObject
*resultobj
;
8030 wxString
*arg1
= 0 ;
8031 bool temp1
= False
;
8032 PyObject
* obj0
= 0 ;
8034 (char *) "msg", NULL
8037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8039 arg1
= wxString_in_helper(obj0
);
8040 if (arg1
== NULL
) SWIG_fail
;
8044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8045 wxLogVerbose((wxString
const &)*arg1
);
8047 wxPyEndAllowThreads(__tstate
);
8048 if (PyErr_Occurred()) SWIG_fail
;
8050 Py_INCREF(Py_None
); resultobj
= Py_None
;
8065 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
*resultobj
;
8067 wxString
*arg1
= 0 ;
8068 bool temp1
= False
;
8069 PyObject
* obj0
= 0 ;
8071 (char *) "msg", NULL
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8076 arg1
= wxString_in_helper(obj0
);
8077 if (arg1
== NULL
) SWIG_fail
;
8081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8082 wxLogStatus((wxString
const &)*arg1
);
8084 wxPyEndAllowThreads(__tstate
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8087 Py_INCREF(Py_None
); resultobj
= Py_None
;
8102 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
*resultobj
;
8104 wxFrame
*arg1
= (wxFrame
*) 0 ;
8105 wxString
*arg2
= 0 ;
8106 bool temp2
= False
;
8107 PyObject
* obj0
= 0 ;
8108 PyObject
* obj1
= 0 ;
8110 (char *) "pFrame",(char *) "msg", NULL
8113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8116 arg2
= wxString_in_helper(obj1
);
8117 if (arg2
== NULL
) SWIG_fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8127 Py_INCREF(Py_None
); resultobj
= Py_None
;
8142 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8143 PyObject
*resultobj
;
8144 wxString
*arg1
= 0 ;
8145 bool temp1
= False
;
8146 PyObject
* obj0
= 0 ;
8148 (char *) "msg", NULL
8151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8153 arg1
= wxString_in_helper(obj0
);
8154 if (arg1
== NULL
) SWIG_fail
;
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8159 wxLogSysError((wxString
const &)*arg1
);
8161 wxPyEndAllowThreads(__tstate
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8164 Py_INCREF(Py_None
); resultobj
= Py_None
;
8179 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8180 PyObject
*resultobj
;
8181 unsigned long arg1
;
8182 wxString
*arg2
= 0 ;
8183 bool temp2
= False
;
8184 PyObject
* obj0
= 0 ;
8185 PyObject
* obj1
= 0 ;
8187 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8189 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8193 arg2
= wxString_in_helper(obj1
);
8194 if (arg2
== NULL
) SWIG_fail
;
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8204 Py_INCREF(Py_None
); resultobj
= Py_None
;
8219 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8220 PyObject
*resultobj
;
8221 wxString
*arg1
= 0 ;
8222 wxString
*arg2
= 0 ;
8223 bool temp1
= False
;
8224 bool temp2
= False
;
8225 PyObject
* obj0
= 0 ;
8226 PyObject
* obj1
= 0 ;
8228 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8230 arg1
= wxString_in_helper(obj0
);
8231 if (arg1
== NULL
) SWIG_fail
;
8235 arg2
= wxString_in_helper(obj1
);
8236 if (arg2
== NULL
) SWIG_fail
;
8240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8241 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8243 wxPyEndAllowThreads(__tstate
);
8244 if (PyErr_Occurred()) SWIG_fail
;
8246 Py_INCREF(Py_None
); resultobj
= Py_None
;
8269 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8274 argc
= PyObject_Length(args
);
8275 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8276 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8282 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
8292 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
8300 return _wrap_LogTrace__SWIG_1(self
,args
);
8307 SWIG_PyObj_AsUnsignedLong(argv
[0]);
8308 if (PyErr_Occurred()) {
8318 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
8326 return _wrap_LogTrace__SWIG_0(self
,args
);
8331 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8336 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8337 PyObject
*resultobj
;
8338 unsigned long arg1
;
8339 wxString
*arg2
= 0 ;
8340 bool temp2
= False
;
8341 PyObject
* obj0
= 0 ;
8342 PyObject
* obj1
= 0 ;
8344 (char *) "level",(char *) "msg", NULL
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8349 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8353 arg2
= wxString_in_helper(obj1
);
8354 if (arg2
== NULL
) SWIG_fail
;
8358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8359 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8361 wxPyEndAllowThreads(__tstate
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8364 Py_INCREF(Py_None
); resultobj
= Py_None
;
8379 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
*resultobj
;
8381 wxString
*arg1
= 0 ;
8382 wxString
*arg2
= 0 ;
8383 bool temp1
= False
;
8384 bool temp2
= False
;
8385 PyObject
* obj0
= 0 ;
8386 PyObject
* obj1
= 0 ;
8388 (char *) "title",(char *) "text", NULL
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8393 arg1
= wxString_in_helper(obj0
);
8394 if (arg1
== NULL
) SWIG_fail
;
8398 arg2
= wxString_in_helper(obj1
);
8399 if (arg2
== NULL
) SWIG_fail
;
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 Py_INCREF(Py_None
); resultobj
= Py_None
;
8432 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
*resultobj
;
8439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 result
= (wxLogNull
*)new wxLogNull();
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8447 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogNull
, 1);
8454 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
*resultobj
;
8456 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8457 PyObject
* obj0
= 0 ;
8459 (char *) "self", NULL
8462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogNull
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 wxPyEndAllowThreads(__tstate
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8471 Py_INCREF(Py_None
); resultobj
= Py_None
;
8478 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8481 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8483 return Py_BuildValue((char *)"");
8485 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8486 PyObject
*resultobj
;
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8495 result
= (wxPyLog
*)new wxPyLog();
8497 wxPyEndAllowThreads(__tstate
);
8498 if (PyErr_Occurred()) SWIG_fail
;
8500 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyLog
, 1);
8507 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
*resultobj
;
8509 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8510 PyObject
*arg2
= (PyObject
*) 0 ;
8511 PyObject
*arg3
= (PyObject
*) 0 ;
8512 PyObject
* obj0
= 0 ;
8513 PyObject
* obj1
= 0 ;
8514 PyObject
* obj2
= 0 ;
8516 (char *) "self",(char *) "self",(char *) "_class", NULL
8519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8525 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8530 Py_INCREF(Py_None
); resultobj
= Py_None
;
8537 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8540 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8542 return Py_BuildValue((char *)"");
8544 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8545 PyObject
*resultobj
;
8547 int arg2
= (int) wxSIGTERM
;
8549 PyObject
* obj0
= 0 ;
8550 PyObject
* obj1
= 0 ;
8552 (char *) "pid",(char *) "sig", NULL
8555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8557 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8562 arg2
= (wxSignal
) SWIG_PyObj_AsInt(obj1
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8573 resultobj
= SWIG_PyObj_FromInt((int)result
);
8580 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
*resultobj
;
8584 PyObject
* obj0
= 0 ;
8586 (char *) "pid", NULL
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8591 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 result
= (bool)wxPyProcess::Exists(arg1
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8608 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8609 PyObject
*resultobj
;
8610 wxString
*arg1
= 0 ;
8611 int arg2
= (int) wxEXEC_ASYNC
;
8612 wxPyProcess
*result
;
8613 bool temp1
= False
;
8614 PyObject
* obj0
= 0 ;
8615 PyObject
* obj1
= 0 ;
8617 (char *) "cmd",(char *) "flags", NULL
8620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8622 arg1
= wxString_in_helper(obj0
);
8623 if (arg1
== NULL
) SWIG_fail
;
8628 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 0);
8654 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
*resultobj
;
8656 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8657 int arg2
= (int) -1 ;
8658 wxPyProcess
*result
;
8659 PyObject
* obj0
= 0 ;
8660 PyObject
* obj1
= 0 ;
8662 (char *) "parent",(char *) "id", NULL
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8671 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8672 if (PyErr_Occurred()) SWIG_fail
;
8676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8677 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8679 wxPyEndAllowThreads(__tstate
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8682 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 1);
8689 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8690 PyObject
*resultobj
;
8691 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8692 PyObject
*arg2
= (PyObject
*) 0 ;
8693 PyObject
*arg3
= (PyObject
*) 0 ;
8694 PyObject
* obj0
= 0 ;
8695 PyObject
* obj1
= 0 ;
8696 PyObject
* obj2
= 0 ;
8698 (char *) "self",(char *) "self",(char *) "_class", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8712 Py_INCREF(Py_None
); resultobj
= Py_None
;
8719 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8720 PyObject
*resultobj
;
8721 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8724 PyObject
* obj0
= 0 ;
8725 PyObject
* obj1
= 0 ;
8726 PyObject
* obj2
= 0 ;
8728 (char *) "self",(char *) "pid",(char *) "status", NULL
8731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8734 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8738 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 (arg1
)->base_OnTerminate(arg2
,arg3
);
8745 wxPyEndAllowThreads(__tstate
);
8746 if (PyErr_Occurred()) SWIG_fail
;
8748 Py_INCREF(Py_None
); resultobj
= Py_None
;
8755 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
;
8757 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8758 PyObject
* obj0
= 0 ;
8760 (char *) "self", NULL
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",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();
8769 wxPyEndAllowThreads(__tstate
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8772 Py_INCREF(Py_None
); resultobj
= Py_None
;
8779 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8780 PyObject
*resultobj
;
8781 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8783 PyObject
* obj0
= 0 ;
8785 (char *) "self", NULL
8788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 result
= (bool)(arg1
)->IsRedirected();
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8797 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8804 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
;
8806 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8807 PyObject
* obj0
= 0 ;
8809 (char *) "self", NULL
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",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();
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8821 Py_INCREF(Py_None
); resultobj
= Py_None
;
8828 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
*resultobj
;
8830 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8831 wxInputStream
*result
;
8832 PyObject
* obj0
= 0 ;
8834 (char *) "self", NULL
8837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8843 wxPyEndAllowThreads(__tstate
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8847 wxPyInputStream
* _ptr
= NULL
;
8850 _ptr
= new wxPyInputStream(result
);
8852 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8860 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8861 PyObject
*resultobj
;
8862 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8863 wxInputStream
*result
;
8864 PyObject
* obj0
= 0 ;
8866 (char *) "self", NULL
8869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
8870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8879 wxPyInputStream
* _ptr
= NULL
;
8882 _ptr
= new wxPyInputStream(result
);
8884 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8892 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8893 PyObject
*resultobj
;
8894 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8895 wxOutputStream
*result
;
8896 PyObject
* obj0
= 0 ;
8898 (char *) "self", NULL
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
8902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8910 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxOutputStream
, 0);
8917 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8918 PyObject
*resultobj
;
8919 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8920 PyObject
* obj0
= 0 ;
8922 (char *) "self", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",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 (arg1
)->CloseOutput();
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8934 Py_INCREF(Py_None
); resultobj
= Py_None
;
8941 static PyObject
*_wrap_Process_IsInputOpened(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_IsInputOpened",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
)->IsInputOpened();
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8959 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8966 static PyObject
*_wrap_Process_IsInputAvailable(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_IsInputAvailable",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
)->IsInputAvailable();
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8984 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8991 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8992 PyObject
*resultobj
;
8993 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8995 PyObject
* obj0
= 0 ;
8997 (char *) "self", NULL
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9004 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9006 wxPyEndAllowThreads(__tstate
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9009 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9016 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9019 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9021 return Py_BuildValue((char *)"");
9023 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9024 PyObject
*resultobj
;
9025 int arg1
= (int) 0 ;
9026 int arg2
= (int) 0 ;
9027 int arg3
= (int) 0 ;
9028 wxProcessEvent
*result
;
9029 PyObject
* obj0
= 0 ;
9030 PyObject
* obj1
= 0 ;
9031 PyObject
* obj2
= 0 ;
9033 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9039 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9045 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9051 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9062 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProcessEvent
, 1);
9069 static PyObject
*_wrap_ProcessEvent_GetPid(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_GetPid",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
)->GetPid();
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9087 resultobj
= SWIG_PyObj_FromInt((int)result
);
9094 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9095 PyObject
*resultobj
;
9096 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9098 PyObject
* obj0
= 0 ;
9100 (char *) "self", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9107 result
= (int)(arg1
)->GetExitCode();
9109 wxPyEndAllowThreads(__tstate
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9112 resultobj
= SWIG_PyObj_FromInt((int)result
);
9119 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
;
9121 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9123 PyObject
* obj0
= 0 ;
9124 PyObject
* obj1
= 0 ;
9126 (char *) "self",(char *) "m_pid", NULL
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9132 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 if (arg1
) (arg1
)->m_pid
= arg2
;
9137 Py_INCREF(Py_None
); resultobj
= Py_None
;
9144 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9146 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9148 PyObject
* obj0
= 0 ;
9150 (char *) "self", NULL
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9155 result
= (int) ((arg1
)->m_pid
);
9157 resultobj
= SWIG_PyObj_FromInt((int)result
);
9164 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9165 PyObject
*resultobj
;
9166 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9168 PyObject
* obj0
= 0 ;
9169 PyObject
* obj1
= 0 ;
9171 (char *) "self",(char *) "m_exitcode", NULL
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9177 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9180 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9182 Py_INCREF(Py_None
); resultobj
= Py_None
;
9189 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9190 PyObject
*resultobj
;
9191 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9193 PyObject
* obj0
= 0 ;
9195 (char *) "self", NULL
9198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9200 result
= (int) ((arg1
)->m_exitcode
);
9202 resultobj
= SWIG_PyObj_FromInt((int)result
);
9209 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9212 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9214 return Py_BuildValue((char *)"");
9216 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
;
9218 wxString
*arg1
= 0 ;
9219 int arg2
= (int) wxEXEC_ASYNC
;
9220 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9222 bool temp1
= False
;
9223 PyObject
* obj0
= 0 ;
9224 PyObject
* obj1
= 0 ;
9225 PyObject
* obj2
= 0 ;
9227 (char *) "command",(char *) "flags",(char *) "process", NULL
9230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9232 arg1
= wxString_in_helper(obj0
);
9233 if (arg1
== NULL
) SWIG_fail
;
9238 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9243 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 resultobj
= SWIG_PyObj_FromLong((long)result
);
9267 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
*resultobj
;
9269 int arg1
= (int) wxJOYSTICK1
;
9271 PyObject
* obj0
= 0 ;
9273 (char *) "joystick", NULL
9276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9279 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 result
= (wxJoystick
*)new wxJoystick(arg1
);
9287 wxPyEndAllowThreads(__tstate
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9290 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystick
, 1);
9297 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
;
9299 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9300 PyObject
* obj0
= 0 ;
9302 (char *) "self", NULL
9305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",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();
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9314 Py_INCREF(Py_None
); resultobj
= Py_None
;
9321 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
*resultobj
;
9323 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9325 PyObject
* obj0
= 0 ;
9327 (char *) "self", NULL
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 result
= (arg1
)->GetPosition();
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9340 wxPoint
* resultptr
;
9341 resultptr
= new wxPoint((wxPoint
&) result
);
9342 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
9350 static PyObject
*_wrap_Joystick_GetZPosition(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_GetZPosition",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
)->GetZPosition();
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9368 resultobj
= SWIG_PyObj_FromInt((int)result
);
9375 static PyObject
*_wrap_Joystick_GetButtonState(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_GetButtonState",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
)->GetButtonState();
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9393 resultobj
= SWIG_PyObj_FromInt((int)result
);
9400 static PyObject
*_wrap_Joystick_GetPOVPosition(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_GetPOVPosition",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
)->GetPOVPosition();
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9418 resultobj
= SWIG_PyObj_FromInt((int)result
);
9425 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(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_GetPOVCTSPosition",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
)->GetPOVCTSPosition();
9440 wxPyEndAllowThreads(__tstate
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9443 resultobj
= SWIG_PyObj_FromInt((int)result
);
9450 static PyObject
*_wrap_Joystick_GetRudderPosition(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_GetRudderPosition",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
)->GetRudderPosition();
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9468 resultobj
= SWIG_PyObj_FromInt((int)result
);
9475 static PyObject
*_wrap_Joystick_GetUPosition(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_GetUPosition",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
)->GetUPosition();
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9493 resultobj
= SWIG_PyObj_FromInt((int)result
);
9500 static PyObject
*_wrap_Joystick_GetVPosition(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_GetVPosition",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
)->GetVPosition();
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9518 resultobj
= SWIG_PyObj_FromInt((int)result
);
9525 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9526 PyObject
*resultobj
;
9527 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9529 PyObject
* obj0
= 0 ;
9531 (char *) "self", NULL
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 result
= (int)(arg1
)->GetMovementThreshold();
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 resultobj
= SWIG_PyObj_FromInt((int)result
);
9550 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
*resultobj
;
9552 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9554 PyObject
* obj0
= 0 ;
9555 PyObject
* obj1
= 0 ;
9557 (char *) "self",(char *) "threshold", NULL
9560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9563 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 (arg1
)->SetMovementThreshold(arg2
);
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9573 Py_INCREF(Py_None
); resultobj
= Py_None
;
9580 static PyObject
*_wrap_Joystick_IsOk(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_IsOk",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
= (bool)(arg1
)->IsOk();
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9605 static PyObject
*_wrap_Joystick_GetNumberJoysticks(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_GetNumberJoysticks",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
)->GetNumberJoysticks();
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9623 resultobj
= SWIG_PyObj_FromInt((int)result
);
9630 static PyObject
*_wrap_Joystick_GetManufacturerId(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_GetManufacturerId",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
)->GetManufacturerId();
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 resultobj
= SWIG_PyObj_FromInt((int)result
);
9655 static PyObject
*_wrap_Joystick_GetProductId(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_GetProductId",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
= (int)(arg1
)->GetProductId();
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= SWIG_PyObj_FromInt((int)result
);
9680 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9681 PyObject
*resultobj
;
9682 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9684 PyObject
* obj0
= 0 ;
9686 (char *) "self", NULL
9689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 result
= (arg1
)->GetProductName();
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9711 static PyObject
*_wrap_Joystick_GetXMin(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_GetXMin",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
)->GetXMin();
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= SWIG_PyObj_FromInt((int)result
);
9736 static PyObject
*_wrap_Joystick_GetYMin(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_GetYMin",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
)->GetYMin();
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9754 resultobj
= SWIG_PyObj_FromInt((int)result
);
9761 static PyObject
*_wrap_Joystick_GetZMin(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_GetZMin",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
)->GetZMin();
9776 wxPyEndAllowThreads(__tstate
);
9777 if (PyErr_Occurred()) SWIG_fail
;
9779 resultobj
= SWIG_PyObj_FromInt((int)result
);
9786 static PyObject
*_wrap_Joystick_GetXMax(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_GetXMax",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
)->GetXMax();
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 resultobj
= SWIG_PyObj_FromInt((int)result
);
9811 static PyObject
*_wrap_Joystick_GetYMax(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_GetYMax",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
)->GetYMax();
9826 wxPyEndAllowThreads(__tstate
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9829 resultobj
= SWIG_PyObj_FromInt((int)result
);
9836 static PyObject
*_wrap_Joystick_GetZMax(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_GetZMax",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
)->GetZMax();
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9854 resultobj
= SWIG_PyObj_FromInt((int)result
);
9861 static PyObject
*_wrap_Joystick_GetNumberButtons(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_GetNumberButtons",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
)->GetNumberButtons();
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= SWIG_PyObj_FromInt((int)result
);
9886 static PyObject
*_wrap_Joystick_GetNumberAxes(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_GetNumberAxes",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
)->GetNumberAxes();
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9904 resultobj
= SWIG_PyObj_FromInt((int)result
);
9911 static PyObject
*_wrap_Joystick_GetMaxButtons(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_GetMaxButtons",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
)->GetMaxButtons();
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= SWIG_PyObj_FromInt((int)result
);
9936 static PyObject
*_wrap_Joystick_GetMaxAxes(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_GetMaxAxes",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
)->GetMaxAxes();
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9954 resultobj
= SWIG_PyObj_FromInt((int)result
);
9961 static PyObject
*_wrap_Joystick_GetPollingMin(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_GetPollingMin",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
)->GetPollingMin();
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9979 resultobj
= SWIG_PyObj_FromInt((int)result
);
9986 static PyObject
*_wrap_Joystick_GetPollingMax(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_GetPollingMax",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
)->GetPollingMax();
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10004 resultobj
= SWIG_PyObj_FromInt((int)result
);
10011 static PyObject
*_wrap_Joystick_GetRudderMin(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_GetRudderMin",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
)->GetRudderMin();
10026 wxPyEndAllowThreads(__tstate
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10029 resultobj
= SWIG_PyObj_FromInt((int)result
);
10036 static PyObject
*_wrap_Joystick_GetRudderMax(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_GetRudderMax",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
)->GetRudderMax();
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10054 resultobj
= SWIG_PyObj_FromInt((int)result
);
10061 static PyObject
*_wrap_Joystick_GetUMin(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_GetUMin",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
)->GetUMin();
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10079 resultobj
= SWIG_PyObj_FromInt((int)result
);
10086 static PyObject
*_wrap_Joystick_GetUMax(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_GetUMax",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
)->GetUMax();
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= SWIG_PyObj_FromInt((int)result
);
10111 static PyObject
*_wrap_Joystick_GetVMin(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_GetVMin",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
)->GetVMin();
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 resultobj
= SWIG_PyObj_FromInt((int)result
);
10136 static PyObject
*_wrap_Joystick_GetVMax(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_GetVMax",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
= (int)(arg1
)->GetVMax();
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10154 resultobj
= SWIG_PyObj_FromInt((int)result
);
10161 static PyObject
*_wrap_Joystick_HasRudder(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_HasRudder",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
)->HasRudder();
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10186 static PyObject
*_wrap_Joystick_HasZ(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_HasZ",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
)->HasZ();
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10204 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10211 static PyObject
*_wrap_Joystick_HasU(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_HasU",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
)->HasU();
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10229 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10236 static PyObject
*_wrap_Joystick_HasV(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_HasV",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
)->HasV();
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10261 static PyObject
*_wrap_Joystick_HasPOV(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_HasPOV",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
)->HasPOV();
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10279 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10286 static PyObject
*_wrap_Joystick_HasPOV4Dir(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_HasPOV4Dir",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
)->HasPOV4Dir();
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10304 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10311 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10312 PyObject
*resultobj
;
10313 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10315 PyObject
* obj0
= 0 ;
10316 char *kwnames
[] = {
10317 (char *) "self", NULL
10320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 result
= (bool)(arg1
)->HasPOVCTS();
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10329 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10336 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
*resultobj
;
10338 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10339 wxWindow
*arg2
= (wxWindow
*) 0 ;
10340 int arg3
= (int) 0 ;
10342 PyObject
* obj0
= 0 ;
10343 PyObject
* obj1
= 0 ;
10344 PyObject
* obj2
= 0 ;
10345 char *kwnames
[] = {
10346 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10351 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10354 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10372 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
;
10374 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10376 PyObject
* obj0
= 0 ;
10377 char *kwnames
[] = {
10378 (char *) "self", NULL
10381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 result
= (bool)(arg1
)->ReleaseCapture();
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10390 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10397 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10400 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10402 return Py_BuildValue((char *)"");
10404 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10405 PyObject
*resultobj
;
10406 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10407 wxPoint
*arg2
= (wxPoint
*) 0 ;
10408 PyObject
* obj0
= 0 ;
10409 PyObject
* obj1
= 0 ;
10410 char *kwnames
[] = {
10411 (char *) "self",(char *) "m_pos", NULL
10414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10416 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10417 if (arg1
) (arg1
)->m_pos
= *arg2
;
10419 Py_INCREF(Py_None
); resultobj
= Py_None
;
10426 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10427 PyObject
*resultobj
;
10428 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10430 PyObject
* obj0
= 0 ;
10431 char *kwnames
[] = {
10432 (char *) "self", NULL
10435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10437 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10439 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
10446 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10450 PyObject
* obj0
= 0 ;
10451 PyObject
* obj1
= 0 ;
10452 char *kwnames
[] = {
10453 (char *) "self",(char *) "m_zPosition", NULL
10456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10459 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10462 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10464 Py_INCREF(Py_None
); resultobj
= Py_None
;
10471 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
*resultobj
;
10473 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10475 PyObject
* obj0
= 0 ;
10476 char *kwnames
[] = {
10477 (char *) "self", NULL
10480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10482 result
= (int) ((arg1
)->m_zPosition
);
10484 resultobj
= SWIG_PyObj_FromInt((int)result
);
10491 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10492 PyObject
*resultobj
;
10493 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10495 PyObject
* obj0
= 0 ;
10496 PyObject
* obj1
= 0 ;
10497 char *kwnames
[] = {
10498 (char *) "self",(char *) "m_buttonChange", NULL
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10504 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10507 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10509 Py_INCREF(Py_None
); resultobj
= Py_None
;
10516 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
*resultobj
;
10518 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10520 PyObject
* obj0
= 0 ;
10521 char *kwnames
[] = {
10522 (char *) "self", NULL
10525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10527 result
= (int) ((arg1
)->m_buttonChange
);
10529 resultobj
= SWIG_PyObj_FromInt((int)result
);
10536 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10540 PyObject
* obj0
= 0 ;
10541 PyObject
* obj1
= 0 ;
10542 char *kwnames
[] = {
10543 (char *) "self",(char *) "m_buttonState", NULL
10546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10549 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10552 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10554 Py_INCREF(Py_None
); resultobj
= Py_None
;
10561 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
*resultobj
;
10563 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10565 PyObject
* obj0
= 0 ;
10566 char *kwnames
[] = {
10567 (char *) "self", NULL
10570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10572 result
= (int) ((arg1
)->m_buttonState
);
10574 resultobj
= SWIG_PyObj_FromInt((int)result
);
10581 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
;
10583 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10585 PyObject
* obj0
= 0 ;
10586 PyObject
* obj1
= 0 ;
10587 char *kwnames
[] = {
10588 (char *) "self",(char *) "m_joyStick", NULL
10591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10594 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10597 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10599 Py_INCREF(Py_None
); resultobj
= Py_None
;
10606 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
;
10608 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10610 PyObject
* obj0
= 0 ;
10611 char *kwnames
[] = {
10612 (char *) "self", NULL
10615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10617 result
= (int) ((arg1
)->m_joyStick
);
10619 resultobj
= SWIG_PyObj_FromInt((int)result
);
10626 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10627 PyObject
*resultobj
;
10628 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10629 int arg2
= (int) 0 ;
10630 int arg3
= (int) wxJOYSTICK1
;
10631 int arg4
= (int) 0 ;
10632 wxJoystickEvent
*result
;
10633 PyObject
* obj0
= 0 ;
10634 PyObject
* obj1
= 0 ;
10635 PyObject
* obj2
= 0 ;
10636 PyObject
* obj3
= 0 ;
10637 char *kwnames
[] = {
10638 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10644 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10650 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10656 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10662 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystickEvent
, 1);
10680 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
;
10682 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10684 PyObject
* obj0
= 0 ;
10685 char *kwnames
[] = {
10686 (char *) "self", NULL
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10699 wxPoint
* resultptr
;
10700 resultptr
= new wxPoint((wxPoint
&) result
);
10701 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
10709 static PyObject
*_wrap_JoystickEvent_GetZPosition(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_GetZPosition",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
)->GetZPosition();
10724 wxPyEndAllowThreads(__tstate
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10727 resultobj
= SWIG_PyObj_FromInt((int)result
);
10734 static PyObject
*_wrap_JoystickEvent_GetButtonState(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_GetButtonState",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
)->GetButtonState();
10749 wxPyEndAllowThreads(__tstate
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10752 resultobj
= SWIG_PyObj_FromInt((int)result
);
10759 static PyObject
*_wrap_JoystickEvent_GetButtonChange(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_GetButtonChange",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
)->GetButtonChange();
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 resultobj
= SWIG_PyObj_FromInt((int)result
);
10784 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10785 PyObject
*resultobj
;
10786 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10788 PyObject
* obj0
= 0 ;
10789 char *kwnames
[] = {
10790 (char *) "self", NULL
10793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
10794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10802 resultobj
= SWIG_PyObj_FromInt((int)result
);
10809 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10810 PyObject
*resultobj
;
10811 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10813 PyObject
* obj0
= 0 ;
10814 PyObject
* obj1
= 0 ;
10815 char *kwnames
[] = {
10816 (char *) "self",(char *) "stick", NULL
10819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
10820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10822 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10827 (arg1
)->SetJoystick(arg2
);
10829 wxPyEndAllowThreads(__tstate
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10832 Py_INCREF(Py_None
); resultobj
= Py_None
;
10839 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10840 PyObject
*resultobj
;
10841 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10843 PyObject
* obj0
= 0 ;
10844 PyObject
* obj1
= 0 ;
10845 char *kwnames
[] = {
10846 (char *) "self",(char *) "state", NULL
10849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
10850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10852 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10853 if (PyErr_Occurred()) SWIG_fail
;
10856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10857 (arg1
)->SetButtonState(arg2
);
10859 wxPyEndAllowThreads(__tstate
);
10860 if (PyErr_Occurred()) SWIG_fail
;
10862 Py_INCREF(Py_None
); resultobj
= Py_None
;
10869 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
*resultobj
;
10871 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10873 PyObject
* obj0
= 0 ;
10874 PyObject
* obj1
= 0 ;
10875 char *kwnames
[] = {
10876 (char *) "self",(char *) "change", NULL
10879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
10880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10882 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 (arg1
)->SetButtonChange(arg2
);
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10892 Py_INCREF(Py_None
); resultobj
= Py_None
;
10899 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10902 wxPoint
*arg2
= 0 ;
10904 PyObject
* obj0
= 0 ;
10905 PyObject
* obj1
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "self",(char *) "pos", NULL
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10914 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10923 Py_INCREF(Py_None
); resultobj
= Py_None
;
10930 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
;
10932 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10934 PyObject
* obj0
= 0 ;
10935 PyObject
* obj1
= 0 ;
10936 char *kwnames
[] = {
10937 (char *) "self",(char *) "zPos", NULL
10940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10943 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 (arg1
)->SetZPosition(arg2
);
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10953 Py_INCREF(Py_None
); resultobj
= Py_None
;
10960 static PyObject
*_wrap_JoystickEvent_IsButton(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_IsButton",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
)->IsButton();
10975 wxPyEndAllowThreads(__tstate
);
10976 if (PyErr_Occurred()) SWIG_fail
;
10978 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10985 static PyObject
*_wrap_JoystickEvent_IsMove(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_IsMove",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
)->IsMove();
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11003 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11010 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
;
11012 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11014 PyObject
* obj0
= 0 ;
11015 char *kwnames
[] = {
11016 (char *) "self", NULL
11019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11028 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11035 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
;
11037 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11038 int arg2
= (int) wxJOY_BUTTON_ANY
;
11040 PyObject
* obj0
= 0 ;
11041 PyObject
* obj1
= 0 ;
11042 char *kwnames
[] = {
11043 (char *) "self",(char *) "but", NULL
11046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11050 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11068 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11071 int arg2
= (int) wxJOY_BUTTON_ANY
;
11073 PyObject
* obj0
= 0 ;
11074 PyObject
* obj1
= 0 ;
11075 char *kwnames
[] = {
11076 (char *) "self",(char *) "but", NULL
11079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11083 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11089 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11091 wxPyEndAllowThreads(__tstate
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11094 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11101 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11102 PyObject
*resultobj
;
11103 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11104 int arg2
= (int) wxJOY_BUTTON_ANY
;
11106 PyObject
* obj0
= 0 ;
11107 PyObject
* obj1
= 0 ;
11108 char *kwnames
[] = {
11109 (char *) "self",(char *) "but", NULL
11112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11116 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11124 wxPyEndAllowThreads(__tstate
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11127 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11134 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11137 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11139 return Py_BuildValue((char *)"");
11141 static PyObject
*_wrap_new_Wave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
*resultobj
;
11143 wxString
*arg1
= 0 ;
11144 bool arg2
= (bool) False
;
11146 bool temp1
= False
;
11147 PyObject
* obj0
= 0 ;
11148 PyObject
* obj1
= 0 ;
11149 char *kwnames
[] = {
11150 (char *) "fileName",(char *) "isResource", NULL
11153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Wave",kwnames
,&obj0
,&obj1
)) goto fail
;
11155 arg1
= wxString_in_helper(obj0
);
11156 if (arg1
== NULL
) SWIG_fail
;
11161 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11167 result
= (wxWave
*)new wxWave((wxString
const &)*arg1
,arg2
);
11169 wxPyEndAllowThreads(__tstate
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11172 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWave
, 1);
11187 static PyObject
*_wrap_new_WaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11188 PyObject
*resultobj
;
11189 wxString
*arg1
= 0 ;
11191 bool temp1
= False
;
11192 PyObject
* obj0
= 0 ;
11193 char *kwnames
[] = {
11194 (char *) "data", NULL
11197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WaveData",kwnames
,&obj0
)) goto fail
;
11199 arg1
= wxString_in_helper(obj0
);
11200 if (arg1
== NULL
) SWIG_fail
;
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 result
= (wxWave
*)new_wxWave((wxString
const &)*arg1
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11210 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWave
, 1);
11225 static PyObject
*_wrap_delete_Wave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
;
11227 wxWave
*arg1
= (wxWave
*) 0 ;
11228 PyObject
* obj0
= 0 ;
11229 char *kwnames
[] = {
11230 (char *) "self", NULL
11233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Wave",kwnames
,&obj0
)) goto fail
;
11234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11242 Py_INCREF(Py_None
); resultobj
= Py_None
;
11249 static PyObject
*_wrap_Wave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
;
11251 wxWave
*arg1
= (wxWave
*) 0 ;
11253 PyObject
* obj0
= 0 ;
11254 char *kwnames
[] = {
11255 (char *) "self", NULL
11258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Wave_IsOk",kwnames
,&obj0
)) goto fail
;
11259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11262 result
= (bool)((wxWave
const *)arg1
)->IsOk();
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11267 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11274 static PyObject
*_wrap_Wave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
;
11276 wxWave
*arg1
= (wxWave
*) 0 ;
11277 bool arg2
= (bool) True
;
11278 bool arg3
= (bool) False
;
11280 PyObject
* obj0
= 0 ;
11281 PyObject
* obj1
= 0 ;
11282 PyObject
* obj2
= 0 ;
11283 char *kwnames
[] = {
11284 (char *) "self",(char *) "async",(char *) "looped", NULL
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Wave_Play",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11291 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11297 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 result
= (bool)(arg1
)->Play(arg2
,arg3
);
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11308 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11315 static PyObject
* Wave_swigregister(PyObject
*self
, PyObject
*args
) {
11317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11318 SWIG_TypeClientData(SWIGTYPE_p_wxWave
, obj
);
11320 return Py_BuildValue((char *)"");
11322 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11323 PyObject
*resultobj
;
11324 wxString
*arg1
= 0 ;
11325 wxString
*arg2
= 0 ;
11326 wxString
*arg3
= 0 ;
11327 wxString
*arg4
= 0 ;
11328 wxFileTypeInfo
*result
;
11329 bool temp1
= False
;
11330 bool temp2
= False
;
11331 bool temp3
= False
;
11332 bool temp4
= False
;
11333 PyObject
* obj0
= 0 ;
11334 PyObject
* obj1
= 0 ;
11335 PyObject
* obj2
= 0 ;
11336 PyObject
* obj3
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11343 arg1
= wxString_in_helper(obj0
);
11344 if (arg1
== NULL
) SWIG_fail
;
11348 arg2
= wxString_in_helper(obj1
);
11349 if (arg2
== NULL
) SWIG_fail
;
11353 arg3
= wxString_in_helper(obj2
);
11354 if (arg3
== NULL
) SWIG_fail
;
11358 arg4
= wxString_in_helper(obj3
);
11359 if (arg4
== NULL
) SWIG_fail
;
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11369 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
11408 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11409 PyObject
*resultobj
;
11410 wxArrayString
*arg1
= 0 ;
11411 wxFileTypeInfo
*result
;
11412 PyObject
* obj0
= 0 ;
11413 char *kwnames
[] = {
11414 (char *) "sArray", NULL
11417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11419 if (! PySequence_Check(obj0
)) {
11420 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11423 arg1
= new wxArrayString
;
11424 int i
, len
=PySequence_Length(obj0
);
11425 for (i
=0; i
<len
; i
++) {
11426 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11428 PyObject
* str
= PyObject_Unicode(item
);
11430 PyObject
* str
= PyObject_Str(item
);
11432 arg1
->Add(Py2wxString(str
));
11438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11439 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11441 wxPyEndAllowThreads(__tstate
);
11442 if (PyErr_Occurred()) SWIG_fail
;
11444 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
11446 if (arg1
) delete arg1
;
11451 if (arg1
) delete arg1
;
11457 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11458 PyObject
*resultobj
;
11459 wxFileTypeInfo
*result
;
11460 char *kwnames
[] = {
11464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11472 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
11479 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11480 PyObject
*resultobj
;
11481 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11483 PyObject
* obj0
= 0 ;
11484 char *kwnames
[] = {
11485 (char *) "self", NULL
11488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11497 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11504 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
*resultobj
;
11506 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11507 wxString
*arg2
= 0 ;
11508 int arg3
= (int) 0 ;
11509 bool temp2
= False
;
11510 PyObject
* obj0
= 0 ;
11511 PyObject
* obj1
= 0 ;
11512 PyObject
* obj2
= 0 ;
11513 char *kwnames
[] = {
11514 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11520 arg2
= wxString_in_helper(obj1
);
11521 if (arg2
== NULL
) SWIG_fail
;
11526 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 Py_INCREF(Py_None
); resultobj
= Py_None
;
11552 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11553 PyObject
*resultobj
;
11554 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11555 wxString
*arg2
= 0 ;
11556 bool temp2
= False
;
11557 PyObject
* obj0
= 0 ;
11558 PyObject
* obj1
= 0 ;
11559 char *kwnames
[] = {
11560 (char *) "self",(char *) "shortDesc", NULL
11563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
11564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11566 arg2
= wxString_in_helper(obj1
);
11567 if (arg2
== NULL
) SWIG_fail
;
11571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11572 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
11574 wxPyEndAllowThreads(__tstate
);
11575 if (PyErr_Occurred()) SWIG_fail
;
11577 Py_INCREF(Py_None
); resultobj
= Py_None
;
11592 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11593 PyObject
*resultobj
;
11594 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11596 PyObject
* obj0
= 0 ;
11597 char *kwnames
[] = {
11598 (char *) "self", NULL
11601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
11602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11606 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
11607 result
= (wxString
*) &_result_ref
;
11610 wxPyEndAllowThreads(__tstate
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11615 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11617 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11626 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11627 PyObject
*resultobj
;
11628 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11630 PyObject
* obj0
= 0 ;
11631 char *kwnames
[] = {
11632 (char *) "self", NULL
11635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
11636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
11641 result
= (wxString
*) &_result_ref
;
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11649 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11651 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11660 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
;
11662 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11664 PyObject
* obj0
= 0 ;
11665 char *kwnames
[] = {
11666 (char *) "self", NULL
11669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
11670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11674 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
11675 result
= (wxString
*) &_result_ref
;
11678 wxPyEndAllowThreads(__tstate
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11683 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11685 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11694 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11695 PyObject
*resultobj
;
11696 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11698 PyObject
* obj0
= 0 ;
11699 char *kwnames
[] = {
11700 (char *) "self", NULL
11703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
11704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11708 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
11709 result
= (wxString
*) &_result_ref
;
11712 wxPyEndAllowThreads(__tstate
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11717 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11719 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11728 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
*resultobj
;
11730 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11732 PyObject
* obj0
= 0 ;
11733 char *kwnames
[] = {
11734 (char *) "self", NULL
11737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
11738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
11743 result
= (wxString
*) &_result_ref
;
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11751 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11753 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11762 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11763 PyObject
*resultobj
;
11764 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11765 wxArrayString
*result
;
11766 PyObject
* obj0
= 0 ;
11767 char *kwnames
[] = {
11768 (char *) "self", NULL
11771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
11772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11776 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
11777 result
= (wxArrayString
*) &_result_ref
;
11780 wxPyEndAllowThreads(__tstate
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11784 resultobj
= wxArrayString2PyList_helper(*result
);
11792 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11796 PyObject
* obj0
= 0 ;
11797 char *kwnames
[] = {
11798 (char *) "self", NULL
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
11802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11810 resultobj
= SWIG_PyObj_FromInt((int)result
);
11817 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11818 PyObject
*resultobj
;
11819 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11821 PyObject
* obj0
= 0 ;
11822 char *kwnames
[] = {
11823 (char *) "self", NULL
11826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
11827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11831 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
11832 result
= (wxString
*) &_result_ref
;
11835 wxPyEndAllowThreads(__tstate
);
11836 if (PyErr_Occurred()) SWIG_fail
;
11840 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11842 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11851 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11852 PyObject
*resultobj
;
11853 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11855 PyObject
* obj0
= 0 ;
11856 char *kwnames
[] = {
11857 (char *) "self", NULL
11860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
11861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11869 resultobj
= SWIG_PyObj_FromInt((int)result
);
11876 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
11878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11879 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
11881 return Py_BuildValue((char *)"");
11883 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11884 PyObject
*resultobj
;
11885 wxFileTypeInfo
*arg1
= 0 ;
11886 wxFileType
*result
;
11887 PyObject
* obj0
= 0 ;
11888 char *kwnames
[] = {
11889 (char *) "ftInfo", NULL
11892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
11893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11894 if (arg1
== NULL
) {
11895 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11899 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
11901 wxPyEndAllowThreads(__tstate
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11904 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11911 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11912 PyObject
*resultobj
;
11913 wxFileType
*arg1
= (wxFileType
*) 0 ;
11914 PyObject
* obj0
= 0 ;
11915 char *kwnames
[] = {
11916 (char *) "self", NULL
11919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
11920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 Py_INCREF(Py_None
); resultobj
= Py_None
;
11935 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
;
11937 wxFileType
*arg1
= (wxFileType
*) 0 ;
11939 PyObject
* obj0
= 0 ;
11940 char *kwnames
[] = {
11941 (char *) "self", NULL
11944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
11945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= result
;
11960 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11961 PyObject
*resultobj
;
11962 wxFileType
*arg1
= (wxFileType
*) 0 ;
11964 PyObject
* obj0
= 0 ;
11965 char *kwnames
[] = {
11966 (char *) "self", NULL
11969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
11970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11978 resultobj
= result
;
11985 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
;
11987 wxFileType
*arg1
= (wxFileType
*) 0 ;
11989 PyObject
* obj0
= 0 ;
11990 char *kwnames
[] = {
11991 (char *) "self", NULL
11994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
11995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11998 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12000 wxPyEndAllowThreads(__tstate
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12003 resultobj
= result
;
12010 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12011 PyObject
*resultobj
;
12012 wxFileType
*arg1
= (wxFileType
*) 0 ;
12014 PyObject
* obj0
= 0 ;
12015 char *kwnames
[] = {
12016 (char *) "self", NULL
12019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12028 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
12035 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
;
12037 wxFileType
*arg1
= (wxFileType
*) 0 ;
12039 PyObject
* obj0
= 0 ;
12040 char *kwnames
[] = {
12041 (char *) "self", NULL
12044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= result
;
12060 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
;
12062 wxFileType
*arg1
= (wxFileType
*) 0 ;
12064 PyObject
* obj0
= 0 ;
12065 char *kwnames
[] = {
12066 (char *) "self", NULL
12069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= result
;
12085 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12086 PyObject
*resultobj
;
12087 wxFileType
*arg1
= (wxFileType
*) 0 ;
12088 wxString
*arg2
= 0 ;
12089 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12090 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12092 bool temp2
= False
;
12093 bool temp3
= False
;
12094 PyObject
* obj0
= 0 ;
12095 PyObject
* obj1
= 0 ;
12096 PyObject
* obj2
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12104 arg2
= wxString_in_helper(obj1
);
12105 if (arg2
== NULL
) SWIG_fail
;
12110 arg3
= wxString_in_helper(obj2
);
12111 if (arg3
== NULL
) SWIG_fail
;
12116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12117 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 resultobj
= result
;
12145 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12146 PyObject
*resultobj
;
12147 wxFileType
*arg1
= (wxFileType
*) 0 ;
12148 wxString
*arg2
= 0 ;
12149 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12150 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12152 bool temp2
= False
;
12153 bool temp3
= False
;
12154 PyObject
* obj0
= 0 ;
12155 PyObject
* obj1
= 0 ;
12156 PyObject
* obj2
= 0 ;
12157 char *kwnames
[] = {
12158 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12164 arg2
= wxString_in_helper(obj1
);
12165 if (arg2
== NULL
) SWIG_fail
;
12170 arg3
= wxString_in_helper(obj2
);
12171 if (arg3
== NULL
) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12182 resultobj
= result
;
12205 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12206 PyObject
*resultobj
;
12207 wxFileType
*arg1
= (wxFileType
*) 0 ;
12208 wxString
*arg2
= 0 ;
12209 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12210 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12212 bool temp2
= False
;
12213 bool temp3
= False
;
12214 PyObject
* obj0
= 0 ;
12215 PyObject
* obj1
= 0 ;
12216 PyObject
* obj2
= 0 ;
12217 char *kwnames
[] = {
12218 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12224 arg2
= wxString_in_helper(obj1
);
12225 if (arg2
== NULL
) SWIG_fail
;
12230 arg3
= wxString_in_helper(obj2
);
12231 if (arg3
== NULL
) SWIG_fail
;
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12242 resultobj
= result
;
12265 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12266 PyObject
*resultobj
;
12267 wxFileType
*arg1
= (wxFileType
*) 0 ;
12268 wxString
*arg2
= 0 ;
12269 wxString
*arg3
= 0 ;
12270 bool arg4
= (bool) True
;
12272 bool temp2
= False
;
12273 bool temp3
= False
;
12274 PyObject
* obj0
= 0 ;
12275 PyObject
* obj1
= 0 ;
12276 PyObject
* obj2
= 0 ;
12277 PyObject
* obj3
= 0 ;
12278 char *kwnames
[] = {
12279 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12285 arg2
= wxString_in_helper(obj1
);
12286 if (arg2
== NULL
) SWIG_fail
;
12290 arg3
= wxString_in_helper(obj2
);
12291 if (arg3
== NULL
) SWIG_fail
;
12296 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12330 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
;
12332 wxFileType
*arg1
= (wxFileType
*) 0 ;
12333 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12334 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12335 int arg3
= (int) 0 ;
12337 bool temp2
= False
;
12338 PyObject
* obj0
= 0 ;
12339 PyObject
* obj1
= 0 ;
12340 PyObject
* obj2
= 0 ;
12341 char *kwnames
[] = {
12342 (char *) "self",(char *) "cmd",(char *) "index", NULL
12345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12349 arg2
= wxString_in_helper(obj1
);
12350 if (arg2
== NULL
) SWIG_fail
;
12356 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12382 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
;
12384 wxFileType
*arg1
= (wxFileType
*) 0 ;
12386 PyObject
* obj0
= 0 ;
12387 char *kwnames
[] = {
12388 (char *) "self", NULL
12391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 result
= (bool)(arg1
)->Unassociate();
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12407 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
;
12409 wxString
*arg1
= 0 ;
12410 wxString
*arg2
= 0 ;
12411 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12412 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12414 bool temp1
= False
;
12415 bool temp2
= False
;
12416 bool temp3
= False
;
12417 PyObject
* obj0
= 0 ;
12418 PyObject
* obj1
= 0 ;
12419 PyObject
* obj2
= 0 ;
12420 char *kwnames
[] = {
12421 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12426 arg1
= wxString_in_helper(obj0
);
12427 if (arg1
== NULL
) SWIG_fail
;
12431 arg2
= wxString_in_helper(obj1
);
12432 if (arg2
== NULL
) SWIG_fail
;
12437 arg3
= wxString_in_helper(obj2
);
12438 if (arg3
== NULL
) SWIG_fail
;
12443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12451 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12453 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12486 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
12488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12489 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
12491 return Py_BuildValue((char *)"");
12493 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
12494 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
12499 static PyObject
*_wrap_TheMimeTypesManager_get() {
12502 pyobj
= SWIG_NewPointerObj((void *) wxTheMimeTypesManager
, SWIGTYPE_p_wxMimeTypesManager
, 0);
12507 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12508 PyObject
*resultobj
;
12509 wxString
*arg1
= 0 ;
12510 wxString
*arg2
= 0 ;
12512 bool temp1
= False
;
12513 bool temp2
= False
;
12514 PyObject
* obj0
= 0 ;
12515 PyObject
* obj1
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "mimeType",(char *) "wildcard", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
12522 arg1
= wxString_in_helper(obj0
);
12523 if (arg1
== NULL
) SWIG_fail
;
12527 arg2
= wxString_in_helper(obj1
);
12528 if (arg2
== NULL
) SWIG_fail
;
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12538 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12561 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12562 PyObject
*resultobj
;
12563 wxMimeTypesManager
*result
;
12564 char *kwnames
[] = {
12568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12576 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMimeTypesManager
, 1);
12583 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
;
12585 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12586 int arg2
= (int) wxMAILCAP_ALL
;
12587 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12588 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12589 bool temp3
= False
;
12590 PyObject
* obj0
= 0 ;
12591 PyObject
* obj1
= 0 ;
12592 PyObject
* obj2
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12601 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12607 arg3
= wxString_in_helper(obj2
);
12608 if (arg3
== NULL
) SWIG_fail
;
12613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12614 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
12616 wxPyEndAllowThreads(__tstate
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12619 Py_INCREF(Py_None
); resultobj
= Py_None
;
12634 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
;
12636 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12637 PyObject
* obj0
= 0 ;
12638 char *kwnames
[] = {
12639 (char *) "self", NULL
12642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
12643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12646 (arg1
)->ClearData();
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12651 Py_INCREF(Py_None
); resultobj
= Py_None
;
12658 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12659 PyObject
*resultobj
;
12660 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12661 wxString
*arg2
= 0 ;
12662 wxFileType
*result
;
12663 bool temp2
= False
;
12664 PyObject
* obj0
= 0 ;
12665 PyObject
* obj1
= 0 ;
12666 char *kwnames
[] = {
12667 (char *) "self",(char *) "ext", NULL
12670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
12671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12673 arg2
= wxString_in_helper(obj1
);
12674 if (arg2
== NULL
) SWIG_fail
;
12678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12679 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
12681 wxPyEndAllowThreads(__tstate
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12684 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12699 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
*resultobj
;
12701 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12702 wxString
*arg2
= 0 ;
12703 wxFileType
*result
;
12704 bool temp2
= False
;
12705 PyObject
* obj0
= 0 ;
12706 PyObject
* obj1
= 0 ;
12707 char *kwnames
[] = {
12708 (char *) "self",(char *) "mimeType", NULL
12711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
12712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12714 arg2
= wxString_in_helper(obj1
);
12715 if (arg2
== NULL
) SWIG_fail
;
12719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12720 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12725 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12740 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12741 PyObject
*resultobj
;
12742 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12743 wxString
*arg2
= 0 ;
12744 bool arg3
= (bool) False
;
12746 bool temp2
= False
;
12747 PyObject
* obj0
= 0 ;
12748 PyObject
* obj1
= 0 ;
12749 PyObject
* obj2
= 0 ;
12750 char *kwnames
[] = {
12751 (char *) "self",(char *) "filename",(char *) "fallback", NULL
12754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12757 arg2
= wxString_in_helper(obj1
);
12758 if (arg2
== NULL
) SWIG_fail
;
12763 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
12764 if (PyErr_Occurred()) SWIG_fail
;
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12789 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
;
12791 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12792 wxString
*arg2
= 0 ;
12794 bool temp2
= False
;
12795 PyObject
* obj0
= 0 ;
12796 PyObject
* obj1
= 0 ;
12797 char *kwnames
[] = {
12798 (char *) "self",(char *) "filename", NULL
12801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
12802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12804 arg2
= wxString_in_helper(obj1
);
12805 if (arg2
== NULL
) SWIG_fail
;
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12830 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
;
12832 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12834 PyObject
* obj0
= 0 ;
12835 char *kwnames
[] = {
12836 (char *) "self", NULL
12839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
12840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12848 resultobj
= result
;
12855 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
*resultobj
;
12857 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12858 wxFileTypeInfo
*arg2
= 0 ;
12859 PyObject
* obj0
= 0 ;
12860 PyObject
* obj1
= 0 ;
12861 char *kwnames
[] = {
12862 (char *) "self",(char *) "ft", NULL
12865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
12866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12867 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12868 if (arg2
== NULL
) {
12869 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12873 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
12875 wxPyEndAllowThreads(__tstate
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12878 Py_INCREF(Py_None
); resultobj
= Py_None
;
12885 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12886 PyObject
*resultobj
;
12887 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12888 wxFileTypeInfo
*arg2
= 0 ;
12889 wxFileType
*result
;
12890 PyObject
* obj0
= 0 ;
12891 PyObject
* obj1
= 0 ;
12892 char *kwnames
[] = {
12893 (char *) "self",(char *) "ftInfo", NULL
12896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
12897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12898 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12899 if (arg2
== NULL
) {
12900 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12904 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
12906 wxPyEndAllowThreads(__tstate
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12909 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12916 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12917 PyObject
*resultobj
;
12918 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12919 wxFileType
*arg2
= (wxFileType
*) 0 ;
12921 PyObject
* obj0
= 0 ;
12922 PyObject
* obj1
= 0 ;
12923 char *kwnames
[] = {
12924 (char *) "self",(char *) "ft", NULL
12927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
12928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12929 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 result
= (bool)(arg1
)->Unassociate(arg2
);
12934 wxPyEndAllowThreads(__tstate
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12937 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12944 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
;
12946 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12947 PyObject
* obj0
= 0 ;
12948 char *kwnames
[] = {
12949 (char *) "self", NULL
12952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
12953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12961 Py_INCREF(Py_None
); resultobj
= Py_None
;
12968 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
12970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12971 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
12973 return Py_BuildValue((char *)"");
12975 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
12976 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
12981 static PyObject
*_wrap_ART_TOOLBAR_get() {
12986 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
12988 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
12995 static int _wrap_ART_MENU_set(PyObject
*_val
) {
12996 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13001 static PyObject
*_wrap_ART_MENU_get() {
13006 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13008 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13015 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13016 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13021 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13026 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13028 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13035 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13036 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13041 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13046 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13048 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13055 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13056 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13061 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13066 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13068 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13075 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13076 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13081 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13086 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13088 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13095 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13096 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13101 static PyObject
*_wrap_ART_OTHER_get() {
13106 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13108 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13115 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13116 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13121 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13126 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13128 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13135 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13136 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13141 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13146 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13148 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13155 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13156 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13161 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13166 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13168 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13175 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13176 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13181 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13186 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13188 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13195 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13196 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13201 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13206 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13208 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13215 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13216 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13221 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13226 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13228 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13235 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13236 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13241 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13246 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13248 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13255 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13256 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13261 static PyObject
*_wrap_ART_GO_BACK_get() {
13266 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13268 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13275 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13276 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13281 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13286 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13288 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13295 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13296 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13301 static PyObject
*_wrap_ART_GO_UP_get() {
13306 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13308 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13315 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13316 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13321 static PyObject
*_wrap_ART_GO_DOWN_get() {
13326 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13328 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13335 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13336 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13341 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13346 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13348 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13355 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13356 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13361 static PyObject
*_wrap_ART_GO_HOME_get() {
13366 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13368 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13375 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13376 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13381 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13386 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13388 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13395 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13396 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13401 static PyObject
*_wrap_ART_PRINT_get() {
13406 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13408 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13415 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13416 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13421 static PyObject
*_wrap_ART_HELP_get() {
13426 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13428 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13435 static int _wrap_ART_TIP_set(PyObject
*_val
) {
13436 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13441 static PyObject
*_wrap_ART_TIP_get() {
13446 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13448 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13455 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
13456 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
13461 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
13466 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13468 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13475 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
13476 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
13481 static PyObject
*_wrap_ART_LIST_VIEW_get() {
13486 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13488 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13495 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
13496 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
13501 static PyObject
*_wrap_ART_NEW_DIR_get() {
13506 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13508 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13515 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
13516 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
13521 static PyObject
*_wrap_ART_FOLDER_get() {
13526 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13528 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13535 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
13536 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
13541 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
13546 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13548 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13555 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
13556 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
13561 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
13566 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
13568 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
13575 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
13576 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
13581 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
13586 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
13588 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
13595 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
13596 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
13601 static PyObject
*_wrap_ART_TICK_MARK_get() {
13606 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
13608 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
13615 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
13616 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
13621 static PyObject
*_wrap_ART_CROSS_MARK_get() {
13626 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
13628 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
13635 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
13636 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
13641 static PyObject
*_wrap_ART_ERROR_get() {
13646 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
13648 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
13655 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
13656 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
13661 static PyObject
*_wrap_ART_QUESTION_get() {
13666 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
13668 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
13675 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
13676 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
13681 static PyObject
*_wrap_ART_WARNING_get() {
13686 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
13688 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
13695 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
13696 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
13701 static PyObject
*_wrap_ART_INFORMATION_get() {
13706 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
13708 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
13715 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
13716 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
13721 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
13726 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
13728 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
13735 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
*resultobj
;
13737 wxPyArtProvider
*result
;
13738 char *kwnames
[] = {
13742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 result
= (wxPyArtProvider
*)new wxPyArtProvider();
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13750 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyArtProvider
, 1);
13757 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
;
13759 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13760 PyObject
*arg2
= (PyObject
*) 0 ;
13761 PyObject
*arg3
= (PyObject
*) 0 ;
13762 PyObject
* obj0
= 0 ;
13763 PyObject
* obj1
= 0 ;
13764 PyObject
* obj2
= 0 ;
13765 char *kwnames
[] = {
13766 (char *) "self",(char *) "self",(char *) "_class", NULL
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13775 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13777 wxPyEndAllowThreads(__tstate
);
13778 if (PyErr_Occurred()) SWIG_fail
;
13780 Py_INCREF(Py_None
); resultobj
= Py_None
;
13787 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13788 PyObject
*resultobj
;
13789 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13790 PyObject
* obj0
= 0 ;
13791 char *kwnames
[] = {
13792 (char *) "provider", NULL
13795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
13796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13799 wxPyArtProvider::PushProvider(arg1
);
13801 wxPyEndAllowThreads(__tstate
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13804 Py_INCREF(Py_None
); resultobj
= Py_None
;
13811 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13812 PyObject
*resultobj
;
13814 char *kwnames
[] = {
13818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
13820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13821 result
= (bool)wxPyArtProvider::PopProvider();
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13826 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13833 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
;
13835 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13837 PyObject
* obj0
= 0 ;
13838 char *kwnames
[] = {
13839 (char *) "provider", NULL
13842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
13843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13846 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
13848 wxPyEndAllowThreads(__tstate
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13851 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13858 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
;
13860 wxString
*arg1
= 0 ;
13861 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
13862 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13863 wxSize
const &arg3_defvalue
= wxDefaultSize
;
13864 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
13866 bool temp1
= False
;
13867 bool temp2
= False
;
13869 PyObject
* obj0
= 0 ;
13870 PyObject
* obj1
= 0 ;
13871 PyObject
* obj2
= 0 ;
13872 char *kwnames
[] = {
13873 (char *) "id",(char *) "client",(char *) "size", NULL
13876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13878 arg1
= wxString_in_helper(obj0
);
13879 if (arg1
== NULL
) SWIG_fail
;
13884 arg2
= wxString_in_helper(obj1
);
13885 if (arg2
== NULL
) SWIG_fail
;
13892 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13903 wxBitmap
* resultptr
;
13904 resultptr
= new wxBitmap((wxBitmap
&) result
);
13905 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
13929 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13930 PyObject
*resultobj
;
13931 wxString
*arg1
= 0 ;
13932 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
13933 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13934 wxSize
const &arg3_defvalue
= wxDefaultSize
;
13935 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
13937 bool temp1
= False
;
13938 bool temp2
= False
;
13940 PyObject
* obj0
= 0 ;
13941 PyObject
* obj1
= 0 ;
13942 PyObject
* obj2
= 0 ;
13943 char *kwnames
[] = {
13944 (char *) "id",(char *) "client",(char *) "size", NULL
13947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13949 arg1
= wxString_in_helper(obj0
);
13950 if (arg1
== NULL
) SWIG_fail
;
13955 arg2
= wxString_in_helper(obj1
);
13956 if (arg2
== NULL
) SWIG_fail
;
13963 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13968 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13974 wxIcon
* resultptr
;
13975 resultptr
= new wxIcon((wxIcon
&) result
);
13976 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
14000 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
;
14002 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14003 PyObject
* obj0
= 0 ;
14004 char *kwnames
[] = {
14005 (char *) "self", NULL
14008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14012 wxPyArtProvider_Destroy(arg1
);
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14017 Py_INCREF(Py_None
); resultobj
= Py_None
;
14024 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14027 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14029 return Py_BuildValue((char *)"");
14031 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14032 PyObject
*resultobj
;
14033 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14034 PyObject
* obj0
= 0 ;
14035 char *kwnames
[] = {
14036 (char *) "self", NULL
14039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14045 wxPyEndAllowThreads(__tstate
);
14046 if (PyErr_Occurred()) SWIG_fail
;
14048 Py_INCREF(Py_None
); resultobj
= Py_None
;
14055 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14056 PyObject
*resultobj
;
14057 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14058 wxConfigBase
*result
;
14059 PyObject
* obj0
= 0 ;
14060 char *kwnames
[] = {
14061 (char *) "pConfig", NULL
14064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14070 wxPyEndAllowThreads(__tstate
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14073 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
14080 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14081 PyObject
*resultobj
;
14082 bool arg1
= (bool) True
;
14083 wxConfigBase
*result
;
14084 PyObject
* obj0
= 0 ;
14085 char *kwnames
[] = {
14086 (char *) "createOnDemand", NULL
14089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14092 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14098 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14100 wxPyEndAllowThreads(__tstate
);
14101 if (PyErr_Occurred()) SWIG_fail
;
14103 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
14110 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14111 PyObject
*resultobj
;
14112 wxConfigBase
*result
;
14113 char *kwnames
[] = {
14117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 result
= (wxConfigBase
*)wxConfigBase::Create();
14122 wxPyEndAllowThreads(__tstate
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14125 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
14132 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14133 PyObject
*resultobj
;
14134 char *kwnames
[] = {
14138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14141 wxConfigBase::DontCreateOnDemand();
14143 wxPyEndAllowThreads(__tstate
);
14144 if (PyErr_Occurred()) SWIG_fail
;
14146 Py_INCREF(Py_None
); resultobj
= Py_None
;
14153 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14154 PyObject
*resultobj
;
14155 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14156 wxString
*arg2
= 0 ;
14157 bool temp2
= False
;
14158 PyObject
* obj0
= 0 ;
14159 PyObject
* obj1
= 0 ;
14160 char *kwnames
[] = {
14161 (char *) "self",(char *) "strPath", NULL
14164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14167 arg2
= wxString_in_helper(obj1
);
14168 if (arg2
== NULL
) SWIG_fail
;
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 (arg1
)->SetPath((wxString
const &)*arg2
);
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14178 Py_INCREF(Py_None
); resultobj
= Py_None
;
14193 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14194 PyObject
*resultobj
;
14195 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14197 PyObject
* obj0
= 0 ;
14198 char *kwnames
[] = {
14199 (char *) "self", NULL
14202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14208 result
= (wxString
*) &_result_ref
;
14211 wxPyEndAllowThreads(__tstate
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14216 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14218 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14227 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14228 PyObject
*resultobj
;
14229 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14231 PyObject
* obj0
= 0 ;
14232 char *kwnames
[] = {
14233 (char *) "self", NULL
14236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14245 resultobj
= result
;
14252 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14257 PyObject
* obj0
= 0 ;
14258 PyObject
* obj1
= 0 ;
14259 char *kwnames
[] = {
14260 (char *) "self",(char *) "index", NULL
14263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14266 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14271 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14273 wxPyEndAllowThreads(__tstate
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14276 resultobj
= result
;
14283 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
;
14285 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14287 PyObject
* obj0
= 0 ;
14288 char *kwnames
[] = {
14289 (char *) "self", NULL
14292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14296 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14298 wxPyEndAllowThreads(__tstate
);
14299 if (PyErr_Occurred()) SWIG_fail
;
14301 resultobj
= result
;
14308 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14309 PyObject
*resultobj
;
14310 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14313 PyObject
* obj0
= 0 ;
14314 PyObject
* obj1
= 0 ;
14315 char *kwnames
[] = {
14316 (char *) "self",(char *) "index", NULL
14319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14322 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14327 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14329 wxPyEndAllowThreads(__tstate
);
14330 if (PyErr_Occurred()) SWIG_fail
;
14332 resultobj
= result
;
14339 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14340 PyObject
*resultobj
;
14341 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14342 bool arg2
= (bool) False
;
14344 PyObject
* obj0
= 0 ;
14345 PyObject
* obj1
= 0 ;
14346 char *kwnames
[] = {
14347 (char *) "self",(char *) "bRecursive", NULL
14350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14354 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14365 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
14372 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14373 PyObject
*resultobj
;
14374 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14375 bool arg2
= (bool) False
;
14377 PyObject
* obj0
= 0 ;
14378 PyObject
* obj1
= 0 ;
14379 char *kwnames
[] = {
14380 (char *) "self",(char *) "bRecursive", NULL
14383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14387 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14388 if (PyErr_Occurred()) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
14405 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14406 PyObject
*resultobj
;
14407 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14408 wxString
*arg2
= 0 ;
14410 bool temp2
= False
;
14411 PyObject
* obj0
= 0 ;
14412 PyObject
* obj1
= 0 ;
14413 char *kwnames
[] = {
14414 (char *) "self",(char *) "strName", NULL
14417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14420 arg2
= wxString_in_helper(obj1
);
14421 if (arg2
== NULL
) SWIG_fail
;
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14431 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14446 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
;
14448 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14449 wxString
*arg2
= 0 ;
14451 bool temp2
= False
;
14452 PyObject
* obj0
= 0 ;
14453 PyObject
* obj1
= 0 ;
14454 char *kwnames
[] = {
14455 (char *) "self",(char *) "strName", NULL
14458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14461 arg2
= wxString_in_helper(obj1
);
14462 if (arg2
== NULL
) SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14472 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14487 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14488 PyObject
*resultobj
;
14489 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14490 wxString
*arg2
= 0 ;
14492 bool temp2
= False
;
14493 PyObject
* obj0
= 0 ;
14494 PyObject
* obj1
= 0 ;
14495 char *kwnames
[] = {
14496 (char *) "self",(char *) "strName", NULL
14499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
14500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14502 arg2
= wxString_in_helper(obj1
);
14503 if (arg2
== NULL
) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14528 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14529 PyObject
*resultobj
;
14530 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14531 wxString
*arg2
= 0 ;
14533 bool temp2
= False
;
14534 PyObject
* obj0
= 0 ;
14535 PyObject
* obj1
= 0 ;
14536 char *kwnames
[] = {
14537 (char *) "self",(char *) "name", NULL
14540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
14541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14543 arg2
= wxString_in_helper(obj1
);
14544 if (arg2
== NULL
) SWIG_fail
;
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= SWIG_PyObj_FromInt((int)result
);
14569 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14570 PyObject
*resultobj
;
14571 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14572 wxString
*arg2
= 0 ;
14573 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14574 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14576 bool temp2
= False
;
14577 bool temp3
= False
;
14578 PyObject
* obj0
= 0 ;
14579 PyObject
* obj1
= 0 ;
14580 PyObject
* obj2
= 0 ;
14581 char *kwnames
[] = {
14582 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14588 arg2
= wxString_in_helper(obj1
);
14589 if (arg2
== NULL
) SWIG_fail
;
14594 arg3
= wxString_in_helper(obj2
);
14595 if (arg3
== NULL
) SWIG_fail
;
14600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14601 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14603 wxPyEndAllowThreads(__tstate
);
14604 if (PyErr_Occurred()) SWIG_fail
;
14608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14635 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14636 PyObject
*resultobj
;
14637 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14638 wxString
*arg2
= 0 ;
14639 long arg3
= (long) 0 ;
14641 bool temp2
= False
;
14642 PyObject
* obj0
= 0 ;
14643 PyObject
* obj1
= 0 ;
14644 PyObject
* obj2
= 0 ;
14645 char *kwnames
[] = {
14646 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14652 arg2
= wxString_in_helper(obj1
);
14653 if (arg2
== NULL
) SWIG_fail
;
14658 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14664 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
14666 wxPyEndAllowThreads(__tstate
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14669 resultobj
= SWIG_PyObj_FromLong((long)result
);
14684 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14685 PyObject
*resultobj
;
14686 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14687 wxString
*arg2
= 0 ;
14688 double arg3
= (double) 0.0 ;
14690 bool temp2
= False
;
14691 PyObject
* obj0
= 0 ;
14692 PyObject
* obj1
= 0 ;
14693 PyObject
* obj2
= 0 ;
14694 char *kwnames
[] = {
14695 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14701 arg2
= wxString_in_helper(obj1
);
14702 if (arg2
== NULL
) SWIG_fail
;
14707 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14713 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
14715 wxPyEndAllowThreads(__tstate
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14718 resultobj
= SWIG_PyObj_FromDouble((double)result
);
14733 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
;
14735 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14736 wxString
*arg2
= 0 ;
14737 bool arg3
= (bool) False
;
14739 bool temp2
= False
;
14740 PyObject
* obj0
= 0 ;
14741 PyObject
* obj1
= 0 ;
14742 PyObject
* obj2
= 0 ;
14743 char *kwnames
[] = {
14744 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14750 arg2
= wxString_in_helper(obj1
);
14751 if (arg2
== NULL
) SWIG_fail
;
14756 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14782 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14783 PyObject
*resultobj
;
14784 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14785 wxString
*arg2
= 0 ;
14786 wxString
*arg3
= 0 ;
14788 bool temp2
= False
;
14789 bool temp3
= False
;
14790 PyObject
* obj0
= 0 ;
14791 PyObject
* obj1
= 0 ;
14792 PyObject
* obj2
= 0 ;
14793 char *kwnames
[] = {
14794 (char *) "self",(char *) "key",(char *) "value", NULL
14797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14800 arg2
= wxString_in_helper(obj1
);
14801 if (arg2
== NULL
) SWIG_fail
;
14805 arg3
= wxString_in_helper(obj2
);
14806 if (arg3
== NULL
) SWIG_fail
;
14810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14811 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14813 wxPyEndAllowThreads(__tstate
);
14814 if (PyErr_Occurred()) SWIG_fail
;
14816 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14839 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14840 PyObject
*resultobj
;
14841 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14842 wxString
*arg2
= 0 ;
14845 bool temp2
= False
;
14846 PyObject
* obj0
= 0 ;
14847 PyObject
* obj1
= 0 ;
14848 PyObject
* obj2
= 0 ;
14849 char *kwnames
[] = {
14850 (char *) "self",(char *) "key",(char *) "value", NULL
14853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14856 arg2
= wxString_in_helper(obj1
);
14857 if (arg2
== NULL
) SWIG_fail
;
14861 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14866 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14871 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14886 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
;
14888 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14889 wxString
*arg2
= 0 ;
14892 bool temp2
= False
;
14893 PyObject
* obj0
= 0 ;
14894 PyObject
* obj1
= 0 ;
14895 PyObject
* obj2
= 0 ;
14896 char *kwnames
[] = {
14897 (char *) "self",(char *) "key",(char *) "value", NULL
14900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14903 arg2
= wxString_in_helper(obj1
);
14904 if (arg2
== NULL
) SWIG_fail
;
14908 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14913 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
14915 wxPyEndAllowThreads(__tstate
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14918 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14933 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14934 PyObject
*resultobj
;
14935 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14936 wxString
*arg2
= 0 ;
14939 bool temp2
= False
;
14940 PyObject
* obj0
= 0 ;
14941 PyObject
* obj1
= 0 ;
14942 PyObject
* obj2
= 0 ;
14943 char *kwnames
[] = {
14944 (char *) "self",(char *) "key",(char *) "value", NULL
14947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14950 arg2
= wxString_in_helper(obj1
);
14951 if (arg2
== NULL
) SWIG_fail
;
14955 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
14956 if (PyErr_Occurred()) SWIG_fail
;
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14980 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14981 PyObject
*resultobj
;
14982 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14983 bool arg2
= (bool) False
;
14985 PyObject
* obj0
= 0 ;
14986 PyObject
* obj1
= 0 ;
14987 char *kwnames
[] = {
14988 (char *) "self",(char *) "bCurrentOnly", NULL
14991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
14992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14995 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14996 if (PyErr_Occurred()) SWIG_fail
;
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (bool)(arg1
)->Flush(arg2
);
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15013 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
;
15015 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15016 wxString
*arg2
= 0 ;
15017 wxString
*arg3
= 0 ;
15019 bool temp2
= False
;
15020 bool temp3
= False
;
15021 PyObject
* obj0
= 0 ;
15022 PyObject
* obj1
= 0 ;
15023 PyObject
* obj2
= 0 ;
15024 char *kwnames
[] = {
15025 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15031 arg2
= wxString_in_helper(obj1
);
15032 if (arg2
== NULL
) SWIG_fail
;
15036 arg3
= wxString_in_helper(obj2
);
15037 if (arg3
== NULL
) SWIG_fail
;
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15070 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15071 PyObject
*resultobj
;
15072 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15073 wxString
*arg2
= 0 ;
15074 wxString
*arg3
= 0 ;
15076 bool temp2
= False
;
15077 bool temp3
= False
;
15078 PyObject
* obj0
= 0 ;
15079 PyObject
* obj1
= 0 ;
15080 PyObject
* obj2
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15088 arg2
= wxString_in_helper(obj1
);
15089 if (arg2
== NULL
) SWIG_fail
;
15093 arg3
= wxString_in_helper(obj2
);
15094 if (arg3
== NULL
) SWIG_fail
;
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15101 wxPyEndAllowThreads(__tstate
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15104 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15127 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15128 PyObject
*resultobj
;
15129 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15130 wxString
*arg2
= 0 ;
15131 bool arg3
= (bool) True
;
15133 bool temp2
= False
;
15134 PyObject
* obj0
= 0 ;
15135 PyObject
* obj1
= 0 ;
15136 PyObject
* obj2
= 0 ;
15137 char *kwnames
[] = {
15138 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
15141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15144 arg2
= wxString_in_helper(obj1
);
15145 if (arg2
== NULL
) SWIG_fail
;
15150 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15151 if (PyErr_Occurred()) SWIG_fail
;
15155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15156 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15158 wxPyEndAllowThreads(__tstate
);
15159 if (PyErr_Occurred()) SWIG_fail
;
15161 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15176 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15177 PyObject
*resultobj
;
15178 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15179 wxString
*arg2
= 0 ;
15181 bool temp2
= False
;
15182 PyObject
* obj0
= 0 ;
15183 PyObject
* obj1
= 0 ;
15184 char *kwnames
[] = {
15185 (char *) "self",(char *) "key", NULL
15188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15191 arg2
= wxString_in_helper(obj1
);
15192 if (arg2
== NULL
) SWIG_fail
;
15196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15197 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15202 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15217 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15221 PyObject
* obj0
= 0 ;
15222 char *kwnames
[] = {
15223 (char *) "self", NULL
15226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 result
= (bool)(arg1
)->DeleteAll();
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15242 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15244 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15246 PyObject
* obj0
= 0 ;
15247 char *kwnames
[] = {
15248 (char *) "self", NULL
15251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15260 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15267 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
;
15269 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15270 bool arg2
= (bool) True
;
15271 PyObject
* obj0
= 0 ;
15272 PyObject
* obj1
= 0 ;
15273 char *kwnames
[] = {
15274 (char *) "self",(char *) "bDoIt", NULL
15277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15281 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 (arg1
)->SetExpandEnvVars(arg2
);
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 Py_INCREF(Py_None
); resultobj
= Py_None
;
15299 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
;
15301 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15302 bool arg2
= (bool) True
;
15303 PyObject
* obj0
= 0 ;
15304 PyObject
* obj1
= 0 ;
15305 char *kwnames
[] = {
15306 (char *) "self",(char *) "bDoIt", NULL
15309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15313 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 (arg1
)->SetRecordDefaults(arg2
);
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15324 Py_INCREF(Py_None
); resultobj
= Py_None
;
15331 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
;
15333 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15335 PyObject
* obj0
= 0 ;
15336 char *kwnames
[] = {
15337 (char *) "self", NULL
15340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15344 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15349 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15356 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
;
15358 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15359 wxString
*arg2
= 0 ;
15361 bool temp2
= False
;
15362 PyObject
* obj0
= 0 ;
15363 PyObject
* obj1
= 0 ;
15364 char *kwnames
[] = {
15365 (char *) "self",(char *) "str", NULL
15368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15371 arg2
= wxString_in_helper(obj1
);
15372 if (arg2
== NULL
) SWIG_fail
;
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15403 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15407 PyObject
* obj0
= 0 ;
15408 char *kwnames
[] = {
15409 (char *) "self", NULL
15412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
15418 wxPyEndAllowThreads(__tstate
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15423 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15425 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15434 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15438 PyObject
* obj0
= 0 ;
15439 char *kwnames
[] = {
15440 (char *) "self", NULL
15443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
15444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15447 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
15449 wxPyEndAllowThreads(__tstate
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15465 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
;
15467 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15468 wxString
*arg2
= 0 ;
15469 bool temp2
= False
;
15470 PyObject
* obj0
= 0 ;
15471 PyObject
* obj1
= 0 ;
15472 char *kwnames
[] = {
15473 (char *) "self",(char *) "appName", NULL
15476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
15477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15479 arg2
= wxString_in_helper(obj1
);
15480 if (arg2
== NULL
) SWIG_fail
;
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 (arg1
)->SetAppName((wxString
const &)*arg2
);
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15490 Py_INCREF(Py_None
); resultobj
= Py_None
;
15505 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
;
15507 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15508 wxString
*arg2
= 0 ;
15509 bool temp2
= False
;
15510 PyObject
* obj0
= 0 ;
15511 PyObject
* obj1
= 0 ;
15512 char *kwnames
[] = {
15513 (char *) "self",(char *) "vendorName", NULL
15516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
15517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15519 arg2
= wxString_in_helper(obj1
);
15520 if (arg2
== NULL
) SWIG_fail
;
15524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15525 (arg1
)->SetVendorName((wxString
const &)*arg2
);
15527 wxPyEndAllowThreads(__tstate
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15530 Py_INCREF(Py_None
); resultobj
= Py_None
;
15545 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15546 PyObject
*resultobj
;
15547 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15549 PyObject
* obj0
= 0 ;
15550 PyObject
* obj1
= 0 ;
15551 char *kwnames
[] = {
15552 (char *) "self",(char *) "style", NULL
15555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
15556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15558 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15563 (arg1
)->SetStyle(arg2
);
15565 wxPyEndAllowThreads(__tstate
);
15566 if (PyErr_Occurred()) SWIG_fail
;
15568 Py_INCREF(Py_None
); resultobj
= Py_None
;
15575 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15576 PyObject
*resultobj
;
15577 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15579 PyObject
* obj0
= 0 ;
15580 char *kwnames
[] = {
15581 (char *) "self", NULL
15584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15588 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15593 resultobj
= SWIG_PyObj_FromLong((long)result
);
15600 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
15602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15603 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
15605 return Py_BuildValue((char *)"");
15607 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15608 PyObject
*resultobj
;
15609 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15610 wxString
*arg2
= 0 ;
15611 wxConfigPathChanger
*result
;
15612 bool temp2
= False
;
15613 PyObject
* obj0
= 0 ;
15614 PyObject
* obj1
= 0 ;
15615 char *kwnames
[] = {
15616 (char *) "pContainer",(char *) "strEntry", NULL
15619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
15620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15622 arg2
= wxString_in_helper(obj1
);
15623 if (arg2
== NULL
) SWIG_fail
;
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15633 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigPathChanger
, 1);
15648 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15649 PyObject
*resultobj
;
15650 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
15651 PyObject
* obj0
= 0 ;
15652 char *kwnames
[] = {
15653 (char *) "self", NULL
15656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
15657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15662 wxPyEndAllowThreads(__tstate
);
15663 if (PyErr_Occurred()) SWIG_fail
;
15665 Py_INCREF(Py_None
); resultobj
= Py_None
;
15672 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15673 PyObject
*resultobj
;
15674 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
15676 PyObject
* obj0
= 0 ;
15677 char *kwnames
[] = {
15678 (char *) "self", NULL
15681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
15682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15686 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
15687 result
= (wxString
*) &_result_ref
;
15690 wxPyEndAllowThreads(__tstate
);
15691 if (PyErr_Occurred()) SWIG_fail
;
15695 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15697 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15706 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
15708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15709 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
15711 return Py_BuildValue((char *)"");
15713 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15714 PyObject
*resultobj
;
15715 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15716 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15717 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15718 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15719 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15720 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15721 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15722 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15723 long arg5
= (long) 0 ;
15725 bool temp1
= False
;
15726 bool temp2
= False
;
15727 bool temp3
= False
;
15728 bool temp4
= False
;
15729 PyObject
* obj0
= 0 ;
15730 PyObject
* obj1
= 0 ;
15731 PyObject
* obj2
= 0 ;
15732 PyObject
* obj3
= 0 ;
15733 PyObject
* obj4
= 0 ;
15734 char *kwnames
[] = {
15735 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15741 arg1
= wxString_in_helper(obj0
);
15742 if (arg1
== NULL
) SWIG_fail
;
15748 arg2
= wxString_in_helper(obj1
);
15749 if (arg2
== NULL
) SWIG_fail
;
15755 arg3
= wxString_in_helper(obj2
);
15756 if (arg3
== NULL
) SWIG_fail
;
15762 arg4
= wxString_in_helper(obj3
);
15763 if (arg4
== NULL
) SWIG_fail
;
15769 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15775 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
15777 wxPyEndAllowThreads(__tstate
);
15778 if (PyErr_Occurred()) SWIG_fail
;
15780 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfig
, 1);
15819 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15820 PyObject
*resultobj
;
15821 wxConfig
*arg1
= (wxConfig
*) 0 ;
15822 PyObject
* obj0
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "self", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
15828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15833 wxPyEndAllowThreads(__tstate
);
15834 if (PyErr_Occurred()) SWIG_fail
;
15836 Py_INCREF(Py_None
); resultobj
= Py_None
;
15843 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
15845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15846 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
15848 return Py_BuildValue((char *)"");
15850 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15851 PyObject
*resultobj
;
15852 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15853 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15854 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15855 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15856 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15857 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15858 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15859 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15860 long arg5
= (long) 0 ;
15861 wxFileConfig
*result
;
15862 bool temp1
= False
;
15863 bool temp2
= False
;
15864 bool temp3
= False
;
15865 bool temp4
= False
;
15866 PyObject
* obj0
= 0 ;
15867 PyObject
* obj1
= 0 ;
15868 PyObject
* obj2
= 0 ;
15869 PyObject
* obj3
= 0 ;
15870 PyObject
* obj4
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15878 arg1
= wxString_in_helper(obj0
);
15879 if (arg1
== NULL
) SWIG_fail
;
15885 arg2
= wxString_in_helper(obj1
);
15886 if (arg2
== NULL
) SWIG_fail
;
15892 arg3
= wxString_in_helper(obj2
);
15893 if (arg3
== NULL
) SWIG_fail
;
15899 arg4
= wxString_in_helper(obj3
);
15900 if (arg4
== NULL
) SWIG_fail
;
15906 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15912 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
15914 wxPyEndAllowThreads(__tstate
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15917 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileConfig
, 1);
15956 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15957 PyObject
*resultobj
;
15958 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
15959 PyObject
* obj0
= 0 ;
15960 char *kwnames
[] = {
15961 (char *) "self", NULL
15964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
15965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15973 Py_INCREF(Py_None
); resultobj
= Py_None
;
15980 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
15982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15983 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
15985 return Py_BuildValue((char *)"");
15987 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
;
15989 wxString
*arg1
= 0 ;
15991 bool temp1
= False
;
15992 PyObject
* obj0
= 0 ;
15993 char *kwnames
[] = {
15994 (char *) "sz", NULL
15997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
15999 arg1
= wxString_in_helper(obj0
);
16000 if (arg1
== NULL
) SWIG_fail
;
16004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16005 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16031 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16032 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16037 static PyObject
*_wrap_DateFormatStr_get() {
16042 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16044 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16051 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16052 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16057 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16062 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16064 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16071 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16072 PyObject
*resultobj
;
16074 PyObject
* obj0
= 0 ;
16075 char *kwnames
[] = {
16076 (char *) "country", NULL
16079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16081 arg1
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj0
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16086 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16091 Py_INCREF(Py_None
); resultobj
= Py_None
;
16098 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16099 PyObject
*resultobj
;
16101 char *kwnames
[] = {
16105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 result
= (int)wxDateTime::GetCountry();
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16113 resultobj
= SWIG_PyObj_FromInt((int)result
);
16120 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16121 PyObject
*resultobj
;
16122 int arg1
= (int) wxDateTime::Country_Default
;
16124 PyObject
* obj0
= 0 ;
16125 char *kwnames
[] = {
16126 (char *) "country", NULL
16129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16132 arg1
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj0
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16138 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16140 wxPyEndAllowThreads(__tstate
);
16141 if (PyErr_Occurred()) SWIG_fail
;
16143 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16150 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16151 PyObject
*resultobj
;
16152 int arg1
= (int) wxDateTime::Gregorian
;
16154 PyObject
* obj0
= 0 ;
16155 char *kwnames
[] = {
16156 (char *) "cal", NULL
16159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16162 arg1
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj0
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16168 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16170 wxPyEndAllowThreads(__tstate
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16173 resultobj
= SWIG_PyObj_FromInt((int)result
);
16180 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16181 PyObject
*resultobj
;
16184 PyObject
* obj0
= 0 ;
16185 char *kwnames
[] = {
16186 (char *) "year", NULL
16189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16191 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16196 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16201 resultobj
= SWIG_PyObj_FromInt((int)result
);
16208 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16209 PyObject
*resultobj
;
16210 int arg1
= (int) wxDateTime::Gregorian
;
16212 PyObject
* obj0
= 0 ;
16213 char *kwnames
[] = {
16214 (char *) "cal", NULL
16217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16220 arg1
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj0
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16231 resultobj
= SWIG_PyObj_FromInt((int)result
);
16238 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
;
16240 int arg1
= (int) wxDateTime::Inv_Year
;
16241 int arg2
= (int) wxDateTime::Gregorian
;
16243 PyObject
* obj0
= 0 ;
16244 PyObject
* obj1
= 0 ;
16245 char *kwnames
[] = {
16246 (char *) "year",(char *) "cal", NULL
16249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16252 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16258 arg2
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj1
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16269 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16276 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
;
16278 int arg1
= (int) wxDateTime::Inv_Year
;
16280 PyObject
* obj0
= 0 ;
16281 char *kwnames
[] = {
16282 (char *) "year", NULL
16285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16288 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16289 if (PyErr_Occurred()) SWIG_fail
;
16293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16294 result
= (int)wxDateTime::GetCentury(arg1
);
16296 wxPyEndAllowThreads(__tstate
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16299 resultobj
= SWIG_PyObj_FromInt((int)result
);
16306 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16307 PyObject
*resultobj
;
16309 int arg2
= (int) wxDateTime::Gregorian
;
16311 PyObject
* obj0
= 0 ;
16312 PyObject
* obj1
= 0 ;
16313 char *kwnames
[] = {
16314 (char *) "year",(char *) "cal", NULL
16317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16319 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16324 arg2
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj1
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16335 resultobj
= SWIG_PyObj_FromInt((int)result
);
16342 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16343 PyObject
*resultobj
;
16345 int arg2
= (int) wxDateTime::Inv_Year
;
16346 int arg3
= (int) wxDateTime::Gregorian
;
16348 PyObject
* obj0
= 0 ;
16349 PyObject
* obj1
= 0 ;
16350 PyObject
* obj2
= 0 ;
16351 char *kwnames
[] = {
16352 (char *) "month",(char *) "year",(char *) "cal", NULL
16355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16357 arg1
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj0
);
16358 if (PyErr_Occurred()) SWIG_fail
;
16362 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16368 arg3
= (wxDateTime::Calendar
) SWIG_PyObj_AsInt(obj2
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16374 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16376 wxPyEndAllowThreads(__tstate
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16379 resultobj
= SWIG_PyObj_FromInt((int)result
);
16386 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
;
16389 int arg2
= (int) wxDateTime::Name_Full
;
16391 PyObject
* obj0
= 0 ;
16392 PyObject
* obj1
= 0 ;
16393 char *kwnames
[] = {
16394 (char *) "month",(char *) "flags", NULL
16397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16399 arg1
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj0
);
16400 if (PyErr_Occurred()) SWIG_fail
;
16404 arg2
= (wxDateTime::NameFlags
) SWIG_PyObj_AsInt(obj1
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16428 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16429 PyObject
*resultobj
;
16431 int arg2
= (int) wxDateTime::Name_Full
;
16433 PyObject
* obj0
= 0 ;
16434 PyObject
* obj1
= 0 ;
16435 char *kwnames
[] = {
16436 (char *) "weekday",(char *) "flags", NULL
16439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
16441 arg1
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj0
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16446 arg2
= (wxDateTime::NameFlags
) SWIG_PyObj_AsInt(obj1
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16452 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
16454 wxPyEndAllowThreads(__tstate
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16470 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16471 PyObject
*resultobj
;
16472 wxString
*arg1
= (wxString
*) 0 ;
16473 wxString
*arg2
= (wxString
*) 0 ;
16474 bool temp1
= False
;
16475 bool temp2
= False
;
16476 PyObject
* obj0
= 0 ;
16477 PyObject
* obj1
= 0 ;
16478 char *kwnames
[] = {
16479 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
16484 arg1
= wxString_in_helper(obj0
);
16485 if (arg1
== NULL
) SWIG_fail
;
16489 arg2
= wxString_in_helper(obj1
);
16490 if (arg2
== NULL
) SWIG_fail
;
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16495 wxDateTime::GetAmPmStrings(arg1
,arg2
);
16497 wxPyEndAllowThreads(__tstate
);
16498 if (PyErr_Occurred()) SWIG_fail
;
16500 Py_INCREF(Py_None
); resultobj
= Py_None
;
16523 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16524 PyObject
*resultobj
;
16525 int arg1
= (int) wxDateTime::Inv_Year
;
16526 int arg2
= (int) wxDateTime::Country_Default
;
16528 PyObject
* obj0
= 0 ;
16529 PyObject
* obj1
= 0 ;
16530 char *kwnames
[] = {
16531 (char *) "year",(char *) "country", NULL
16534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
16537 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16543 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16554 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16561 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16562 PyObject
*resultobj
;
16563 int arg1
= (int) wxDateTime::Inv_Year
;
16564 int arg2
= (int) wxDateTime::Country_Default
;
16566 PyObject
* obj0
= 0 ;
16567 PyObject
* obj1
= 0 ;
16568 char *kwnames
[] = {
16569 (char *) "year",(char *) "country", NULL
16572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
16575 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16581 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16587 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16593 wxDateTime
* resultptr
;
16594 resultptr
= new wxDateTime((wxDateTime
&) result
);
16595 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16603 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 int arg1
= (int) wxDateTime::Inv_Year
;
16606 int arg2
= (int) wxDateTime::Country_Default
;
16608 PyObject
* obj0
= 0 ;
16609 PyObject
* obj1
= 0 ;
16610 char *kwnames
[] = {
16611 (char *) "year",(char *) "country", NULL
16614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
16617 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16618 if (PyErr_Occurred()) SWIG_fail
;
16623 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
16624 if (PyErr_Occurred()) SWIG_fail
;
16628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16629 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
16631 wxPyEndAllowThreads(__tstate
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16635 wxDateTime
* resultptr
;
16636 resultptr
= new wxDateTime((wxDateTime
&) result
);
16637 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16645 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16648 char *kwnames
[] = {
16652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 result
= wxDateTime::Now();
16657 wxPyEndAllowThreads(__tstate
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16661 wxDateTime
* resultptr
;
16662 resultptr
= new wxDateTime((wxDateTime
&) result
);
16663 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16671 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16672 PyObject
*resultobj
;
16674 char *kwnames
[] = {
16678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 result
= wxDateTime::UNow();
16683 wxPyEndAllowThreads(__tstate
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16687 wxDateTime
* resultptr
;
16688 resultptr
= new wxDateTime((wxDateTime
&) result
);
16689 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16697 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16698 PyObject
*resultobj
;
16700 char *kwnames
[] = {
16704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
16706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 result
= wxDateTime::Today();
16709 wxPyEndAllowThreads(__tstate
);
16710 if (PyErr_Occurred()) SWIG_fail
;
16713 wxDateTime
* resultptr
;
16714 resultptr
= new wxDateTime((wxDateTime
&) result
);
16715 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16723 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
;
16725 wxDateTime
*result
;
16726 char *kwnames
[] = {
16730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 result
= (wxDateTime
*)new wxDateTime();
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16738 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
16745 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
;
16748 wxDateTime
*result
;
16749 PyObject
* obj0
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "timet", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
16756 arg1
= (time_t) SWIG_PyObj_AsUnsignedInt(obj0
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16761 result
= (wxDateTime
*)new wxDateTime(arg1
);
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16766 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
16773 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
;
16776 wxDateTime
*result
;
16777 PyObject
* obj0
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "jdn", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
16784 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16789 result
= (wxDateTime
*)new wxDateTime(arg1
);
16791 wxPyEndAllowThreads(__tstate
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16794 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
16801 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16802 PyObject
*resultobj
;
16804 int arg2
= (int) 0 ;
16805 int arg3
= (int) 0 ;
16806 int arg4
= (int) 0 ;
16807 wxDateTime
*result
;
16808 PyObject
* obj0
= 0 ;
16809 PyObject
* obj1
= 0 ;
16810 PyObject
* obj2
= 0 ;
16811 PyObject
* obj3
= 0 ;
16812 char *kwnames
[] = {
16813 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16818 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16819 if (PyErr_Occurred()) SWIG_fail
;
16823 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16829 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16835 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16836 if (PyErr_Occurred()) SWIG_fail
;
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16841 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
16843 wxPyEndAllowThreads(__tstate
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16846 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
16853 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16854 PyObject
*resultobj
;
16856 int arg2
= (int) wxDateTime::Inv_Month
;
16857 int arg3
= (int) wxDateTime::Inv_Year
;
16858 int arg4
= (int) 0 ;
16859 int arg5
= (int) 0 ;
16860 int arg6
= (int) 0 ;
16861 int arg7
= (int) 0 ;
16862 wxDateTime
*result
;
16863 PyObject
* obj0
= 0 ;
16864 PyObject
* obj1
= 0 ;
16865 PyObject
* obj2
= 0 ;
16866 PyObject
* obj3
= 0 ;
16867 PyObject
* obj4
= 0 ;
16868 PyObject
* obj5
= 0 ;
16869 PyObject
* obj6
= 0 ;
16870 char *kwnames
[] = {
16871 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16876 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16881 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
16882 if (PyErr_Occurred()) SWIG_fail
;
16887 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16893 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16899 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16905 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16911 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16917 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16919 wxPyEndAllowThreads(__tstate
);
16920 if (PyErr_Occurred()) SWIG_fail
;
16922 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
16929 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16930 PyObject
*resultobj
;
16931 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16932 PyObject
* obj0
= 0 ;
16933 char *kwnames
[] = {
16934 (char *) "self", NULL
16937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
16938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 Py_INCREF(Py_None
); resultobj
= Py_None
;
16953 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
;
16955 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16956 wxDateTime
*result
;
16957 PyObject
* obj0
= 0 ;
16958 char *kwnames
[] = {
16959 (char *) "self", NULL
16962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
16963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16967 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
16968 result
= (wxDateTime
*) &_result_ref
;
16971 wxPyEndAllowThreads(__tstate
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16974 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16981 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16982 PyObject
*resultobj
;
16983 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16985 wxDateTime
*result
;
16986 PyObject
* obj0
= 0 ;
16987 PyObject
* obj1
= 0 ;
16988 char *kwnames
[] = {
16989 (char *) "self",(char *) "timet", NULL
16992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
16993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16995 arg2
= (time_t) SWIG_PyObj_AsUnsignedInt(obj1
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17001 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17002 result
= (wxDateTime
*) &_result_ref
;
17005 wxPyEndAllowThreads(__tstate
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17008 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17015 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17016 PyObject
*resultobj
;
17017 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17019 wxDateTime
*result
;
17020 PyObject
* obj0
= 0 ;
17021 PyObject
* obj1
= 0 ;
17022 char *kwnames
[] = {
17023 (char *) "self",(char *) "jdn", NULL
17026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17029 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17035 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17036 result
= (wxDateTime
*) &_result_ref
;
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17042 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17049 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17050 PyObject
*resultobj
;
17051 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17053 int arg3
= (int) 0 ;
17054 int arg4
= (int) 0 ;
17055 int arg5
= (int) 0 ;
17056 wxDateTime
*result
;
17057 PyObject
* obj0
= 0 ;
17058 PyObject
* obj1
= 0 ;
17059 PyObject
* obj2
= 0 ;
17060 PyObject
* obj3
= 0 ;
17061 PyObject
* obj4
= 0 ;
17062 char *kwnames
[] = {
17063 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17069 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17070 if (PyErr_Occurred()) SWIG_fail
;
17074 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17080 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17086 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17094 result
= (wxDateTime
*) &_result_ref
;
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17100 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17107 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17109 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17111 int arg3
= (int) wxDateTime::Inv_Month
;
17112 int arg4
= (int) wxDateTime::Inv_Year
;
17113 int arg5
= (int) 0 ;
17114 int arg6
= (int) 0 ;
17115 int arg7
= (int) 0 ;
17116 int arg8
= (int) 0 ;
17117 wxDateTime
*result
;
17118 PyObject
* obj0
= 0 ;
17119 PyObject
* obj1
= 0 ;
17120 PyObject
* obj2
= 0 ;
17121 PyObject
* obj3
= 0 ;
17122 PyObject
* obj4
= 0 ;
17123 PyObject
* obj5
= 0 ;
17124 PyObject
* obj6
= 0 ;
17125 PyObject
* obj7
= 0 ;
17126 char *kwnames
[] = {
17127 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17133 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17138 arg3
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj2
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17144 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17150 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17156 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17162 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17168 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17176 result
= (wxDateTime
*) &_result_ref
;
17179 wxPyEndAllowThreads(__tstate
);
17180 if (PyErr_Occurred()) SWIG_fail
;
17182 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17189 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
;
17191 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17192 wxDateTime
*result
;
17193 PyObject
* obj0
= 0 ;
17194 char *kwnames
[] = {
17195 (char *) "self", NULL
17198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17204 result
= (wxDateTime
*) &_result_ref
;
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17210 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17217 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17221 wxDateTime
*result
;
17222 PyObject
* obj0
= 0 ;
17223 PyObject
* obj1
= 0 ;
17224 char *kwnames
[] = {
17225 (char *) "self",(char *) "year", NULL
17228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17231 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17237 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17238 result
= (wxDateTime
*) &_result_ref
;
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17244 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17251 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
;
17253 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17255 wxDateTime
*result
;
17256 PyObject
* obj0
= 0 ;
17257 PyObject
* obj1
= 0 ;
17258 char *kwnames
[] = {
17259 (char *) "self",(char *) "month", NULL
17262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17265 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17272 result
= (wxDateTime
*) &_result_ref
;
17275 wxPyEndAllowThreads(__tstate
);
17276 if (PyErr_Occurred()) SWIG_fail
;
17278 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17285 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
;
17287 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17289 wxDateTime
*result
;
17290 PyObject
* obj0
= 0 ;
17291 PyObject
* obj1
= 0 ;
17292 char *kwnames
[] = {
17293 (char *) "self",(char *) "day", NULL
17296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17299 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17306 result
= (wxDateTime
*) &_result_ref
;
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17312 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17319 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
;
17321 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17323 wxDateTime
*result
;
17324 PyObject
* obj0
= 0 ;
17325 PyObject
* obj1
= 0 ;
17326 char *kwnames
[] = {
17327 (char *) "self",(char *) "hour", NULL
17330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17333 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17340 result
= (wxDateTime
*) &_result_ref
;
17343 wxPyEndAllowThreads(__tstate
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17353 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
;
17355 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17357 wxDateTime
*result
;
17358 PyObject
* obj0
= 0 ;
17359 PyObject
* obj1
= 0 ;
17360 char *kwnames
[] = {
17361 (char *) "self",(char *) "minute", NULL
17364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17367 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17373 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17374 result
= (wxDateTime
*) &_result_ref
;
17377 wxPyEndAllowThreads(__tstate
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17380 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17387 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17388 PyObject
*resultobj
;
17389 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17391 wxDateTime
*result
;
17392 PyObject
* obj0
= 0 ;
17393 PyObject
* obj1
= 0 ;
17394 char *kwnames
[] = {
17395 (char *) "self",(char *) "second", NULL
17398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17401 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17407 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17408 result
= (wxDateTime
*) &_result_ref
;
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17414 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17421 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17422 PyObject
*resultobj
;
17423 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17425 wxDateTime
*result
;
17426 PyObject
* obj0
= 0 ;
17427 PyObject
* obj1
= 0 ;
17428 char *kwnames
[] = {
17429 (char *) "self",(char *) "millisecond", NULL
17432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17435 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17441 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
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_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17456 PyObject
*resultobj
;
17457 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17459 int arg3
= (int) wxDateTime::Monday_First
;
17460 wxDateTime
*result
;
17461 PyObject
* obj0
= 0 ;
17462 PyObject
* obj1
= 0 ;
17463 PyObject
* obj2
= 0 ;
17464 char *kwnames
[] = {
17465 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17471 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17476 arg3
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj2
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17483 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17484 result
= (wxDateTime
*) &_result_ref
;
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17490 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17497 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17498 PyObject
*resultobj
;
17499 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17501 int arg3
= (int) wxDateTime::Monday_First
;
17503 PyObject
* obj0
= 0 ;
17504 PyObject
* obj1
= 0 ;
17505 PyObject
* obj2
= 0 ;
17506 char *kwnames
[] = {
17507 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17513 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17514 if (PyErr_Occurred()) SWIG_fail
;
17518 arg3
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj2
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17530 wxDateTime
* resultptr
;
17531 resultptr
= new wxDateTime((wxDateTime
&) result
);
17532 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17540 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17541 PyObject
*resultobj
;
17542 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17544 wxDateTime
*result
;
17545 PyObject
* obj0
= 0 ;
17546 PyObject
* obj1
= 0 ;
17547 char *kwnames
[] = {
17548 (char *) "self",(char *) "weekday", NULL
17551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17554 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17560 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
17561 result
= (wxDateTime
*) &_result_ref
;
17564 wxPyEndAllowThreads(__tstate
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17567 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17574 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17575 PyObject
*resultobj
;
17576 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17579 PyObject
* obj0
= 0 ;
17580 PyObject
* obj1
= 0 ;
17581 char *kwnames
[] = {
17582 (char *) "self",(char *) "weekday", NULL
17585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17588 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17599 wxDateTime
* resultptr
;
17600 resultptr
= new wxDateTime((wxDateTime
&) result
);
17601 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17609 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17610 PyObject
*resultobj
;
17611 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17613 wxDateTime
*result
;
17614 PyObject
* obj0
= 0 ;
17615 PyObject
* obj1
= 0 ;
17616 char *kwnames
[] = {
17617 (char *) "self",(char *) "weekday", NULL
17620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17623 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17629 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17630 result
= (wxDateTime
*) &_result_ref
;
17633 wxPyEndAllowThreads(__tstate
);
17634 if (PyErr_Occurred()) SWIG_fail
;
17636 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17643 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17644 PyObject
*resultobj
;
17645 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17648 PyObject
* obj0
= 0 ;
17649 PyObject
* obj1
= 0 ;
17650 char *kwnames
[] = {
17651 (char *) "self",(char *) "weekday", NULL
17654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17657 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17668 wxDateTime
* resultptr
;
17669 resultptr
= new wxDateTime((wxDateTime
&) result
);
17670 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17678 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17679 PyObject
*resultobj
;
17680 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17682 int arg3
= (int) 1 ;
17683 int arg4
= (int) wxDateTime::Inv_Month
;
17684 int arg5
= (int) wxDateTime::Inv_Year
;
17686 PyObject
* obj0
= 0 ;
17687 PyObject
* obj1
= 0 ;
17688 PyObject
* obj2
= 0 ;
17689 PyObject
* obj3
= 0 ;
17690 PyObject
* obj4
= 0 ;
17691 char *kwnames
[] = {
17692 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
17695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17698 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17699 if (PyErr_Occurred()) SWIG_fail
;
17703 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17709 arg4
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj3
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17715 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
17723 wxPyEndAllowThreads(__tstate
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17726 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17733 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17734 PyObject
*resultobj
;
17735 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17737 int arg3
= (int) wxDateTime::Inv_Month
;
17738 int arg4
= (int) wxDateTime::Inv_Year
;
17740 PyObject
* obj0
= 0 ;
17741 PyObject
* obj1
= 0 ;
17742 PyObject
* obj2
= 0 ;
17743 PyObject
* obj3
= 0 ;
17744 char *kwnames
[] = {
17745 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
17748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17751 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17756 arg3
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj2
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17762 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17768 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17773 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17780 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17781 PyObject
*resultobj
;
17782 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17784 int arg3
= (int) wxDateTime::Inv_Month
;
17785 int arg4
= (int) wxDateTime::Inv_Year
;
17787 PyObject
* obj0
= 0 ;
17788 PyObject
* obj1
= 0 ;
17789 PyObject
* obj2
= 0 ;
17790 PyObject
* obj3
= 0 ;
17791 char *kwnames
[] = {
17792 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
17795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17798 arg2
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj1
);
17799 if (PyErr_Occurred()) SWIG_fail
;
17803 arg3
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj2
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17809 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17815 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
17817 wxPyEndAllowThreads(__tstate
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17821 wxDateTime
* resultptr
;
17822 resultptr
= new wxDateTime((wxDateTime
&) result
);
17823 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17831 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17832 PyObject
*resultobj
;
17833 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17835 int arg3
= (int) wxDateTime::Mon
;
17836 int arg4
= (int) wxDateTime::Monday_First
;
17838 PyObject
* obj0
= 0 ;
17839 PyObject
* obj1
= 0 ;
17840 PyObject
* obj2
= 0 ;
17841 PyObject
* obj3
= 0 ;
17842 char *kwnames
[] = {
17843 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
17846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17849 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17850 if (PyErr_Occurred()) SWIG_fail
;
17854 arg3
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj2
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17860 arg4
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj3
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17878 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17882 int arg3
= (int) wxDateTime::Mon
;
17883 int arg4
= (int) wxDateTime::Monday_First
;
17885 PyObject
* obj0
= 0 ;
17886 PyObject
* obj1
= 0 ;
17887 PyObject
* obj2
= 0 ;
17888 PyObject
* obj3
= 0 ;
17889 char *kwnames
[] = {
17890 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
17893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17896 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17901 arg3
= (wxDateTime::WeekDay
) SWIG_PyObj_AsInt(obj2
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17907 arg4
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj3
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17919 wxDateTime
* resultptr
;
17920 resultptr
= new wxDateTime((wxDateTime
&) result
);
17921 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17929 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17930 PyObject
*resultobj
;
17931 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17932 int arg2
= (int) wxDateTime::Inv_Month
;
17933 int arg3
= (int) wxDateTime::Inv_Year
;
17934 wxDateTime
*result
;
17935 PyObject
* obj0
= 0 ;
17936 PyObject
* obj1
= 0 ;
17937 PyObject
* obj2
= 0 ;
17938 char *kwnames
[] = {
17939 (char *) "self",(char *) "month",(char *) "year", NULL
17942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17946 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17952 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
17960 result
= (wxDateTime
*) &_result_ref
;
17963 wxPyEndAllowThreads(__tstate
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17966 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17973 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17974 PyObject
*resultobj
;
17975 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17976 int arg2
= (int) wxDateTime::Inv_Month
;
17977 int arg3
= (int) wxDateTime::Inv_Year
;
17979 PyObject
* obj0
= 0 ;
17980 PyObject
* obj1
= 0 ;
17981 PyObject
* obj2
= 0 ;
17982 char *kwnames
[] = {
17983 (char *) "self",(char *) "month",(char *) "year", NULL
17986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17990 arg2
= (wxDateTime::Month
) SWIG_PyObj_AsInt(obj1
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17996 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17997 if (PyErr_Occurred()) SWIG_fail
;
18001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18002 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18004 wxPyEndAllowThreads(__tstate
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18008 wxDateTime
* resultptr
;
18009 resultptr
= new wxDateTime((wxDateTime
&) result
);
18010 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18018 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18019 PyObject
*resultobj
;
18020 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18022 wxDateTime
*result
;
18023 PyObject
* obj0
= 0 ;
18024 PyObject
* obj1
= 0 ;
18025 char *kwnames
[] = {
18026 (char *) "self",(char *) "yday", NULL
18029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18032 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18038 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18039 result
= (wxDateTime
*) &_result_ref
;
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18052 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
;
18054 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18057 PyObject
* obj0
= 0 ;
18058 PyObject
* obj1
= 0 ;
18059 char *kwnames
[] = {
18060 (char *) "self",(char *) "yday", NULL
18063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18066 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 result
= (arg1
)->GetYearDay(arg2
);
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18077 wxDateTime
* resultptr
;
18078 resultptr
= new wxDateTime((wxDateTime
&) result
);
18079 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18087 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
;
18089 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18091 PyObject
* obj0
= 0 ;
18092 char *kwnames
[] = {
18093 (char *) "self", NULL
18096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (double)(arg1
)->GetJulianDayNumber();
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18112 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18116 PyObject
* obj0
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18125 result
= (double)(arg1
)->GetJDN();
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18137 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18138 PyObject
*resultobj
;
18139 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18141 PyObject
* obj0
= 0 ;
18142 char *kwnames
[] = {
18143 (char *) "self", NULL
18146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18155 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18162 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18163 PyObject
*resultobj
;
18164 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18166 PyObject
* obj0
= 0 ;
18167 char *kwnames
[] = {
18168 (char *) "self", NULL
18171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 result
= (double)(arg1
)->GetMJD();
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18180 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18187 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
;
18189 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18191 PyObject
* obj0
= 0 ;
18192 char *kwnames
[] = {
18193 (char *) "self", NULL
18196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 result
= (double)(arg1
)->GetRataDie();
18202 wxPyEndAllowThreads(__tstate
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18205 resultobj
= SWIG_PyObj_FromDouble((double)result
);
18212 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18213 PyObject
*resultobj
;
18214 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18215 wxDateTime::TimeZone
*arg2
= 0 ;
18216 bool arg3
= (bool) False
;
18218 bool temp2
= False
;
18219 PyObject
* obj0
= 0 ;
18220 PyObject
* obj1
= 0 ;
18221 PyObject
* obj2
= 0 ;
18222 char *kwnames
[] = {
18223 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18229 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18234 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18246 wxDateTime
* resultptr
;
18247 resultptr
= new wxDateTime((wxDateTime
&) result
);
18248 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18251 if (temp2
) delete arg2
;
18256 if (temp2
) delete arg2
;
18262 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18263 PyObject
*resultobj
;
18264 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18265 wxDateTime::TimeZone
*arg2
= 0 ;
18266 bool arg3
= (bool) False
;
18267 wxDateTime
*result
;
18268 bool temp2
= False
;
18269 PyObject
* obj0
= 0 ;
18270 PyObject
* obj1
= 0 ;
18271 PyObject
* obj2
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18279 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18284 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18291 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18292 result
= (wxDateTime
*) &_result_ref
;
18295 wxPyEndAllowThreads(__tstate
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18298 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18300 if (temp2
) delete arg2
;
18305 if (temp2
) delete arg2
;
18311 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
;
18313 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18314 bool arg2
= (bool) False
;
18316 PyObject
* obj0
= 0 ;
18317 PyObject
* obj1
= 0 ;
18318 char *kwnames
[] = {
18319 (char *) "self",(char *) "noDST", NULL
18322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18326 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18332 result
= (arg1
)->ToGMT(arg2
);
18334 wxPyEndAllowThreads(__tstate
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18338 wxDateTime
* resultptr
;
18339 resultptr
= new wxDateTime((wxDateTime
&) result
);
18340 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18348 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18350 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18351 bool arg2
= (bool) False
;
18352 wxDateTime
*result
;
18353 PyObject
* obj0
= 0 ;
18354 PyObject
* obj1
= 0 ;
18355 char *kwnames
[] = {
18356 (char *) "self",(char *) "noDST", NULL
18359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18363 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18370 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18371 result
= (wxDateTime
*) &_result_ref
;
18374 wxPyEndAllowThreads(__tstate
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18377 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18384 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
;
18386 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18387 int arg2
= (int) wxDateTime::Country_Default
;
18389 PyObject
* obj0
= 0 ;
18390 PyObject
* obj1
= 0 ;
18391 char *kwnames
[] = {
18392 (char *) "self",(char *) "country", NULL
18395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18399 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 resultobj
= SWIG_PyObj_FromInt((int)result
);
18417 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18418 PyObject
*resultobj
;
18419 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18421 PyObject
* obj0
= 0 ;
18422 char *kwnames
[] = {
18423 (char *) "self", NULL
18426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18432 wxPyEndAllowThreads(__tstate
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18435 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18442 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18443 PyObject
*resultobj
;
18444 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18446 PyObject
* obj0
= 0 ;
18447 char *kwnames
[] = {
18448 (char *) "self", NULL
18451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18455 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18457 wxPyEndAllowThreads(__tstate
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18460 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
18467 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18468 PyObject
*resultobj
;
18469 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18470 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18471 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18473 bool temp2
= False
;
18474 PyObject
* obj0
= 0 ;
18475 PyObject
* obj1
= 0 ;
18476 char *kwnames
[] = {
18477 (char *) "self",(char *) "tz", NULL
18480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18484 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18495 resultobj
= SWIG_PyObj_FromInt((int)result
);
18497 if (temp2
) delete arg2
;
18502 if (temp2
) delete arg2
;
18508 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18509 PyObject
*resultobj
;
18510 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18511 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18512 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18514 bool temp2
= False
;
18515 PyObject
* obj0
= 0 ;
18516 PyObject
* obj1
= 0 ;
18517 char *kwnames
[] = {
18518 (char *) "self",(char *) "tz", NULL
18521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18525 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18536 resultobj
= SWIG_PyObj_FromInt((int)result
);
18538 if (temp2
) delete arg2
;
18543 if (temp2
) delete arg2
;
18549 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18550 PyObject
*resultobj
;
18551 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18552 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18553 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18555 bool temp2
= False
;
18556 PyObject
* obj0
= 0 ;
18557 PyObject
* obj1
= 0 ;
18558 char *kwnames
[] = {
18559 (char *) "self",(char *) "tz", NULL
18562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18566 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
18574 wxPyEndAllowThreads(__tstate
);
18575 if (PyErr_Occurred()) SWIG_fail
;
18577 resultobj
= SWIG_PyObj_FromInt((int)result
);
18579 if (temp2
) delete arg2
;
18584 if (temp2
) delete arg2
;
18590 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18591 PyObject
*resultobj
;
18592 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18593 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18594 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18596 bool temp2
= False
;
18597 PyObject
* obj0
= 0 ;
18598 PyObject
* obj1
= 0 ;
18599 char *kwnames
[] = {
18600 (char *) "self",(char *) "tz", NULL
18603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18607 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18618 resultobj
= SWIG_PyObj_FromInt((int)result
);
18620 if (temp2
) delete arg2
;
18625 if (temp2
) delete arg2
;
18631 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18632 PyObject
*resultobj
;
18633 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18634 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18635 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18637 bool temp2
= False
;
18638 PyObject
* obj0
= 0 ;
18639 PyObject
* obj1
= 0 ;
18640 char *kwnames
[] = {
18641 (char *) "self",(char *) "tz", NULL
18644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18648 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18654 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
18656 wxPyEndAllowThreads(__tstate
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18659 resultobj
= SWIG_PyObj_FromInt((int)result
);
18661 if (temp2
) delete arg2
;
18666 if (temp2
) delete arg2
;
18672 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18673 PyObject
*resultobj
;
18674 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18675 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18676 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18678 bool temp2
= False
;
18679 PyObject
* obj0
= 0 ;
18680 PyObject
* obj1
= 0 ;
18681 char *kwnames
[] = {
18682 (char *) "self",(char *) "tz", NULL
18685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18689 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18700 resultobj
= SWIG_PyObj_FromInt((int)result
);
18702 if (temp2
) delete arg2
;
18707 if (temp2
) delete arg2
;
18713 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18714 PyObject
*resultobj
;
18715 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18716 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18717 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18719 bool temp2
= False
;
18720 PyObject
* obj0
= 0 ;
18721 PyObject
* obj1
= 0 ;
18722 char *kwnames
[] = {
18723 (char *) "self",(char *) "tz", NULL
18726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18730 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18736 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18741 resultobj
= SWIG_PyObj_FromInt((int)result
);
18743 if (temp2
) delete arg2
;
18748 if (temp2
) delete arg2
;
18754 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18755 PyObject
*resultobj
;
18756 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18757 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18758 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18760 bool temp2
= False
;
18761 PyObject
* obj0
= 0 ;
18762 PyObject
* obj1
= 0 ;
18763 char *kwnames
[] = {
18764 (char *) "self",(char *) "tz", NULL
18767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18771 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
18779 wxPyEndAllowThreads(__tstate
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18782 resultobj
= SWIG_PyObj_FromInt((int)result
);
18784 if (temp2
) delete arg2
;
18789 if (temp2
) delete arg2
;
18795 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18796 PyObject
*resultobj
;
18797 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18798 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18799 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18801 bool temp2
= False
;
18802 PyObject
* obj0
= 0 ;
18803 PyObject
* obj1
= 0 ;
18804 char *kwnames
[] = {
18805 (char *) "self",(char *) "tz", NULL
18808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18812 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
18820 wxPyEndAllowThreads(__tstate
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18823 resultobj
= SWIG_PyObj_FromInt((int)result
);
18825 if (temp2
) delete arg2
;
18830 if (temp2
) delete arg2
;
18836 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
;
18838 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18839 int arg2
= (int) wxDateTime::Monday_First
;
18840 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
18841 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
18843 bool temp3
= False
;
18844 PyObject
* obj0
= 0 ;
18845 PyObject
* obj1
= 0 ;
18846 PyObject
* obj2
= 0 ;
18847 char *kwnames
[] = {
18848 (char *) "self",(char *) "flags",(char *) "tz", NULL
18851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18855 arg2
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj1
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18861 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
18866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18867 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
18869 wxPyEndAllowThreads(__tstate
);
18870 if (PyErr_Occurred()) SWIG_fail
;
18872 resultobj
= SWIG_PyObj_FromInt((int)result
);
18874 if (temp3
) delete arg3
;
18879 if (temp3
) delete arg3
;
18885 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18888 int arg2
= (int) wxDateTime::Monday_First
;
18889 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
18890 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
18892 bool temp3
= False
;
18893 PyObject
* obj0
= 0 ;
18894 PyObject
* obj1
= 0 ;
18895 PyObject
* obj2
= 0 ;
18896 char *kwnames
[] = {
18897 (char *) "self",(char *) "flags",(char *) "tz", NULL
18900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18904 arg2
= (wxDateTime::WeekFlags
) SWIG_PyObj_AsInt(obj1
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18910 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
18915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18916 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= SWIG_PyObj_FromInt((int)result
);
18923 if (temp3
) delete arg3
;
18928 if (temp3
) delete arg3
;
18934 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18935 PyObject
*resultobj
;
18936 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18937 int arg2
= (int) wxDateTime::Country_Default
;
18939 PyObject
* obj0
= 0 ;
18940 PyObject
* obj1
= 0 ;
18941 char *kwnames
[] = {
18942 (char *) "self",(char *) "country", NULL
18945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18949 arg2
= (wxDateTime::Country
) SWIG_PyObj_AsInt(obj1
);
18950 if (PyErr_Occurred()) SWIG_fail
;
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
18957 wxPyEndAllowThreads(__tstate
);
18958 if (PyErr_Occurred()) SWIG_fail
;
18960 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18967 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
;
18969 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18970 wxDateTime
*arg2
= 0 ;
18972 PyObject
* obj0
= 0 ;
18973 PyObject
* obj1
= 0 ;
18974 char *kwnames
[] = {
18975 (char *) "self",(char *) "datetime", NULL
18978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
18979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18980 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18981 if (arg2
== NULL
) {
18982 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
18988 wxPyEndAllowThreads(__tstate
);
18989 if (PyErr_Occurred()) SWIG_fail
;
18991 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18998 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18999 PyObject
*resultobj
;
19000 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19001 wxDateTime
*arg2
= 0 ;
19003 PyObject
* obj0
= 0 ;
19004 PyObject
* obj1
= 0 ;
19005 char *kwnames
[] = {
19006 (char *) "self",(char *) "datetime", NULL
19009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19011 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19012 if (arg2
== NULL
) {
19013 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19017 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19019 wxPyEndAllowThreads(__tstate
);
19020 if (PyErr_Occurred()) SWIG_fail
;
19022 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19029 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19030 PyObject
*resultobj
;
19031 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19032 wxDateTime
*arg2
= 0 ;
19034 PyObject
* obj0
= 0 ;
19035 PyObject
* obj1
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "self",(char *) "datetime", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19042 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19043 if (arg2
== NULL
) {
19044 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19048 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19050 wxPyEndAllowThreads(__tstate
);
19051 if (PyErr_Occurred()) SWIG_fail
;
19053 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19060 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19061 PyObject
*resultobj
;
19062 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19063 wxDateTime
*arg2
= 0 ;
19064 wxDateTime
*arg3
= 0 ;
19066 PyObject
* obj0
= 0 ;
19067 PyObject
* obj1
= 0 ;
19068 PyObject
* obj2
= 0 ;
19069 char *kwnames
[] = {
19070 (char *) "self",(char *) "t1",(char *) "t2", NULL
19073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19075 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19076 if (arg2
== NULL
) {
19077 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19079 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19080 if (arg3
== NULL
) {
19081 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19087 wxPyEndAllowThreads(__tstate
);
19088 if (PyErr_Occurred()) SWIG_fail
;
19090 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19097 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19098 PyObject
*resultobj
;
19099 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19100 wxDateTime
*arg2
= 0 ;
19101 wxDateTime
*arg3
= 0 ;
19103 PyObject
* obj0
= 0 ;
19104 PyObject
* obj1
= 0 ;
19105 PyObject
* obj2
= 0 ;
19106 char *kwnames
[] = {
19107 (char *) "self",(char *) "t1",(char *) "t2", NULL
19110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19112 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19113 if (arg2
== NULL
) {
19114 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19116 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19117 if (arg3
== NULL
) {
19118 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19134 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19137 wxDateTime
*arg2
= 0 ;
19139 PyObject
* obj0
= 0 ;
19140 PyObject
* obj1
= 0 ;
19141 char *kwnames
[] = {
19142 (char *) "self",(char *) "dt", NULL
19145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19147 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19148 if (arg2
== NULL
) {
19149 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19155 wxPyEndAllowThreads(__tstate
);
19156 if (PyErr_Occurred()) SWIG_fail
;
19158 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19165 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
;
19167 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19168 wxDateTime
*arg2
= 0 ;
19170 PyObject
* obj0
= 0 ;
19171 PyObject
* obj1
= 0 ;
19172 char *kwnames
[] = {
19173 (char *) "self",(char *) "dt", NULL
19176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19178 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19179 if (arg2
== NULL
) {
19180 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19184 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19186 wxPyEndAllowThreads(__tstate
);
19187 if (PyErr_Occurred()) SWIG_fail
;
19189 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19196 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19197 PyObject
*resultobj
;
19198 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19199 wxDateTime
*arg2
= 0 ;
19200 wxTimeSpan
*arg3
= 0 ;
19202 PyObject
* obj0
= 0 ;
19203 PyObject
* obj1
= 0 ;
19204 PyObject
* obj2
= 0 ;
19205 char *kwnames
[] = {
19206 (char *) "self",(char *) "dt",(char *) "ts", NULL
19209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19211 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19212 if (arg2
== NULL
) {
19213 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19215 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19216 if (arg3
== NULL
) {
19217 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19221 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19223 wxPyEndAllowThreads(__tstate
);
19224 if (PyErr_Occurred()) SWIG_fail
;
19226 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19233 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19234 PyObject
*resultobj
;
19235 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19236 wxTimeSpan
*arg2
= 0 ;
19237 wxDateTime
*result
;
19238 PyObject
* obj0
= 0 ;
19239 PyObject
* obj1
= 0 ;
19240 char *kwnames
[] = {
19241 (char *) "self",(char *) "diff", NULL
19244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",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_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19247 if (arg2
== NULL
) {
19248 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19254 result
= (wxDateTime
*) &_result_ref
;
19257 wxPyEndAllowThreads(__tstate
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19260 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19267 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19268 PyObject
*resultobj
;
19269 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19270 wxDateSpan
*arg2
= 0 ;
19271 wxDateTime
*result
;
19272 PyObject
* obj0
= 0 ;
19273 PyObject
* obj1
= 0 ;
19274 char *kwnames
[] = {
19275 (char *) "self",(char *) "diff", NULL
19278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19280 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19281 if (arg2
== NULL
) {
19282 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19287 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19288 result
= (wxDateTime
*) &_result_ref
;
19291 wxPyEndAllowThreads(__tstate
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19294 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19301 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19302 PyObject
*resultobj
;
19303 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19304 wxTimeSpan
*arg2
= 0 ;
19305 wxDateTime
*result
;
19306 PyObject
* obj0
= 0 ;
19307 PyObject
* obj1
= 0 ;
19308 char *kwnames
[] = {
19309 (char *) "self",(char *) "diff", NULL
19312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19314 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19315 if (arg2
== NULL
) {
19316 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19322 result
= (wxDateTime
*) &_result_ref
;
19325 wxPyEndAllowThreads(__tstate
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19328 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19335 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19336 PyObject
*resultobj
;
19337 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19338 wxDateSpan
*arg2
= 0 ;
19339 wxDateTime
*result
;
19340 PyObject
* obj0
= 0 ;
19341 PyObject
* obj1
= 0 ;
19342 char *kwnames
[] = {
19343 (char *) "self",(char *) "diff", NULL
19346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19348 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19349 if (arg2
== NULL
) {
19350 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19355 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19356 result
= (wxDateTime
*) &_result_ref
;
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19362 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19369 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19370 PyObject
*resultobj
;
19371 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19372 wxDateTime
*arg2
= 0 ;
19374 PyObject
* obj0
= 0 ;
19375 PyObject
* obj1
= 0 ;
19376 char *kwnames
[] = {
19377 (char *) "self",(char *) "dt", NULL
19380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19382 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19383 if (arg2
== NULL
) {
19384 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19388 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19394 wxTimeSpan
* resultptr
;
19395 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19396 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19404 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19405 PyObject
*resultobj
;
19406 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19407 wxTimeSpan
*arg2
= 0 ;
19408 wxDateTime
*result
;
19409 PyObject
* obj0
= 0 ;
19410 PyObject
* obj1
= 0 ;
19412 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19414 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19415 if (arg2
== NULL
) {
19416 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19421 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19422 result
= (wxDateTime
*) &_result_ref
;
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19435 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
19436 PyObject
*resultobj
;
19437 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19438 wxDateSpan
*arg2
= 0 ;
19439 wxDateTime
*result
;
19440 PyObject
* obj0
= 0 ;
19441 PyObject
* obj1
= 0 ;
19443 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19445 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19446 if (arg2
== NULL
) {
19447 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19452 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
19453 result
= (wxDateTime
*) &_result_ref
;
19456 wxPyEndAllowThreads(__tstate
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19459 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19466 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
19471 argc
= PyObject_Length(args
);
19472 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19473 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19479 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19489 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19497 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
19505 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19515 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19523 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
19528 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
19533 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
19534 PyObject
*resultobj
;
19535 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19536 wxTimeSpan
*arg2
= 0 ;
19537 wxDateTime
*result
;
19538 PyObject
* obj0
= 0 ;
19539 PyObject
* obj1
= 0 ;
19541 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19543 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19544 if (arg2
== NULL
) {
19545 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19550 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
19551 result
= (wxDateTime
*) &_result_ref
;
19554 wxPyEndAllowThreads(__tstate
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19557 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19564 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
19565 PyObject
*resultobj
;
19566 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19567 wxDateSpan
*arg2
= 0 ;
19568 wxDateTime
*result
;
19569 PyObject
* obj0
= 0 ;
19570 PyObject
* obj1
= 0 ;
19572 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19574 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19575 if (arg2
== NULL
) {
19576 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19581 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
19582 result
= (wxDateTime
*) &_result_ref
;
19585 wxPyEndAllowThreads(__tstate
);
19586 if (PyErr_Occurred()) SWIG_fail
;
19588 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
19595 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
19600 argc
= PyObject_Length(args
);
19601 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19602 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19608 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19618 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19626 return _wrap_DateTime___isub____SWIG_0(self
,args
);
19634 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19644 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19652 return _wrap_DateTime___isub____SWIG_1(self
,args
);
19657 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
19662 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
19663 PyObject
*resultobj
;
19664 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19665 wxTimeSpan
*arg2
= 0 ;
19667 PyObject
* obj0
= 0 ;
19668 PyObject
* obj1
= 0 ;
19670 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
19671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19672 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19673 if (arg2
== NULL
) {
19674 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
19680 wxPyEndAllowThreads(__tstate
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19684 wxDateTime
* resultptr
;
19685 resultptr
= new wxDateTime((wxDateTime
&) result
);
19686 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
19694 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
19695 PyObject
*resultobj
;
19696 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19697 wxDateSpan
*arg2
= 0 ;
19699 PyObject
* obj0
= 0 ;
19700 PyObject
* obj1
= 0 ;
19702 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
19703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19704 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19705 if (arg2
== NULL
) {
19706 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19710 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19716 wxDateTime
* resultptr
;
19717 resultptr
= new wxDateTime((wxDateTime
&) result
);
19718 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
19726 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
19731 argc
= PyObject_Length(args
);
19732 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19733 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19739 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19749 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19757 return _wrap_DateTime___add____SWIG_0(self
,args
);
19765 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19775 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19783 return _wrap_DateTime___add____SWIG_1(self
,args
);
19788 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
19793 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
19794 PyObject
*resultobj
;
19795 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19796 wxDateTime
*arg2
= 0 ;
19798 PyObject
* obj0
= 0 ;
19799 PyObject
* obj1
= 0 ;
19801 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
19802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19803 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19804 if (arg2
== NULL
) {
19805 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19809 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19815 wxTimeSpan
* resultptr
;
19816 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19817 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19825 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
19826 PyObject
*resultobj
;
19827 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19828 wxTimeSpan
*arg2
= 0 ;
19830 PyObject
* obj0
= 0 ;
19831 PyObject
* obj1
= 0 ;
19833 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
19834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19835 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19836 if (arg2
== NULL
) {
19837 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19847 wxDateTime
* resultptr
;
19848 resultptr
= new wxDateTime((wxDateTime
&) result
);
19849 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
19857 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
19858 PyObject
*resultobj
;
19859 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19860 wxDateSpan
*arg2
= 0 ;
19862 PyObject
* obj0
= 0 ;
19863 PyObject
* obj1
= 0 ;
19865 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
19866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19867 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19868 if (arg2
== NULL
) {
19869 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19873 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
19875 wxPyEndAllowThreads(__tstate
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19879 wxDateTime
* resultptr
;
19880 resultptr
= new wxDateTime((wxDateTime
&) result
);
19881 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
19889 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
19894 argc
= PyObject_Length(args
);
19895 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19896 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19902 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19912 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19920 return _wrap_DateTime___sub____SWIG_0(self
,args
);
19928 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19938 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19946 return _wrap_DateTime___sub____SWIG_1(self
,args
);
19954 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19964 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19972 return _wrap_DateTime___sub____SWIG_2(self
,args
);
19977 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
19982 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
19983 PyObject
*resultobj
;
19984 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19985 wxDateTime
*arg2
= 0 ;
19987 PyObject
* obj0
= 0 ;
19988 PyObject
* obj1
= 0 ;
19990 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
19991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19992 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19993 if (arg2
== NULL
) {
19994 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19998 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const &)*arg2
);
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20003 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20010 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20011 PyObject
*resultobj
;
20012 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20013 wxDateTime
*arg2
= 0 ;
20015 PyObject
* obj0
= 0 ;
20016 PyObject
* obj1
= 0 ;
20018 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20020 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20021 if (arg2
== NULL
) {
20022 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20026 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const &)*arg2
);
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20031 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20038 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20039 PyObject
*resultobj
;
20040 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20041 wxDateTime
*arg2
= 0 ;
20043 PyObject
* obj0
= 0 ;
20044 PyObject
* obj1
= 0 ;
20046 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20048 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20049 if (arg2
== NULL
) {
20050 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20054 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const &)*arg2
);
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20059 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20066 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20067 PyObject
*resultobj
;
20068 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20069 wxDateTime
*arg2
= 0 ;
20071 PyObject
* obj0
= 0 ;
20072 PyObject
* obj1
= 0 ;
20074 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20076 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20077 if (arg2
== NULL
) {
20078 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20082 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const &)*arg2
);
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20087 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20094 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20095 PyObject
*resultobj
;
20096 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20097 wxDateTime
*arg2
= 0 ;
20099 PyObject
* obj0
= 0 ;
20100 PyObject
* obj1
= 0 ;
20102 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20104 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20105 if (arg2
== NULL
) {
20106 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20110 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const &)*arg2
);
20112 wxPyEndAllowThreads(__tstate
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20115 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20122 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20123 PyObject
*resultobj
;
20124 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20125 wxDateTime
*arg2
= 0 ;
20127 PyObject
* obj0
= 0 ;
20128 PyObject
* obj1
= 0 ;
20130 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20132 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20133 if (arg2
== NULL
) {
20134 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20138 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const &)*arg2
);
20140 wxPyEndAllowThreads(__tstate
);
20141 if (PyErr_Occurred()) SWIG_fail
;
20143 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20150 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20151 PyObject
*resultobj
;
20152 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20153 wxString
*arg2
= 0 ;
20155 bool temp2
= False
;
20156 PyObject
* obj0
= 0 ;
20157 PyObject
* obj1
= 0 ;
20158 char *kwnames
[] = {
20159 (char *) "self",(char *) "date", NULL
20162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20165 arg2
= wxString_in_helper(obj1
);
20166 if (arg2
== NULL
) SWIG_fail
;
20170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20171 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20173 wxPyEndAllowThreads(__tstate
);
20174 if (PyErr_Occurred()) SWIG_fail
;
20176 resultobj
= SWIG_PyObj_FromInt((int)result
);
20191 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20192 PyObject
*resultobj
;
20193 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20194 wxString
*arg2
= 0 ;
20195 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20196 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20197 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20198 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20200 bool temp2
= False
;
20201 bool temp3
= False
;
20202 PyObject
* obj0
= 0 ;
20203 PyObject
* obj1
= 0 ;
20204 PyObject
* obj2
= 0 ;
20205 PyObject
* obj3
= 0 ;
20206 char *kwnames
[] = {
20207 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20213 arg2
= wxString_in_helper(obj1
);
20214 if (arg2
== NULL
) SWIG_fail
;
20219 arg3
= wxString_in_helper(obj2
);
20220 if (arg3
== NULL
) SWIG_fail
;
20225 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20226 if (arg4
== NULL
) {
20227 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20234 wxPyEndAllowThreads(__tstate
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20237 resultobj
= SWIG_PyObj_FromInt((int)result
);
20260 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20261 PyObject
*resultobj
;
20262 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20263 wxString
*arg2
= 0 ;
20265 bool temp2
= False
;
20266 PyObject
* obj0
= 0 ;
20267 PyObject
* obj1
= 0 ;
20268 char *kwnames
[] = {
20269 (char *) "self",(char *) "datetime", NULL
20272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20275 arg2
= wxString_in_helper(obj1
);
20276 if (arg2
== NULL
) SWIG_fail
;
20280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20281 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20283 wxPyEndAllowThreads(__tstate
);
20284 if (PyErr_Occurred()) SWIG_fail
;
20286 resultobj
= SWIG_PyObj_FromInt((int)result
);
20301 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20302 PyObject
*resultobj
;
20303 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20304 wxString
*arg2
= 0 ;
20306 bool temp2
= False
;
20307 PyObject
* obj0
= 0 ;
20308 PyObject
* obj1
= 0 ;
20309 char *kwnames
[] = {
20310 (char *) "self",(char *) "date", NULL
20313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20316 arg2
= wxString_in_helper(obj1
);
20317 if (arg2
== NULL
) SWIG_fail
;
20321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20322 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20324 wxPyEndAllowThreads(__tstate
);
20325 if (PyErr_Occurred()) SWIG_fail
;
20327 resultobj
= SWIG_PyObj_FromInt((int)result
);
20342 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20343 PyObject
*resultobj
;
20344 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20345 wxString
*arg2
= 0 ;
20347 bool temp2
= False
;
20348 PyObject
* obj0
= 0 ;
20349 PyObject
* obj1
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "self",(char *) "time", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20357 arg2
= wxString_in_helper(obj1
);
20358 if (arg2
== NULL
) SWIG_fail
;
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20363 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20365 wxPyEndAllowThreads(__tstate
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20368 resultobj
= SWIG_PyObj_FromInt((int)result
);
20383 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20384 PyObject
*resultobj
;
20385 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20386 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20387 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20388 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20389 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20391 bool temp2
= False
;
20392 bool temp3
= False
;
20393 PyObject
* obj0
= 0 ;
20394 PyObject
* obj1
= 0 ;
20395 PyObject
* obj2
= 0 ;
20396 char *kwnames
[] = {
20397 (char *) "self",(char *) "format",(char *) "tz", NULL
20400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20404 arg2
= wxString_in_helper(obj1
);
20405 if (arg2
== NULL
) SWIG_fail
;
20411 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20434 if (temp3
) delete arg3
;
20443 if (temp3
) delete arg3
;
20449 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20450 PyObject
*resultobj
;
20451 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20453 PyObject
* obj0
= 0 ;
20454 char *kwnames
[] = {
20455 (char *) "self", NULL
20458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
20459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20462 result
= ((wxDateTime
const *)arg1
)->FormatDate();
20464 wxPyEndAllowThreads(__tstate
);
20465 if (PyErr_Occurred()) SWIG_fail
;
20469 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20471 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20480 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20481 PyObject
*resultobj
;
20482 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20484 PyObject
* obj0
= 0 ;
20485 char *kwnames
[] = {
20486 (char *) "self", NULL
20489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
20490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20493 result
= ((wxDateTime
const *)arg1
)->FormatTime();
20495 wxPyEndAllowThreads(__tstate
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20500 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20502 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20511 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20512 PyObject
*resultobj
;
20513 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20515 PyObject
* obj0
= 0 ;
20516 char *kwnames
[] = {
20517 (char *) "self", NULL
20520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
20521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20524 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20542 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20543 PyObject
*resultobj
;
20544 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20546 PyObject
* obj0
= 0 ;
20547 char *kwnames
[] = {
20548 (char *) "self", NULL
20551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
20552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20573 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
20575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20576 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
20578 return Py_BuildValue((char *)"");
20580 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20581 PyObject
*resultobj
;
20584 PyObject
* obj0
= 0 ;
20585 char *kwnames
[] = {
20586 (char *) "sec", NULL
20589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
20591 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20596 result
= wxTimeSpan::Seconds(arg1
);
20598 wxPyEndAllowThreads(__tstate
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20602 wxTimeSpan
* resultptr
;
20603 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20604 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20612 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
;
20615 char *kwnames
[] = {
20619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
20621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20622 result
= wxTimeSpan::Second();
20624 wxPyEndAllowThreads(__tstate
);
20625 if (PyErr_Occurred()) SWIG_fail
;
20628 wxTimeSpan
* resultptr
;
20629 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20630 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20638 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
;
20642 PyObject
* obj0
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "min", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
20649 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20654 result
= wxTimeSpan::Minutes(arg1
);
20656 wxPyEndAllowThreads(__tstate
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20660 wxTimeSpan
* resultptr
;
20661 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20662 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20670 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20671 PyObject
*resultobj
;
20673 char *kwnames
[] = {
20677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 result
= wxTimeSpan::Minute();
20682 wxPyEndAllowThreads(__tstate
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20686 wxTimeSpan
* resultptr
;
20687 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20688 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20696 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20697 PyObject
*resultobj
;
20700 PyObject
* obj0
= 0 ;
20701 char *kwnames
[] = {
20702 (char *) "hours", NULL
20705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
20707 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 result
= wxTimeSpan::Hours(arg1
);
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20718 wxTimeSpan
* resultptr
;
20719 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20720 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20728 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
;
20731 char *kwnames
[] = {
20735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
20737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20738 result
= wxTimeSpan::Hour();
20740 wxPyEndAllowThreads(__tstate
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20744 wxTimeSpan
* resultptr
;
20745 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20746 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20754 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20755 PyObject
*resultobj
;
20758 PyObject
* obj0
= 0 ;
20759 char *kwnames
[] = {
20760 (char *) "days", NULL
20763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
20765 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 result
= wxTimeSpan::Days(arg1
);
20772 wxPyEndAllowThreads(__tstate
);
20773 if (PyErr_Occurred()) SWIG_fail
;
20776 wxTimeSpan
* resultptr
;
20777 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20778 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20786 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
;
20789 char *kwnames
[] = {
20793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 result
= wxTimeSpan::Day();
20798 wxPyEndAllowThreads(__tstate
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20802 wxTimeSpan
* resultptr
;
20803 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20804 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20812 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20813 PyObject
*resultobj
;
20816 PyObject
* obj0
= 0 ;
20817 char *kwnames
[] = {
20818 (char *) "days", NULL
20821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
20823 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
20824 if (PyErr_Occurred()) SWIG_fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 result
= wxTimeSpan::Weeks(arg1
);
20830 wxPyEndAllowThreads(__tstate
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20834 wxTimeSpan
* resultptr
;
20835 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20836 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20844 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20845 PyObject
*resultobj
;
20847 char *kwnames
[] = {
20851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= wxTimeSpan::Week();
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20860 wxTimeSpan
* resultptr
;
20861 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20862 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
20870 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20871 PyObject
*resultobj
;
20872 long arg1
= (long) 0 ;
20873 long arg2
= (long) 0 ;
20874 long arg3
= (long) 0 ;
20875 long arg4
= (long) 0 ;
20876 wxTimeSpan
*result
;
20877 PyObject
* obj0
= 0 ;
20878 PyObject
* obj1
= 0 ;
20879 PyObject
* obj2
= 0 ;
20880 PyObject
* obj3
= 0 ;
20881 char *kwnames
[] = {
20882 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
20885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20888 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20894 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20895 if (PyErr_Occurred()) SWIG_fail
;
20900 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20906 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
20907 if (PyErr_Occurred()) SWIG_fail
;
20911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20912 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
20914 wxPyEndAllowThreads(__tstate
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20917 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 1);
20924 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20925 PyObject
*resultobj
;
20926 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20927 PyObject
* obj0
= 0 ;
20928 char *kwnames
[] = {
20929 (char *) "self", NULL
20932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
20933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20941 Py_INCREF(Py_None
); resultobj
= Py_None
;
20948 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20949 PyObject
*resultobj
;
20950 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20951 wxTimeSpan
*arg2
= 0 ;
20952 wxTimeSpan
*result
;
20953 PyObject
* obj0
= 0 ;
20954 PyObject
* obj1
= 0 ;
20955 char *kwnames
[] = {
20956 (char *) "self",(char *) "diff", NULL
20959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
20960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20961 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20962 if (arg2
== NULL
) {
20963 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20968 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
20969 result
= (wxTimeSpan
*) &_result_ref
;
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
20982 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
;
20984 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20985 wxTimeSpan
*arg2
= 0 ;
20986 wxTimeSpan
*result
;
20987 PyObject
* obj0
= 0 ;
20988 PyObject
* obj1
= 0 ;
20989 char *kwnames
[] = {
20990 (char *) "self",(char *) "diff", NULL
20993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20995 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20996 if (arg2
== NULL
) {
20997 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21003 result
= (wxTimeSpan
*) &_result_ref
;
21006 wxPyEndAllowThreads(__tstate
);
21007 if (PyErr_Occurred()) SWIG_fail
;
21009 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21016 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21017 PyObject
*resultobj
;
21018 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21020 wxTimeSpan
*result
;
21021 PyObject
* obj0
= 0 ;
21022 PyObject
* obj1
= 0 ;
21023 char *kwnames
[] = {
21024 (char *) "self",(char *) "n", NULL
21027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21030 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21036 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21037 result
= (wxTimeSpan
*) &_result_ref
;
21040 wxPyEndAllowThreads(__tstate
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21043 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21050 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21051 PyObject
*resultobj
;
21052 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21053 wxTimeSpan
*result
;
21054 PyObject
* obj0
= 0 ;
21055 char *kwnames
[] = {
21056 (char *) "self", NULL
21059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21065 result
= (wxTimeSpan
*) &_result_ref
;
21068 wxPyEndAllowThreads(__tstate
);
21069 if (PyErr_Occurred()) SWIG_fail
;
21071 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21078 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21079 PyObject
*resultobj
;
21080 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21082 PyObject
* obj0
= 0 ;
21083 char *kwnames
[] = {
21084 (char *) "self", NULL
21087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21097 wxTimeSpan
* resultptr
;
21098 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21099 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21107 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21108 PyObject
*resultobj
;
21109 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21110 wxTimeSpan
*arg2
= 0 ;
21111 wxTimeSpan
*result
;
21112 PyObject
* obj0
= 0 ;
21113 PyObject
* obj1
= 0 ;
21114 char *kwnames
[] = {
21115 (char *) "self",(char *) "diff", NULL
21118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21120 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21121 if (arg2
== NULL
) {
21122 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21128 result
= (wxTimeSpan
*) &_result_ref
;
21131 wxPyEndAllowThreads(__tstate
);
21132 if (PyErr_Occurred()) SWIG_fail
;
21134 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21141 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21142 PyObject
*resultobj
;
21143 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21144 wxTimeSpan
*arg2
= 0 ;
21145 wxTimeSpan
*result
;
21146 PyObject
* obj0
= 0 ;
21147 PyObject
* obj1
= 0 ;
21148 char *kwnames
[] = {
21149 (char *) "self",(char *) "diff", NULL
21152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21154 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21155 if (arg2
== NULL
) {
21156 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21161 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21162 result
= (wxTimeSpan
*) &_result_ref
;
21165 wxPyEndAllowThreads(__tstate
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21168 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21175 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21176 PyObject
*resultobj
;
21177 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21179 wxTimeSpan
*result
;
21180 PyObject
* obj0
= 0 ;
21181 PyObject
* obj1
= 0 ;
21182 char *kwnames
[] = {
21183 (char *) "self",(char *) "n", NULL
21186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21189 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21190 if (PyErr_Occurred()) SWIG_fail
;
21193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21195 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21196 result
= (wxTimeSpan
*) &_result_ref
;
21199 wxPyEndAllowThreads(__tstate
);
21200 if (PyErr_Occurred()) SWIG_fail
;
21202 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21209 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21210 PyObject
*resultobj
;
21211 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21212 wxTimeSpan
*result
;
21213 PyObject
* obj0
= 0 ;
21214 char *kwnames
[] = {
21215 (char *) "self", NULL
21218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21224 result
= (wxTimeSpan
*) &_result_ref
;
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
21237 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
;
21239 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21240 wxTimeSpan
*arg2
= 0 ;
21242 PyObject
* obj0
= 0 ;
21243 PyObject
* obj1
= 0 ;
21244 char *kwnames
[] = {
21245 (char *) "self",(char *) "other", NULL
21248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21250 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21251 if (arg2
== NULL
) {
21252 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21256 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21258 wxPyEndAllowThreads(__tstate
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21262 wxTimeSpan
* resultptr
;
21263 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21264 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21272 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
;
21274 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21275 wxTimeSpan
*arg2
= 0 ;
21277 PyObject
* obj0
= 0 ;
21278 PyObject
* obj1
= 0 ;
21279 char *kwnames
[] = {
21280 (char *) "self",(char *) "other", NULL
21283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21285 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21286 if (arg2
== NULL
) {
21287 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21291 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21293 wxPyEndAllowThreads(__tstate
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21297 wxTimeSpan
* resultptr
;
21298 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21299 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21307 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21308 PyObject
*resultobj
;
21309 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21312 PyObject
* obj0
= 0 ;
21313 PyObject
* obj1
= 0 ;
21314 char *kwnames
[] = {
21315 (char *) "self",(char *) "n", NULL
21318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21321 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 result
= wxTimeSpan___mul__(arg1
,arg2
);
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21332 wxTimeSpan
* resultptr
;
21333 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21334 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21342 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21343 PyObject
*resultobj
;
21344 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21347 PyObject
* obj0
= 0 ;
21348 PyObject
* obj1
= 0 ;
21349 char *kwnames
[] = {
21350 (char *) "self",(char *) "n", NULL
21353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21356 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21361 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21363 wxPyEndAllowThreads(__tstate
);
21364 if (PyErr_Occurred()) SWIG_fail
;
21367 wxTimeSpan
* resultptr
;
21368 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21369 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
21377 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21378 PyObject
*resultobj
;
21379 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21380 wxTimeSpan
*arg2
= 0 ;
21382 PyObject
* obj0
= 0 ;
21383 PyObject
* obj1
= 0 ;
21384 char *kwnames
[] = {
21385 (char *) "self",(char *) "other", NULL
21388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21390 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21391 if (arg2
== NULL
) {
21392 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21396 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const &)*arg2
);
21398 wxPyEndAllowThreads(__tstate
);
21399 if (PyErr_Occurred()) SWIG_fail
;
21401 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21408 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21409 PyObject
*resultobj
;
21410 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21411 wxTimeSpan
*arg2
= 0 ;
21413 PyObject
* obj0
= 0 ;
21414 PyObject
* obj1
= 0 ;
21415 char *kwnames
[] = {
21416 (char *) "self",(char *) "other", NULL
21419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
21420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21421 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21422 if (arg2
== NULL
) {
21423 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const &)*arg2
);
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21439 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21440 PyObject
*resultobj
;
21441 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21442 wxTimeSpan
*arg2
= 0 ;
21444 PyObject
* obj0
= 0 ;
21445 PyObject
* obj1
= 0 ;
21446 char *kwnames
[] = {
21447 (char *) "self",(char *) "other", NULL
21450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21452 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21453 if (arg2
== NULL
) {
21454 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const &)*arg2
);
21460 wxPyEndAllowThreads(__tstate
);
21461 if (PyErr_Occurred()) SWIG_fail
;
21463 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21470 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21471 PyObject
*resultobj
;
21472 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21473 wxTimeSpan
*arg2
= 0 ;
21475 PyObject
* obj0
= 0 ;
21476 PyObject
* obj1
= 0 ;
21477 char *kwnames
[] = {
21478 (char *) "self",(char *) "other", NULL
21481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
21482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21483 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21484 if (arg2
== NULL
) {
21485 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const &)*arg2
);
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21494 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21501 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21502 PyObject
*resultobj
;
21503 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21504 wxTimeSpan
*arg2
= 0 ;
21506 PyObject
* obj0
= 0 ;
21507 PyObject
* obj1
= 0 ;
21508 char *kwnames
[] = {
21509 (char *) "self",(char *) "other", NULL
21512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
21513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21514 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21515 if (arg2
== NULL
) {
21516 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const &)*arg2
);
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21525 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21532 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21533 PyObject
*resultobj
;
21534 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21535 wxTimeSpan
*arg2
= 0 ;
21537 PyObject
* obj0
= 0 ;
21538 PyObject
* obj1
= 0 ;
21539 char *kwnames
[] = {
21540 (char *) "self",(char *) "other", NULL
21543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
21544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21545 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21546 if (arg2
== NULL
) {
21547 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const &)*arg2
);
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21556 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21563 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21564 PyObject
*resultobj
;
21565 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21567 PyObject
* obj0
= 0 ;
21568 char *kwnames
[] = {
21569 (char *) "self", NULL
21572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
21573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21576 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
21578 wxPyEndAllowThreads(__tstate
);
21579 if (PyErr_Occurred()) SWIG_fail
;
21581 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21588 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21589 PyObject
*resultobj
;
21590 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21592 PyObject
* obj0
= 0 ;
21593 char *kwnames
[] = {
21594 (char *) "self", NULL
21597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
21598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21601 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
21603 wxPyEndAllowThreads(__tstate
);
21604 if (PyErr_Occurred()) SWIG_fail
;
21606 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21613 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21614 PyObject
*resultobj
;
21615 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21617 PyObject
* obj0
= 0 ;
21618 char *kwnames
[] = {
21619 (char *) "self", NULL
21622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
21623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
21628 wxPyEndAllowThreads(__tstate
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21631 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21638 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21639 PyObject
*resultobj
;
21640 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21641 wxTimeSpan
*arg2
= 0 ;
21643 PyObject
* obj0
= 0 ;
21644 PyObject
* obj1
= 0 ;
21645 char *kwnames
[] = {
21646 (char *) "self",(char *) "ts", NULL
21649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21651 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21652 if (arg2
== NULL
) {
21653 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21657 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21662 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21669 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21670 PyObject
*resultobj
;
21671 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21672 wxTimeSpan
*arg2
= 0 ;
21674 PyObject
* obj0
= 0 ;
21675 PyObject
* obj1
= 0 ;
21676 char *kwnames
[] = {
21677 (char *) "self",(char *) "ts", NULL
21680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21682 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21683 if (arg2
== NULL
) {
21684 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21700 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
;
21702 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21703 wxTimeSpan
*arg2
= 0 ;
21705 PyObject
* obj0
= 0 ;
21706 PyObject
* obj1
= 0 ;
21707 char *kwnames
[] = {
21708 (char *) "self",(char *) "t", NULL
21711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21713 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21714 if (arg2
== NULL
) {
21715 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21719 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
21721 wxPyEndAllowThreads(__tstate
);
21722 if (PyErr_Occurred()) SWIG_fail
;
21724 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21731 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21732 PyObject
*resultobj
;
21733 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21735 PyObject
* obj0
= 0 ;
21736 char *kwnames
[] = {
21737 (char *) "self", NULL
21740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
21741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21744 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21749 resultobj
= SWIG_PyObj_FromInt((int)result
);
21756 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
;
21758 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21760 PyObject
* obj0
= 0 ;
21761 char *kwnames
[] = {
21762 (char *) "self", NULL
21765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
21766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21769 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
21771 wxPyEndAllowThreads(__tstate
);
21772 if (PyErr_Occurred()) SWIG_fail
;
21774 resultobj
= SWIG_PyObj_FromInt((int)result
);
21781 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21782 PyObject
*resultobj
;
21783 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21785 PyObject
* obj0
= 0 ;
21786 char *kwnames
[] = {
21787 (char *) "self", NULL
21790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
21791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
21796 wxPyEndAllowThreads(__tstate
);
21797 if (PyErr_Occurred()) SWIG_fail
;
21799 resultobj
= SWIG_PyObj_FromInt((int)result
);
21806 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21807 PyObject
*resultobj
;
21808 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21810 PyObject
* obj0
= 0 ;
21811 char *kwnames
[] = {
21812 (char *) "self", NULL
21815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
21816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21819 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
21821 wxPyEndAllowThreads(__tstate
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21824 resultobj
= SWIG_PyObj_FromInt((int)result
);
21831 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21832 PyObject
*resultobj
;
21833 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21835 PyObject
* obj0
= 0 ;
21836 char *kwnames
[] = {
21837 (char *) "self", NULL
21840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
21841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21844 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
21846 wxPyEndAllowThreads(__tstate
);
21847 if (PyErr_Occurred()) SWIG_fail
;
21850 PyObject
*hi
, *lo
, *shifter
, *shifted
;
21851 hi
= PyLong_FromLong( (&result
)->GetHi() );
21852 lo
= PyLong_FromLong( (&result
)->GetLo() );
21853 shifter
= PyLong_FromLong(32);
21854 shifted
= PyNumber_Lshift(hi
, shifter
);
21855 resultobj
= PyNumber_Or(shifted
, lo
);
21858 Py_DECREF(shifter
);
21859 Py_DECREF(shifted
);
21867 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21868 PyObject
*resultobj
;
21869 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21871 PyObject
* obj0
= 0 ;
21872 char *kwnames
[] = {
21873 (char *) "self", NULL
21876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
21877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21880 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
21882 wxPyEndAllowThreads(__tstate
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21886 PyObject
*hi
, *lo
, *shifter
, *shifted
;
21887 hi
= PyLong_FromLong( (&result
)->GetHi() );
21888 lo
= PyLong_FromLong( (&result
)->GetLo() );
21889 shifter
= PyLong_FromLong(32);
21890 shifted
= PyNumber_Lshift(hi
, shifter
);
21891 resultobj
= PyNumber_Or(shifted
, lo
);
21894 Py_DECREF(shifter
);
21895 Py_DECREF(shifted
);
21903 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
;
21905 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21906 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
21907 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21909 bool temp2
= False
;
21910 PyObject
* obj0
= 0 ;
21911 PyObject
* obj1
= 0 ;
21912 char *kwnames
[] = {
21913 (char *) "self",(char *) "format", NULL
21916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
21917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21920 arg2
= wxString_in_helper(obj1
);
21921 if (arg2
== NULL
) SWIG_fail
;
21926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21927 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
21929 wxPyEndAllowThreads(__tstate
);
21930 if (PyErr_Occurred()) SWIG_fail
;
21934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21953 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
21955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21956 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
21958 return Py_BuildValue((char *)"");
21960 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21961 PyObject
*resultobj
;
21962 int arg1
= (int) 0 ;
21963 int arg2
= (int) 0 ;
21964 int arg3
= (int) 0 ;
21965 int arg4
= (int) 0 ;
21966 wxDateSpan
*result
;
21967 PyObject
* obj0
= 0 ;
21968 PyObject
* obj1
= 0 ;
21969 PyObject
* obj2
= 0 ;
21970 PyObject
* obj3
= 0 ;
21971 char *kwnames
[] = {
21972 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
21975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21978 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21984 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21990 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21991 if (PyErr_Occurred()) SWIG_fail
;
21996 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21997 if (PyErr_Occurred()) SWIG_fail
;
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22007 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 1);
22014 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22015 PyObject
*resultobj
;
22016 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22017 PyObject
* obj0
= 0 ;
22018 char *kwnames
[] = {
22019 (char *) "self", NULL
22022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 wxPyEndAllowThreads(__tstate
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22031 Py_INCREF(Py_None
); resultobj
= Py_None
;
22038 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22039 PyObject
*resultobj
;
22042 PyObject
* obj0
= 0 ;
22043 char *kwnames
[] = {
22044 (char *) "days", NULL
22047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22049 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22054 result
= wxDateSpan::Days(arg1
);
22056 wxPyEndAllowThreads(__tstate
);
22057 if (PyErr_Occurred()) SWIG_fail
;
22060 wxDateSpan
* resultptr
;
22061 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22062 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22070 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22071 PyObject
*resultobj
;
22073 char *kwnames
[] = {
22077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 result
= wxDateSpan::Day();
22082 wxPyEndAllowThreads(__tstate
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22086 wxDateSpan
* resultptr
;
22087 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22088 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22096 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22097 PyObject
*resultobj
;
22100 PyObject
* obj0
= 0 ;
22101 char *kwnames
[] = {
22102 (char *) "weeks", NULL
22105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22107 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22108 if (PyErr_Occurred()) SWIG_fail
;
22111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22112 result
= wxDateSpan::Weeks(arg1
);
22114 wxPyEndAllowThreads(__tstate
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22118 wxDateSpan
* resultptr
;
22119 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22120 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22128 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22129 PyObject
*resultobj
;
22131 char *kwnames
[] = {
22135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22138 result
= wxDateSpan::Week();
22140 wxPyEndAllowThreads(__tstate
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22144 wxDateSpan
* resultptr
;
22145 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22146 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22154 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22155 PyObject
*resultobj
;
22158 PyObject
* obj0
= 0 ;
22159 char *kwnames
[] = {
22160 (char *) "mon", NULL
22163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22165 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 result
= wxDateSpan::Months(arg1
);
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22176 wxDateSpan
* resultptr
;
22177 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22178 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22186 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22187 PyObject
*resultobj
;
22189 char *kwnames
[] = {
22193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22196 result
= wxDateSpan::Month();
22198 wxPyEndAllowThreads(__tstate
);
22199 if (PyErr_Occurred()) SWIG_fail
;
22202 wxDateSpan
* resultptr
;
22203 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22204 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22212 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22213 PyObject
*resultobj
;
22216 PyObject
* obj0
= 0 ;
22217 char *kwnames
[] = {
22218 (char *) "years", NULL
22221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22223 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 result
= wxDateSpan::Years(arg1
);
22230 wxPyEndAllowThreads(__tstate
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22234 wxDateSpan
* resultptr
;
22235 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22236 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22244 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
;
22247 char *kwnames
[] = {
22251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22254 result
= wxDateSpan::Year();
22256 wxPyEndAllowThreads(__tstate
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22260 wxDateSpan
* resultptr
;
22261 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22262 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22270 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22271 PyObject
*resultobj
;
22272 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22274 wxDateSpan
*result
;
22275 PyObject
* obj0
= 0 ;
22276 PyObject
* obj1
= 0 ;
22277 char *kwnames
[] = {
22278 (char *) "self",(char *) "n", NULL
22281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22284 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22291 result
= (wxDateSpan
*) &_result_ref
;
22294 wxPyEndAllowThreads(__tstate
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22297 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22304 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22305 PyObject
*resultobj
;
22306 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22308 wxDateSpan
*result
;
22309 PyObject
* obj0
= 0 ;
22310 PyObject
* obj1
= 0 ;
22311 char *kwnames
[] = {
22312 (char *) "self",(char *) "n", NULL
22315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22318 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22319 if (PyErr_Occurred()) SWIG_fail
;
22322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22324 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22325 result
= (wxDateSpan
*) &_result_ref
;
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22331 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22338 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22339 PyObject
*resultobj
;
22340 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22342 wxDateSpan
*result
;
22343 PyObject
* obj0
= 0 ;
22344 PyObject
* obj1
= 0 ;
22345 char *kwnames
[] = {
22346 (char *) "self",(char *) "n", NULL
22349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22352 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22353 if (PyErr_Occurred()) SWIG_fail
;
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22358 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22359 result
= (wxDateSpan
*) &_result_ref
;
22362 wxPyEndAllowThreads(__tstate
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22365 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22372 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
;
22374 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22376 wxDateSpan
*result
;
22377 PyObject
* obj0
= 0 ;
22378 PyObject
* obj1
= 0 ;
22379 char *kwnames
[] = {
22380 (char *) "self",(char *) "n", NULL
22383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
22384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22386 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22387 if (PyErr_Occurred()) SWIG_fail
;
22390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
22393 result
= (wxDateSpan
*) &_result_ref
;
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22399 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22406 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22407 PyObject
*resultobj
;
22408 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22410 PyObject
* obj0
= 0 ;
22411 char *kwnames
[] = {
22412 (char *) "self", NULL
22415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
22416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
22421 wxPyEndAllowThreads(__tstate
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22424 resultobj
= SWIG_PyObj_FromInt((int)result
);
22431 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22432 PyObject
*resultobj
;
22433 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22435 PyObject
* obj0
= 0 ;
22436 char *kwnames
[] = {
22437 (char *) "self", NULL
22440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
22441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22449 resultobj
= SWIG_PyObj_FromInt((int)result
);
22456 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22457 PyObject
*resultobj
;
22458 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22460 PyObject
* obj0
= 0 ;
22461 char *kwnames
[] = {
22462 (char *) "self", NULL
22465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 resultobj
= SWIG_PyObj_FromInt((int)result
);
22481 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22482 PyObject
*resultobj
;
22483 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22485 PyObject
* obj0
= 0 ;
22486 char *kwnames
[] = {
22487 (char *) "self", NULL
22490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22499 resultobj
= SWIG_PyObj_FromInt((int)result
);
22506 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22507 PyObject
*resultobj
;
22508 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22510 PyObject
* obj0
= 0 ;
22511 char *kwnames
[] = {
22512 (char *) "self", NULL
22515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
22516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22519 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
22521 wxPyEndAllowThreads(__tstate
);
22522 if (PyErr_Occurred()) SWIG_fail
;
22524 resultobj
= SWIG_PyObj_FromInt((int)result
);
22531 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22532 PyObject
*resultobj
;
22533 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22534 wxDateSpan
*arg2
= 0 ;
22535 wxDateSpan
*result
;
22536 PyObject
* obj0
= 0 ;
22537 PyObject
* obj1
= 0 ;
22538 char *kwnames
[] = {
22539 (char *) "self",(char *) "other", NULL
22542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22544 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22545 if (arg2
== NULL
) {
22546 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22551 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22552 result
= (wxDateSpan
*) &_result_ref
;
22555 wxPyEndAllowThreads(__tstate
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22558 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22565 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22566 PyObject
*resultobj
;
22567 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22568 wxDateSpan
*arg2
= 0 ;
22569 wxDateSpan
*result
;
22570 PyObject
* obj0
= 0 ;
22571 PyObject
* obj1
= 0 ;
22572 char *kwnames
[] = {
22573 (char *) "self",(char *) "other", NULL
22576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22578 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22579 if (arg2
== NULL
) {
22580 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22586 result
= (wxDateSpan
*) &_result_ref
;
22589 wxPyEndAllowThreads(__tstate
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22592 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22599 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22600 PyObject
*resultobj
;
22601 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22602 wxDateSpan
*result
;
22603 PyObject
* obj0
= 0 ;
22604 char *kwnames
[] = {
22605 (char *) "self", NULL
22608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
22609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22613 wxDateSpan
&_result_ref
= (arg1
)->Neg();
22614 result
= (wxDateSpan
*) &_result_ref
;
22617 wxPyEndAllowThreads(__tstate
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22620 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22627 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22628 PyObject
*resultobj
;
22629 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22631 wxDateSpan
*result
;
22632 PyObject
* obj0
= 0 ;
22633 PyObject
* obj1
= 0 ;
22634 char *kwnames
[] = {
22635 (char *) "self",(char *) "factor", NULL
22638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22641 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22648 result
= (wxDateSpan
*) &_result_ref
;
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22654 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22661 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22662 PyObject
*resultobj
;
22663 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22664 wxDateSpan
*arg2
= 0 ;
22665 wxDateSpan
*result
;
22666 PyObject
* obj0
= 0 ;
22667 PyObject
* obj1
= 0 ;
22668 char *kwnames
[] = {
22669 (char *) "self",(char *) "other", NULL
22672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22674 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22675 if (arg2
== NULL
) {
22676 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22681 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22682 result
= (wxDateSpan
*) &_result_ref
;
22685 wxPyEndAllowThreads(__tstate
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22688 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22695 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22696 PyObject
*resultobj
;
22697 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22698 wxDateSpan
*arg2
= 0 ;
22699 wxDateSpan
*result
;
22700 PyObject
* obj0
= 0 ;
22701 PyObject
* obj1
= 0 ;
22702 char *kwnames
[] = {
22703 (char *) "self",(char *) "other", NULL
22706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22708 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22709 if (arg2
== NULL
) {
22710 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22715 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22716 result
= (wxDateSpan
*) &_result_ref
;
22719 wxPyEndAllowThreads(__tstate
);
22720 if (PyErr_Occurred()) SWIG_fail
;
22722 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22729 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22730 PyObject
*resultobj
;
22731 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22732 wxDateSpan
*result
;
22733 PyObject
* obj0
= 0 ;
22734 char *kwnames
[] = {
22735 (char *) "self", NULL
22738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
22739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22743 wxDateSpan
&_result_ref
= (arg1
)->operator -();
22744 result
= (wxDateSpan
*) &_result_ref
;
22747 wxPyEndAllowThreads(__tstate
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22750 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22757 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22758 PyObject
*resultobj
;
22759 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22761 wxDateSpan
*result
;
22762 PyObject
* obj0
= 0 ;
22763 PyObject
* obj1
= 0 ;
22764 char *kwnames
[] = {
22765 (char *) "self",(char *) "factor", NULL
22768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22771 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22777 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
22778 result
= (wxDateSpan
*) &_result_ref
;
22781 wxPyEndAllowThreads(__tstate
);
22782 if (PyErr_Occurred()) SWIG_fail
;
22784 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
22791 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22792 PyObject
*resultobj
;
22793 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22794 wxDateSpan
*arg2
= 0 ;
22796 PyObject
* obj0
= 0 ;
22797 PyObject
* obj1
= 0 ;
22798 char *kwnames
[] = {
22799 (char *) "self",(char *) "other", NULL
22802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22804 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22805 if (arg2
== NULL
) {
22806 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22816 wxDateSpan
* resultptr
;
22817 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22818 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22826 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22827 PyObject
*resultobj
;
22828 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22829 wxDateSpan
*arg2
= 0 ;
22831 PyObject
* obj0
= 0 ;
22832 PyObject
* obj1
= 0 ;
22833 char *kwnames
[] = {
22834 (char *) "self",(char *) "other", NULL
22837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22839 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22840 if (arg2
== NULL
) {
22841 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22845 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
22847 wxPyEndAllowThreads(__tstate
);
22848 if (PyErr_Occurred()) SWIG_fail
;
22851 wxDateSpan
* resultptr
;
22852 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22853 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22861 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22862 PyObject
*resultobj
;
22863 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22866 PyObject
* obj0
= 0 ;
22867 PyObject
* obj1
= 0 ;
22868 char *kwnames
[] = {
22869 (char *) "self",(char *) "n", NULL
22872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22875 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22876 if (PyErr_Occurred()) SWIG_fail
;
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 result
= wxDateSpan___mul__(arg1
,arg2
);
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22886 wxDateSpan
* resultptr
;
22887 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22888 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22896 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
;
22898 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22901 PyObject
* obj0
= 0 ;
22902 PyObject
* obj1
= 0 ;
22903 char *kwnames
[] = {
22904 (char *) "self",(char *) "n", NULL
22907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22910 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 result
= wxDateSpan___rmul__(arg1
,arg2
);
22917 wxPyEndAllowThreads(__tstate
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22921 wxDateSpan
* resultptr
;
22922 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22923 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
22931 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22932 PyObject
*resultobj
;
22933 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22934 wxDateSpan
*arg2
= 0 ;
22936 PyObject
* obj0
= 0 ;
22937 PyObject
* obj1
= 0 ;
22938 char *kwnames
[] = {
22939 (char *) "self",(char *) "other", NULL
22942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22944 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22945 if (arg2
== NULL
) {
22946 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const &)*arg2
);
22952 wxPyEndAllowThreads(__tstate
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22955 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22962 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22963 PyObject
*resultobj
;
22964 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22965 wxDateSpan
*arg2
= 0 ;
22967 PyObject
* obj0
= 0 ;
22968 PyObject
* obj1
= 0 ;
22969 char *kwnames
[] = {
22970 (char *) "self",(char *) "other", NULL
22973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22975 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22976 if (arg2
== NULL
) {
22977 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const &)*arg2
);
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22986 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22993 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22996 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
22998 return Py_BuildValue((char *)"");
23000 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23001 PyObject
*resultobj
;
23003 char *kwnames
[] = {
23007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23010 result
= (long)wxGetLocalTime();
23012 wxPyEndAllowThreads(__tstate
);
23013 if (PyErr_Occurred()) SWIG_fail
;
23015 resultobj
= SWIG_PyObj_FromLong((long)result
);
23022 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23023 PyObject
*resultobj
;
23025 char *kwnames
[] = {
23029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23032 result
= (long)wxGetUTCTime();
23034 wxPyEndAllowThreads(__tstate
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23037 resultobj
= SWIG_PyObj_FromLong((long)result
);
23044 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23045 PyObject
*resultobj
;
23047 char *kwnames
[] = {
23051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23054 result
= (long)wxGetCurrentTime();
23056 wxPyEndAllowThreads(__tstate
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23059 resultobj
= SWIG_PyObj_FromLong((long)result
);
23066 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23067 PyObject
*resultobj
;
23069 char *kwnames
[] = {
23073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 result
= wxGetLocalTimeMillis();
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23082 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23083 hi
= PyLong_FromLong( (&result
)->GetHi() );
23084 lo
= PyLong_FromLong( (&result
)->GetLo() );
23085 shifter
= PyLong_FromLong(32);
23086 shifted
= PyNumber_Lshift(hi
, shifter
);
23087 resultobj
= PyNumber_Or(shifted
, lo
);
23090 Py_DECREF(shifter
);
23091 Py_DECREF(shifted
);
23099 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23100 PyObject
*resultobj
;
23102 wxDataFormat
*result
;
23103 PyObject
* obj0
= 0 ;
23104 char *kwnames
[] = {
23105 (char *) "type", NULL
23108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23110 arg1
= (wxDataFormatId
) SWIG_PyObj_AsInt(obj0
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23115 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23117 wxPyEndAllowThreads(__tstate
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23120 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
23127 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23128 PyObject
*resultobj
;
23129 wxString
*arg1
= 0 ;
23130 wxDataFormat
*result
;
23131 bool temp1
= False
;
23132 PyObject
* obj0
= 0 ;
23133 char *kwnames
[] = {
23134 (char *) "format", NULL
23137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23139 arg1
= wxString_in_helper(obj0
);
23140 if (arg1
== NULL
) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23150 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
23165 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23166 PyObject
*resultobj
;
23167 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23168 PyObject
* obj0
= 0 ;
23169 char *kwnames
[] = {
23170 (char *) "self", NULL
23173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23179 wxPyEndAllowThreads(__tstate
);
23180 if (PyErr_Occurred()) SWIG_fail
;
23182 Py_INCREF(Py_None
); resultobj
= Py_None
;
23189 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23190 PyObject
*resultobj
;
23191 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23194 PyObject
* obj0
= 0 ;
23195 PyObject
* obj1
= 0 ;
23197 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23200 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23205 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
23207 wxPyEndAllowThreads(__tstate
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23210 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23217 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23218 PyObject
*resultobj
;
23219 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23222 PyObject
* obj0
= 0 ;
23223 PyObject
* obj1
= 0 ;
23225 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23228 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23233 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
23235 wxPyEndAllowThreads(__tstate
);
23236 if (PyErr_Occurred()) SWIG_fail
;
23238 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23245 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23246 PyObject
*resultobj
;
23247 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23248 wxDataFormat
*arg2
= 0 ;
23250 PyObject
* obj0
= 0 ;
23251 PyObject
* obj1
= 0 ;
23253 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23255 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23256 if (arg2
== NULL
) {
23257 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23261 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23263 wxPyEndAllowThreads(__tstate
);
23264 if (PyErr_Occurred()) SWIG_fail
;
23266 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23273 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23278 argc
= PyObject_Length(args
);
23279 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23280 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23286 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23296 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23304 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23312 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23321 SWIG_PyObj_AsInt(argv
[1]);
23322 if (PyErr_Occurred()) {
23330 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
23335 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
23340 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
23341 PyObject
*resultobj
;
23342 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23343 wxDataFormat
*arg2
= 0 ;
23345 PyObject
* obj0
= 0 ;
23346 PyObject
* obj1
= 0 ;
23348 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23350 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23351 if (arg2
== NULL
) {
23352 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23356 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
23358 wxPyEndAllowThreads(__tstate
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23361 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23368 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
23373 argc
= PyObject_Length(args
);
23374 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23375 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23381 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23391 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23399 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
23407 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23416 SWIG_PyObj_AsInt(argv
[1]);
23417 if (PyErr_Occurred()) {
23425 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
23430 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
23435 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23436 PyObject
*resultobj
;
23437 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23439 PyObject
* obj0
= 0 ;
23440 PyObject
* obj1
= 0 ;
23441 char *kwnames
[] = {
23442 (char *) "self",(char *) "format", NULL
23445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
23446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23448 arg2
= (wxDataFormatId
) SWIG_PyObj_AsInt(obj1
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23453 (arg1
)->SetType((wxDataFormatId
)arg2
);
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23458 Py_INCREF(Py_None
); resultobj
= Py_None
;
23465 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
;
23467 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23469 PyObject
* obj0
= 0 ;
23470 char *kwnames
[] = {
23471 (char *) "self", NULL
23474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
23475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23478 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
23480 wxPyEndAllowThreads(__tstate
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23483 resultobj
= SWIG_PyObj_FromInt((int)result
);
23490 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23491 PyObject
*resultobj
;
23492 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23494 PyObject
* obj0
= 0 ;
23495 char *kwnames
[] = {
23496 (char *) "self", NULL
23499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
23500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 result
= ((wxDataFormat
const *)arg1
)->GetId();
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23521 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23522 PyObject
*resultobj
;
23523 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23524 wxString
*arg2
= 0 ;
23525 bool temp2
= False
;
23526 PyObject
* obj0
= 0 ;
23527 PyObject
* obj1
= 0 ;
23528 char *kwnames
[] = {
23529 (char *) "self",(char *) "format", NULL
23532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23535 arg2
= wxString_in_helper(obj1
);
23536 if (arg2
== NULL
) SWIG_fail
;
23540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23541 (arg1
)->SetId((wxString
const &)*arg2
);
23543 wxPyEndAllowThreads(__tstate
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23546 Py_INCREF(Py_None
); resultobj
= Py_None
;
23561 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
23563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23564 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
23566 return Py_BuildValue((char *)"");
23568 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
23569 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
23574 static PyObject
*_wrap_FormatInvalid_get() {
23577 pyobj
= SWIG_NewPointerObj((void *) &wxFormatInvalid
, SWIGTYPE_p_wxDataFormat
, 0);
23582 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
;
23584 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23585 PyObject
* obj0
= 0 ;
23586 char *kwnames
[] = {
23587 (char *) "self", NULL
23590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
23591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23596 wxPyEndAllowThreads(__tstate
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23599 Py_INCREF(Py_None
); resultobj
= Py_None
;
23606 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23607 PyObject
*resultobj
;
23608 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23609 int arg2
= (int) wxDataObject::Get
;
23610 SwigValueWrapper
< wxDataFormat
> result
;
23611 PyObject
* obj0
= 0 ;
23612 PyObject
* obj1
= 0 ;
23613 char *kwnames
[] = {
23614 (char *) "self",(char *) "dir", NULL
23617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
23618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23621 arg2
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj1
);
23622 if (PyErr_Occurred()) SWIG_fail
;
23626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23627 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
23629 wxPyEndAllowThreads(__tstate
);
23630 if (PyErr_Occurred()) SWIG_fail
;
23633 wxDataFormat
* resultptr
;
23634 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
23635 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDataFormat
, 1);
23643 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23644 PyObject
*resultobj
;
23645 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23646 int arg2
= (int) wxDataObject::Get
;
23648 PyObject
* obj0
= 0 ;
23649 PyObject
* obj1
= 0 ;
23650 char *kwnames
[] = {
23651 (char *) "self",(char *) "dir", NULL
23654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23658 arg2
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj1
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
23666 wxPyEndAllowThreads(__tstate
);
23667 if (PyErr_Occurred()) SWIG_fail
;
23669 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
23676 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23677 PyObject
*resultobj
;
23678 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23679 wxDataFormat
*arg2
= 0 ;
23680 int arg3
= (int) wxDataObject::Get
;
23682 PyObject
* obj0
= 0 ;
23683 PyObject
* obj1
= 0 ;
23684 PyObject
* obj2
= 0 ;
23685 char *kwnames
[] = {
23686 (char *) "self",(char *) "format",(char *) "dir", NULL
23689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23691 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23692 if (arg2
== NULL
) {
23693 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23697 arg3
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj2
);
23698 if (PyErr_Occurred()) SWIG_fail
;
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23708 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23715 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23718 wxDataFormat
*arg2
= 0 ;
23720 PyObject
* obj0
= 0 ;
23721 PyObject
* obj1
= 0 ;
23722 char *kwnames
[] = {
23723 (char *) "self",(char *) "format", NULL
23726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23728 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23729 if (arg2
== NULL
) {
23730 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
23746 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23747 PyObject
*resultobj
;
23748 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23749 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
23750 int arg3
= (int) wxDataObject::Get
;
23751 PyObject
* obj0
= 0 ;
23752 PyObject
* obj1
= 0 ;
23753 PyObject
* obj2
= 0 ;
23754 char *kwnames
[] = {
23755 (char *) "self",(char *) "formats",(char *) "dir", NULL
23758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23760 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23763 arg3
= (wxDataObject::Direction
) SWIG_PyObj_AsInt(obj2
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 Py_INCREF(Py_None
); resultobj
= Py_None
;
23781 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
;
23783 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23784 wxDataFormat
*arg2
= 0 ;
23785 void *arg3
= (void *) 0 ;
23787 PyObject
* obj0
= 0 ;
23788 PyObject
* obj1
= 0 ;
23789 PyObject
* obj2
= 0 ;
23790 char *kwnames
[] = {
23791 (char *) "self",(char *) "format",(char *) "buf", NULL
23794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23796 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23797 if (arg2
== NULL
) {
23798 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23800 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23803 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
23805 wxPyEndAllowThreads(__tstate
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23808 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23815 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23816 PyObject
*resultobj
;
23817 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23818 wxDataFormat
*arg2
= 0 ;
23820 void *arg4
= (void *) 0 ;
23822 PyObject
* obj0
= 0 ;
23823 PyObject
* obj1
= 0 ;
23824 PyObject
* obj2
= 0 ;
23825 PyObject
* obj3
= 0 ;
23826 char *kwnames
[] = {
23827 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
23830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23832 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23833 if (arg2
== NULL
) {
23834 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23837 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23840 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
23845 wxPyEndAllowThreads(__tstate
);
23846 if (PyErr_Occurred()) SWIG_fail
;
23848 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23855 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
23857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23858 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
23860 return Py_BuildValue((char *)"");
23862 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23863 PyObject
*resultobj
;
23864 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
23865 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
23866 wxDataObjectSimple
*result
;
23867 PyObject
* obj0
= 0 ;
23868 char *kwnames
[] = {
23869 (char *) "format", NULL
23872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
23874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23875 if (arg1
== NULL
) {
23876 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23881 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectSimple
, 1);
23893 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23894 PyObject
*resultobj
;
23895 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
23896 wxDataFormat
*result
;
23897 PyObject
* obj0
= 0 ;
23898 char *kwnames
[] = {
23899 (char *) "self", NULL
23902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
23903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23907 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
23908 result
= (wxDataFormat
*) &_result_ref
;
23911 wxPyEndAllowThreads(__tstate
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23914 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 0);
23921 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23922 PyObject
*resultobj
;
23923 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
23924 wxDataFormat
*arg2
= 0 ;
23925 PyObject
* obj0
= 0 ;
23926 PyObject
* obj1
= 0 ;
23927 char *kwnames
[] = {
23928 (char *) "self",(char *) "format", NULL
23931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
23932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23933 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23934 if (arg2
== NULL
) {
23935 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
23941 wxPyEndAllowThreads(__tstate
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23944 Py_INCREF(Py_None
); resultobj
= Py_None
;
23951 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
23953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23954 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
23956 return Py_BuildValue((char *)"");
23958 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23959 PyObject
*resultobj
;
23960 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
23961 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
23962 wxPyDataObjectSimple
*result
;
23963 PyObject
* obj0
= 0 ;
23964 char *kwnames
[] = {
23965 (char *) "format", NULL
23968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
23970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23971 if (arg1
== NULL
) {
23972 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23977 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
23979 wxPyEndAllowThreads(__tstate
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23982 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDataObjectSimple
, 1);
23989 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23990 PyObject
*resultobj
;
23991 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
23992 PyObject
*arg2
= (PyObject
*) 0 ;
23993 PyObject
*arg3
= (PyObject
*) 0 ;
23994 PyObject
* obj0
= 0 ;
23995 PyObject
* obj1
= 0 ;
23996 PyObject
* obj2
= 0 ;
23997 char *kwnames
[] = {
23998 (char *) "self",(char *) "self",(char *) "_class", NULL
24001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24012 Py_INCREF(Py_None
); resultobj
= Py_None
;
24019 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24022 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24024 return Py_BuildValue((char *)"");
24026 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
;
24028 wxDataObjectComposite
*result
;
24029 char *kwnames
[] = {
24033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24036 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24038 wxPyEndAllowThreads(__tstate
);
24039 if (PyErr_Occurred()) SWIG_fail
;
24041 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectComposite
, 1);
24048 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24049 PyObject
*resultobj
;
24050 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24051 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24052 int arg3
= (int) False
;
24053 PyObject
* obj0
= 0 ;
24054 PyObject
* obj1
= 0 ;
24055 PyObject
* obj2
= 0 ;
24056 char *kwnames
[] = {
24057 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectComposite
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24062 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24065 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24071 (arg1
)->Add(arg2
,arg3
);
24073 wxPyEndAllowThreads(__tstate
);
24074 if (PyErr_Occurred()) SWIG_fail
;
24076 Py_INCREF(Py_None
); resultobj
= Py_None
;
24083 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24086 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24088 return Py_BuildValue((char *)"");
24090 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24091 PyObject
*resultobj
;
24092 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24093 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24094 wxTextDataObject
*result
;
24095 bool temp1
= False
;
24096 PyObject
* obj0
= 0 ;
24097 char *kwnames
[] = {
24098 (char *) "text", NULL
24101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24104 arg1
= wxString_in_helper(obj0
);
24105 if (arg1
== NULL
) SWIG_fail
;
24110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24116 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextDataObject
, 1);
24131 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24132 PyObject
*resultobj
;
24133 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24135 PyObject
* obj0
= 0 ;
24136 char *kwnames
[] = {
24137 (char *) "self", NULL
24140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24144 result
= (size_t)(arg1
)->GetTextLength();
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24149 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24156 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24157 PyObject
*resultobj
;
24158 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24160 PyObject
* obj0
= 0 ;
24161 char *kwnames
[] = {
24162 (char *) "self", NULL
24165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24169 result
= (arg1
)->GetText();
24171 wxPyEndAllowThreads(__tstate
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24176 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24178 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24187 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
;
24189 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24190 wxString
*arg2
= 0 ;
24191 bool temp2
= False
;
24192 PyObject
* obj0
= 0 ;
24193 PyObject
* obj1
= 0 ;
24194 char *kwnames
[] = {
24195 (char *) "self",(char *) "text", NULL
24198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24201 arg2
= wxString_in_helper(obj1
);
24202 if (arg2
== NULL
) SWIG_fail
;
24206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24207 (arg1
)->SetText((wxString
const &)*arg2
);
24209 wxPyEndAllowThreads(__tstate
);
24210 if (PyErr_Occurred()) SWIG_fail
;
24212 Py_INCREF(Py_None
); resultobj
= Py_None
;
24227 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24230 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24232 return Py_BuildValue((char *)"");
24234 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24235 PyObject
*resultobj
;
24236 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24237 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24238 wxPyTextDataObject
*result
;
24239 bool temp1
= False
;
24240 PyObject
* obj0
= 0 ;
24241 char *kwnames
[] = {
24242 (char *) "text", NULL
24245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24248 arg1
= wxString_in_helper(obj0
);
24249 if (arg1
== NULL
) SWIG_fail
;
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24255 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24257 wxPyEndAllowThreads(__tstate
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24260 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDataObject
, 1);
24275 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
;
24277 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24278 PyObject
*arg2
= (PyObject
*) 0 ;
24279 PyObject
*arg3
= (PyObject
*) 0 ;
24280 PyObject
* obj0
= 0 ;
24281 PyObject
* obj1
= 0 ;
24282 PyObject
* obj2
= 0 ;
24283 char *kwnames
[] = {
24284 (char *) "self",(char *) "self",(char *) "_class", NULL
24287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24298 Py_INCREF(Py_None
); resultobj
= Py_None
;
24305 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24308 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
24310 return Py_BuildValue((char *)"");
24312 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24313 PyObject
*resultobj
;
24314 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24315 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24316 wxBitmapDataObject
*result
;
24317 PyObject
* obj0
= 0 ;
24318 char *kwnames
[] = {
24319 (char *) "bitmap", NULL
24322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
24324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24325 if (arg1
== NULL
) {
24326 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24331 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
24333 wxPyEndAllowThreads(__tstate
);
24334 if (PyErr_Occurred()) SWIG_fail
;
24336 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmapDataObject
, 1);
24343 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24344 PyObject
*resultobj
;
24345 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24347 PyObject
* obj0
= 0 ;
24348 char *kwnames
[] = {
24349 (char *) "self", NULL
24352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
24353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
24358 wxPyEndAllowThreads(__tstate
);
24359 if (PyErr_Occurred()) SWIG_fail
;
24362 wxBitmap
* resultptr
;
24363 resultptr
= new wxBitmap((wxBitmap
&) result
);
24364 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
24372 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24373 PyObject
*resultobj
;
24374 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24375 wxBitmap
*arg2
= 0 ;
24376 PyObject
* obj0
= 0 ;
24377 PyObject
* obj1
= 0 ;
24378 char *kwnames
[] = {
24379 (char *) "self",(char *) "bitmap", NULL
24382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
24383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24384 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24385 if (arg2
== NULL
) {
24386 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24390 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24395 Py_INCREF(Py_None
); resultobj
= Py_None
;
24402 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24405 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
24407 return Py_BuildValue((char *)"");
24409 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24410 PyObject
*resultobj
;
24411 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24412 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24413 wxPyBitmapDataObject
*result
;
24414 PyObject
* obj0
= 0 ;
24415 char *kwnames
[] = {
24416 (char *) "bitmap", NULL
24419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
24421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24422 if (arg1
== NULL
) {
24423 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24428 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
24430 wxPyEndAllowThreads(__tstate
);
24431 if (PyErr_Occurred()) SWIG_fail
;
24433 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyBitmapDataObject
, 1);
24440 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24441 PyObject
*resultobj
;
24442 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
24443 PyObject
*arg2
= (PyObject
*) 0 ;
24444 PyObject
*arg3
= (PyObject
*) 0 ;
24445 PyObject
* obj0
= 0 ;
24446 PyObject
* obj1
= 0 ;
24447 PyObject
* obj2
= 0 ;
24448 char *kwnames
[] = {
24449 (char *) "self",(char *) "self",(char *) "_class", NULL
24452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24460 wxPyEndAllowThreads(__tstate
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24463 Py_INCREF(Py_None
); resultobj
= Py_None
;
24470 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24473 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
24475 return Py_BuildValue((char *)"");
24477 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24478 PyObject
*resultobj
;
24479 wxFileDataObject
*result
;
24480 char *kwnames
[] = {
24484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
24486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24487 result
= (wxFileDataObject
*)new wxFileDataObject();
24489 wxPyEndAllowThreads(__tstate
);
24490 if (PyErr_Occurred()) SWIG_fail
;
24492 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDataObject
, 1);
24499 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24500 PyObject
*resultobj
;
24501 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
24502 wxArrayString
*result
;
24503 PyObject
* obj0
= 0 ;
24504 char *kwnames
[] = {
24505 (char *) "self", NULL
24508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
24509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
24514 result
= (wxArrayString
*) &_result_ref
;
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24521 resultobj
= wxArrayString2PyList_helper(*result
);
24529 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24532 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
24534 return Py_BuildValue((char *)"");
24536 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24537 PyObject
*resultobj
;
24538 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24539 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24540 wxCustomDataObject
*result
;
24541 PyObject
* obj0
= 0 ;
24542 char *kwnames
[] = {
24543 (char *) "format", NULL
24546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
24548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24549 if (arg1
== NULL
) {
24550 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24555 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
24557 wxPyEndAllowThreads(__tstate
);
24558 if (PyErr_Occurred()) SWIG_fail
;
24560 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCustomDataObject
, 1);
24567 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24568 PyObject
*resultobj
;
24569 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24570 PyObject
*arg2
= (PyObject
*) 0 ;
24571 PyObject
* obj0
= 0 ;
24572 PyObject
* obj1
= 0 ;
24573 char *kwnames
[] = {
24574 (char *) "self",(char *) "data", NULL
24577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
24578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24582 wxCustomDataObject_TakeData(arg1
,arg2
);
24584 wxPyEndAllowThreads(__tstate
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24587 Py_INCREF(Py_None
); resultobj
= Py_None
;
24594 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24595 PyObject
*resultobj
;
24596 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24597 PyObject
*arg2
= (PyObject
*) 0 ;
24599 PyObject
* obj0
= 0 ;
24600 PyObject
* obj1
= 0 ;
24601 char *kwnames
[] = {
24602 (char *) "self",(char *) "data", NULL
24605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24610 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
24612 wxPyEndAllowThreads(__tstate
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24615 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24622 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
;
24624 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24626 PyObject
* obj0
= 0 ;
24627 char *kwnames
[] = {
24628 (char *) "self", NULL
24631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
24632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 result
= (size_t)(arg1
)->GetSize();
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24640 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24647 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
24651 PyObject
* obj0
= 0 ;
24652 char *kwnames
[] = {
24653 (char *) "self", NULL
24656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
24657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24660 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
24662 wxPyEndAllowThreads(__tstate
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24665 resultobj
= result
;
24672 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24675 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
24677 return Py_BuildValue((char *)"");
24679 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24680 PyObject
*resultobj
;
24681 wxURLDataObject
*result
;
24682 char *kwnames
[] = {
24686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
24688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24689 result
= (wxURLDataObject
*)new wxURLDataObject();
24691 wxPyEndAllowThreads(__tstate
);
24692 if (PyErr_Occurred()) SWIG_fail
;
24694 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxURLDataObject
, 1);
24701 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24702 PyObject
*resultobj
;
24703 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
24705 PyObject
* obj0
= 0 ;
24706 char *kwnames
[] = {
24707 (char *) "self", NULL
24710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
24711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 result
= (arg1
)->GetURL();
24716 wxPyEndAllowThreads(__tstate
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24732 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24733 PyObject
*resultobj
;
24734 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
24735 wxString
*arg2
= 0 ;
24736 bool temp2
= False
;
24737 PyObject
* obj0
= 0 ;
24738 PyObject
* obj1
= 0 ;
24739 char *kwnames
[] = {
24740 (char *) "self",(char *) "url", NULL
24743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
24744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24746 arg2
= wxString_in_helper(obj1
);
24747 if (arg2
== NULL
) SWIG_fail
;
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24752 (arg1
)->SetURL((wxString
const &)*arg2
);
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 Py_INCREF(Py_None
); resultobj
= Py_None
;
24772 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24775 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
24777 return Py_BuildValue((char *)"");
24779 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24780 PyObject
*resultobj
;
24781 wxMetafileDataObject
*result
;
24782 char *kwnames
[] = {
24786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24794 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetafileDataObject
, 1);
24801 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24804 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
24806 return Py_BuildValue((char *)"");
24808 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24809 PyObject
*resultobj
;
24812 PyObject
* obj0
= 0 ;
24813 char *kwnames
[] = {
24814 (char *) "res", NULL
24817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
24819 arg1
= (wxDragResult
) SWIG_PyObj_AsInt(obj0
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24824 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
24826 wxPyEndAllowThreads(__tstate
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24829 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24836 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
;
24838 wxWindow
*arg1
= (wxWindow
*) 0 ;
24839 wxIcon
const &arg2_defvalue
= wxNullIcon
;
24840 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
24841 wxIcon
const &arg3_defvalue
= wxNullIcon
;
24842 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
24843 wxIcon
const &arg4_defvalue
= wxNullIcon
;
24844 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
24845 wxPyDropSource
*result
;
24846 PyObject
* obj0
= 0 ;
24847 PyObject
* obj1
= 0 ;
24848 PyObject
* obj2
= 0 ;
24849 PyObject
* obj3
= 0 ;
24850 char *kwnames
[] = {
24851 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
24854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24857 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24858 if (arg2
== NULL
) {
24859 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24863 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24864 if (arg3
== NULL
) {
24865 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24869 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24870 if (arg4
== NULL
) {
24871 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24876 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
24878 wxPyEndAllowThreads(__tstate
);
24879 if (PyErr_Occurred()) SWIG_fail
;
24881 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropSource
, 1);
24888 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24889 PyObject
*resultobj
;
24890 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
24891 PyObject
*arg2
= (PyObject
*) 0 ;
24892 PyObject
*arg3
= (PyObject
*) 0 ;
24894 PyObject
* obj0
= 0 ;
24895 PyObject
* obj1
= 0 ;
24896 PyObject
* obj2
= 0 ;
24897 PyObject
* obj3
= 0 ;
24898 char *kwnames
[] = {
24899 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
24902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24907 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24908 if (PyErr_Occurred()) SWIG_fail
;
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
24914 wxPyEndAllowThreads(__tstate
);
24915 if (PyErr_Occurred()) SWIG_fail
;
24917 Py_INCREF(Py_None
); resultobj
= Py_None
;
24924 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24925 PyObject
*resultobj
;
24926 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
24927 PyObject
* obj0
= 0 ;
24928 char *kwnames
[] = {
24929 (char *) "self", NULL
24932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
24933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24938 wxPyEndAllowThreads(__tstate
);
24939 if (PyErr_Occurred()) SWIG_fail
;
24941 Py_INCREF(Py_None
); resultobj
= Py_None
;
24948 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24949 PyObject
*resultobj
;
24950 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
24951 wxDataObject
*arg2
= 0 ;
24952 PyObject
* obj0
= 0 ;
24953 PyObject
* obj1
= 0 ;
24954 char *kwnames
[] = {
24955 (char *) "self",(char *) "data", NULL
24958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24960 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24961 if (arg2
== NULL
) {
24962 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24966 (arg1
)->SetData(*arg2
);
24968 wxPyEndAllowThreads(__tstate
);
24969 if (PyErr_Occurred()) SWIG_fail
;
24971 Py_INCREF(Py_None
); resultobj
= Py_None
;
24978 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24979 PyObject
*resultobj
;
24980 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
24981 wxDataObject
*result
;
24982 PyObject
* obj0
= 0 ;
24983 char *kwnames
[] = {
24984 (char *) "self", NULL
24987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
24988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24991 result
= (wxDataObject
*)(arg1
)->GetDataObject();
24993 wxPyEndAllowThreads(__tstate
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24996 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
25003 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25004 PyObject
*resultobj
;
25005 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25007 wxCursor
*arg3
= 0 ;
25008 PyObject
* obj0
= 0 ;
25009 PyObject
* obj1
= 0 ;
25010 PyObject
* obj2
= 0 ;
25011 char *kwnames
[] = {
25012 (char *) "self",(char *) "res",(char *) "cursor", NULL
25015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25018 arg2
= (wxDragResult
) SWIG_PyObj_AsInt(obj1
);
25019 if (PyErr_Occurred()) SWIG_fail
;
25021 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25022 if (arg3
== NULL
) {
25023 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25027 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25029 wxPyEndAllowThreads(__tstate
);
25030 if (PyErr_Occurred()) SWIG_fail
;
25032 Py_INCREF(Py_None
); resultobj
= Py_None
;
25039 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25040 PyObject
*resultobj
;
25041 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25042 int arg2
= (int) wxDrag_CopyOnly
;
25044 PyObject
* obj0
= 0 ;
25045 PyObject
* obj1
= 0 ;
25046 char *kwnames
[] = {
25047 (char *) "self",(char *) "flags", NULL
25050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25054 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25060 result
= (int)(arg1
)->DoDragDrop(arg2
);
25062 wxPyEndAllowThreads(__tstate
);
25063 if (PyErr_Occurred()) SWIG_fail
;
25065 resultobj
= SWIG_PyObj_FromInt((int)result
);
25072 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25073 PyObject
*resultobj
;
25074 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25077 PyObject
* obj0
= 0 ;
25078 PyObject
* obj1
= 0 ;
25079 char *kwnames
[] = {
25080 (char *) "self",(char *) "effect", NULL
25083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25086 arg2
= (wxDragResult
) SWIG_PyObj_AsInt(obj1
);
25087 if (PyErr_Occurred()) SWIG_fail
;
25090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25091 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25093 wxPyEndAllowThreads(__tstate
);
25094 if (PyErr_Occurred()) SWIG_fail
;
25096 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25103 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25106 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25108 return Py_BuildValue((char *)"");
25110 static PyObject
*_wrap_new_PyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25111 PyObject
*resultobj
;
25112 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25113 wxPyDropTarget
*result
;
25114 PyObject
* obj0
= 0 ;
25115 char *kwnames
[] = {
25116 (char *) "dataObject", NULL
25119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDropTarget",kwnames
,&obj0
)) goto fail
;
25121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25125 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25127 wxPyEndAllowThreads(__tstate
);
25128 if (PyErr_Occurred()) SWIG_fail
;
25130 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 1);
25137 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25138 PyObject
*resultobj
;
25139 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25140 PyObject
*arg2
= (PyObject
*) 0 ;
25141 PyObject
*arg3
= (PyObject
*) 0 ;
25142 PyObject
* obj0
= 0 ;
25143 PyObject
* obj1
= 0 ;
25144 PyObject
* obj2
= 0 ;
25145 char *kwnames
[] = {
25146 (char *) "self",(char *) "self",(char *) "_class", NULL
25149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25155 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25157 wxPyEndAllowThreads(__tstate
);
25158 if (PyErr_Occurred()) SWIG_fail
;
25160 Py_INCREF(Py_None
); resultobj
= Py_None
;
25167 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25168 PyObject
*resultobj
;
25169 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25170 PyObject
* obj0
= 0 ;
25171 char *kwnames
[] = {
25172 (char *) "self", NULL
25175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
25176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 wxPyEndAllowThreads(__tstate
);
25182 if (PyErr_Occurred()) SWIG_fail
;
25184 Py_INCREF(Py_None
); resultobj
= Py_None
;
25191 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25192 PyObject
*resultobj
;
25193 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25194 wxDataObject
*result
;
25195 PyObject
* obj0
= 0 ;
25196 char *kwnames
[] = {
25197 (char *) "self", NULL
25200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
25201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25204 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25206 wxPyEndAllowThreads(__tstate
);
25207 if (PyErr_Occurred()) SWIG_fail
;
25209 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
25216 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25217 PyObject
*resultobj
;
25218 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25219 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
25220 PyObject
* obj0
= 0 ;
25221 PyObject
* obj1
= 0 ;
25222 char *kwnames
[] = {
25223 (char *) "self",(char *) "dataObject", NULL
25226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
25227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25228 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25231 (arg1
)->SetDataObject(arg2
);
25233 wxPyEndAllowThreads(__tstate
);
25234 if (PyErr_Occurred()) SWIG_fail
;
25236 Py_INCREF(Py_None
); resultobj
= Py_None
;
25243 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25244 PyObject
*resultobj
;
25245 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25250 PyObject
* obj0
= 0 ;
25251 PyObject
* obj1
= 0 ;
25252 PyObject
* obj2
= 0 ;
25253 PyObject
* obj3
= 0 ;
25254 char *kwnames
[] = {
25255 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25261 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25265 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25269 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25270 if (PyErr_Occurred()) SWIG_fail
;
25273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25274 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
25276 wxPyEndAllowThreads(__tstate
);
25277 if (PyErr_Occurred()) SWIG_fail
;
25279 resultobj
= SWIG_PyObj_FromInt((int)result
);
25286 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25287 PyObject
*resultobj
;
25288 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25293 PyObject
* obj0
= 0 ;
25294 PyObject
* obj1
= 0 ;
25295 PyObject
* obj2
= 0 ;
25296 PyObject
* obj3
= 0 ;
25297 char *kwnames
[] = {
25298 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25304 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25308 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25309 if (PyErr_Occurred()) SWIG_fail
;
25312 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25313 if (PyErr_Occurred()) SWIG_fail
;
25316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25317 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
25319 wxPyEndAllowThreads(__tstate
);
25320 if (PyErr_Occurred()) SWIG_fail
;
25322 resultobj
= SWIG_PyObj_FromInt((int)result
);
25329 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25330 PyObject
*resultobj
;
25331 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25332 PyObject
* obj0
= 0 ;
25333 char *kwnames
[] = {
25334 (char *) "self", NULL
25337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
25338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25341 (arg1
)->base_OnLeave();
25343 wxPyEndAllowThreads(__tstate
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25346 Py_INCREF(Py_None
); resultobj
= Py_None
;
25353 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25354 PyObject
*resultobj
;
25355 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25359 PyObject
* obj0
= 0 ;
25360 PyObject
* obj1
= 0 ;
25361 PyObject
* obj2
= 0 ;
25362 char *kwnames
[] = {
25363 (char *) "self",(char *) "x",(char *) "y", NULL
25366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25369 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25373 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25378 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
25380 wxPyEndAllowThreads(__tstate
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25383 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25390 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25391 PyObject
*resultobj
;
25392 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25394 PyObject
* obj0
= 0 ;
25395 char *kwnames
[] = {
25396 (char *) "self", NULL
25399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
25400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25403 result
= (bool)(arg1
)->GetData();
25405 wxPyEndAllowThreads(__tstate
);
25406 if (PyErr_Occurred()) SWIG_fail
;
25408 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25415 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
25417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25418 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
25420 return Py_BuildValue((char *)"");
25422 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
;
25424 wxPyTextDropTarget
*result
;
25425 char *kwnames
[] = {
25429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
25431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25432 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
25434 wxPyEndAllowThreads(__tstate
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25437 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDropTarget
, 1);
25444 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25445 PyObject
*resultobj
;
25446 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25447 PyObject
*arg2
= (PyObject
*) 0 ;
25448 PyObject
*arg3
= (PyObject
*) 0 ;
25449 PyObject
* obj0
= 0 ;
25450 PyObject
* obj1
= 0 ;
25451 PyObject
* obj2
= 0 ;
25452 char *kwnames
[] = {
25453 (char *) "self",(char *) "self",(char *) "_class", NULL
25456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25464 wxPyEndAllowThreads(__tstate
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25467 Py_INCREF(Py_None
); resultobj
= Py_None
;
25474 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25475 PyObject
*resultobj
;
25476 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25481 PyObject
* obj0
= 0 ;
25482 PyObject
* obj1
= 0 ;
25483 PyObject
* obj2
= 0 ;
25484 PyObject
* obj3
= 0 ;
25485 char *kwnames
[] = {
25486 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25492 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25493 if (PyErr_Occurred()) SWIG_fail
;
25496 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25497 if (PyErr_Occurred()) SWIG_fail
;
25500 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25501 if (PyErr_Occurred()) SWIG_fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
25507 wxPyEndAllowThreads(__tstate
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25510 resultobj
= SWIG_PyObj_FromInt((int)result
);
25517 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25518 PyObject
*resultobj
;
25519 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25524 PyObject
* obj0
= 0 ;
25525 PyObject
* obj1
= 0 ;
25526 PyObject
* obj2
= 0 ;
25527 PyObject
* obj3
= 0 ;
25528 char *kwnames
[] = {
25529 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25535 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25539 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25540 if (PyErr_Occurred()) SWIG_fail
;
25543 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25553 resultobj
= SWIG_PyObj_FromInt((int)result
);
25560 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25561 PyObject
*resultobj
;
25562 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25563 PyObject
* obj0
= 0 ;
25564 char *kwnames
[] = {
25565 (char *) "self", NULL
25568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
25569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25572 (arg1
)->base_OnLeave();
25574 wxPyEndAllowThreads(__tstate
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25577 Py_INCREF(Py_None
); resultobj
= Py_None
;
25584 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25585 PyObject
*resultobj
;
25586 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25590 PyObject
* obj0
= 0 ;
25591 PyObject
* obj1
= 0 ;
25592 PyObject
* obj2
= 0 ;
25593 char *kwnames
[] = {
25594 (char *) "self",(char *) "x",(char *) "y", NULL
25597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25600 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25604 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25609 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
25611 wxPyEndAllowThreads(__tstate
);
25612 if (PyErr_Occurred()) SWIG_fail
;
25614 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25621 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25622 PyObject
*resultobj
;
25623 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25628 PyObject
* obj0
= 0 ;
25629 PyObject
* obj1
= 0 ;
25630 PyObject
* obj2
= 0 ;
25631 PyObject
* obj3
= 0 ;
25632 char *kwnames
[] = {
25633 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25639 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25640 if (PyErr_Occurred()) SWIG_fail
;
25643 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25644 if (PyErr_Occurred()) SWIG_fail
;
25647 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25648 if (PyErr_Occurred()) SWIG_fail
;
25651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25652 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25657 resultobj
= SWIG_PyObj_FromInt((int)result
);
25664 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
25666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25667 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
25669 return Py_BuildValue((char *)"");
25671 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25672 PyObject
*resultobj
;
25673 wxPyFileDropTarget
*result
;
25674 char *kwnames
[] = {
25678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
25680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25681 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
25683 wxPyEndAllowThreads(__tstate
);
25684 if (PyErr_Occurred()) SWIG_fail
;
25686 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileDropTarget
, 1);
25693 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25694 PyObject
*resultobj
;
25695 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
25696 PyObject
*arg2
= (PyObject
*) 0 ;
25697 PyObject
*arg3
= (PyObject
*) 0 ;
25698 PyObject
* obj0
= 0 ;
25699 PyObject
* obj1
= 0 ;
25700 PyObject
* obj2
= 0 ;
25701 char *kwnames
[] = {
25702 (char *) "self",(char *) "self",(char *) "_class", NULL
25705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25711 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25713 wxPyEndAllowThreads(__tstate
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25716 Py_INCREF(Py_None
); resultobj
= Py_None
;
25723 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25724 PyObject
*resultobj
;
25725 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
25730 PyObject
* obj0
= 0 ;
25731 PyObject
* obj1
= 0 ;
25732 PyObject
* obj2
= 0 ;
25733 PyObject
* obj3
= 0 ;
25734 char *kwnames
[] = {
25735 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25741 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25742 if (PyErr_Occurred()) SWIG_fail
;
25745 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25749 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25754 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
25756 wxPyEndAllowThreads(__tstate
);
25757 if (PyErr_Occurred()) SWIG_fail
;
25759 resultobj
= SWIG_PyObj_FromInt((int)result
);
25766 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25767 PyObject
*resultobj
;
25768 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
25773 PyObject
* obj0
= 0 ;
25774 PyObject
* obj1
= 0 ;
25775 PyObject
* obj2
= 0 ;
25776 PyObject
* obj3
= 0 ;
25777 char *kwnames
[] = {
25778 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25784 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25788 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25789 if (PyErr_Occurred()) SWIG_fail
;
25792 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25793 if (PyErr_Occurred()) SWIG_fail
;
25796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25797 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
25799 wxPyEndAllowThreads(__tstate
);
25800 if (PyErr_Occurred()) SWIG_fail
;
25802 resultobj
= SWIG_PyObj_FromInt((int)result
);
25809 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25810 PyObject
*resultobj
;
25811 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
25812 PyObject
* obj0
= 0 ;
25813 char *kwnames
[] = {
25814 (char *) "self", NULL
25817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
25818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 (arg1
)->base_OnLeave();
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25826 Py_INCREF(Py_None
); resultobj
= Py_None
;
25833 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25834 PyObject
*resultobj
;
25835 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
25839 PyObject
* obj0
= 0 ;
25840 PyObject
* obj1
= 0 ;
25841 PyObject
* obj2
= 0 ;
25842 char *kwnames
[] = {
25843 (char *) "self",(char *) "x",(char *) "y", NULL
25846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25849 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25850 if (PyErr_Occurred()) SWIG_fail
;
25853 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25854 if (PyErr_Occurred()) SWIG_fail
;
25857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25858 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
25860 wxPyEndAllowThreads(__tstate
);
25861 if (PyErr_Occurred()) SWIG_fail
;
25863 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25870 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25871 PyObject
*resultobj
;
25872 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
25877 PyObject
* obj0
= 0 ;
25878 PyObject
* obj1
= 0 ;
25879 PyObject
* obj2
= 0 ;
25880 PyObject
* obj3
= 0 ;
25881 char *kwnames
[] = {
25882 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25888 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25889 if (PyErr_Occurred()) SWIG_fail
;
25892 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25896 arg4
= (wxDragResult
) SWIG_PyObj_AsInt(obj3
);
25897 if (PyErr_Occurred()) SWIG_fail
;
25900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25901 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
25903 wxPyEndAllowThreads(__tstate
);
25904 if (PyErr_Occurred()) SWIG_fail
;
25906 resultobj
= SWIG_PyObj_FromInt((int)result
);
25913 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
25915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25916 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
25918 return Py_BuildValue((char *)"");
25920 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25921 PyObject
*resultobj
;
25922 wxClipboard
*result
;
25923 char *kwnames
[] = {
25927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
25929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25930 result
= (wxClipboard
*)new wxClipboard();
25932 wxPyEndAllowThreads(__tstate
);
25933 if (PyErr_Occurred()) SWIG_fail
;
25935 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboard
, 1);
25942 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25943 PyObject
*resultobj
;
25944 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
25945 PyObject
* obj0
= 0 ;
25946 char *kwnames
[] = {
25947 (char *) "self", NULL
25950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
25951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25956 wxPyEndAllowThreads(__tstate
);
25957 if (PyErr_Occurred()) SWIG_fail
;
25959 Py_INCREF(Py_None
); resultobj
= Py_None
;
25966 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25967 PyObject
*resultobj
;
25968 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
25970 PyObject
* obj0
= 0 ;
25971 char *kwnames
[] = {
25972 (char *) "self", NULL
25975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
25976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25979 result
= (bool)(arg1
)->Open();
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25984 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25991 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
;
25993 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
25994 PyObject
* obj0
= 0 ;
25995 char *kwnames
[] = {
25996 (char *) "self", NULL
25999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26005 wxPyEndAllowThreads(__tstate
);
26006 if (PyErr_Occurred()) SWIG_fail
;
26008 Py_INCREF(Py_None
); resultobj
= Py_None
;
26015 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26016 PyObject
*resultobj
;
26017 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26019 PyObject
* obj0
= 0 ;
26020 char *kwnames
[] = {
26021 (char *) "self", NULL
26024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26028 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26033 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26040 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26041 PyObject
*resultobj
;
26042 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26043 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26045 PyObject
* obj0
= 0 ;
26046 PyObject
* obj1
= 0 ;
26047 char *kwnames
[] = {
26048 (char *) "self",(char *) "data", NULL
26051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26053 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26056 result
= (bool)(arg1
)->AddData(arg2
);
26058 wxPyEndAllowThreads(__tstate
);
26059 if (PyErr_Occurred()) SWIG_fail
;
26061 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26068 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26069 PyObject
*resultobj
;
26070 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26071 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26073 PyObject
* obj0
= 0 ;
26074 PyObject
* obj1
= 0 ;
26075 char *kwnames
[] = {
26076 (char *) "self",(char *) "data", NULL
26079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26081 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26084 result
= (bool)(arg1
)->SetData(arg2
);
26086 wxPyEndAllowThreads(__tstate
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26089 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26096 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26097 PyObject
*resultobj
;
26098 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26099 wxDataFormat
*arg2
= 0 ;
26101 PyObject
* obj0
= 0 ;
26102 PyObject
* obj1
= 0 ;
26103 char *kwnames
[] = {
26104 (char *) "self",(char *) "format", NULL
26107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26109 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26110 if (arg2
== NULL
) {
26111 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26115 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26117 wxPyEndAllowThreads(__tstate
);
26118 if (PyErr_Occurred()) SWIG_fail
;
26120 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26127 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26128 PyObject
*resultobj
;
26129 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26130 wxDataObject
*arg2
= 0 ;
26132 PyObject
* obj0
= 0 ;
26133 PyObject
* obj1
= 0 ;
26134 char *kwnames
[] = {
26135 (char *) "self",(char *) "data", NULL
26138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26140 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26141 if (arg2
== NULL
) {
26142 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26146 result
= (bool)(arg1
)->GetData(*arg2
);
26148 wxPyEndAllowThreads(__tstate
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26151 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26158 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26159 PyObject
*resultobj
;
26160 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26161 PyObject
* obj0
= 0 ;
26162 char *kwnames
[] = {
26163 (char *) "self", NULL
26166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
26167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26172 wxPyEndAllowThreads(__tstate
);
26173 if (PyErr_Occurred()) SWIG_fail
;
26175 Py_INCREF(Py_None
); resultobj
= Py_None
;
26182 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26183 PyObject
*resultobj
;
26184 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26186 PyObject
* obj0
= 0 ;
26187 char *kwnames
[] = {
26188 (char *) "self", NULL
26191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
26192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26195 result
= (bool)(arg1
)->Flush();
26197 wxPyEndAllowThreads(__tstate
);
26198 if (PyErr_Occurred()) SWIG_fail
;
26200 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26207 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26208 PyObject
*resultobj
;
26209 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26210 bool arg2
= (bool) False
;
26211 PyObject
* obj0
= 0 ;
26212 PyObject
* obj1
= 0 ;
26213 char *kwnames
[] = {
26214 (char *) "self",(char *) "primary", NULL
26217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26221 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26222 if (PyErr_Occurred()) SWIG_fail
;
26226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26227 (arg1
)->UsePrimarySelection(arg2
);
26229 wxPyEndAllowThreads(__tstate
);
26230 if (PyErr_Occurred()) SWIG_fail
;
26232 Py_INCREF(Py_None
); resultobj
= Py_None
;
26239 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
26241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26242 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
26244 return Py_BuildValue((char *)"");
26246 static int _wrap_TheClipboard_set(PyObject
*_val
) {
26247 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
26252 static PyObject
*_wrap_TheClipboard_get() {
26255 pyobj
= SWIG_NewPointerObj((void *) wxTheClipboard
, SWIGTYPE_p_wxClipboard
, 0);
26260 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26261 PyObject
*resultobj
;
26262 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
26263 wxClipboardLocker
*result
;
26264 PyObject
* obj0
= 0 ;
26265 char *kwnames
[] = {
26266 (char *) "clipboard", NULL
26269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26275 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
26277 wxPyEndAllowThreads(__tstate
);
26278 if (PyErr_Occurred()) SWIG_fail
;
26280 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboardLocker
, 1);
26287 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26288 PyObject
*resultobj
;
26289 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26290 PyObject
* obj0
= 0 ;
26291 char *kwnames
[] = {
26292 (char *) "self", NULL
26295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26301 wxPyEndAllowThreads(__tstate
);
26302 if (PyErr_Occurred()) SWIG_fail
;
26304 Py_INCREF(Py_None
); resultobj
= Py_None
;
26311 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26312 PyObject
*resultobj
;
26313 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26315 PyObject
* obj0
= 0 ;
26316 char *kwnames
[] = {
26317 (char *) "self", NULL
26320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
26321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26329 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26336 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
26338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26339 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
26341 return Py_BuildValue((char *)"");
26343 static PyMethodDef SwigMethods
[] = {
26344 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
26345 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26346 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
26347 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
26348 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
26349 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
26350 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
26351 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
26352 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
26353 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
26354 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
26355 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
26356 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
26357 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
26358 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
26359 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
26360 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
26361 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
26362 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26363 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
26364 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
26365 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
26366 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
26367 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
26368 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
26369 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
26370 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
26371 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
26372 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
26373 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
26374 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
26375 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
26376 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
26377 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
26378 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
26379 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
26380 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
26381 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
26382 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
26383 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
26384 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
26385 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
26386 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26387 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26388 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26389 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
26390 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26391 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26392 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
26393 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
26394 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
26395 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26396 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
26397 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
26398 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
26399 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
26400 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
26401 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
26402 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
26403 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
26404 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
26405 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
26406 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26407 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
26408 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
26409 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
26410 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
26411 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
26412 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
26413 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
26414 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
26415 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
26416 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
26417 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
26418 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
26419 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
26420 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
26421 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
26422 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
26423 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
26424 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
26425 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
26426 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
26427 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
26428 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26429 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
26430 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26431 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
26432 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
26433 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
26434 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
26435 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
26436 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
26437 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
26438 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
26439 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
26440 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
26441 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
26442 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
26443 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
26444 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26445 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26446 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
26447 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
26448 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
26449 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
26450 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
26451 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
26452 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
26453 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
26454 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
26455 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
26456 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
26457 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
26458 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
26459 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
26460 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
26461 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
26462 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
26463 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
26464 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
26465 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
26466 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
26467 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
26468 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
26469 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
26470 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
26471 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26472 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
26473 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
26474 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
26475 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
26476 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
26477 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
26478 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
26479 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
26480 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
26481 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
26482 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
26483 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
26484 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
26485 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
26486 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26487 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
26488 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
26489 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
26490 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
26491 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
26492 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26493 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
26494 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
26495 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
26496 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
26497 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
26498 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
26499 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26500 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
26501 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
26502 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
26503 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
26504 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
26505 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
26506 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
26507 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
26508 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
26509 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26510 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
26511 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
26512 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
26513 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
26514 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
26515 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
26516 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
26517 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
26518 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
26519 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
26520 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
26521 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26522 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26523 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26524 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
26525 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
26526 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
26527 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
26528 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26529 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
26530 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
26531 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
26532 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
26533 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26534 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
26535 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
26536 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
26537 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26538 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
26539 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
26540 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
26541 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
26542 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
26543 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
26544 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
26545 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
26546 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
26547 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
26548 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
26549 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
26550 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
26551 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
26552 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
26553 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
26554 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
26555 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
26556 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
26557 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
26558 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
26559 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
26560 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
26561 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
26562 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
26563 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
26564 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
26565 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
26566 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
26567 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
26568 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
26569 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
26570 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
26571 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
26572 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
26573 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26574 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
26575 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
26576 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
26577 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
26578 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
26579 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26580 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
26581 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
26582 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
26583 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
26584 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
26585 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
26586 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
26587 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
26588 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
26589 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
26590 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
26591 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
26592 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
26593 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
26594 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
26595 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
26596 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
26597 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
26598 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
26599 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
26600 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
26601 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
26602 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
26603 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26604 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
26605 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
26606 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
26607 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
26608 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
26609 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
26610 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
26611 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
26612 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
26613 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26614 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
26615 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
26616 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
26617 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
26618 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
26619 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
26620 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
26621 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
26622 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
26623 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
26624 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
26625 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
26626 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
26627 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
26628 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
26629 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
26630 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
26631 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
26632 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
26633 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
26634 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
26635 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
26636 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
26637 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
26638 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
26639 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
26640 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
26641 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
26642 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
26643 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
26644 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
26645 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
26646 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
26647 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
26648 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
26649 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
26650 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
26651 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
26652 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
26653 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
26654 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
26655 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
26656 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
26657 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26658 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
26659 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
26660 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
26661 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
26662 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
26663 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
26664 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
26665 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26666 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
26667 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
26668 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
26669 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
26670 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
26671 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
26672 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
26673 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
26674 { (char *)"new_Wave", (PyCFunction
) _wrap_new_Wave
, METH_VARARGS
| METH_KEYWORDS
},
26675 { (char *)"new_WaveData", (PyCFunction
) _wrap_new_WaveData
, METH_VARARGS
| METH_KEYWORDS
},
26676 { (char *)"delete_Wave", (PyCFunction
) _wrap_delete_Wave
, METH_VARARGS
| METH_KEYWORDS
},
26677 { (char *)"Wave_IsOk", (PyCFunction
) _wrap_Wave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26678 { (char *)"Wave_Play", (PyCFunction
) _wrap_Wave_Play
, METH_VARARGS
| METH_KEYWORDS
},
26679 { (char *)"Wave_swigregister", Wave_swigregister
, METH_VARARGS
},
26680 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
26681 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
26682 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
26683 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
26684 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
26685 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
26686 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
26687 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
26688 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
26689 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
26690 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
26691 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
26692 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
26693 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
26694 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
26695 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
26696 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
26697 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
26698 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
26699 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
26700 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
26701 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
26702 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
26703 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
26704 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
26705 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
26706 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
26707 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
26708 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
26709 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
26710 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
26711 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
26712 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
26713 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
26714 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
26715 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
26716 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
26717 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
26718 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
26719 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
26720 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
26721 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
26722 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
26723 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
26724 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
26725 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
26726 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
26727 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26728 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
26729 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
26730 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
26731 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26732 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
26733 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26734 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
26735 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
26736 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
26737 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
26738 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
26739 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
26740 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
26741 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
26742 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
26743 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
26744 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
26745 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
26746 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
26747 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
26748 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
26749 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
26750 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
26751 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
26752 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
26753 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
26754 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
26755 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
26756 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
26757 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
26758 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
26759 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
26760 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
26761 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
26762 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
26763 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
26764 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
26765 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
26766 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
26767 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
26768 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
26769 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
26770 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
26771 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
26772 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
26773 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
26774 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
26775 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26776 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26777 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
26778 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
26779 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
26780 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
26781 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
26782 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
26783 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
26784 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
26785 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
26786 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
26787 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
26788 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
26789 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
26790 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
26791 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
26792 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
26793 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
26794 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
26795 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
26796 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
26797 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
26798 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
26799 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
26800 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
26801 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
26802 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
26803 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
26804 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
26805 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
26806 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
26807 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
26808 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
26809 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
26810 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
26811 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
26812 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
26813 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
26814 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
26815 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
26816 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
26817 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
26818 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
26819 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
26820 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
26821 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
26822 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
26823 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
26824 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
26825 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
26826 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
26827 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
26828 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
26829 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
26830 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
26831 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
26832 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
26833 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
26834 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
26835 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
26836 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
26837 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
26838 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
26839 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
26840 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
26841 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
26842 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
26843 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
26844 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
26845 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
26846 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
26847 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
26848 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
26849 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
26850 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
26851 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
26852 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
26853 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
26854 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
26855 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
26856 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
26857 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
26858 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
26859 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
26860 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
26861 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
26862 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
26863 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
26864 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
26865 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
26866 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
26867 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
26868 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
26869 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
26870 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
26871 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
26872 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
26873 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
26874 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
26875 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
26876 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
26877 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
26878 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
26879 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
26880 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
26881 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
26882 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
26883 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
26884 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
26885 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
26886 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
26887 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
26888 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
26889 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
26890 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
26891 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
26892 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
26893 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
26894 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
26895 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
26896 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
26897 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
26898 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
26899 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
26900 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
26901 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
26902 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
26903 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
26904 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
26905 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
26906 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
26907 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
26908 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
26909 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
26910 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
26911 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
26912 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
26913 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
26914 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
26915 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
26916 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
26917 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
26918 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
26919 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
26920 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
26921 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
26922 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
26923 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
26924 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
26925 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
26926 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
26927 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
26928 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
26929 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
26930 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
26931 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
26932 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
26933 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
26934 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
26935 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
26936 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
26937 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
26938 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
26939 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
26940 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
26941 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
26942 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
26943 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
26944 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
26945 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
26946 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
26947 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
26948 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
26949 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
26950 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
26951 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
26952 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
26953 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
26954 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
26955 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
26956 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
26957 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
26958 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
26959 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
26960 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
26961 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
26962 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
26963 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
26964 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
26965 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
26966 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
26967 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
26968 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
26969 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
26970 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
26971 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
26972 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
26973 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
26974 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
26975 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
26976 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
26977 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
26978 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
26979 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
26980 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
26981 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
26982 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
26983 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
26984 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
26985 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
26986 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
26987 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
26988 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
26989 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
26990 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26991 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
26992 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
26993 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
26994 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
26995 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
26996 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
26997 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
26998 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
26999 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
27000 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27001 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
27002 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
27003 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
27004 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
27005 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
27006 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
27007 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27008 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
27009 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
27010 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
27011 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
27012 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27013 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
27014 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
27015 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
27016 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
27017 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27018 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27019 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
27020 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27021 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27022 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27023 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
27024 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27025 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27026 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
27027 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27028 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
27029 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
27030 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27031 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
27032 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27033 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
27034 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27035 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
27036 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27037 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
27038 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
27039 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
27040 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27041 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
27042 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
27043 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
27044 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27045 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
27046 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27047 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27048 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
27049 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
27050 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
27051 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
27052 { (char *)"new_PyDropTarget", (PyCFunction
) _wrap_new_PyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27053 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27054 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27055 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27056 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27057 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27058 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27059 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27060 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27061 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27062 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
27063 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27064 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27065 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27066 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27067 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27068 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27069 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
27070 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
27071 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27072 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27073 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27074 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27075 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27076 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27077 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
27078 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
27079 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
27080 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
27081 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
27082 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
27083 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
27084 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
27085 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27086 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
27087 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27088 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
27089 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
27090 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
27091 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
27092 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
27093 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
27094 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
27095 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
27100 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27102 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
27103 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27105 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
27106 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
27108 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
27109 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
27111 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
27112 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
27114 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
27115 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
27117 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
27118 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
27120 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
27121 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
27123 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
27124 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
27126 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
27127 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
27129 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
27130 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
27132 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
27133 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27135 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
27136 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
27138 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
27139 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
27141 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
27142 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27144 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
27145 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27147 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
27148 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
27150 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
27151 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
27153 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
27154 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
27156 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
27157 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
27159 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
27160 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
27162 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
27163 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
27165 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
27166 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
27168 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
27169 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27171 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
27172 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27174 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
27175 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27177 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
27178 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27180 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
27181 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27183 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
27184 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
27186 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
27187 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
27189 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
27190 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27192 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
27193 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
27195 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
27196 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
27198 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
27199 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
27201 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
27202 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27204 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
27205 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27207 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
27208 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27210 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
27211 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
27213 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
27214 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
27216 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
27217 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
27219 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
27220 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
27222 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
27223 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27225 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
27226 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27228 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
27229 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
27231 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
27232 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
27234 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
27235 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
27237 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
27238 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
27240 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
27241 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27243 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
27244 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
27246 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
27247 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27249 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
27250 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
27252 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
27253 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
27255 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
27256 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
27258 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
27259 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
27261 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
27262 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
27264 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
27265 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
27267 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
27268 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
27270 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
27271 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27273 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
27274 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
27276 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
27277 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27279 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
27280 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
27282 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
27283 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
27285 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
27286 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
27288 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27289 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27291 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27292 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27294 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27295 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27297 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27298 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27300 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
27301 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
27303 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27304 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27306 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27307 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27309 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27310 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27312 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27313 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27315 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
27316 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
27318 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
27319 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
27321 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27322 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27324 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27325 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27327 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27328 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27330 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27331 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27333 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27334 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27336 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27337 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27339 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27340 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27342 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27343 return (void *)((wxObject
*) ((wxSizer
*) x
));
27345 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27346 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27348 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
27349 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
27351 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27352 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27354 static void *_p_wxEventTo_p_wxObject(void *x
) {
27355 return (void *)((wxObject
*) ((wxEvent
*) x
));
27357 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27358 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27360 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27361 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27363 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27364 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27366 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27367 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27369 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27370 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27372 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27373 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27375 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27376 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27378 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27379 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27381 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27382 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27384 static void *_p_wxControlTo_p_wxObject(void *x
) {
27385 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
27387 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
27388 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
27390 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
27391 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
27393 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
27394 return (void *)((wxObject
*) ((wxFSFile
*) x
));
27396 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
27397 return (void *)((wxObject
*) ((wxClipboard
*) x
));
27399 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
27400 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
27402 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
27403 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
27405 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
27406 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27408 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27409 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27411 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
27412 return (void *)((wxObject
*) ((wxToolTip
*) x
));
27414 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27415 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27417 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27418 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27420 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27421 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27423 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27424 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27426 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27427 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27429 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27430 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27432 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27433 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27435 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27436 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27438 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27439 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27441 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27442 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27444 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27445 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27447 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27448 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
27450 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
27451 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
27453 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
27454 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
27456 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
27457 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
27459 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
27460 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
27462 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
27463 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
27465 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
27466 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
27468 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
27469 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
27471 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
27472 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
27474 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
27475 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
27477 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
27478 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
27480 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
27481 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
27483 static void *_p_wxImageTo_p_wxObject(void *x
) {
27484 return (void *)((wxObject
*) ((wxImage
*) x
));
27486 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
27487 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
27489 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
27490 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
27492 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
27493 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
27495 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
27496 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27498 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
27499 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27501 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
27502 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
27504 static void *_p_wxWindowTo_p_wxObject(void *x
) {
27505 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
27507 static void *_p_wxMenuTo_p_wxObject(void *x
) {
27508 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
27510 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
27511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
27513 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
27514 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
27516 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
27517 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
27519 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
27520 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27522 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
27523 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
27525 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
27526 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
27528 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
27529 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
27531 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
27532 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
27534 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
27535 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
27537 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
27538 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
27540 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
27541 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27543 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
27544 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
27546 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
27547 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
27549 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
27550 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
27552 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
27553 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27555 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
27556 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
27558 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
27559 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27561 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
27562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
27564 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
27565 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
27567 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
27568 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
27570 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
27571 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
27573 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
27574 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
27576 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
27577 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
27579 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
27580 return (void *)((wxLog
*) ((wxLogChain
*) x
));
27582 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
27583 return (void *)((wxLog
*) ((wxLogGui
*) x
));
27585 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
27586 return (void *)((wxLog
*) ((wxPyLog
*) x
));
27588 static void *_p_wxControlTo_p_wxWindow(void *x
) {
27589 return (void *)((wxWindow
*) ((wxControl
*) x
));
27591 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
27592 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
27594 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
27595 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
27597 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
27598 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
27600 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
27601 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
27603 static swig_type_info _swigt__p_wxLogChain
[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
27604 static swig_type_info _swigt__p_wxMutexGuiLocker
[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
27605 static swig_type_info _swigt__p_wxFileHistory
[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
27606 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}};
27607 static swig_type_info _swigt__p_wxDateTime__TimeZone
[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
27608 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
27609 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}};
27610 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}};
27611 static swig_type_info _swigt__p_wxWave
[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
27612 static swig_type_info _swigt__p_wxFileType
[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
27613 static swig_type_info _swigt__p_wxLogGui
[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
27614 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27615 static swig_type_info _swigt__p_wxDataFormat
[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
27616 static swig_type_info _swigt__p_wxTimerEvent
[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
27617 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
27618 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27619 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27620 static swig_type_info _swigt__p_wxClipboard
[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
27621 static swig_type_info _swigt__p_wxStopWatch
[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
27622 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27623 static swig_type_info _swigt__p_wxClipboardLocker
[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
27624 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27625 static swig_type_info _swigt__p_wxLogStderr
[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
27626 static swig_type_info _swigt__p_wxLogTextCtrl
[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
27627 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27628 static swig_type_info _swigt__p_wxBusyCursor
[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
27629 static swig_type_info _swigt__p_wxPyBitmapDataObject
[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
27630 static swig_type_info _swigt__p_wxPyTextDataObject
[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
27631 static swig_type_info _swigt__p_wxBitmapDataObject
[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject
},{0}};
27632 static swig_type_info _swigt__p_wxTextDataObject
[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject
},{0}};
27633 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}};
27634 static swig_type_info _swigt__p_wxFileDataObject
[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
27635 static swig_type_info _swigt__p_wxCustomDataObject
[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
27636 static swig_type_info _swigt__p_wxURLDataObject
[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
27637 static swig_type_info _swigt__p_wxMetafileDataObject
[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
27638 static swig_type_info _swigt__p_wxTimerRunner
[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
27639 static swig_type_info _swigt__p_wxLogWindow
[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
27640 static swig_type_info _swigt__p_wxTimeSpan
[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
27641 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27642 static swig_type_info _swigt__p_wxWindowDisabler
[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
27643 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
27644 static swig_type_info _swigt__p_wxDataObjectComposite
[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite
},{0}};
27645 static swig_type_info _swigt__p_wxFileConfig
[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
27646 static swig_type_info _swigt__p_wxSystemSettings
[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
27647 static swig_type_info _swigt__p_wxPyDataObjectSimple
[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
27648 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}};
27649 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}};
27650 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27651 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
27652 static swig_type_info _swigt__p_wxSingleInstanceChecker
[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
27653 static swig_type_info _swigt__p_wxFileTypeInfo
[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
27654 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
27655 static swig_type_info _swigt__p_wxTimer
[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
27656 static swig_type_info _swigt__p_wxMimeTypesManager
[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
27657 static swig_type_info _swigt__p_wxPyArtProvider
[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
27658 static swig_type_info _swigt__p_wxPyTipProvider
[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
27659 static swig_type_info _swigt__p_wxTipProvider
[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider
},{0}};
27660 static swig_type_info _swigt__p_wxJoystick
[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
27661 static swig_type_info _swigt__p_wxSystemOptions
[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
27662 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27663 static swig_type_info _swigt__p_wxJoystickEvent
[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
27664 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27665 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}};
27666 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
27667 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
27668 static swig_type_info _swigt__p_wxPyDropSource
[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
27669 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}};
27670 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27671 static swig_type_info _swigt__p_wxPyProcess
[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
27672 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27673 static swig_type_info _swigt__p_wxConfig
[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
27674 static swig_type_info _swigt__p_wxChar
[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
27675 static swig_type_info _swigt__p_wxBusyInfo
[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
27676 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}};
27677 static swig_type_info _swigt__p_wxPyTextDropTarget
[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
27678 static swig_type_info _swigt__p_wxPyFileDropTarget
[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
27679 static swig_type_info _swigt__p_wxProcessEvent
[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
27680 static swig_type_info _swigt__p_wxPyLog
[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
27681 static swig_type_info _swigt__p_wxLogNull
[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
27682 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27683 static swig_type_info _swigt__p_wxConfigPathChanger
[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
27684 static swig_type_info _swigt__p_wxPyTimer
[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
27685 static swig_type_info _swigt__p_wxDateSpan
[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
27687 static swig_type_info
*swig_types_initial
[] = {
27688 _swigt__p_wxLogChain
,
27689 _swigt__p_wxMutexGuiLocker
,
27690 _swigt__p_wxFileHistory
,
27692 _swigt__p_wxDateTime__TimeZone
,
27695 _swigt__p_wxConfigBase
,
27697 _swigt__p_wxFileType
,
27698 _swigt__p_wxLogGui
,
27700 _swigt__p_wxDataFormat
,
27701 _swigt__p_wxTimerEvent
,
27705 _swigt__p_wxClipboard
,
27706 _swigt__p_wxStopWatch
,
27708 _swigt__p_wxClipboardLocker
,
27710 _swigt__p_wxLogStderr
,
27711 _swigt__p_wxLogTextCtrl
,
27712 _swigt__p_wxTextCtrl
,
27713 _swigt__p_wxBusyCursor
,
27714 _swigt__p_wxPyBitmapDataObject
,
27715 _swigt__p_wxPyTextDataObject
,
27716 _swigt__p_wxBitmapDataObject
,
27717 _swigt__p_wxTextDataObject
,
27718 _swigt__p_wxDataObject
,
27719 _swigt__p_wxFileDataObject
,
27720 _swigt__p_wxCustomDataObject
,
27721 _swigt__p_wxURLDataObject
,
27722 _swigt__p_wxMetafileDataObject
,
27723 _swigt__p_wxTimerRunner
,
27724 _swigt__p_wxLogWindow
,
27725 _swigt__p_wxTimeSpan
,
27726 _swigt__p_wxArrayString
,
27727 _swigt__p_wxWindowDisabler
,
27728 _swigt__p_wxToolTip
,
27729 _swigt__p_wxDataObjectComposite
,
27730 _swigt__p_wxFileConfig
,
27731 _swigt__p_wxSystemSettings
,
27732 _swigt__p_wxPyDataObjectSimple
,
27733 _swigt__p_wxDataObjectSimple
,
27734 _swigt__p_wxEvtHandler
,
27737 _swigt__p_wxSingleInstanceChecker
,
27738 _swigt__p_wxFileTypeInfo
,
27741 _swigt__p_wxMimeTypesManager
,
27742 _swigt__p_wxPyArtProvider
,
27743 _swigt__p_wxPyTipProvider
,
27744 _swigt__p_wxTipProvider
,
27745 _swigt__p_wxJoystick
,
27746 _swigt__p_wxSystemOptions
,
27748 _swigt__p_wxJoystickEvent
,
27749 _swigt__p_wxCursor
,
27750 _swigt__p_wxObject
,
27751 _swigt__p_wxOutputStream
,
27752 _swigt__p_wxDateTime
,
27753 _swigt__p_wxPyDropSource
,
27754 _swigt__p_wxWindow
,
27755 _swigt__p_wxString
,
27756 _swigt__p_wxPyProcess
,
27757 _swigt__p_wxBitmap
,
27758 _swigt__p_wxConfig
,
27760 _swigt__p_wxBusyInfo
,
27761 _swigt__p_wxPyDropTarget
,
27762 _swigt__p_wxPyTextDropTarget
,
27763 _swigt__p_wxPyFileDropTarget
,
27764 _swigt__p_wxProcessEvent
,
27766 _swigt__p_wxLogNull
,
27767 _swigt__p_wxColour
,
27768 _swigt__p_wxConfigPathChanger
,
27769 _swigt__p_wxPyTimer
,
27770 _swigt__p_wxDateSpan
,
27775 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27777 static swig_const_info swig_const_table
[] = {
27778 { SWIG_PY_STRING
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
27779 { SWIG_PY_STRING
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
27780 { SWIG_PY_STRING
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
27781 { SWIG_PY_STRING
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
27782 { SWIG_PY_STRING
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
27792 SWIGEXPORT(void) SWIG_init(void) {
27793 static PyObject
*SWIG_globals
= 0;
27794 static int typeinit
= 0;
27797 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27798 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27799 d
= PyModule_GetDict(m
);
27802 for (i
= 0; swig_types_initial
[i
]; i
++) {
27803 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27807 SWIG_InstallConstants(d
,swig_const_table
);
27809 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_OEM_FIXED_FONT
));
27810 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
27811 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_VAR_FONT
));
27812 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FONT
));
27813 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
27814 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_PALETTE
));
27815 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
27816 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
27817 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_PyObj_FromInt((int)wxSYS_ICONTITLE_FONT
));
27818 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
27819 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
27820 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_DESKTOP
));
27821 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
27822 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
27823 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENU
));
27824 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOW
));
27825 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
27826 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
27827 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
27828 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
27829 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
27830 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
27831 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
27832 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
27833 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
27834 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNFACE
));
27835 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DFACE
));
27836 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
27837 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
27838 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
27839 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
27840 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
27841 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
27842 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
27843 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
27844 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
27845 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
27846 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
27847 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
27848 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOBK
));
27849 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_LISTBOX
));
27850 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
27851 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
27852 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
27853 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
27854 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUBAR
));
27855 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MAX
));
27856 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_MOUSE_BUTTONS
));
27857 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_PyObj_FromInt((int)wxSYS_BORDER_X
));
27858 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_PyObj_FromInt((int)wxSYS_BORDER_Y
));
27859 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_X
));
27860 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_Y
));
27861 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_X
));
27862 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_Y
));
27863 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_PyObj_FromInt((int)wxSYS_DRAG_X
));
27864 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_PyObj_FromInt((int)wxSYS_DRAG_Y
));
27865 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_PyObj_FromInt((int)wxSYS_EDGE_X
));
27866 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_PyObj_FromInt((int)wxSYS_EDGE_Y
));
27867 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
27868 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
27869 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_PyObj_FromInt((int)wxSYS_HTHUMB_X
));
27870 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_PyObj_FromInt((int)wxSYS_ICON_X
));
27871 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_PyObj_FromInt((int)wxSYS_ICON_Y
));
27872 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_X
));
27873 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_Y
));
27874 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_X
));
27875 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_Y
));
27876 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_X
));
27877 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_Y
));
27878 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_X
));
27879 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_Y
));
27880 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_X
));
27881 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_Y
));
27882 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_Y
));
27883 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_X
));
27884 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
27885 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
27886 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_PyObj_FromInt((int)wxSYS_VTHUMB_Y
));
27887 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_PyObj_FromInt((int)wxSYS_CAPTION_Y
));
27888 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_PyObj_FromInt((int)wxSYS_MENU_Y
));
27889 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_NETWORK_PRESENT
));
27890 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
27891 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_PyObj_FromInt((int)wxSYS_SHOW_SOUNDS
));
27892 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_SWAP_BUTTONS
));
27893 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_PyObj_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
27894 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_PyObj_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
27895 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_NONE
));
27896 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_TINY
));
27897 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_PDA
));
27898 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_SMALL
));
27899 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_DESKTOP
));
27900 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
27901 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27902 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27903 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27904 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_PyObj_FromInt((int)wxSHUTDOWN_POWEROFF
));
27905 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_PyObj_FromInt((int)wxSHUTDOWN_REBOOT
));
27906 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_PyObj_FromInt((int)wxTIMER_CONTINUOUS
));
27907 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_PyObj_FromInt((int)wxTIMER_ONE_SHOT
));
27908 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
27909 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_PyObj_FromInt((int)wxLOG_FatalError
));
27910 PyDict_SetItemString(d
,"LOG_Error", SWIG_PyObj_FromInt((int)wxLOG_Error
));
27911 PyDict_SetItemString(d
,"LOG_Warning", SWIG_PyObj_FromInt((int)wxLOG_Warning
));
27912 PyDict_SetItemString(d
,"LOG_Message", SWIG_PyObj_FromInt((int)wxLOG_Message
));
27913 PyDict_SetItemString(d
,"LOG_Status", SWIG_PyObj_FromInt((int)wxLOG_Status
));
27914 PyDict_SetItemString(d
,"LOG_Info", SWIG_PyObj_FromInt((int)wxLOG_Info
));
27915 PyDict_SetItemString(d
,"LOG_Debug", SWIG_PyObj_FromInt((int)wxLOG_Debug
));
27916 PyDict_SetItemString(d
,"LOG_Trace", SWIG_PyObj_FromInt((int)wxLOG_Trace
));
27917 PyDict_SetItemString(d
,"LOG_Progress", SWIG_PyObj_FromInt((int)wxLOG_Progress
));
27918 PyDict_SetItemString(d
,"LOG_User", SWIG_PyObj_FromInt((int)wxLOG_User
));
27919 PyDict_SetItemString(d
,"LOG_Max", SWIG_PyObj_FromInt((int)wxLOG_Max
));
27920 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_PyObj_FromInt((int)0x0001));
27921 PyDict_SetItemString(d
,"TraceMessages", SWIG_PyObj_FromInt((int)0x0002));
27922 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_PyObj_FromInt((int)0x0004));
27923 PyDict_SetItemString(d
,"TraceRefCount", SWIG_PyObj_FromInt((int)0x0008));
27924 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_PyObj_FromInt((int)0x0100));
27925 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_PyObj_FromInt((int)wxPROCESS_DEFAULT
));
27926 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_PyObj_FromInt((int)wxPROCESS_REDIRECT
));
27927 PyDict_SetItemString(d
,"KILL_OK", SWIG_PyObj_FromInt((int)wxKILL_OK
));
27928 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_PyObj_FromInt((int)wxKILL_BAD_SIGNAL
));
27929 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_PyObj_FromInt((int)wxKILL_ACCESS_DENIED
));
27930 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_PyObj_FromInt((int)wxKILL_NO_PROCESS
));
27931 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_PyObj_FromInt((int)wxKILL_ERROR
));
27932 PyDict_SetItemString(d
,"SIGNONE", SWIG_PyObj_FromInt((int)wxSIGNONE
));
27933 PyDict_SetItemString(d
,"SIGHUP", SWIG_PyObj_FromInt((int)wxSIGHUP
));
27934 PyDict_SetItemString(d
,"SIGINT", SWIG_PyObj_FromInt((int)wxSIGINT
));
27935 PyDict_SetItemString(d
,"SIGQUIT", SWIG_PyObj_FromInt((int)wxSIGQUIT
));
27936 PyDict_SetItemString(d
,"SIGILL", SWIG_PyObj_FromInt((int)wxSIGILL
));
27937 PyDict_SetItemString(d
,"SIGTRAP", SWIG_PyObj_FromInt((int)wxSIGTRAP
));
27938 PyDict_SetItemString(d
,"SIGABRT", SWIG_PyObj_FromInt((int)wxSIGABRT
));
27939 PyDict_SetItemString(d
,"SIGIOT", SWIG_PyObj_FromInt((int)wxSIGIOT
));
27940 PyDict_SetItemString(d
,"SIGEMT", SWIG_PyObj_FromInt((int)wxSIGEMT
));
27941 PyDict_SetItemString(d
,"SIGFPE", SWIG_PyObj_FromInt((int)wxSIGFPE
));
27942 PyDict_SetItemString(d
,"SIGKILL", SWIG_PyObj_FromInt((int)wxSIGKILL
));
27943 PyDict_SetItemString(d
,"SIGBUS", SWIG_PyObj_FromInt((int)wxSIGBUS
));
27944 PyDict_SetItemString(d
,"SIGSEGV", SWIG_PyObj_FromInt((int)wxSIGSEGV
));
27945 PyDict_SetItemString(d
,"SIGSYS", SWIG_PyObj_FromInt((int)wxSIGSYS
));
27946 PyDict_SetItemString(d
,"SIGPIPE", SWIG_PyObj_FromInt((int)wxSIGPIPE
));
27947 PyDict_SetItemString(d
,"SIGALRM", SWIG_PyObj_FromInt((int)wxSIGALRM
));
27948 PyDict_SetItemString(d
,"SIGTERM", SWIG_PyObj_FromInt((int)wxSIGTERM
));
27949 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
27950 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_PyObj_FromInt((int)wxEXEC_ASYNC
));
27951 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_PyObj_FromInt((int)wxEXEC_SYNC
));
27952 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_PyObj_FromInt((int)wxEXEC_NOHIDE
));
27953 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_PyObj_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
27955 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
27957 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_PyObj_FromInt((int)wxJOYSTICK1
));
27958 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_PyObj_FromInt((int)wxJOYSTICK2
));
27959 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_PyObj_FromInt((int)wxJOY_BUTTON_ANY
));
27960 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_PyObj_FromInt((int)wxJOY_BUTTON1
));
27961 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_PyObj_FromInt((int)wxJOY_BUTTON2
));
27962 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_PyObj_FromInt((int)wxJOY_BUTTON3
));
27963 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_PyObj_FromInt((int)wxJOY_BUTTON4
));
27964 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
27965 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
27966 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
27967 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
27968 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_PyObj_FromInt((int)wxMAILCAP_STANDARD
));
27969 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_PyObj_FromInt((int)wxMAILCAP_NETSCAPE
));
27970 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_PyObj_FromInt((int)wxMAILCAP_KDE
));
27971 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_PyObj_FromInt((int)wxMAILCAP_GNOME
));
27972 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_PyObj_FromInt((int)wxMAILCAP_ALL
));
27973 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
27974 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
27975 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
27976 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
27977 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
27978 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
27979 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
27980 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
27981 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
27982 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
27983 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
27984 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
27985 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
27986 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
27987 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
27988 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
27989 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
27990 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
27991 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
27992 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
27993 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
27994 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
27995 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
27996 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
27997 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
27998 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
27999 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
28000 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
28001 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
28002 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
28003 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
28004 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
28005 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
28006 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
28007 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
28008 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
28009 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
28010 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
28011 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
28013 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
28015 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
28016 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
28017 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_PyObj_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
28018 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_PyObj_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
28019 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Unknown
));
28020 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_PyObj_FromInt((int)wxConfigBase::Type_String
));
28021 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Boolean
));
28022 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Integer
));
28023 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Float
));
28024 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
28025 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
28026 PyDict_SetItemString(d
,"DateTime_Local", SWIG_PyObj_FromInt((int)wxDateTime::Local
));
28027 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_PyObj_FromInt((int)wxDateTime::GMT_12
));
28028 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_PyObj_FromInt((int)wxDateTime::GMT_11
));
28029 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_PyObj_FromInt((int)wxDateTime::GMT_10
));
28030 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_PyObj_FromInt((int)wxDateTime::GMT_9
));
28031 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_PyObj_FromInt((int)wxDateTime::GMT_8
));
28032 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_PyObj_FromInt((int)wxDateTime::GMT_7
));
28033 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_PyObj_FromInt((int)wxDateTime::GMT_6
));
28034 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_PyObj_FromInt((int)wxDateTime::GMT_5
));
28035 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_PyObj_FromInt((int)wxDateTime::GMT_4
));
28036 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_PyObj_FromInt((int)wxDateTime::GMT_3
));
28037 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_PyObj_FromInt((int)wxDateTime::GMT_2
));
28038 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_PyObj_FromInt((int)wxDateTime::GMT_1
));
28039 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_PyObj_FromInt((int)wxDateTime::GMT0
));
28040 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_PyObj_FromInt((int)wxDateTime::GMT1
));
28041 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_PyObj_FromInt((int)wxDateTime::GMT2
));
28042 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_PyObj_FromInt((int)wxDateTime::GMT3
));
28043 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_PyObj_FromInt((int)wxDateTime::GMT4
));
28044 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_PyObj_FromInt((int)wxDateTime::GMT5
));
28045 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_PyObj_FromInt((int)wxDateTime::GMT6
));
28046 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_PyObj_FromInt((int)wxDateTime::GMT7
));
28047 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_PyObj_FromInt((int)wxDateTime::GMT8
));
28048 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_PyObj_FromInt((int)wxDateTime::GMT9
));
28049 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_PyObj_FromInt((int)wxDateTime::GMT10
));
28050 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_PyObj_FromInt((int)wxDateTime::GMT11
));
28051 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_PyObj_FromInt((int)wxDateTime::GMT12
));
28052 PyDict_SetItemString(d
,"DateTime_WET", SWIG_PyObj_FromInt((int)wxDateTime::WET
));
28053 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_PyObj_FromInt((int)wxDateTime::WEST
));
28054 PyDict_SetItemString(d
,"DateTime_CET", SWIG_PyObj_FromInt((int)wxDateTime::CET
));
28055 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_PyObj_FromInt((int)wxDateTime::CEST
));
28056 PyDict_SetItemString(d
,"DateTime_EET", SWIG_PyObj_FromInt((int)wxDateTime::EET
));
28057 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_PyObj_FromInt((int)wxDateTime::EEST
));
28058 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_PyObj_FromInt((int)wxDateTime::MSK
));
28059 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_PyObj_FromInt((int)wxDateTime::MSD
));
28060 PyDict_SetItemString(d
,"DateTime_AST", SWIG_PyObj_FromInt((int)wxDateTime::AST
));
28061 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_PyObj_FromInt((int)wxDateTime::ADT
));
28062 PyDict_SetItemString(d
,"DateTime_EST", SWIG_PyObj_FromInt((int)wxDateTime::EST
));
28063 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_PyObj_FromInt((int)wxDateTime::EDT
));
28064 PyDict_SetItemString(d
,"DateTime_CST", SWIG_PyObj_FromInt((int)wxDateTime::CST
));
28065 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_PyObj_FromInt((int)wxDateTime::CDT
));
28066 PyDict_SetItemString(d
,"DateTime_MST", SWIG_PyObj_FromInt((int)wxDateTime::MST
));
28067 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_PyObj_FromInt((int)wxDateTime::MDT
));
28068 PyDict_SetItemString(d
,"DateTime_PST", SWIG_PyObj_FromInt((int)wxDateTime::PST
));
28069 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_PyObj_FromInt((int)wxDateTime::PDT
));
28070 PyDict_SetItemString(d
,"DateTime_HST", SWIG_PyObj_FromInt((int)wxDateTime::HST
));
28071 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_PyObj_FromInt((int)wxDateTime::AKST
));
28072 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_PyObj_FromInt((int)wxDateTime::AKDT
));
28073 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_PyObj_FromInt((int)wxDateTime::A_WST
));
28074 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_PyObj_FromInt((int)wxDateTime::A_CST
));
28075 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_PyObj_FromInt((int)wxDateTime::A_EST
));
28076 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_PyObj_FromInt((int)wxDateTime::A_ESST
));
28077 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_PyObj_FromInt((int)wxDateTime::UTC
));
28078 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_PyObj_FromInt((int)wxDateTime::Gregorian
));
28079 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_PyObj_FromInt((int)wxDateTime::Julian
));
28080 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Unknown
));
28081 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Standard
));
28082 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Alaska
));
28083 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Albania
));
28084 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria
));
28085 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
28086 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
28087 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
28088 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
28089 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Styria
));
28090 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Belgium
));
28091 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria
));
28092 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
28093 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
28094 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
28095 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Canada
));
28096 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China
));
28097 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_1
));
28098 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_2
));
28099 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
28100 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Denmark
));
28101 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Egypt
));
28102 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Estonia
));
28103 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Finland
));
28104 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France
));
28105 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Alsace
));
28106 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Lorraine
));
28107 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
28108 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany
));
28109 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
28110 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
28111 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
28112 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_GreatBritain
));
28113 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Greece
));
28114 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Hungary
));
28115 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Ireland
));
28116 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Italy
));
28117 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan
));
28118 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_1
));
28119 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_2
));
28120 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_3
));
28121 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Latvia
));
28122 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Lithuania
));
28123 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Luxemburg
));
28124 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands
));
28125 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
28126 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
28127 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
28128 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
28129 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Norway
));
28130 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Poland
));
28131 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Portugal
));
28132 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Romania
));
28133 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Russia
));
28134 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Scotland
));
28135 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Spain
));
28136 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Sweden
));
28137 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland
));
28138 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
28139 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
28140 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Turkey
));
28141 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_PyObj_FromInt((int)wxDateTime::Gr_USA
));
28142 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Wales
));
28143 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Yugoslavia
));
28144 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Country_Unknown
));
28145 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_PyObj_FromInt((int)wxDateTime::Country_Default
));
28146 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
28147 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_PyObj_FromInt((int)wxDateTime::Country_EEC
));
28148 PyDict_SetItemString(d
,"DateTime_France", SWIG_PyObj_FromInt((int)wxDateTime::France
));
28149 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Germany
));
28150 PyDict_SetItemString(d
,"DateTime_UK", SWIG_PyObj_FromInt((int)wxDateTime::UK
));
28151 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_End
));
28152 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Russia
));
28153 PyDict_SetItemString(d
,"DateTime_USA", SWIG_PyObj_FromInt((int)wxDateTime::USA
));
28154 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_PyObj_FromInt((int)wxDateTime::Jan
));
28155 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_PyObj_FromInt((int)wxDateTime::Feb
));
28156 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_PyObj_FromInt((int)wxDateTime::Mar
));
28157 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_PyObj_FromInt((int)wxDateTime::Apr
));
28158 PyDict_SetItemString(d
,"DateTime_May", SWIG_PyObj_FromInt((int)wxDateTime::May
));
28159 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_PyObj_FromInt((int)wxDateTime::Jun
));
28160 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_PyObj_FromInt((int)wxDateTime::Jul
));
28161 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_PyObj_FromInt((int)wxDateTime::Aug
));
28162 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_PyObj_FromInt((int)wxDateTime::Sep
));
28163 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_PyObj_FromInt((int)wxDateTime::Oct
));
28164 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_PyObj_FromInt((int)wxDateTime::Nov
));
28165 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_PyObj_FromInt((int)wxDateTime::Dec
));
28166 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Month
));
28167 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_PyObj_FromInt((int)wxDateTime::Sun
));
28168 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_PyObj_FromInt((int)wxDateTime::Mon
));
28169 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_PyObj_FromInt((int)wxDateTime::Tue
));
28170 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_PyObj_FromInt((int)wxDateTime::Wed
));
28171 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_PyObj_FromInt((int)wxDateTime::Thu
));
28172 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_PyObj_FromInt((int)wxDateTime::Fri
));
28173 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_PyObj_FromInt((int)wxDateTime::Sat
));
28174 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_PyObj_FromInt((int)wxDateTime::Inv_WeekDay
));
28175 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Year
));
28176 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_PyObj_FromInt((int)wxDateTime::Name_Full
));
28177 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_PyObj_FromInt((int)wxDateTime::Name_Abbr
));
28178 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_PyObj_FromInt((int)wxDateTime::Default_First
));
28179 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_PyObj_FromInt((int)wxDateTime::Monday_First
));
28180 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_PyObj_FromInt((int)wxDateTime::Sunday_First
));
28181 PyDict_SetItemString(d
,"DF_INVALID", SWIG_PyObj_FromInt((int)wxDF_INVALID
));
28182 PyDict_SetItemString(d
,"DF_TEXT", SWIG_PyObj_FromInt((int)wxDF_TEXT
));
28183 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_PyObj_FromInt((int)wxDF_BITMAP
));
28184 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_PyObj_FromInt((int)wxDF_METAFILE
));
28185 PyDict_SetItemString(d
,"DF_SYLK", SWIG_PyObj_FromInt((int)wxDF_SYLK
));
28186 PyDict_SetItemString(d
,"DF_DIF", SWIG_PyObj_FromInt((int)wxDF_DIF
));
28187 PyDict_SetItemString(d
,"DF_TIFF", SWIG_PyObj_FromInt((int)wxDF_TIFF
));
28188 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_PyObj_FromInt((int)wxDF_OEMTEXT
));
28189 PyDict_SetItemString(d
,"DF_DIB", SWIG_PyObj_FromInt((int)wxDF_DIB
));
28190 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_PyObj_FromInt((int)wxDF_PALETTE
));
28191 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_PyObj_FromInt((int)wxDF_PENDATA
));
28192 PyDict_SetItemString(d
,"DF_RIFF", SWIG_PyObj_FromInt((int)wxDF_RIFF
));
28193 PyDict_SetItemString(d
,"DF_WAVE", SWIG_PyObj_FromInt((int)wxDF_WAVE
));
28194 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_PyObj_FromInt((int)wxDF_UNICODETEXT
));
28195 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_PyObj_FromInt((int)wxDF_ENHMETAFILE
));
28196 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_PyObj_FromInt((int)wxDF_FILENAME
));
28197 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_PyObj_FromInt((int)wxDF_LOCALE
));
28198 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_PyObj_FromInt((int)wxDF_PRIVATE
));
28199 PyDict_SetItemString(d
,"DF_HTML", SWIG_PyObj_FromInt((int)wxDF_HTML
));
28200 PyDict_SetItemString(d
,"DF_MAX", SWIG_PyObj_FromInt((int)wxDF_MAX
));
28201 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
28202 PyDict_SetItemString(d
,"DataObject_Get", SWIG_PyObj_FromInt((int)wxDataObject::Get
));
28203 PyDict_SetItemString(d
,"DataObject_Set", SWIG_PyObj_FromInt((int)wxDataObject::Set
));
28204 PyDict_SetItemString(d
,"DataObject_Both", SWIG_PyObj_FromInt((int)wxDataObject::Both
));
28205 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_PyObj_FromInt((int)wxDrag_CopyOnly
));
28206 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_PyObj_FromInt((int)wxDrag_AllowMove
));
28207 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_PyObj_FromInt((int)wxDrag_DefaultMove
));
28208 PyDict_SetItemString(d
,"DragError", SWIG_PyObj_FromInt((int)wxDragError
));
28209 PyDict_SetItemString(d
,"DragNone", SWIG_PyObj_FromInt((int)wxDragNone
));
28210 PyDict_SetItemString(d
,"DragCopy", SWIG_PyObj_FromInt((int)wxDragCopy
));
28211 PyDict_SetItemString(d
,"DragMove", SWIG_PyObj_FromInt((int)wxDragMove
));
28212 PyDict_SetItemString(d
,"DragLink", SWIG_PyObj_FromInt((int)wxDragLink
));
28213 PyDict_SetItemString(d
,"DragCancel", SWIG_PyObj_FromInt((int)wxDragCancel
));
28215 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
28216 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
28217 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
28218 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
28220 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);